• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
eomodeld import problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

eomodeld import problems


  • Subject: eomodeld import problems
  • From: Theodore Petrosky <email@hidden>
  • Date: Sat, 19 Mar 2005 06:21:32 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

I think I have it...

I have been working with postgresql and eomodeler for
a few weeks and I have an inconsistency that bothers
me.

If I create an eomodeler test.eomodeld file with the
java files appropriate for my project, the order that
one brings the project together is very important.

I must:

1. create the .eomodeld file.
2. create a new  project and at the add the eomodeld
file from the "Add Eomodels" assistant.

If I do not add the emodeld file here, my project
never sees it properly and I end up with an unusable
project. At least I have not found a way to Add the
.eomodeld file after creating the project.

I have a test.eomodeld file and a Clientinfo.java.
With an existing project, if I add (add: existing
files) the test.eomodeld then add the Clientinfo.java
(both added with the "Application Server" check box
checked) then change the Main.java to:

public class Main extends WOComponent {

    public Clientinfo myclient;

    public Main(WOContext context) {
        super(context);
	myclient =  new Clientinfo();
    }

}

I get the following error in the web page..

Application:
 myTest

 Error:
 java.lang.IllegalStateException: Unabled to find an
EOClassDescription for objects of class Clientinfo

 Reason:
 Unabled to find an EOClassDescription for objects of
class Clientinfo

However if I add the eomodled to the project using the
assistant my project finds the Clientinfo.java just
fine.

Is there something I am missing? Is this a known issue
or my lack of understanding. Is there someway to 'fix'
a project that doesn't see the Clientinfo.java class?

Thanks,

Ted



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Joins with WebObjects
  • Next by Date: Strange Exception Continues
  • Previous by thread: Re: Joins with WebObjects
  • Next by thread: Strange Exception Continues
  • Index(es):
    • Date
    • Thread