How can I create an installer like the one used for petstore?
If you would like to make an installer class for your own projects so users can install your project by clicking it and having a license pop up, you can use what we did in petstore. Here are some tips to use the same code as us to create an installer. We use the poor man’s installer, a project on java.net to generate a simple Java installer, and it has documents to help you use it too. If you want to see the specific ant files and commands we use to run the poor man’s installer for petstore, you can read the developer readme and browse the ant file of the petstore project. Note, we dont include the ant files used to create the installer bundle of petstore, but the source code for it is on java.net in the petstore project with all of our source code so is available to anyone. You can browse the code repository or do a cvs checkout of petstore from https://petstore.dev.java.net/. Here is the DeveloperReadme which includes steps to build the petstore distribution bundle with the installer
*Sadly, we had to bring back ads too. Hopefully more targeted.