Transform > Clean Project now destroys the entire contents of the output directory…even if that happened to be the ‘war’ directory of, e.g., a GAE project, deleting the WEB-INF artifacts as well. Can this operation be restricted to the resources which were generated by mobl or WEB-INF (“and such”) be excluded?

Submitted by Meinte Boersma on 9 March 2011 at 15:56

On 9 March 2011 at 15:57 Zef Hemel commented:

heh, that’s a fair point. I didn’t think of that case.


On 11 March 2011 at 10:49 Zef Hemel commented:

Deleting only generated files is a bit difficult, because it’s pretty hard to determine which files have been generated in the past. I could store this information in a file somewhere, but that gets messy, maybe in the future.

For now I relabeled the “Clean project” option to “Remove build directories”, which should more clearly state what it actually does :)


On 11 March 2011 at 10:58 Meinte Boersma commented:

I’m aware of the difficulty of the “what has been generated before”-problem :)

As an easier solution: maybe make it configurable which directories or files (inside the output dir.) are not scrubbed, with the default including WEB-INF/? (This amounts to declaring which artifacts are [considered to be] non-generated.)

Log in to post comments