Building DataFlow Applications in Java : Using the DataFlow API : Packaging Your Application
 
Share this page                  
Packaging Your Application
After you have built an application you can always execute it within the environment of your IDE. That is great for testing, but eventually you will want to package the application for execution with DataFlow in a test or production environment. The easiest way to package your application is with .jar files. Use the build system with your IDE or another build system such as Ant or Maven to create your packaged .jar file that includes your new code. At run time, add your application .jar files and the DataFlow .jar files to the execution class path.
As a convenience, a command line execution script is provided that sets up the DataFlow execution environment. The script is named dr and can be found in the bin/ directory of the DataFlow SDK installation. A version is available for Windows and Linux/UNIX/MacOS execution. The Using dr command is covered extensively in the Troubleshooting and Reference Guide.
If you are embedding DataFlow within your application and cannot use the dr command line, ensure that the DataFlow .jar files are in the execution class path of your application.