Is there a way to update a jar file in Ant?
EDIT: For example, if I wanted to add some additional files to an already existing JAR file?
Is there a way to update a jar file in Ant?
EDIT: For example, if I wanted to add some additional files to an already existing JAR file?
You should be able to do this with the Jar Task if you set
update
totrue
.Sure, that's totally possible. The Ant Jar task can do anything the jar command line can do. You do it with the
update
flag set to true instead of false.Where the destination jar is already in existence at that path.
EDIT: To set a path