Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Tue Jul 08 08:38:08 EDT 2025

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

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

Back to the top