This is a feature of JBuilder Enterprise.
Use the Dependencies determine what to do with library dependencies. The libraries used in your project are listed, and you can choose an individual deployment strategy for each one.
Note: If you deploy any classes from the JDataStore package (com.borland.datastore
) or the VisiBroker package (com.visigenic
), you will see a warning reminding you that deploying these packages requires a separate deployment license. If you already have the appropriate license and don't want to see this warning again in this project, check "Don't warn me about this project again."
This is the default option for all archive types except applets. No libraries are included in your archive file. You need to distribute the redistributable libraries with your JAR file and include them on the CLASSPATH
at runtime, rather than putting the required classes from those libraries inside the JAR file. This is the easiest way to deploy and creates the smallest program JAR file.
If you choose this option, Exclude All
is displayed next to the selected library.
If you choose this option, the JBuilder attempts to determine which classes and resources are needed. It attempts to include any classes that are dependent on classes used in your project. It also attempts to include any resources that are used by any classes in your project. Note that this process won't work for many libraries.
If you choose this option, Include Deps
is displayed next to the selected library.
If you choose this option, the JBuilder attempts to determine which classes are needed by classes your project. It attempts to include any classes that are dependent on classes used in your project.
It will also gather all resources on the project's source path, set on the Paths page of the Project Properties dialog box. Usually, this is set to the src
directory of your project. Resources are files other than class files, such as images, video clips, sound files, etc. This option is useful if you are deploying third-party libraries.
If you choose this option, Deps & Resources
is displayed next to the selected library.
This option gathers all classes and resources, whether they are dependent on not. Everything, including libraries used by JBuilder's designers, is copied to your archive file. This option is the safest, but will result in a very large archive file.
If you choose this option, Include All
is displayed next to the selected library.