How to delete generated files [message #1777505] |
Wed, 29 November 2017 13:59  |
Eclipse User |
|
|
|
On save I would like to delete the previously generated files if they aren't generated again.
I have a flag that determines if a file should be generated or not. If some file was generated, but after the user turn the flag off and save again, that old file must be deleted. There is a way to do this using the Xtext plug-in?
|
|
|
Re: How to delete generated files [message #1777507 is a reply to message #1777505] |
Wed, 29 November 2017 14:05   |
Eclipse User |
|
|
|
Hi, i am not sure if i can follow you. you can have a look at org.eclipse.xtext.builder.BuilderParticipant.cleanDerivedResources(Delta, Set<IFile>, IBuildContext, EclipseResourceFileSystemAccess2, IProgressMonitor) or org.eclipse.xtext.builder.BuilderParticipant.getDerivedResources(Delta, Map<String, OutputConfiguration>, Map<OutputConfiguration, Iterable<IMarker>>)
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04728 seconds