コマンドプロンプトで次のコマンドを実行します。
Export ANT_HOME=path Export JAVA_HOME=path dos2unix ant ant dos2unix build.xml build.xml dos2unix build.properties build.properties |
commandlinecodegen ディレクトリで build.properties ファイルを見つけます。
テキストエディタを使用してこのファイルを開きます。内容は次のとおりです。
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= |
表 1–1 の説明に従ってプロパティーの値を入力します (省略可能なプロパティーは空白のままでもよい)。
commandlinecodegen ディレクトリでコマンド行プロンプトから次のコマンドを発行して、commandline codegen を実行します。
sh ant –propertyfile build.properties |