Copy files unsing the MWE2 workflow [message #674296] |
Thu, 26 May 2011 08:54  |
Eclipse User |
|
|
|
hey,
I created a generator project using xpand which works fine.
Now i need to copy some existing files to the ones i generate. So i was looking for a way to just copy files into my src-gen folder.
I'm doing this like that:
component = org.eclipse.emf.mwe.utils.FileCopy {
sourceFile = "src/models/test.c"
targetFile = "src-gen/Software/test.c"
}
as long as the sourceFile is located in the eclipse project path everything works fine, but the files i need to copy are located outside the eclipse project. if i try to access them i get a error because eclipse can't access the path. Think it has to be some mistake i am doing with the source path but i can't find it...
I try it like this
....
sourceFile = "d:/modules/test.c"
....
I also tryed to google it but i didn't found anything else about how to copy files with a MWE2 workflow, hope you can help me!
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.18841 seconds