Packaging for a Java Archive (JAR) file

Do you need to provide the data source and methods to a Java application? Create a package that takes the files and creates a .jar file.

Creating a package for a .jar file follows the general packaging procedure. The package may include:

  • Class files
  • .4rp files
  • A MANIFEST file

    If you do not provide a MANIFEST, the .jar tool will add a default META-INF\MANIFEST.MF

When you build the package, a .jar file is created. It is saved to the Distribution directory specified in the Package node. The filename is taken from the package node name. The default distribution directory is $(ProjectDir)/distbin.