|
|
|
|
|
|
|
Re: Ecore2Java ant task [message #431206 is a reply to message #431205] |
Thu, 02 July 2009 14:05 |
Ed Merks Messages: 33133 Registered: July 2009 |
Senior Member |
|
|
Achilleas,
Comments below.
Achilleas wrote:
> Ed,
>
> This is the plugin.xml generated for the model project:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
>
> <!--
> <copyright>
> </copyright>
>
> $Id$
> -->
>
> <plugin>
>
> <extension point="org.eclipse.emf.ecore.generated_package">
> <package
> uri="http://www.com.bt/2009/product"
> class="product.ProductPackage"/>
> </extension>
>
> </plugin>
>
>
> 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,
> product.impl,
> product.util
> Require-Bundle: org.eclipse.core.runtime,
> org.eclipse.emf.ecore;visibility:=reexport
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!
>
> Thanks,
>
> Achilleas
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
|
Re: Ecore2Java ant task [message #431218 is a reply to message #431214] |
Thu, 02 July 2009 15:28 |
Eclipse User |
|
|
|
Originally posted by: aurelien.pupier.esial.net
>>
>> Do you have any idea where should I start for generating the GMF
>> diagram code now?
Hi,
it doesn't exist yet as EMF.
there is multiple entries discussing about that in the gmf newsgroup that you can look.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03428 seconds