Packaging JAR files for Rule Execution Server on Java SE
If you use Rule Execution Server in a stand-alone Java™ SE environment, only some of the provided JAR files are necessary. A tool is available to help you select and package the appropriate JAR files.
Before you begin
While deploying your application, enable IBM® License Metric Tool, and make sure that you have the correct license type: Deploy the files with the suffix .swidtag in <InstallDir>/license/ilmt.zip file along with the Rule Execution Server library JAR files. For more information, see Tagging for ILMT.
About this task
This
Ant script provides three actions:
- display: to display the list of JAR files
- copy: to copy the necessary JAR files to a
dedicated folder. Parameter:
target.copy.dir - package: to compress the JAR files into a single
portable archive named jse-res-jars.zip for redistribution.
Parameter:
target.zip.dir
Example
..\..\shared\tools\ant\bin\ant -f classpath-executionserver.xml display
..\..\shared\tools\ant\bin\ant -f classpath-executionserver.xml copy -Dtarget.copy.dir=c:\myapplication\lib
..\..\shared\tools\ant\bin\ant -f classpath-executionserver.xml package -Dtarget.zip.dir=c:\myapplication\zip