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 Ziehme
Messages: 12
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
Simon
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 Efftinge
Messages: 1769
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).


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:Using cross references in xtext
Next Topic:Xtext/EMF resource file handlers
Goto Forum:
  


Current Time: Fri Oct 31 13:48:09 GMT 2014

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

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