| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2010, 2019 IBM Corporation and others. |
| This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License 2.0 |
| which accompanies this distribution, and is available at |
| https://www.eclipse.org/legal/epl-2.0/ |
| |
| SPDX-License-Identifier: EPL-2.0 |
| |
| Contributors: |
| IBM Corporation - initial API and implementation |
| --> |
| |
| <project |
| default="package" |
| basedir="."> |
| <fail |
| unless="wtp.builder.home" |
| message="wtp.build.home needs to be definded for this script"/> |
| <property file="${wtp.builder.home}/build.properties"/> |
| <property environment="env"/> |
| |
| <!-- required to get proper value of branch specific values --> |
| <property |
| name="keyCfgFile" |
| value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/> |
| <echo |
| level="info" |
| message="keyCfgFile: ${keyCfgFile}"/> |
| <property file="${keyCfgFile}"/> |
| |
| <target |
| name="package" |
| description="Create the main repository for this build, and any desired zip file distributions"> |
| <ant antfile="${wtp.builder.home}/scripts/build/runAntRunner.xml"> |
| <property |
| name="antrunnerfile" |
| value="${wtp.builder.home}/distribution/${build.distribution}.package/createFinalRepo.xml"/> |
| </ant> |
| |
| |
| <ant antfile="${wtp.builder.home}/scripts/build/runAntRunner.xml"> |
| <property |
| name="antrunnerfile" |
| value="${wtp.builder.home}/distribution/${build.distribution}.package/createmainzips.xml"/> |
| </ant> |
| </target> |
| |
| |
| </project> |