> My idea was to keep a completely clean separation
> between manually edited files and automatically
> generated files.  By that means, at a moment's notice,
> one can have a single zip file to stuff in a pocket
> flash memory or something like that.

So you delete the target directory and zip up what's left? In that
case, you could use:

zip -r myzip.zip . -x 'target/*' -x '*/target/*'

(that's on cygwin, though..)

> (I live in the third world.  There are frequent
> localized power failures, and street demonstrations.

wow... that put's things in perspective for me.

> I suppose your recommendation would be to collect such
> a package using a 'dist' goal?  Is that the usual
> technique, then?

If you have that fine tuned, it would also work the above might be
more convenient in a hurry.

> As you pointed out before multiproject:clean demands a
> simultaneous rebuild.  Perhaps I shall have to create
> an explicit ant 'clean' target.

Yes, you could have maven.xml with:

<ant:delete>
  <ant:includes name="**/target/**" />
</ant:delete>

Cheers,
Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to