This is a feature of JBuilder Professional and Enterprise.
This step of the Archive Builder is where you 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, you'll 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 Archive Builder attempts to determine which classes and resources are needed and attempts to include them. It also attempts to include any resources that are used by any classes in your project. Note that this process does not work for many libraries. Typically, the next option, Include Required Classes And All Resources, is a better choice for library deployment.
If you choose this option, Include Deps
is displayed next to the selected library.
If you choose this option, the Archive Builder attempts to determine which classes are needed by classes your project attempts to include them.
It also gathers 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. You can also change JBuilder's default settings for resources and specify individual files or file extension types to be copied to the output path with the class files during compile. See the "Selective resource copying" topic in "Compiling Java programs."
This option is useful if you are deploying third-party libraries.
This option is the default option for the Applet archive type.
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 or not. Everything, including libraries used by JBuilder's designers, is copied to your archive file. You can also change JBuilder's default settings for resources and specify individual files or file extension types to be copied to the output path with the class files. See the "Selective resource copying" topic in "Compiling Java programs."
Important: Although this option is the safest, it results in a very large archive file.
If you choose this option, Include All
is displayed next to the selected library.