Sun Java™ System Application Server provides you with Apache Ant and the asant
command. The asant
command is a shell script available from the application server bin directory. asant
invokes the underlying Ant infrastructure after initializing the environment to pick up the application server installed targets.
Open ESB (Enterprise Service Bus) adds Java Business Integration (JBI) Ant tasks and required libraries to the asant
library directory.
For more information about Ant, see the Apache Software Foundation website: http://ant.apache.org/
For more information about using asant
, refer to your application server documentation. This link provides information for using asant
with Sun Java™ System Application Server Professional Edition:
Use the following syntax to invoke the targets. Make sure the asant
utility that you are invoking is from the application server that is hosting the enterprise service bus that you installed.
asant -f jbi-install-root/bin/jbi_admin.xml [options] [target]
Parameter | Values | Description |
f
|
Specify a path to a build file. |
Path to the build file containing Open ESB Ant targets. The default path is:jbi-install-root/bin/jbi_admin.xml jbi-install-root is where you installed Open ESB.
|
options
|
-Dproperty=value
|
Specify a property name/value pair that is valid for the target. |
target
|
install-component uninstall-component update-component upgrade-component install-shared-library uninstall-shared-library |
Specify a valid target |
asant -f jbi-install-root/bin/jbi_admin.xml -Djbi.port=8686 list-service-engines
You can also pass in any of the standard Apache Ant options when you issue the asant
command. To view the standard options, issue the asant
command with the -h
option:
asant -h
Copyright 2007, Sun Microsystems, Inc.