Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Xpand copy files as-is
Xpand copy files as-is [message #504874] Wed, 23 December 2009 04:39 Go to next message
Johan Vogelzang is currently offline Johan Vogelzang
Messages: 11
Registered: July 2009
Junior Member
All,

We use Xpand for generating web-application (re)sources from templates. For the web-application we want to add image files that are include in the generator beside the xpt-templates. So we don't want to generate them, but want to copy them as-is.
What would be a best practice for how to deal with this?

Regards,
Johan.
Re: Xpand copy files as-is [message #504881 is a reply to message #504874] Wed, 23 December 2009 05:20 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6225
Registered: July 2009
Senior Member
Hello,

if i understand your problem you want to copy some files to your "src-gen" directory where you generate files to with xpand. therefore a MWE Workflow Component could be useful. have a look at org.eclipse.emf.mwe.utils.FileCopy in MWE 0.8.0 or write something similar in MWE 0.7.2
Re: Xpand copy files as-is [message #504924 is a reply to message #504881] Wed, 23 December 2009 05:00 Go to previous message
Johan Vogelzang is currently offline Johan Vogelzang
Messages: 11
Registered: July 2009
Junior Member
Yes that is what i meant. Tanks! The MWE FileCopy would be a good starting point.
When will MWE 0.8.0 be released? The MWE project plan does not seem to be very actual anymore (see: http://wiki.eclipse.org/MWE_Project_Plan) Smile

Johan.
Previous Topic:QVT code for xsd Annotations
Next Topic:[XPAND] [XTEND] hot to get the number of parameters for an operation
Goto Forum:
  


Current Time: Wed Aug 27 15:10:50 EDT 2014

Powered by FUDForum. Page generated in 0.01870 seconds