| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Deploying: UNIX Platform Procedures |
|
To create a Deployment Profile
Building an Application File From the Command Line
Deploying Application Files from the NetBeans IDE
To Deploy an Application File from the NetBeans IDE
Deploying Application Files from Enterprise Manager
Adding the Application Server Domain to Enterprise Manager
Deploying the Application File
Deploying Application Files from the Admin Console
To Deploy an Application File from the Admin Console
Deploying Application Files from the Command Line
Deploying from the asadmin Utility
Deploying from the asant Utility
Note - The Export command works for ksh and bash. For csh, use setenv instead.
Export ANT_HOME=path Export JAVA_HOME=path dos2unix ant ant dos2unix build.xml build.xml dos2unix build.properties build.properties
build.properties in your commandlinecodegen directory.commandline.rep.url=http://host:port/repositoryname commandline.rep.user= commandline.rep.pass= commandline.rep.dir=localrepository commandline.rep.projectName= commandline.rep.projectDeployName= commandline.rep.projectDeploymentTag= commandline.rep.projectBranchName=
commandlinecodegen directory:sh ant -propertyfile build.properties
At the command prompt, run the commands:
Export ANT_HOME=path Export JAVA_HOME=path dos2unix ant ant dos2unix build.xml build.xml dos2unix build.properties build.properties
commandlinecodegen directory (see Table 1):sh ant "-D{propertyname1}={propertyvalue1}" "-D{propertyname2}=
{propertyvalue2}" … "-D{propertynameN}={propertyvalueN}"
Note - When using the command-line properties method, you must specify values for all required properties. You also may specify values for any optional properties as is appropriate.
Export ANT_HOME=path Export JAVA_HOME=path dos2unix ant ant dos2unix build.xml build.xml dos2unix build.properties build.properties
build.properties in your commandlinecodegen directory.commandline.rep.url=http://host:port/repositoryname commandline.rep.user= commandline.rep.pass= commandline.rep.dir=localrepository commandline.rep.projectName= commandline.rep.projectDeployName= commandline.rep.projectDeploymentTag= commandline.rep.projectBranchName=
commandlinecodegen directory:sh ant -propertyfile build.properties "-D{propertyname1}={propertyvalue1}"
"-D{propertyname2}={propertyvalue2}" … "-D{propertynameN}={propertyvalueN}"
When using a combination of a property file and command-line properties, the command-line properties override those specified in the property file. You need to list only those properties that you want to override.