Skip to main content


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 10:39 Go to next message
Alan DW is currently offline Alan DWFriend
Messages: 119
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 18:00 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
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


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: [XPand, mwe] Call "javac" and "jar" within workflow? [message #854746 is a reply to message #854148] Tue, 24 April 2012 07:56 Go to previous message
Alan DW is currently offline Alan DWFriend
Messages: 119
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: Thu Apr 25 02:03:03 GMT 2024

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

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

Back to the top