Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does versioning work in the Ant Web Start Task?

Ant Task Versioning web
0
Posted

How does versioning work in the Ant Web Start Task?

0

One of the main advantages of Java Web Start is the ability to version jar files, allowing users to only download thoses jars that have changed. Versioning support in the Ant Web Start Task is pretty minimal; the original timestamp of the jar file is preserved in the WAR archive, which means that the client Web Start deployer will decide whether a user’s jars need updating based on its timestamp. This is not very convenient for multi-developer environments where more than one developer can create and deploy the WAR archive. Moreover, the Ant Web Start Task does not keep older versions of updated jars, and so jar-diffing is not supported. There are no plans to support this in the future; this kind of functionality is difficult to achieve as part of the build process. If you need this kind of functionality, it would be easiest to roll out a custom JNLP file and application archive and maintain them manually.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.