Try OpenEdge Now
skip to main content
Server Administrator's Guide
Using the AppPackager and AppDeployer Tools : Custom Application publishing
 

Custom Application publishing

In certain instances, you may need to execute some specific tasks before or after publishingthe Business Process Server applications. In this case, you need to create a custom publishing XML file with appropriate Apache ANT targets.
To do this task:
1. Create a copy of the existing appbuild.xml file.
2. Name the file appropriately.
3. Add code to call the custom ANT targets from the ‘deployApp’ target using the <antcall> tag.
If the custom target needs to be called before any of the applications are published, then you must add the <antcall> tag for this target before the corresponding <antcall> tag for the ‘extractandDeploy’ target. Alternatively, you can add the <antcall> tag for this target after the corresponding <antcall> tag for the ‘extractandDeploy’ target, if the custom target needs to be called after publishing.