|
Re: Copying a whole folder [message #870575 is a reply to message #870529] |
Tue, 08 May 2012 19:26 |
|
Hi,
what Karsten said: there is NO out of the box solution for that. one possible hook is a custom IFileSystemAccess.
another possibility is a custom org.eclipse.xtext.builder.IXtextBuilderParticipant.
You would subclass org.eclipse.xtext.builder.BuilderParticipant and override handleChangedContents.
Here you have access to the IFileSystemAccess as well.
Since you do not want to generate to the src-gen folder but to the res folder you would need a
own OutputConfiguration for that folder. => Bind a own OutputConfigurationProvider
Never the less you have think about a solution for getting the stuff and copying it yourself
=> Maybe you should do the copy the resources task not with the builder but rather with a classic action/handler or wizard.
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
Powered by
FUDForum. Page generated in 0.03153 seconds