Hi all,
We use AdvancedInstaller for our Java application. We generate the installer executable daily during our nightly build.
Our project uses quite a few third part jar files. Using the Synchronized Folder property, we automatically add all third part jars to our library folder (Project Definition/Files and Folders). However, we can only add given jars to our classpath (Project Definition/Java Products/Classpath). That means that if we add a jar to our third part jars, this file is automatically (i.e. without modifying the Advanced Installer setup file) added to our distributed files. However, this jar is not automatically added to our application's classpath.
This is obviously a problem for us since we try to reduce as much as possible all manual tasks in our build process.
So, is it possible to dynamically add all jars in a given folder to the classpath?
Or do you have another way of solving our issue? If necessary we could modify the AIP file on the fly by adding the right classpath. If so, could you please tell us which XML content we should modify?
Many thanks in advance
Best regards
Eric
FOLLOW US
Get the latest news in Application Packaging