Building DataFlow Applications : Building DataFlow Applications Using RushScript : Running from the Command Line : Compiling Applications
 
Share this page                  
Compiling Applications
To compile the applications created by a RushScript without executing them, use the --compile option. To persist the compiled applications, also enable the dumpfilePath engine setting. This setting specifies a directory where the compiled graphs will be persisted. The following example demonstrates enabling compile only mode and specifying where to persist the resultant instance files. An instance file will be created for each application composed and executed by the script. These files can be loaded into the SDK environment for viewing. See Integrating with IDE for more information about using Eclipse with the DataFlow SDK for viewing instance files.
$ dr --compile --engine dumpfilePath /tmp agg-ratings.js