[workaround]: Re: SQL generation problem with Entity Modeler
Lars Sonchocky-Helldorf <[email protected]> Tue, 2 Aug 2011 22:18:25 +0200
| Newsgroups | gmane.comp.web.webobjects.woproject.devel |
|---|---|
| Message-ID | <[email protected]> |
I found a workaround for my problem: I created a new Eclipse workspace = and imported only the framework which contains the EOModels. Then I can = create the SQL without problems. This works without the other projects = from which the framework projects depends because those are in a = compiled form in my local .m2 Maven repository. This is the case because = I did a mvn install in the other workspace before. cheers, Lars Am 01.08.2011 um 18:46 schrieb Lars Sonchocky-Helldorf: > Hi, >=20 > I had this problem before. But I got no answer then: = http://permalink.gmane.org/gmane.comp.web.webobjects.woproject.devel/16073= >=20 > The situation here is the same, the Maven project tree consist out of = a structure like this: >=20 > JvMAll > | > \-Applications > | | > | \-ApplicationA > | | > | \-ApplicationB > | | > | . > | . > | . > | > \-Frameworks > | > \-FrameworkA > | > \-FrameworkEO > | > \-FrameworkB > | > . > . > . >=20 > the EOModel in question resides inside the resources folder of one of = the Framework projects, let's say inside 'FrameworkEO'. Only JvMAll, the = 'Applications'-folder subdirectories and the 'Frameworks'-folder = subdirectories are actually Eclipse projects (not the 'Applications' and = the 'Frameworks' folder itself). >=20 > No I can open one of the several EOModels inside the 'FrameworkEO' = projekt and edit it without any problems. Only when I try to generate = SQL from the model I get: >=20 >=20 > Failed to create EOF class loader. Launch configuration Entity Modeler = SQL Generation references non-existing project JvMAll. >=20 > org.objectstyle.wolips.eomodeler.core.model.EOModelException: Failed = to create EOF class loader. > at = org.objectstyle.wolips.eomodeler.core.model.AbstractEOClassLoader.createCl= assLoaderForModel(AbstractEOClassLoader.java:56) > at = org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory$Utility.= createClassLoader(IEOClassLoaderFactory.java:40) > at = org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.getEOModelClass= Loader(GenerateSQLDialog.java:257) > at = org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(Gen= erateSQLDialog.java:297) > at = org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateS= QLDialog.java:279) > at java.lang.Thread.run(Thread.java:680) > Caused by: org.eclipse.core.runtime.CoreException: Launch = configuration Entity Modeler SQL Generation references non-existing = project JvMAll. > at = org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1354) > at = org.eclipse.jdt.launching.JavaRuntime.getJavaProject(JavaRuntime.java:1234= ) > at = org.eclipse.jdt.launching.StandardClasspathProvider.computeUnresolvedClass= path(StandardClasspathProvider.java:39) > at = org.objectstyle.wolips.launching.classpath.WORuntimeClasspathProvider.comp= uteUnresolvedClasspath(WORuntimeClasspathProvider.java:83) > at = org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.computeUnresol= vedClasspath(RuntimeClasspathProvider.java:53) > at = org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(Ja= vaRuntime.java:1200) > at = org.objectstyle.wolips.launching.actions.WOJavaApplicationLaunchShortcut.c= reateClasspathURLsForProject(WOJavaApplicationLaunchShortcut.java:133) > at = org.objectstyle.wolips.eomodeler.eclipse.EclipseEOClassLoaderFactory.fillI= nModelClasspath(EclipseEOClassLoaderFactory.java:68) > at = org.objectstyle.wolips.eomodeler.core.model.AbstractEOClassLoader.createCl= assLoaderForModel(AbstractEOClassLoader.java:29) > ... 5 more >=20 > Closing the JvMAll umbrella project (which I use only for building, = synchronizing and committing to the VCS (CVS this time actually :-( )) = makes the situation only worse.=20 >=20 >=20 > Has somebody any clue what to do? >=20 >=20 > thanks, >=20 > Lars >=20 > p.s.: is the [email protected] list still active? = _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > = http://lists.apple.com/mailman/options/webobjects-dev/lars.sonchocky-helld= orf%40hamburg.de >=20 > This email sent to [email protected]