The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
Re: Ant jar/war/ear task issue
[Originally posted by garagelogic]

> Get Ant 1.5.3, that came out yesterday - it fixes this

Thanks.
import-bot (20211) [Avatar] Offline
#2
[Originally posted by garagelogic]

It appears that there is a bug with the Ant task for creating jar/war/ear
files once a jar file is created. If you create a jar file, and then edit the
build script to include additional files in the archive, when you run the task
it simply ignores the new file added to the build script. This is true
whether update is set to true or false. Once the archive is deleted, the
build target will assemble the jar/war/ear file properly.

The only work-around is to delete the jar/war/ear file each time before
calling the jar, war or ear task. Is this a buy or does sound like it is
working as designed?
import-bot (20211) [Avatar] Offline
#3
Re: Ant jar/war/ear task issue
[Originally posted by steve_l]

Get Ant 1.5.3, that came out yesterday - it fixes this