Prerequisites:
1] Ant 1.6 onwards
2] JDK 1.4 onwards
3] ANT_HOME setup
4] JAVA_HOME setup
Steps to do build from command line
1] Download “CommandLineCodeGen” from repository and extract it at the level of emanager and logicalhost.
2] Go to commandlinegen location on local machine (X:\JavaCAPS513\commandlinecodegen\commandlinecodegen)
3] Edit build.properties for appropriate changes of repository, username, password, projectname and deployment profile name etc.
commandline.rep.url=http://localhost:12000/REPOSITORY
commandline.rep.user=Administrator
commandline.rep.pass=STC
commandline.rep.dir=localrepository
commandline.rep.projectName=prjSample
commandline.rep.projectDeployName=dpSample
commandline.rep.projectDeploymentTag=
commandline.rep.projectBranchName=
commandline.esr.select=
commandline.esr.ignore=
4] execute “ant –propertyfile build.properties” from same prompt.
5] Build is done and ear files gets created / updated at following location
“X:\JavaCAPS513\commandlinecodegen\commandlinecodegen\localrepository\DEST\builds\”
jcaps command line build process
Wednesday, March 25, 2009
Labels:
JCAPS,
jcaps command line build process
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment