CAPS 5.1: Building an Application File From the Command Line using commandline codegen tool: Repository URL cannot be null (Doc ID 1025008.1)

Last updated on JANUARY 10, 2014

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.
Checked for relevance on 31-MAR-2011
***Checked for relevance on 10-January-2014***


Symptoms

While trying to use commandline codegen tool we get an error:

Repository URL cannot be null !
Repository User cannot be null !
Repository Password cannot be null !
Usage:
Commandline codegen can be run by
using propertyfile
1) ant -propertyfile build.properties
or
using commandline parameters
2) ant -D{propertyname}={propertyvalue}
or
using both property file and commandline parameters.
Commandline parameters overrides the property file
3) ant -propertyfile build.properties "-D{property-name}={property-value}"
property-names are
commandline.rep.url
commandline.rep.user
commandline.rep.pass
commandline.rep.dir
commandline.rep.projectName
commandline.rep.projectDeployName
commandline.rep.projectDeploymentTag
commandline.rep.projectBranchName
commandline.esr.select
commandline.esr.ignore

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms