Skip to main content


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 09:39 Go to next message
Johan Vogelzang is currently offline Johan VogelzangFriend
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 10:20 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14722
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


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: Xpand copy files as-is [message #504924 is a reply to message #504881] Wed, 23 December 2009 10:00 Go to previous message
Johan Vogelzang is currently offline Johan VogelzangFriend
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: Thu Oct 10 01:31:25 GMT 2024

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

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

Back to the top