Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Texo]issue with migration to version 0.1.0.v201107070719
[Texo]issue with migration to version 0.1.0.v201107070719 [message #699986] Fri, 22 July 2011 12:50 Go to next message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 556
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

I try to upgrade to last EMF Texo release 0.1.0.v201107070719

It seems that org.eclipse.emf.texo.generator.WorkFlowStarter no more exists.
By what it is replaced?

I found this commit that remove the file: http://dev.eclipse.org/mhonarc/lists/texo-commit/msg00492.html

Regards,


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Re: [Texo]issue with migration to version 0.1.0.v201107070719 [message #700120 is a reply to message #699986] Fri, 22 July 2011 16:43 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5324
Registered: July 2009
Senior Member
Yes I completely removed the usage of MWE as the workflow was very simple and MWE did not provide any advantage. Can you
tell me what problems you have?

gr. Martin

On 07/22/2011 06:50 PM, Aurelien Pupier wrote:
> Hi,
>
> I try to upgrade to last EMF Texo release 0.1.0.v201107070719
>
> It seems that org.eclipse.emf.texo.generator.WorkFlowStarter no more exists.
> By what it is replaced?
>
> I found this commit that remove the file: http://dev.eclipse.org/mhonarc/lists/texo-commit/msg00492.html
>
> Regards,


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Texo]issue with migration to version 0.1.0.v201107070719 [message #700325 is a reply to message #700120] Sat, 23 July 2011 03:40 Go to previous messageGo to next message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 556
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

we were using it to generate model code.
final WorkFlowStarter wfs = new WorkFlowStarter();
wfs.generateModelCode(project.getName(), ePackages, modelController, genOutputFolder);


I suppose that I need to call the generation from other class now. Can you kindly indicate it to me? or point me to the right documentation, please?

Regards,


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Re: [Texo]issue with migration to version 0.1.0.v201107070719 [message #700345 is a reply to message #700325] Sat, 23 July 2011 03:54 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5324
Registered: July 2009
Senior Member
Hi Aurelien,
This code is what I use in the testcases:

final ModelController modelController = new ModelController();
modelController.setEPackages(ePackages);
modelController.annotate(new ArrayList<ModelAnnotator>());

final ArtifactGenerator artifactGenerator = new ArtifactGenerator();
artifactGenerator.setModelController(modelController);
artifactGenerator.setOutputFolder("src-test-gen"); //$NON-NLS-1$
artifactGenerator.setProjectName(TEST_MODEL_PROJECT);
artifactGenerator.run();

Where ArtifactGenerator is located in this package: org.eclipse.emf.texo.generator

Does this help?

gr. Martin

On 07/23/2011 09:40 AM, Aurelien Pupier wrote:
> Hi,
>
> we were using it to generate model code.
>
> final WorkFlowStarter wfs = new WorkFlowStarter();
> wfs.generateModelCode(project.getName(), ePackages, modelController, genOutputFolder);
>
>
> I suppose that I need to call the generation from other class now. Can you kindly indicate it to me? or point me to the
> right documentation, please?
>
> Regards,
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Texo]issue with migration to version 0.1.0.v201107070719 [message #700476 is a reply to message #700345] Sat, 23 July 2011 10:12 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 556
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

it seems to be exactly what I need.

Thank you very much for your responsiveness and accurate answers.

Regards,


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Previous Topic:[EMFCompare] Comparison of unordered lists
Next Topic:Is the EMF search project still active?
Goto Forum:
  


Current Time: Sun Jul 13 12:21:15 EDT 2014

Powered by FUDForum. Page generated in 0.02171 seconds