Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » EMF Ant task - no java code generated
EMF Ant task - no java code generated [message #385148] Thu, 25 June 2009 09:50 Go to next message
Eclipse User
Originally posted by: aurelien.pupier.esial.net

Hi,

I'm trying to use ant task for generate code from genmodel.

I put this :

<emf.Ecore2Java
modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
generatejavacode="true"
generatemodelproject="true"

genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
modelprojectfragmentpath="src"

model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
></emf.Ecore2Java>


I have this trace :

[java] [emf.Ecore2Java] >>> Generating
D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
[java] [emf.Ecore2Java] >> Examining project
'org.ow2.jasmine.design'
[java] [emf.Ecore2Java] >> Refreshing '/org.ow2.jasmine.design'.
[java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
[java] [emf.Ecore2Java] >> Generating code
[java] [emf.Ecore2Java] >> Generating packages
[java] [emf.Ecore2Java] >> Generating model plugin.properties
[java] [emf.Ecore2Java] >> Generating file
/org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
[java] [emf.Ecore2Java] >> Examining old
/org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Preparing new
/org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Generating model build.properties
[java] [emf.Ecore2Java] >> Generating model plugin.properties
[java] [emf.Ecore2Java] >> Generating file
/org.ow2.jasmine.design/build.properties
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
[java] [emf.Ecore2Java] >> Generating model META-INF/MANIFEST.MF
[java] [emf.Ecore2Java] >> Generating file
/org.ow2.jasmine.design/META-INF/MANIFEST.MF
[java] [emf.Ecore2Java] >> Opening folder
/org.ow2.jasmine.design/META-INF
[java] [emf.Ecore2Java] >> Generating model plugin.xml
[java] [emf.Ecore2Java] >> Generating file
/org.ow2.jasmine.design/plugin.xml
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design


So no problem appears and it told that it is "Generating code" but no
*.java file generated :(

I'm wondering something else : my genmodel is based on multiple .ecore,
how can we specified all these models? Is my problem related to that?

Thanks by advance,

Aurelien Pupier
Re: EMF Ant task - no java code generated [message #385149 is a reply to message #385148] Thu, 25 June 2009 10:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Aurelien,

Maybe there are clues in the <workspace>/.metadata/.log


Aurelien Pupier wrote:
> Hi,
>
> I'm trying to use ant task for generate code from genmodel.
>
> I put this :
>
> <emf.Ecore2Java
> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
> generatejavacode="true"
> generatemodelproject="true"
>
> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>
> modelprojectfragmentpath="src"
>
> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>
> ></emf.Ecore2Java>
>
>
> I have this trace :
>
> [java] [emf.Ecore2Java] >>> Generating
> D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
> [java] [emf.Ecore2Java] >> Examining project
> 'org.ow2.jasmine.design'
> [java] [emf.Ecore2Java] >> Refreshing '/org.ow2.jasmine.design'.
> [java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
> [java] [emf.Ecore2Java] >> Generating code
> [java] [emf.Ecore2Java] >> Generating packages
> [java] [emf.Ecore2Java] >> Generating model plugin.properties
> [java] [emf.Ecore2Java] >> Generating file
> /org.ow2.jasmine.design/plugin.properties
> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
> [java] [emf.Ecore2Java] >> Examining old
> /org.ow2.jasmine.design/plugin.properties
> [java] [emf.Ecore2Java] >> Preparing new
> /org.ow2.jasmine.design/plugin.properties
> [java] [emf.Ecore2Java] >> Generating model build.properties
> [java] [emf.Ecore2Java] >> Generating model plugin.properties
> [java] [emf.Ecore2Java] >> Generating file
> /org.ow2.jasmine.design/build.properties
> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
> [java] [emf.Ecore2Java] >> Generating model META-INF/MANIFEST.MF
> [java] [emf.Ecore2Java] >> Generating file
> /org.ow2.jasmine.design/META-INF/MANIFEST.MF
> [java] [emf.Ecore2Java] >> Opening folder
> /org.ow2.jasmine.design/META-INF
> [java] [emf.Ecore2Java] >> Generating model plugin.xml
> [java] [emf.Ecore2Java] >> Generating file
> /org.ow2.jasmine.design/plugin.xml
> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
>
>
> So no problem appears and it told that it is "Generating code" but no
> *.java file generated :(
>
> I'm wondering something else : my genmodel is based on multiple
> .ecore, how can we specified all these models? Is my problem related
> to that?
>
> Thanks by advance,
>
> Aurelien Pupier
>
Re: EMF Ant task - no java code generated [message #385150 is a reply to message #385149] Thu, 25 June 2009 12:02 Go to previous messageGo to next message
Eclipse User
Originally posted by: aurelien.pupier.esial.net

I looked into the log, but seems to be nothing really useful :

when i launch only thi starget :
!SESSION 2009-06-25 13:52:21.608 -----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Framework arguments: -application org.eclipse.ant.core.antRunner -buildfile C:/Program Files/eclipse/plugins/org.eclipse.pde.build_3.4.1.R34x_v2008 1217/scripts/build.xml generate -Ddummy=true
Command-line arguments: -ws win32 -os win32 -application org.eclipse.ant.core.antRunner -buildfile C:/Program Files/eclipse/plugins/org.eclipse.pde.build_3.4.1.R34x_v2008 1217/scripts/build.xml generate -data D:/build/workspace -Ddummy=true

!ENTRY org.eclipse.core.resources 2 10035 2009-06-25 13:52:23.093
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.


and when O launch all my build.xml (which retrieve projects on svn) :

!ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:02.106
!MESSAGE An error occurred while automatically activating bundle com.atlassw.tools.eclipse.checkstyle (1025).
!STACK 0
org.osgi.framework.BundleException: Exception in com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( ) of bundle com.atlassw.tools.eclipse.checkstyle.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.core.internal.resources.NatureManager.createNatu re(NatureManager.java:231)
at org.eclipse.core.internal.resources.NatureManager.deconfigur eNature(NatureManager.java:249)
at org.eclipse.core.internal.resources.NatureManager.configureN atures(NatureManager.java:198)
at org.eclipse.core.internal.resources.Project.basicSetDescript ion(Project.java:84)
at org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1017)
at org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1045)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:775)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
at org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
at org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
at org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
at org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
at org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
at org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Abstract UIPlugin.java:299)
at com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( CheckstylePlugin.java:184)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
... 102 more
Root exception:
java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
at org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Abstract UIPlugin.java:299)
at com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( CheckstylePlugin.java:184)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.core.internal.resources.NatureManager.createNatu re(NatureManager.java:231)
at org.eclipse.core.internal.resources.NatureManager.deconfigur eNature(NatureManager.java:249)
at org.eclipse.core.internal.resources.NatureManager.configureN atures(NatureManager.java:198)
at org.eclipse.core.internal.resources.Project.basicSetDescript ion(Project.java:84)
at org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1017)
at org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1045)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:775)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
at org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
at org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
at org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
at org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
at org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.emf.codegen.ecore 2 0 2009-06-25 13:40:03.231
!MESSAGE org.ow2.jasmine.design does not exist
!STACK 1
Java Model Exception: Java Model Status [org.ow2.jasmine.design does not exist]
at org.eclipse.jdt.internal.core.JavaElement.newNotPresentExcep tion(JavaElement.java:491)
at org.eclipse.jdt.internal.core.JavaModelManager.getPerProject InfoCheckExistence(JavaModelManager.java:1959)
at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo( JavaProject.java:1802)
at org.eclipse.jdt.internal.core.SetClasspathOperation.executeO peration(SetClasspathOperation.java:54)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:716)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:782)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2874)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2905)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:922)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
at org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
at org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
at org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
at org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
at org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
!SUBENTRY 1 org.eclipse.jdt.core 4 969 2009-06-25 13:40:03.247
!MESSAGE org.ow2.jasmine.design does not exist

!ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:05.294
!MESSAGE An error occurred while automatically activating bundle org.maven.ide.eclipse (1131).
!STACK 0
org.osgi.framework.BundleException: Exception in org.maven.ide.eclipse.MavenPlugin.start() of bundle org.maven.ide.eclipse.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.core.internal.content.ContentType.getDescriber(C ontentType.java:271)
at org.eclipse.core.internal.content.ContentTypeCatalog.collect MatchingByContents(ContentTypeCatalog.java:184)
at org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:360)
at org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:407)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:304)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:318)
at org.eclipse.core.internal.content.ContentTypeMatcher.getDesc riptionFor(ContentTypeMatcher.java:86)
at org.eclipse.core.internal.resources.ContentDescriptionManage r.readDescription(ContentDescriptionManager.java:424)
at org.eclipse.core.internal.resources.ContentDescriptionManage r.getDescriptionFor(ContentDescriptionManager.java:342)
at org.eclipse.core.internal.resources.File.internalGetCharset( File.java:260)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:221)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:208)
at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. createBaseResourceVariant(SVNStatusSyncInfo.java:250)
at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. <init>(SVNStatusSyncInfo.java:44)
at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscr iber.getSyncInfo(SVNWorkspaceSubscriber.java:185)
at org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscri ber.java:370)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager.getDiff(SubscriberChangeSetManager.java:302)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:183)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:206)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.doDispatchEvents(SubscriberChangeSetM anager.java:80)
at org.eclipse.team.internal.core.BackgroundEventHandler.dispat chEvents(BackgroundEventHandler.java:394)
at org.eclipse.team.internal.core.BackgroundEventHandler.proces sEvents(BackgroundEventHandler.java:374)
at org.eclipse.team.internal.core.BackgroundEventHandler$1.run( BackgroundEventHandler.java:203)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.swt.SWTError: Invalid thread access
at org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(A bstractUIPlugin.java:213)
at org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(Abst ractUIPlugin.java:257)
at org.maven.ide.eclipse.MavenImages.getImageRegistry(MavenImag es.java:119)
at org.maven.ide.eclipse.MavenImages.create(MavenImages.java:96 )
at org.maven.ide.eclipse.MavenImages.createImage(MavenImages.ja va:112)
at org.maven.ide.eclipse.MavenImages.<clinit>(MavenImages.java:27)
at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugin.java:145 )
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
... 46 more
Root exception:
org.eclipse.swt.SWTError: Invalid thread access
at org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(A bstractUIPlugin.java:213)
at org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(Abst ractUIPlugin.java:257)
at org.maven.ide.eclipse.MavenImages.getImageRegistry(MavenImag es.java:119)
at org.maven.ide.eclipse.MavenImages.create(MavenImages.java:96 )
at org.maven.ide.eclipse.MavenImages.createImage(MavenImages.ja va:112)
at org.maven.ide.eclipse.MavenImages.<clinit>(MavenImages.java:27)
at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugin.java:145 )
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.core.internal.content.ContentType.getDescriber(C ontentType.java:271)
at org.eclipse.core.internal.content.ContentTypeCatalog.collect MatchingByContents(ContentTypeCatalog.java:184)
at org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:360)
at org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:407)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:304)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:318)
at org.eclipse.core.internal.content.ContentTypeMatcher.getDesc riptionFor(ContentTypeMatcher.java:86)
at org.eclipse.core.internal.resources.ContentDescriptionManage r.readDescription(ContentDescriptionManager.java:424)
at org.eclipse.core.internal.resources.ContentDescriptionManage r.getDescriptionFor(ContentDescriptionManager.java:342)
at org.eclipse.core.internal.resources.File.internalGetCharset( File.java:260)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:221)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:208)
at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. createBaseResourceVariant(SVNStatusSyncInfo.java:250)
at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. <init>(SVNStatusSyncInfo.java:44)
at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscr iber.getSyncInfo(SVNWorkspaceSubscriber.java:185)
at org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscri ber.java:370)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager.getDiff(SubscriberChangeSetManager.java:302)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:183)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:206)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.doDispatchEvents(SubscriberChangeSetM anager.java:80)
at org.eclipse.team.internal.core.BackgroundEventHandler.dispat chEvents(BackgroundEventHandler.java:394)
at org.eclipse.team.internal.core.BackgroundEventHandler.proces sEvents(BackgroundEventHandler.java:374)
at org.eclipse.team.internal.core.BackgroundEventHandler$1.run( BackgroundEventHandler.java:203)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


and then :
!ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:07.997
!MESSAGE Application error
!STACK 1
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: C:\Program Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\build.xml:25: The following error occurred while executing this line:
C:\Program Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\build.xml:78: The following error occurred while executing this line:
D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\customTargets.xml:43: The following error occurred while executing this line:
D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\allElements.xml:4: The following error occurred while executing this line:
D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\allElements.xml:9: The following error occurred while executing this line:
C:\Program Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\genericTargets.xml:95: The following error occurred while executing this line:
D:\build\features\org.ow2.jasmine.design.feature\build.xml:5 8: The following error occurred while executing this line:
D:\build\features\org.ow2.jasmine.design.feature\build.xml:1 2: The following error occurred while executing this line:
D:\build\plugins\org.ow2.jasmine.design.topology\build.xml:1 73: The following error occurred while executing this line:
D:\build\plugins\org.ow2.jasmine.design.topology\build.xml:1 30: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)

[...]

compile failed but the *.java were not created that's normal I think

Ed Merks a écrit :
> Aurelien,
>
> Maybe there are clues in the <workspace>/.metadata/.log
>
>
> Aurelien Pupier wrote:
>> Hi,
>>
>> I'm trying to use ant task for generate code from genmodel.
>>
>> I put this :
>>
>> <emf.Ecore2Java
>> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
>> generatejavacode="true"
>> generatemodelproject="true"
>>
>> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>>
>> modelprojectfragmentpath="src"
>>
>> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>>
>> ></emf.Ecore2Java>
>>
>>
>> I have this trace :
>>
>> [java] [emf.Ecore2Java] >>> Generating
>> D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
>> [java] [emf.Ecore2Java] >> Examining project
>> 'org.ow2.jasmine.design'
>> [java] [emf.Ecore2Java] >> Refreshing '/org.ow2.jasmine.design'.
>> [java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
>> [java] [emf.Ecore2Java] >> Generating code
>> [java] [emf.Ecore2Java] >> Generating packages
>> [java] [emf.Ecore2Java] >> Generating model plugin.properties
>> [java] [emf.Ecore2Java] >> Generating file
>> /org.ow2.jasmine.design/plugin.properties
>> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
>> [java] [emf.Ecore2Java] >> Examining old
>> /org.ow2.jasmine.design/plugin.properties
>> [java] [emf.Ecore2Java] >> Preparing new
>> /org.ow2.jasmine.design/plugin.properties
>> [java] [emf.Ecore2Java] >> Generating model build.properties
>> [java] [emf.Ecore2Java] >> Generating model plugin.properties
>> [java] [emf.Ecore2Java] >> Generating file
>> /org.ow2.jasmine.design/build.properties
>> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
>> [java] [emf.Ecore2Java] >> Generating model META-INF/MANIFEST.MF
>> [java] [emf.Ecore2Java] >> Generating file
>> /org.ow2.jasmine.design/META-INF/MANIFEST.MF
>> [java] [emf.Ecore2Java] >> Opening folder
>> /org.ow2.jasmine.design/META-INF
>> [java] [emf.Ecore2Java] >> Generating model plugin.xml
>> [java] [emf.Ecore2Java] >> Generating file
>> /org.ow2.jasmine.design/plugin.xml
>> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
>>
>>
>> So no problem appears and it told that it is "Generating code" but no
>> *.java file generated :(
>>
>> I'm wondering something else : my genmodel is based on multiple
>> .ecore, how can we specified all these models? Is my problem related
>> to that?
>>
>> Thanks by advance,
>>
>> Aurelien Pupier
>>
Re: EMF Ant task - no java code generated [message #385151 is a reply to message #385150] Thu, 25 June 2009 12:38 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Aurelien,

I'm really not sure what to suggest. Some of these exceptions don't
look so good. Are the trace lines indicating Java files are being
generated showing? Are they ending up in some mystery location?


Aurelien Pupier wrote:
> I looked into the log, but seems to be nothing really useful :
>
> when i launch only thi starget :
> !SESSION 2009-06-25 13:52:21.608
> -----------------------------------------------
> eclipse.buildId=M20090211-1700
> java.version=1.6.0_13
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> Framework arguments: -application org.eclipse.ant.core.antRunner
> -buildfile C:/Program
> Files/eclipse/plugins/org.eclipse.pde.build_3.4.1.R34x_v2008 1217/scripts/build.xml
> generate -Ddummy=true
> Command-line arguments: -ws win32 -os win32 -application
> org.eclipse.ant.core.antRunner -buildfile C:/Program
> Files/eclipse/plugins/org.eclipse.pde.build_3.4.1.R34x_v2008 1217/scripts/build.xml
> generate -data D:/build/workspace -Ddummy=true
>
> !ENTRY org.eclipse.core.resources 2 10035 2009-06-25 13:52:23.093
> !MESSAGE The workspace exited with unsaved changes in the previous
> session; refreshing workspace to recover changes.
>
>
> and when O launch all my build.xml (which retrieve projects on svn) :
>
> !ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:02.106
> !MESSAGE An error occurred while automatically activating bundle
> com.atlassw.tools.eclipse.checkstyle (1025).
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( ) of
> bundle com.atlassw.tools.eclipse.checkstyle.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.core.internal.resources.NatureManager.createNatu re(NatureManager.java:231)
>
> at
> org.eclipse.core.internal.resources.NatureManager.deconfigur eNature(NatureManager.java:249)
>
> at
> org.eclipse.core.internal.resources.NatureManager.configureN atures(NatureManager.java:198)
>
> at
> org.eclipse.core.internal.resources.Project.basicSetDescript ion(Project.java:84)
>
> at
> org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1017)
>
> at
> org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1045)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:775)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
>
> at
> org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
>
> at
> org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
>
> at
> org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
>
> at
> org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
>
> at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
>
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
> at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> Caused by: java.lang.IllegalStateException: Workbench has not been
> created yet.
> at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Abstract UIPlugin.java:299)
>
> at
> com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( CheckstylePlugin.java:184)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>
> ... 102 more
> Root exception:
> java.lang.IllegalStateException: Workbench has not been created yet.
> at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Abstract UIPlugin.java:299)
>
> at
> com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( CheckstylePlugin.java:184)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.core.internal.resources.NatureManager.createNatu re(NatureManager.java:231)
>
> at
> org.eclipse.core.internal.resources.NatureManager.deconfigur eNature(NatureManager.java:249)
>
> at
> org.eclipse.core.internal.resources.NatureManager.configureN atures(NatureManager.java:198)
>
> at
> org.eclipse.core.internal.resources.Project.basicSetDescript ion(Project.java:84)
>
> at
> org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1017)
>
> at
> org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1045)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:775)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
>
> at
> org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
>
> at
> org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
>
> at
> org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
>
> at
> org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
>
> at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
>
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
> at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>
> !ENTRY org.eclipse.emf.codegen.ecore 2 0 2009-06-25 13:40:03.231
> !MESSAGE org.ow2.jasmine.design does not exist
> !STACK 1
> Java Model Exception: Java Model Status [org.ow2.jasmine.design does
> not exist]
> at
> org.eclipse.jdt.internal.core.JavaElement.newNotPresentExcep tion(JavaElement.java:491)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.getPerProject InfoCheckExistence(JavaModelManager.java:1959)
>
> at
> org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo( JavaProject.java:1802)
>
> at
> org.eclipse.jdt.internal.core.SetClasspathOperation.executeO peration(SetClasspathOperation.java:54)
>
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:716)
>
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:782)
>
> at
> org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2874)
>
> at
> org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2905)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:922)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
>
> at
> org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
>
> at
> org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
>
> at
> org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
>
> at
> org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
>
> at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
>
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
> at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> !SUBENTRY 1 org.eclipse.jdt.core 4 969 2009-06-25 13:40:03.247
> !MESSAGE org.ow2.jasmine.design does not exist
>
> !ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:05.294
> !MESSAGE An error occurred while automatically activating bundle
> org.maven.ide.eclipse (1131).
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.maven.ide.eclipse.MavenPlugin.start() of bundle
> org.maven.ide.eclipse.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.core.internal.content.ContentType.getDescriber(C ontentType.java:271)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.collect MatchingByContents(ContentTypeCatalog.java:184)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:360)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:407)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:304)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:318)
>
> at
> org.eclipse.core.internal.content.ContentTypeMatcher.getDesc riptionFor(ContentTypeMatcher.java:86)
>
> at
> org.eclipse.core.internal.resources.ContentDescriptionManage r.readDescription(ContentDescriptionManager.java:424)
>
> at
> org.eclipse.core.internal.resources.ContentDescriptionManage r.getDescriptionFor(ContentDescriptionManager.java:342)
>
> at
> org.eclipse.core.internal.resources.File.internalGetCharset( File.java:260)
>
> at org.eclipse.core.internal.resources.File.getCharset(File.jav a:221)
> at org.eclipse.core.internal.resources.File.getCharset(File.jav a:208)
> at
> org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. createBaseResourceVariant(SVNStatusSyncInfo.java:250)
>
> at
> org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. <init>(SVNStatusSyncInfo.java:44)
>
> at
> org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscr iber.getSyncInfo(SVNWorkspaceSubscriber.java:185)
>
> at
> org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscri ber.java:370)
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager.getDiff(SubscriberChangeSetManager.java:302)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:183)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:206)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.doDispatchEvents(SubscriberChangeSetM anager.java:80)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler.dispat chEvents(BackgroundEventHandler.java:394)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler.proces sEvents(BackgroundEventHandler.java:374)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler$1.run( BackgroundEventHandler.java:203)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.swt.SWTError: Invalid thread access
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(A bstractUIPlugin.java:213)
>
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(Abst ractUIPlugin.java:257)
>
> at
> org.maven.ide.eclipse.MavenImages.getImageRegistry(MavenImag es.java:119)
> at org.maven.ide.eclipse.MavenImages.create(MavenImages.java:96 )
> at
> org.maven.ide.eclipse.MavenImages.createImage(MavenImages.ja va:112)
> at org.maven.ide.eclipse.MavenImages.<clinit>(MavenImages.java:27)
> at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugin.java:145 )
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>
> ... 46 more
> Root exception:
> org.eclipse.swt.SWTError: Invalid thread access
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(A bstractUIPlugin.java:213)
>
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(Abst ractUIPlugin.java:257)
>
> at
> org.maven.ide.eclipse.MavenImages.getImageRegistry(MavenImag es.java:119)
> at org.maven.ide.eclipse.MavenImages.create(MavenImages.java:96 )
> at
> org.maven.ide.eclipse.MavenImages.createImage(MavenImages.ja va:112)
> at org.maven.ide.eclipse.MavenImages.<clinit>(MavenImages.java:27)
> at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugin.java:145 )
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.core.internal.content.ContentType.getDescriber(C ontentType.java:271)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.collect MatchingByContents(ContentTypeCatalog.java:184)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:360)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:407)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:304)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:318)
>
> at
> org.eclipse.core.internal.content.ContentTypeMatcher.getDesc riptionFor(ContentTypeMatcher.java:86)
>
> at
> org.eclipse.core.internal.resources.ContentDescriptionManage r.readDescription(ContentDescriptionManager.java:424)
>
> at
> org.eclipse.core.internal.resources.ContentDescriptionManage r.getDescriptionFor(ContentDescriptionManager.java:342)
>
> at
> org.eclipse.core.internal.resources.File.internalGetCharset( File.java:260)
>
> at org.eclipse.core.internal.resources.File.getCharset(File.jav a:221)
> at org.eclipse.core.internal.resources.File.getCharset(File.jav a:208)
> at
> org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. createBaseResourceVariant(SVNStatusSyncInfo.java:250)
>
> at
> org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. <init>(SVNStatusSyncInfo.java:44)
>
> at
> org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscr iber.getSyncInfo(SVNWorkspaceSubscriber.java:185)
>
> at
> org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscri ber.java:370)
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager.getDiff(SubscriberChangeSetManager.java:302)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:183)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:206)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.doDispatchEvents(SubscriberChangeSetM anager.java:80)

>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler.dispat chEvents(BackgroundEventHandler.java:394)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler.proces sEvents(BackgroundEventHandler.java:374)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler$1.run( BackgroundEventHandler.java:203)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> and then :
> !ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:07.997
> !MESSAGE Application error
> !STACK 1
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
> at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> Caused by: C:\Program
> Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\build.xml:25:
> The following error occurred while executing this line:
> C:\Program
> Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\build.xml:78:
> The following error occurred while executing this line:
> D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\customTargets.xml:43:
> The following error occurred while executing this line:
> D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\allElements.xml:4:
> The following error occurred while executing this line:
> D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\allElements.xml:9:
> The following error occurred while executing this line:
> C:\Program
> Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\genericTargets.xml:95:
> The following error occurred while executing this line:
> D:\build\features\org.ow2.jasmine.design.feature\build.xml:5 8: The
> following error occurred while executing this line:
> D:\build\features\org.ow2.jasmine.design.feature\build.xml:1 2: The
> following error occurred while executing this line:
> D:\build\plugins\org.ow2.jasmine.design.topology\build.xml:1 73: The
> following error occurred while executing this line:
> D:\build\plugins\org.ow2.jasmine.design.topology\build.xml:1 30:
> Compile failed; see the compiler error output for details.
> at
> org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
> at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
>
> [...]
>
> compile failed but the *.java were not created that's normal I think
>
> Ed Merks a écrit :
>> Aurelien,
>>
>> Maybe there are clues in the <workspace>/.metadata/.log
>>
>>
>> Aurelien Pupier wrote:
>>> Hi,
>>>
>>> I'm trying to use ant task for generate code from genmodel.
>>>
>>> I put this :
>>>
>>> <emf.Ecore2Java
>>> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
>>> generatejavacode="true"
>>> generatemodelproject="true"
>>>
>>> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>>>
>>> modelprojectfragmentpath="src"
>>>
>>> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>>>
>>> ></emf.Ecore2Java>
>>>
>>>
>>> I have this trace :
>>>
>>> [java] [emf.Ecore2Java] >>> Generating
>>> D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
>>> [java] [emf.Ecore2Java] >> Examining project
>>> 'org.ow2.jasmine.design'
>>> [java] [emf.Ecore2Java] >> Refreshing
>>> '/org.ow2.jasmine.design'.
>>> [java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
>>> [java] [emf.Ecore2Java] >> Generating code
>>> [java] [emf.Ecore2Java] >> Generating packages
>>> [java] [emf.Ecore2Java] >> Generating model plugin.properties
>>> [java] [emf.Ecore2Java] >> Generating file
>>> /org.ow2.jasmine.design/plugin.properties
>>> [java] [emf.Ecore2Java] >> Opening folder
>>> /org.ow2.jasmine.design
>>> [java] [emf.Ecore2Java] >> Examining old
>>> /org.ow2.jasmine.design/plugin.properties
>>> [java] [emf.Ecore2Java] >> Preparing new
>>> /org.ow2.jasmine.design/plugin.properties
>>> [java] [emf.Ecore2Java] >> Generating model build.properties
>>> [java] [emf.Ecore2Java] >> Generating model plugin.properties
>>> [java] [emf.Ecore2Java] >> Generating file
>>> /org.ow2.jasmine.design/build.properties
>>> [java] [emf.Ecore2Java] >> Opening folder
>>> /org.ow2.jasmine.design
>>> [java] [emf.Ecore2Java] >> Generating model
>>> META-INF/MANIFEST.MF
>>> [java] [emf.Ecore2Java] >> Generating file
>>> /org.ow2.jasmine.design/META-INF/MANIFEST.MF
>>> [java] [emf.Ecore2Java] >> Opening folder
>>> /org.ow2.jasmine.design/META-INF
>>> [java] [emf.Ecore2Java] >> Generating model plugin.xml
>>> [java] [emf.Ecore2Java] >> Generating file
>>> /org.ow2.jasmine.design/plugin.xml
>>> [java] [emf.Ecore2Java] >> Opening folder
>>> /org.ow2.jasmine.design
>>>
>>>
>>> So no problem appears and it told that it is "Generating code" but
>>> no *.java file generated :(
>>>
>>> I'm wondering something else : my genmodel is based on multiple
>>> .ecore, how can we specified all these models? Is my problem related
>>> to that?
>>>
>>> Thanks by advance,
>>>
>>> Aurelien Pupier
>>>
Re: EMF Ant task - no java code generated [message #385155 is a reply to message #385151] Wed, 08 July 2009 11:24 Go to previous messageGo to next message
Eclipse User
Originally posted by: aurelien.pupier.esial.net

Ok, I let it by side for one time and I'm going back on it!!

Now I've got an error directly in the ant console (and I really don't know what can have be changed since last time):

[java] [emf.Ecore2Java] Java Model Exception: Java Model Status [org.ow2.jasmine.design does not exist]
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentExcep tion(JavaElement.java:491)
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaModelManager.getPerProject InfoCheckExistence(JavaModelManager.java:1959)
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo( JavaProject.java:1802)
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation( JavaProject.java:1629)
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2907)
[java] [emf.Ecore2Java] at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:922)
[java] [emf.Ecore2Java] at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
[java] [emf.Ecore2Java] at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
[java] [emf.Ecore2Java] at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
[java] [emf.Ecore2Java] at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
[java] [emf.Ecore2Java] at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
[java] [emf.Ecore2Java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[java] [emf.Ecore2Java] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
[java] [emf.Ecore2Java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
[java] [emf.Ecore2Java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[java] [emf.Ecore2Java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[java] [emf.Ecore2Java] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
[java] [emf.Ecore2Java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
[java] [emf.Ecore2Java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[java] [emf.Ecore2Java] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
[java] [emf.Ecore2Java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[java] [emf.Ecore2Java] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
[java] [emf.Ecore2Java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
[java] [emf.Ecore2Java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] [emf.Ecore2Java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
[java] [emf.Ecore2Java] at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
[java] [emf.Ecore2Java] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
[java] [emf.Ecore2Java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
[java] [emf.Ecore2Java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
[java] [emf.Ecore2Java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
[java] [emf.Ecore2Java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
[java] [emf.Ecore2Java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] [emf.Ecore2Java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
[java] [emf.Ecore2Java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
[java] [emf.Ecore2Java] at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
[java] [emf.Ecore2Java] at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
[java] [emf.Ecore2Java] >>> Generating D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
[java] [emf.Ecore2Java] >> Examining project 'org.ow2.jasmine.design'
[java] [emf.Ecore2Java] >> Refreshing '/org.ow2.jasmine.design'.
[java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
[java] [emf.Ecore2Java] >> Generating code
[java] [emf.Ecore2Java] >> Generating packages
[java] [emf.Ecore2Java] >> Generating model plugin.properties
[java] [emf.Ecore2Java] >> Generating file /org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
[java] [emf.Ecore2Java] >> Examining old /org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Preparing new /org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Generating model build.properties
[java] [emf.Ecore2Java] >> Generating model plugin.properties
[java] [emf.Ecore2Java] >> Generating file /org.ow2.jasmine.design/build.properties
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
[java] [emf.Ecore2Java] >> Generating model META-INF/MANIFEST.MF
[java] [emf.Ecore2Java] >> Generating file /org.ow2.jasmine.design/META-INF/MANIFEST.MF
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design/META-INF
[java] [emf.Ecore2Java] >> Generating model plugin.xml
[java] [emf.Ecore2Java] >> Generating file /org.ow2.jasmine.design/plugin.xml
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design


it seems that it can't create a java project but there is a .project in the directory...
Re: EMF Ant task - no java code generated [message #385156 is a reply to message #385155] Wed, 08 July 2009 12:42 Go to previous messageGo to next message
Eclipse User
Originally posted by: aurelien.pupier.esial.net

I'm not so far!!

I add reconcilegenmodel="keep"

<emf.Ecore2Java modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
modelprojectfragmentpath="src"
model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
reconcilegenmodel="keep"
generatemodelproject="true"
generatejavacode="true"
generateeditproject="true">
</emf.Ecore2Java>

And there is no more previous error :
but I have to find where the file created

[java] [emf.Ecore2Java] >> Generating editor for package JasminePackage
[java] [emf.Ecore2Java] >> Generating Java class org.ow2.jasmine.design.model.jasmine.presentation.JasmineEdi tor
[java] [emf.Ecore2Java] >> Generating /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation/JasmineEditor.java
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation

seems to be at the root but I'm on Windows... and if ti's areelative path I don't know where. A search on all my disk didn't find the files...

Any ideas?

moving to Linux... or how to tell where emf.ecore2java must generate the files?
Re: EMF Ant task - no java code generated [message #385157 is a reply to message #385156] Wed, 08 July 2009 12:45 Go to previous messageGo to next message
Eclipse User
Originally posted by: aurelien.pupier.esial.net

Ooops ok, I found where files are generated, now I just ,need to know why the build don't use these files, I will look that

Aurelien Pupier a écrit :
> I'm not so far!!
>
> I add reconcilegenmodel="keep"
>
> <emf.Ecore2Java
> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>
> modelprojectfragmentpath="src"
> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>
> reconcilegenmodel="keep"
> generatemodelproject="true"
> generatejavacode="true"
> generateeditproject="true">
> </emf.Ecore2Java>
>
> And there is no more previous error :
> but I have to find where the file created
>
> [java] [emf.Ecore2Java] >> Generating editor for package
> JasminePackage
> [java] [emf.Ecore2Java] >> Generating Java class
> org.ow2.jasmine.design.model.jasmine.presentation.JasmineEdi tor
> [java] [emf.Ecore2Java] >> Generating
> /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation/JasmineEditor.java
>
> [java] [emf.Ecore2Java] >> Opening folder
> /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation
>
>
> seems to be at the root but I'm on Windows... and if ti's areelative
> path I don't know where. A search on all my disk didn't find the files...
>
> Any ideas?
>
> moving to Linux... or how to tell where emf.ecore2java must generate the
> files?
[SOLVED]Re: EMF Ant task - no java code generated [message #385158 is a reply to message #385157] Wed, 08 July 2009 13:10 Go to previous message
Eclipse User
Originally posted by: aurelien.pupier.esial.net

Sorry for spam but no need to spend time on it. It works. I didn't use the correct workspace previously.

Aurelien Pupier a écrit :
> Ooops ok, I found where files are generated, now I just ,need to know
> why the build don't use these files, I will look that
>
> Aurelien Pupier a écrit :
>> I'm not so far!!
>>
>> I add reconcilegenmodel="keep"
>>
>> <emf.Ecore2Java
>> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
>>
>> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>>
>> modelprojectfragmentpath="src"
>>
>> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>>
>> reconcilegenmodel="keep"
>> generatemodelproject="true"
>> generatejavacode="true"
>> generateeditproject="true">
>> </emf.Ecore2Java>
>>
>> And there is no more previous error :
>> but I have to find where the file created
>>
>> [java] [emf.Ecore2Java] >> Generating editor for package
>> JasminePackage
>> [java] [emf.Ecore2Java] >> Generating Java class
>> org.ow2.jasmine.design.model.jasmine.presentation.JasmineEdi tor
>> [java] [emf.Ecore2Java] >> Generating
>> /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation/JasmineEditor.java
>>
>> [java] [emf.Ecore2Java] >> Opening folder
>> /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation
>>
>>
>> seems to be at the root but I'm on Windows... and if ti's areelative
>> path I don't know where. A search on all my disk didn't find the files...
>>
>> Any ideas?
>>
>> moving to Linux... or how to tell where emf.ecore2java must generate
>> the files?
Re: EMF Ant task - no java code generated [message #617453 is a reply to message #385148] Thu, 25 June 2009 10:52 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Aurelien,

Maybe there are clues in the <workspace>/.metadata/.log


Aurelien Pupier wrote:
> Hi,
>
> I'm trying to use ant task for generate code from genmodel.
>
> I put this :
>
> <emf.Ecore2Java
> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
> generatejavacode="true"
> generatemodelproject="true"
>
> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>
> modelprojectfragmentpath="src"
>
> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>
> ></emf.Ecore2Java>
>
>
> I have this trace :
>
> [java] [emf.Ecore2Java] >>> Generating
> D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
> [java] [emf.Ecore2Java] >> Examining project
> 'org.ow2.jasmine.design'
> [java] [emf.Ecore2Java] >> Refreshing '/org.ow2.jasmine.design'.
> [java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
> [java] [emf.Ecore2Java] >> Generating code
> [java] [emf.Ecore2Java] >> Generating packages
> [java] [emf.Ecore2Java] >> Generating model plugin.properties
> [java] [emf.Ecore2Java] >> Generating file
> /org.ow2.jasmine.design/plugin.properties
> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
> [java] [emf.Ecore2Java] >> Examining old
> /org.ow2.jasmine.design/plugin.properties
> [java] [emf.Ecore2Java] >> Preparing new
> /org.ow2.jasmine.design/plugin.properties
> [java] [emf.Ecore2Java] >> Generating model build.properties
> [java] [emf.Ecore2Java] >> Generating model plugin.properties
> [java] [emf.Ecore2Java] >> Generating file
> /org.ow2.jasmine.design/build.properties
> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
> [java] [emf.Ecore2Java] >> Generating model META-INF/MANIFEST.MF
> [java] [emf.Ecore2Java] >> Generating file
> /org.ow2.jasmine.design/META-INF/MANIFEST.MF
> [java] [emf.Ecore2Java] >> Opening folder
> /org.ow2.jasmine.design/META-INF
> [java] [emf.Ecore2Java] >> Generating model plugin.xml
> [java] [emf.Ecore2Java] >> Generating file
> /org.ow2.jasmine.design/plugin.xml
> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
>
>
> So no problem appears and it told that it is "Generating code" but no
> *.java file generated :(
>
> I'm wondering something else : my genmodel is based on multiple
> .ecore, how can we specified all these models? Is my problem related
> to that?
>
> Thanks by advance,
>
> Aurelien Pupier
>
Re: EMF Ant task - no java code generated [message #617458 is a reply to message #385149] Thu, 25 June 2009 12:02 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 573
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

I looked into the log, but seems to be nothing really useful :

when i launch only thi starget :
!SESSION 2009-06-25 13:52:21.608 -----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Framework arguments: -application org.eclipse.ant.core.antRunner -buildfile C:/Program Files/eclipse/plugins/org.eclipse.pde.build_3.4.1.R34x_v2008 1217/scripts/build.xml generate -Ddummy=true
Command-line arguments: -ws win32 -os win32 -application org.eclipse.ant.core.antRunner -buildfile C:/Program Files/eclipse/plugins/org.eclipse.pde.build_3.4.1.R34x_v2008 1217/scripts/build.xml generate -data D:/build/workspace -Ddummy=true

!ENTRY org.eclipse.core.resources 2 10035 2009-06-25 13:52:23.093
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.


and when O launch all my build.xml (which retrieve projects on svn) :

!ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:02.106
!MESSAGE An error occurred while automatically activating bundle com.atlassw.tools.eclipse.checkstyle (1025).
!STACK 0
org.osgi.framework.BundleException: Exception in com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( ) of bundle com.atlassw.tools.eclipse.checkstyle.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.core.internal.resources.NatureManager.createNatu re(NatureManager.java:231)
at org.eclipse.core.internal.resources.NatureManager.deconfigur eNature(NatureManager.java:249)
at org.eclipse.core.internal.resources.NatureManager.configureN atures(NatureManager.java:198)
at org.eclipse.core.internal.resources.Project.basicSetDescript ion(Project.java:84)
at org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1017)
at org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1045)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:775)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
at org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
at org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
at org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
at org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
at org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
at org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Abstract UIPlugin.java:299)
at com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( CheckstylePlugin.java:184)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
... 102 more
Root exception:
java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
at org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Abstract UIPlugin.java:299)
at com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( CheckstylePlugin.java:184)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.core.internal.resources.NatureManager.createNatu re(NatureManager.java:231)
at org.eclipse.core.internal.resources.NatureManager.deconfigur eNature(NatureManager.java:249)
at org.eclipse.core.internal.resources.NatureManager.configureN atures(NatureManager.java:198)
at org.eclipse.core.internal.resources.Project.basicSetDescript ion(Project.java:84)
at org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1017)
at org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1045)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:775)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
at org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
at org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
at org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
at org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
at org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.emf.codegen.ecore 2 0 2009-06-25 13:40:03.231
!MESSAGE org.ow2.jasmine.design does not exist
!STACK 1
Java Model Exception: Java Model Status [org.ow2.jasmine.design does not exist]
at org.eclipse.jdt.internal.core.JavaElement.newNotPresentExcep tion(JavaElement.java:491)
at org.eclipse.jdt.internal.core.JavaModelManager.getPerProject InfoCheckExistence(JavaModelManager.java:1959)
at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo( JavaProject.java:1802)
at org.eclipse.jdt.internal.core.SetClasspathOperation.executeO peration(SetClasspathOperation.java:54)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:716)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:782)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2874)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2905)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:922)
at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
at org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
at org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
at org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
at org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
at org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
!SUBENTRY 1 org.eclipse.jdt.core 4 969 2009-06-25 13:40:03.247
!MESSAGE org.ow2.jasmine.design does not exist

!ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:05.294
!MESSAGE An error occurred while automatically activating bundle org.maven.ide.eclipse (1131).
!STACK 0
org.osgi.framework.BundleException: Exception in org.maven.ide.eclipse.MavenPlugin.start() of bundle org.maven.ide.eclipse.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.core.internal.content.ContentType.getDescriber(C ontentType.java:271)
at org.eclipse.core.internal.content.ContentTypeCatalog.collect MatchingByContents(ContentTypeCatalog.java:184)
at org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:360)
at org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:407)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:304)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:318)
at org.eclipse.core.internal.content.ContentTypeMatcher.getDesc riptionFor(ContentTypeMatcher.java:86)
at org.eclipse.core.internal.resources.ContentDescriptionManage r.readDescription(ContentDescriptionManager.java:424)
at org.eclipse.core.internal.resources.ContentDescriptionManage r.getDescriptionFor(ContentDescriptionManager.java:342)
at org.eclipse.core.internal.resources.File.internalGetCharset( File.java:260)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:221)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:208)
at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. createBaseResourceVariant(SVNStatusSyncInfo.java:250)
at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. <init>(SVNStatusSyncInfo.java:44)
at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscr iber.getSyncInfo(SVNWorkspaceSubscriber.java:185)
at org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscri ber.java:370)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager.getDiff(SubscriberChangeSetManager.java:302)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:183)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:206)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.doDispatchEvents(SubscriberChangeSetM anager.java:80)
at org.eclipse.team.internal.core.BackgroundEventHandler.dispat chEvents(BackgroundEventHandler.java:394)
at org.eclipse.team.internal.core.BackgroundEventHandler.proces sEvents(BackgroundEventHandler.java:374)
at org.eclipse.team.internal.core.BackgroundEventHandler$1.run( BackgroundEventHandler.java:203)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.swt.SWTError: Invalid thread access
at org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(A bstractUIPlugin.java:213)
at org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(Abst ractUIPlugin.java:257)
at org.maven.ide.eclipse.MavenImages.getImageRegistry(MavenImag es.java:119)
at org.maven.ide.eclipse.MavenImages.create(MavenImages.java:96 )
at org.maven.ide.eclipse.MavenImages.createImage(MavenImages.ja va:112)
at org.maven.ide.eclipse.MavenImages.<clinit>(MavenImages.java:27)
at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugin.java:145 )
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
... 46 more
Root exception:
org.eclipse.swt.SWTError: Invalid thread access
at org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(A bstractUIPlugin.java:213)
at org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(Abst ractUIPlugin.java:257)
at org.maven.ide.eclipse.MavenImages.getImageRegistry(MavenImag es.java:119)
at org.maven.ide.eclipse.MavenImages.create(MavenImages.java:96 )
at org.maven.ide.eclipse.MavenImages.createImage(MavenImages.ja va:112)
at org.maven.ide.eclipse.MavenImages.<clinit>(MavenImages.java:27)
at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugin.java:145 )
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.core.internal.content.ContentType.getDescriber(C ontentType.java:271)
at org.eclipse.core.internal.content.ContentTypeCatalog.collect MatchingByContents(ContentTypeCatalog.java:184)
at org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:360)
at org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:407)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:304)
at org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:318)
at org.eclipse.core.internal.content.ContentTypeMatcher.getDesc riptionFor(ContentTypeMatcher.java:86)
at org.eclipse.core.internal.resources.ContentDescriptionManage r.readDescription(ContentDescriptionManager.java:424)
at org.eclipse.core.internal.resources.ContentDescriptionManage r.getDescriptionFor(ContentDescriptionManager.java:342)
at org.eclipse.core.internal.resources.File.internalGetCharset( File.java:260)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:221)
at org.eclipse.core.internal.resources.File.getCharset(File.jav a:208)
at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. createBaseResourceVariant(SVNStatusSyncInfo.java:250)
at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. <init>(SVNStatusSyncInfo.java:44)
at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscr iber.getSyncInfo(SVNWorkspaceSubscriber.java:185)
at org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscri ber.java:370)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager.getDiff(SubscriberChangeSetManager.java:302)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:183)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:206)
at org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.doDispatchEvents(SubscriberChangeSetM anager.java:80)
at org.eclipse.team.internal.core.BackgroundEventHandler.dispat chEvents(BackgroundEventHandler.java:394)
at org.eclipse.team.internal.core.BackgroundEventHandler.proces sEvents(BackgroundEventHandler.java:374)
at org.eclipse.team.internal.core.BackgroundEventHandler$1.run( BackgroundEventHandler.java:203)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


and then :
!ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:07.997
!MESSAGE Application error
!STACK 1
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: C:\Program Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\build.xml:25: The following error occurred while executing this line:
C:\Program Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\build.xml:78: The following error occurred while executing this line:
D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\customTargets.xml:43: The following error occurred while executing this line:
D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\allElements.xml:4: The following error occurred while executing this line:
D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\allElements.xml:9: The following error occurred while executing this line:
C:\Program Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\genericTargets.xml:95: The following error occurred while executing this line:
D:\build\features\org.ow2.jasmine.design.feature\build.xml:5 8: The following error occurred while executing this line:
D:\build\features\org.ow2.jasmine.design.feature\build.xml:1 2: The following error occurred while executing this line:
D:\build\plugins\org.ow2.jasmine.design.topology\build.xml:1 73: The following error occurred while executing this line:
D:\build\plugins\org.ow2.jasmine.design.topology\build.xml:1 30: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)

[...]

compile failed but the *.java were not created that's normal I think

Ed Merks a écrit :
> Aurelien,
>
> Maybe there are clues in the <workspace>/.metadata/.log
>
>
> Aurelien Pupier wrote:
>> Hi,
>>
>> I'm trying to use ant task for generate code from genmodel.
>>
>> I put this :
>>
>> <emf.Ecore2Java
>> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
>> generatejavacode="true"
>> generatemodelproject="true"
>>
>> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>>
>> modelprojectfragmentpath="src"
>>
>> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>>
>> ></emf.Ecore2Java>
>>
>>
>> I have this trace :
>>
>> [java] [emf.Ecore2Java] >>> Generating
>> D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
>> [java] [emf.Ecore2Java] >> Examining project
>> 'org.ow2.jasmine.design'
>> [java] [emf.Ecore2Java] >> Refreshing '/org.ow2.jasmine.design'.
>> [java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
>> [java] [emf.Ecore2Java] >> Generating code
>> [java] [emf.Ecore2Java] >> Generating packages
>> [java] [emf.Ecore2Java] >> Generating model plugin.properties
>> [java] [emf.Ecore2Java] >> Generating file
>> /org.ow2.jasmine.design/plugin.properties
>> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
>> [java] [emf.Ecore2Java] >> Examining old
>> /org.ow2.jasmine.design/plugin.properties
>> [java] [emf.Ecore2Java] >> Preparing new
>> /org.ow2.jasmine.design/plugin.properties
>> [java] [emf.Ecore2Java] >> Generating model build.properties
>> [java] [emf.Ecore2Java] >> Generating model plugin.properties
>> [java] [emf.Ecore2Java] >> Generating file
>> /org.ow2.jasmine.design/build.properties
>> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
>> [java] [emf.Ecore2Java] >> Generating model META-INF/MANIFEST.MF
>> [java] [emf.Ecore2Java] >> Generating file
>> /org.ow2.jasmine.design/META-INF/MANIFEST.MF
>> [java] [emf.Ecore2Java] >> Opening folder
>> /org.ow2.jasmine.design/META-INF
>> [java] [emf.Ecore2Java] >> Generating model plugin.xml
>> [java] [emf.Ecore2Java] >> Generating file
>> /org.ow2.jasmine.design/plugin.xml
>> [java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
>>
>>
>> So no problem appears and it told that it is "Generating code" but no
>> *.java file generated :(
>>
>> I'm wondering something else : my genmodel is based on multiple
>> .ecore, how can we specified all these models? Is my problem related
>> to that?
>>
>> Thanks by advance,
>>
>> Aurelien Pupier
>>


Aurélien Pupier - Bonitasoft S.A.
My company Eclipse-related blog
Re: EMF Ant task - no java code generated [message #617464 is a reply to message #385150] Thu, 25 June 2009 12:38 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Aurelien,

I'm really not sure what to suggest. Some of these exceptions don't
look so good. Are the trace lines indicating Java files are being
generated showing? Are they ending up in some mystery location?


Aurelien Pupier wrote:
> I looked into the log, but seems to be nothing really useful :
>
> when i launch only thi starget :
> !SESSION 2009-06-25 13:52:21.608
> -----------------------------------------------
> eclipse.buildId=M20090211-1700
> java.version=1.6.0_13
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
> Framework arguments: -application org.eclipse.ant.core.antRunner
> -buildfile C:/Program
> Files/eclipse/plugins/org.eclipse.pde.build_3.4.1.R34x_v2008 1217/scripts/build.xml
> generate -Ddummy=true
> Command-line arguments: -ws win32 -os win32 -application
> org.eclipse.ant.core.antRunner -buildfile C:/Program
> Files/eclipse/plugins/org.eclipse.pde.build_3.4.1.R34x_v2008 1217/scripts/build.xml
> generate -data D:/build/workspace -Ddummy=true
>
> !ENTRY org.eclipse.core.resources 2 10035 2009-06-25 13:52:23.093
> !MESSAGE The workspace exited with unsaved changes in the previous
> session; refreshing workspace to recover changes.
>
>
> and when O launch all my build.xml (which retrieve projects on svn) :
>
> !ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:02.106
> !MESSAGE An error occurred while automatically activating bundle
> com.atlassw.tools.eclipse.checkstyle (1025).
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( ) of
> bundle com.atlassw.tools.eclipse.checkstyle.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.core.internal.resources.NatureManager.createNatu re(NatureManager.java:231)
>
> at
> org.eclipse.core.internal.resources.NatureManager.deconfigur eNature(NatureManager.java:249)
>
> at
> org.eclipse.core.internal.resources.NatureManager.configureN atures(NatureManager.java:198)
>
> at
> org.eclipse.core.internal.resources.Project.basicSetDescript ion(Project.java:84)
>
> at
> org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1017)
>
> at
> org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1045)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:775)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
>
> at
> org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
>
> at
> org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
>
> at
> org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
>
> at
> org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
>
> at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
>
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
> at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> Caused by: java.lang.IllegalStateException: Workbench has not been
> created yet.
> at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Abstract UIPlugin.java:299)
>
> at
> com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( CheckstylePlugin.java:184)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>
> ... 102 more
> Root exception:
> java.lang.IllegalStateException: Workbench has not been created yet.
> at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.getWorkbench(Abstract UIPlugin.java:299)
>
> at
> com.atlassw.tools.eclipse.checkstyle.CheckstylePlugin.start( CheckstylePlugin.java:184)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.core.internal.resources.NatureManager.createNatu re(NatureManager.java:231)
>
> at
> org.eclipse.core.internal.resources.NatureManager.deconfigur eNature(NatureManager.java:249)
>
> at
> org.eclipse.core.internal.resources.NatureManager.configureN atures(NatureManager.java:198)
>
> at
> org.eclipse.core.internal.resources.Project.basicSetDescript ion(Project.java:84)
>
> at
> org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1017)
>
> at
> org.eclipse.core.internal.resources.Project.setDescription(P roject.java:1045)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:775)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
>
> at
> org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
>
> at
> org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
>
> at
> org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
>
> at
> org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
>
> at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
>
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
> at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>
> !ENTRY org.eclipse.emf.codegen.ecore 2 0 2009-06-25 13:40:03.231
> !MESSAGE org.ow2.jasmine.design does not exist
> !STACK 1
> Java Model Exception: Java Model Status [org.ow2.jasmine.design does
> not exist]
> at
> org.eclipse.jdt.internal.core.JavaElement.newNotPresentExcep tion(JavaElement.java:491)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.getPerProject InfoCheckExistence(JavaModelManager.java:1959)
>
> at
> org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo( JavaProject.java:1802)
>
> at
> org.eclipse.jdt.internal.core.SetClasspathOperation.executeO peration(SetClasspathOperation.java:54)
>
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:716)
>
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:782)
>
> at
> org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2874)
>
> at
> org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2905)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:922)
>
> at
> org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
>
> at
> org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
>
> at
> org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
>
> at
> org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
>
> at
> org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
>
> at
> org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
>
> at
> org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
>
> at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
>
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
>
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
>
> at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
>
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
> at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> !SUBENTRY 1 org.eclipse.jdt.core 4 969 2009-06-25 13:40:03.247
> !MESSAGE org.ow2.jasmine.design does not exist
>
> !ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:05.294
> !MESSAGE An error occurred while automatically activating bundle
> org.maven.ide.eclipse (1131).
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.maven.ide.eclipse.MavenPlugin.start() of bundle
> org.maven.ide.eclipse.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.core.internal.content.ContentType.getDescriber(C ontentType.java:271)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.collect MatchingByContents(ContentTypeCatalog.java:184)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:360)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:407)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:304)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:318)
>
> at
> org.eclipse.core.internal.content.ContentTypeMatcher.getDesc riptionFor(ContentTypeMatcher.java:86)
>
> at
> org.eclipse.core.internal.resources.ContentDescriptionManage r.readDescription(ContentDescriptionManager.java:424)
>
> at
> org.eclipse.core.internal.resources.ContentDescriptionManage r.getDescriptionFor(ContentDescriptionManager.java:342)
>
> at
> org.eclipse.core.internal.resources.File.internalGetCharset( File.java:260)
>
> at org.eclipse.core.internal.resources.File.getCharset(File.jav a:221)
> at org.eclipse.core.internal.resources.File.getCharset(File.jav a:208)
> at
> org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. createBaseResourceVariant(SVNStatusSyncInfo.java:250)
>
> at
> org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. <init>(SVNStatusSyncInfo.java:44)
>
> at
> org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscr iber.getSyncInfo(SVNWorkspaceSubscriber.java:185)
>
> at
> org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscri ber.java:370)
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager.getDiff(SubscriberChangeSetManager.java:302)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:183)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:206)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.doDispatchEvents(SubscriberChangeSetM anager.java:80)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler.dispat chEvents(BackgroundEventHandler.java:394)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler.proces sEvents(BackgroundEventHandler.java:374)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler$1.run( BackgroundEventHandler.java:203)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.swt.SWTError: Invalid thread access
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(A bstractUIPlugin.java:213)
>
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(Abst ractUIPlugin.java:257)
>
> at
> org.maven.ide.eclipse.MavenImages.getImageRegistry(MavenImag es.java:119)
> at org.maven.ide.eclipse.MavenImages.create(MavenImages.java:96 )
> at
> org.maven.ide.eclipse.MavenImages.createImage(MavenImages.ja va:112)
> at org.maven.ide.eclipse.MavenImages.<clinit>(MavenImages.java:27)
> at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugin.java:145 )
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>
> ... 46 more
> Root exception:
> org.eclipse.swt.SWTError: Invalid thread access
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.createImageRegistry(A bstractUIPlugin.java:213)
>
> at
> org.eclipse.ui.plugin.AbstractUIPlugin.getImageRegistry(Abst ractUIPlugin.java:257)
>
> at
> org.maven.ide.eclipse.MavenImages.getImageRegistry(MavenImag es.java:119)
> at org.maven.ide.eclipse.MavenImages.create(MavenImages.java:96 )
> at
> org.maven.ide.eclipse.MavenImages.createImage(MavenImages.ja va:112)
> at org.maven.ide.eclipse.MavenImages.<clinit>(MavenImages.java:27)
> at org.maven.ide.eclipse.MavenPlugin.start(MavenPlugin.java:145 )
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.util.SecureAction$21.run(SecureAc tion.java:406)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:404)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:370)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:446)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:399)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:387)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:315)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.core.internal.content.ContentType.getDescriber(C ontentType.java:271)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.collect MatchingByContents(ContentTypeCatalog.java:184)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:360)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.interna lFindContentTypesFor(ContentTypeCatalog.java:407)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:304)
>
> at
> org.eclipse.core.internal.content.ContentTypeCatalog.getDesc riptionFor(ContentTypeCatalog.java:318)
>
> at
> org.eclipse.core.internal.content.ContentTypeMatcher.getDesc riptionFor(ContentTypeMatcher.java:86)
>
> at
> org.eclipse.core.internal.resources.ContentDescriptionManage r.readDescription(ContentDescriptionManager.java:424)
>
> at
> org.eclipse.core.internal.resources.ContentDescriptionManage r.getDescriptionFor(ContentDescriptionManager.java:342)
>
> at
> org.eclipse.core.internal.resources.File.internalGetCharset( File.java:260)
>
> at org.eclipse.core.internal.resources.File.getCharset(File.jav a:221)
> at org.eclipse.core.internal.resources.File.getCharset(File.jav a:208)
> at
> org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. createBaseResourceVariant(SVNStatusSyncInfo.java:250)
>
> at
> org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo. <init>(SVNStatusSyncInfo.java:44)
>
> at
> org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscr iber.getSyncInfo(SVNWorkspaceSubscriber.java:185)
>
> at
> org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscri ber.java:370)
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager.getDiff(SubscriberChangeSetManager.java:302)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:183)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.handleChange(SubscriberChangeSetManag er.java:206)
>
> at
> org.eclipse.team.internal.core.subscribers.SubscriberChangeS etManager$EventHandler.doDispatchEvents(SubscriberChangeSetM anager.java:80)

>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler.dispat chEvents(BackgroundEventHandler.java:394)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler.proces sEvents(BackgroundEventHandler.java:374)
>
> at
> org.eclipse.team.internal.core.BackgroundEventHandler$1.run( BackgroundEventHandler.java:203)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> and then :
> !ENTRY org.eclipse.osgi 4 0 2009-06-25 13:40:07.997
> !MESSAGE Application error
> !STACK 1
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
> at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> Caused by: C:\Program
> Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\build.xml:25:
> The following error occurred while executing this line:
> C:\Program
> Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\build.xml:78:
> The following error occurred while executing this line:
> D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\customTargets.xml:43:
> The following error occurred while executing this line:
> D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\allElements.xml:4:
> The following error occurred while executing this line:
> D:\workspaces\design-1.2-workspace-svn\org.ow2.jasmine.desig n.builder\build-files\allElements.xml:9:
> The following error occurred while executing this line:
> C:\Program
> Files\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008 1217\scripts\genericTargets.xml:95:
> The following error occurred while executing this line:
> D:\build\features\org.ow2.jasmine.design.feature\build.xml:5 8: The
> following error occurred while executing this line:
> D:\build\features\org.ow2.jasmine.design.feature\build.xml:1 2: The
> following error occurred while executing this line:
> D:\build\plugins\org.ow2.jasmine.design.topology\build.xml:1 73: The
> following error occurred while executing this line:
> D:\build\plugins\org.ow2.jasmine.design.topology\build.xml:1 30:
> Compile failed; see the compiler error output for details.
> at
> org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
> at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
>
> [...]
>
> compile failed but the *.java were not created that's normal I think
>
> Ed Merks a écrit :
>> Aurelien,
>>
>> Maybe there are clues in the <workspace>/.metadata/.log
>>
>>
>> Aurelien Pupier wrote:
>>> Hi,
>>>
>>> I'm trying to use ant task for generate code from genmodel.
>>>
>>> I put this :
>>>
>>> <emf.Ecore2Java
>>> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
>>> generatejavacode="true"
>>> generatemodelproject="true"
>>>
>>> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>>>
>>> modelprojectfragmentpath="src"
>>>
>>> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>>>
>>> ></emf.Ecore2Java>
>>>
>>>
>>> I have this trace :
>>>
>>> [java] [emf.Ecore2Java] >>> Generating
>>> D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
>>> [java] [emf.Ecore2Java] >> Examining project
>>> 'org.ow2.jasmine.design'
>>> [java] [emf.Ecore2Java] >> Refreshing
>>> '/org.ow2.jasmine.design'.
>>> [java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
>>> [java] [emf.Ecore2Java] >> Generating code
>>> [java] [emf.Ecore2Java] >> Generating packages
>>> [java] [emf.Ecore2Java] >> Generating model plugin.properties
>>> [java] [emf.Ecore2Java] >> Generating file
>>> /org.ow2.jasmine.design/plugin.properties
>>> [java] [emf.Ecore2Java] >> Opening folder
>>> /org.ow2.jasmine.design
>>> [java] [emf.Ecore2Java] >> Examining old
>>> /org.ow2.jasmine.design/plugin.properties
>>> [java] [emf.Ecore2Java] >> Preparing new
>>> /org.ow2.jasmine.design/plugin.properties
>>> [java] [emf.Ecore2Java] >> Generating model build.properties
>>> [java] [emf.Ecore2Java] >> Generating model plugin.properties
>>> [java] [emf.Ecore2Java] >> Generating file
>>> /org.ow2.jasmine.design/build.properties
>>> [java] [emf.Ecore2Java] >> Opening folder
>>> /org.ow2.jasmine.design
>>> [java] [emf.Ecore2Java] >> Generating model
>>> META-INF/MANIFEST.MF
>>> [java] [emf.Ecore2Java] >> Generating file
>>> /org.ow2.jasmine.design/META-INF/MANIFEST.MF
>>> [java] [emf.Ecore2Java] >> Opening folder
>>> /org.ow2.jasmine.design/META-INF
>>> [java] [emf.Ecore2Java] >> Generating model plugin.xml
>>> [java] [emf.Ecore2Java] >> Generating file
>>> /org.ow2.jasmine.design/plugin.xml
>>> [java] [emf.Ecore2Java] >> Opening folder
>>> /org.ow2.jasmine.design
>>>
>>>
>>> So no problem appears and it told that it is "Generating code" but
>>> no *.java file generated :(
>>>
>>> I'm wondering something else : my genmodel is based on multiple
>>> .ecore, how can we specified all these models? Is my problem related
>>> to that?
>>>
>>> Thanks by advance,
>>>
>>> Aurelien Pupier
>>>
Re: EMF Ant task - no java code generated [message #617498 is a reply to message #385151] Wed, 08 July 2009 11:24 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 573
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Ok, I let it by side for one time and I'm going back on it!!

Now I've got an error directly in the ant console (and I really don't know what can have be changed since last time):

[java] [emf.Ecore2Java] Java Model Exception: Java Model Status [org.ow2.jasmine.design does not exist]
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentExcep tion(JavaElement.java:491)
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaModelManager.getPerProject InfoCheckExistence(JavaModelManager.java:1959)
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo( JavaProject.java:1802)
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation( JavaProject.java:1629)
[java] [emf.Ecore2Java] at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(Ja vaProject.java:2907)
[java] [emf.Ecore2Java] at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:922)
[java] [emf.Ecore2Java] at org.eclipse.emf.codegen.ecore.Generator$EclipseHelper.create EMFProject(Generator.java:636)
[java] [emf.Ecore2Java] at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:527)
[java] [emf.Ecore2Java] at org.eclipse.emf.codegen.ecore.Generator.createEMFProject(Gen erator.java:516)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporter.createProject(ModelIm porter.java:835)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporter.saveGenModelAndEPacka ges(ModelImporter.java:758)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporterApplication.doExecute( ModelImporterApplication.java:606)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporterApplication.execute(Mo delImporterApplication.java:219)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:178)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ModelImporterApplication.run(ModelI mporterApplication.java:162)
[java] [emf.Ecore2Java] at org.eclipse.emf.importer.ecore.taskdefs.EcoreGeneratorTask.c reateGenModel(EcoreGeneratorTask.java:81)
[java] [emf.Ecore2Java] at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doE xecute(GeneratorTask.java:380)
[java] [emf.Ecore2Java] at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:76 )
[java] [emf.Ecore2Java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[java] [emf.Ecore2Java] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
[java] [emf.Ecore2Java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
[java] [emf.Ecore2Java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[java] [emf.Ecore2Java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[java] [emf.Ecore2Java] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
[java] [emf.Ecore2Java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
[java] [emf.Ecore2Java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[java] [emf.Ecore2Java] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
[java] [emf.Ecore2Java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[java] [emf.Ecore2Java] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
[java] [emf.Ecore2Java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
[java] [emf.Ecore2Java] at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:623)
[java] [emf.Ecore2Java] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
[java] [emf.Ecore2Java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] [emf.Ecore2Java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
[java] [emf.Ecore2Java] at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
[java] [emf.Ecore2Java] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
[java] [emf.Ecore2Java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
[java] [emf.Ecore2Java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
[java] [emf.Ecore2Java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
[java] [emf.Ecore2Java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
[java] [emf.Ecore2Java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] [emf.Ecore2Java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] [emf.Ecore2Java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] [emf.Ecore2Java] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
[java] [emf.Ecore2Java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
[java] [emf.Ecore2Java] at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
[java] [emf.Ecore2Java] at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
[java] [emf.Ecore2Java] >>> Generating D:\build\plugins\org.ow2.jasmine.design\model\jasmine.genmod el
[java] [emf.Ecore2Java] >> Examining project 'org.ow2.jasmine.design'
[java] [emf.Ecore2Java] >> Refreshing '/org.ow2.jasmine.design'.
[java] [emf.Ecore2Java] >> Opening 'org.ow2.jasmine.design'.
[java] [emf.Ecore2Java] >> Generating code
[java] [emf.Ecore2Java] >> Generating packages
[java] [emf.Ecore2Java] >> Generating model plugin.properties
[java] [emf.Ecore2Java] >> Generating file /org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
[java] [emf.Ecore2Java] >> Examining old /org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Preparing new /org.ow2.jasmine.design/plugin.properties
[java] [emf.Ecore2Java] >> Generating model build.properties
[java] [emf.Ecore2Java] >> Generating model plugin.properties
[java] [emf.Ecore2Java] >> Generating file /org.ow2.jasmine.design/build.properties
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design
[java] [emf.Ecore2Java] >> Generating model META-INF/MANIFEST.MF
[java] [emf.Ecore2Java] >> Generating file /org.ow2.jasmine.design/META-INF/MANIFEST.MF
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design/META-INF
[java] [emf.Ecore2Java] >> Generating model plugin.xml
[java] [emf.Ecore2Java] >> Generating file /org.ow2.jasmine.design/plugin.xml
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design


it seems that it can't create a java project but there is a .project in the directory...


Aurélien Pupier - Bonitasoft S.A.
My company Eclipse-related blog
Re: EMF Ant task - no java code generated [message #617505 is a reply to message #385155] Wed, 08 July 2009 12:42 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 573
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

I'm not so far!!

I add reconcilegenmodel="keep"

<emf.Ecore2Java modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
modelprojectfragmentpath="src"
model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
reconcilegenmodel="keep"
generatemodelproject="true"
generatejavacode="true"
generateeditproject="true">
</emf.Ecore2Java>

And there is no more previous error :
but I have to find where the file created

[java] [emf.Ecore2Java] >> Generating editor for package JasminePackage
[java] [emf.Ecore2Java] >> Generating Java class org.ow2.jasmine.design.model.jasmine.presentation.JasmineEdi tor
[java] [emf.Ecore2Java] >> Generating /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation/JasmineEditor.java
[java] [emf.Ecore2Java] >> Opening folder /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation

seems to be at the root but I'm on Windows... and if ti's areelative path I don't know where. A search on all my disk didn't find the files...

Any ideas?

moving to Linux... or how to tell where emf.ecore2java must generate the files?


Aurélien Pupier - Bonitasoft S.A.
My company Eclipse-related blog
Re: EMF Ant task - no java code generated [message #617510 is a reply to message #385156] Wed, 08 July 2009 12:45 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 573
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Ooops ok, I found where files are generated, now I just ,need to know why the build don't use these files, I will look that

Aurelien Pupier a écrit :
> I'm not so far!!
>
> I add reconcilegenmodel="keep"
>
> <emf.Ecore2Java
> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>
> modelprojectfragmentpath="src"
> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>
> reconcilegenmodel="keep"
> generatemodelproject="true"
> generatejavacode="true"
> generateeditproject="true">
> </emf.Ecore2Java>
>
> And there is no more previous error :
> but I have to find where the file created
>
> [java] [emf.Ecore2Java] >> Generating editor for package
> JasminePackage
> [java] [emf.Ecore2Java] >> Generating Java class
> org.ow2.jasmine.design.model.jasmine.presentation.JasmineEdi tor
> [java] [emf.Ecore2Java] >> Generating
> /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation/JasmineEditor.java
>
> [java] [emf.Ecore2Java] >> Opening folder
> /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation
>
>
> seems to be at the root but I'm on Windows... and if ti's areelative
> path I don't know where. A search on all my disk didn't find the files...
>
> Any ideas?
>
> moving to Linux... or how to tell where emf.ecore2java must generate the
> files?


Aurélien Pupier - Bonitasoft S.A.
My company Eclipse-related blog
[SOLVED]Re: EMF Ant task - no java code generated [message #617513 is a reply to message #385157] Wed, 08 July 2009 13:10 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 573
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Sorry for spam but no need to spend time on it. It works. I didn't use the correct workspace previously.

Aurelien Pupier a écrit :
> Ooops ok, I found where files are generated, now I just ,need to know
> why the build don't use these files, I will look that
>
> Aurelien Pupier a écrit :
>> I'm not so far!!
>>
>> I add reconcilegenmodel="keep"
>>
>> <emf.Ecore2Java
>> modelproject="${buildDirectory}/plugins/org.ow2.jasmine.design "
>>
>> genmodel=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.genmodel "
>>
>> modelprojectfragmentpath="src"
>>
>> model=" ${buildDirectory}/plugins/org.ow2.jasmine.design/model/jasmi ne.ecore "
>>
>> reconcilegenmodel="keep"
>> generatemodelproject="true"
>> generatejavacode="true"
>> generateeditproject="true">
>> </emf.Ecore2Java>
>>
>> And there is no more previous error :
>> but I have to find where the file created
>>
>> [java] [emf.Ecore2Java] >> Generating editor for package
>> JasminePackage
>> [java] [emf.Ecore2Java] >> Generating Java class
>> org.ow2.jasmine.design.model.jasmine.presentation.JasmineEdi tor
>> [java] [emf.Ecore2Java] >> Generating
>> /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation/JasmineEditor.java
>>
>> [java] [emf.Ecore2Java] >> Opening folder
>> /org.ow2.jasmine.design.editor/src/org/ow2/jasmine/design/mo del/jasmine/presentation
>>
>>
>> seems to be at the root but I'm on Windows... and if ti's areelative
>> path I don't know where. A search on all my disk didn't find the files...
>>
>> Any ideas?
>>
>> moving to Linux... or how to tell where emf.ecore2java must generate
>> the files?


Aurélien Pupier - Bonitasoft S.A.
My company Eclipse-related blog
Previous Topic:New and Noteworthy?
Next Topic:EMF Migration - EDataType error
Goto Forum:
  


Current Time: Fri Oct 24 15:25:28 GMT 2014

Powered by FUDForum. Page generated in 0.02908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software