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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sure, that’s totally possible. The Ant Jar task can do anything the jar command line can do. You do it with the
updateflag set to true instead of false.Where the destination jar is already in existence at that path.
EDIT: To set a path