|Re: Ecore2Java ant task [message #431206 is a reply to message #431205]
||Thu, 02 July 2009 14:05
| Ed Merks
Registered: July 2009
> This is the plugin.xml generated for the model project:
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <extension point="org.eclipse.emf.ecore.generated_package">
> This is the MANIFEST.MF for the model project:
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: %pluginName
> Bundle-SymbolicName: bt.com.ccm.product;singleton:=true
> Bundle-Version: 1.0.0
> Bundle-ClassPath: .
> Bundle-Vendor: %providerName
> Bundle-Localization: plugin
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Export-Package: product,
> Require-Bundle: org.eclipse.core.runtime,
So the dependency to get it to compile is there and should work.
> Bundle-ActivationPolicy: lazy
> As soon as the model, edit and editor projects are generated and the
> errors appear, I configure the build path of the model project adding
> merely the "org.eclipse.emf.ecore_2.4.0........." plug-in dependency
> and all the errors dissapear and the plug-ins work just fine!
But that dependency is already there. It sounds like perhaps the
..classpath file is not being updated, but that should happen
automatically... What if you just invoke PDE Tools->Update
classpath...? Does that do the trick too?
> It seems very strange and I have run the ant task so many times but
> still the same problem!
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.02877 seconds