Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » delete generated files/directories
delete generated files/directories [message #1200584] Thu, 21 November 2013 10:02 Go to next message
Simon Ziehme is currently offline Simon ZiehmeFriend
Messages: 22
Registered: November 2013
Junior Member
I generate a lot files in severals directories. (src-gen/comonents/testcomp/...)

If i change my program (in my dsl language, e.g. delete components) the generated files will be delete but not the directories.

Anything ideas?

Best regards
Re: delete generated files/directories [message #1213361 is a reply to message #1200584] Wed, 27 November 2013 07:51 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
You can set the option org.eclipse.xtext.generator.OutputConfiguration.setCanClearOutputDirectory(boolean) to 'true'.
Either programmatically or via Eclipse preference (see your languages compiler section).
Previous Topic:Using cross references in xtext
Next Topic:Xtext/EMF resource file handlers
Goto Forum:

Current Time: Thu Nov 26 10:46:43 GMT 2020

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

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

Back to the top