Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPand, mwe] Call "javac" and "jar" within workflow?
[XPand, mwe] Call "javac" and "jar" within workflow? [message #853793] Mon, 23 April 2012 06:39 Go to next message
Alan DW is currently offline Alan DW
Messages: 103
Registered: March 2012
Senior Member
Hello everyone,

we are currently working on a project where we generate Java-code from an EMF model. This works quite well. We would like to be able to automatically compile the generated Java-code and then create a jar of these *.class-files.

So, the question is: is it possible to directly call "javac" and "jar" from an mwe workflow file to integrate javac and jar into the workflow?

Best regards,

Alan
Re: [XPand, mwe] Call "javac" and "jar" within workflow? [message #854148 is a reply to message #853793] Mon, 23 April 2012 14:00 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6205
Registered: July 2009
Senior Member
Hi,

there is not out of the box support. but you could try to write a own workflow component for that

~Christian
Re: [XPand, mwe] Call "javac" and "jar" within workflow? [message #854746 is a reply to message #854148] Tue, 24 April 2012 03:56 Go to previous message
Alan DW is currently offline Alan DW
Messages: 103
Registered: March 2012
Senior Member
Hi,

thanks for the answer. After doing some research on Google, I already figured out that there is no such pre-made component. After checking the reference, it turned out to be rather easy to implement new components, especially when extending abstract component classes which handle a lot of the methods. I'm currently implementing the component, and it seems to work, I just need to fix some parameters for JavaC.

Thanks,


Alan
Previous Topic:Using Drop keyword in Refining mode
Next Topic:[XPAND] Import C files in XPT project
Goto Forum:
  


Current Time: Fri Aug 22 02:09:20 EDT 2014

Powered by FUDForum. Page generated in 0.03341 seconds