Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Sun Jul 06 13:31:14 EDT 2025

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

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

Back to the top