Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Common Build Infrastructure/Migration to Ant
< Common Build Infrastructure
Revision as of 09:23, 28 March 2010 by Nickboldt.gmail.com (Talk | contribs) (New page: Athena: Migrating from Bash to Ant There are two steps to migration: project configuration and job configuration. In both cases the net effect is simplification and better ease of use. =...)
Athena: Migrating from Bash to Ant
There are two steps to migration: project configuration and job configuration. In both cases the net effect is simplification and better ease of use.
Project Configuration
1. Update your build.xml to the latest template version
2. Replace custom values in build.properties with generic ones which will work in both Eclipse or in Hudson
Old Configuration | New Configuration |
---|---|
JAVA_HOME=/opt/public/common/ibm-java2-ppc-50 JAVA14_HOME=/opt/public/common/ibm-java2-ppc-50 JAVA50_HOME=/opt/public/common/ibm-java2-ppc-50 JAVA60_HOME=/opt/public/common/ibm-java2-ppc-50 |
JAVA14_HOME=${JAVA_HOME} JAVA50_HOME=${JAVA_HOME} JAVA60_HOME=${JAVA_HOME} |
... |
... |
... |
... |
Hudson Job Configuration
Old Configuration | New Configuration |
---|---|
JAVA_HOME=/opt/public/common/ibm-java2-ppc-50 JAVA14_HOME=/opt/public/common/ibm-java2-ppc-50 JAVA50_HOME=/opt/public/common/ibm-java2-ppc-50 JAVA60_HOME=/opt/public/common/ibm-java2-ppc-50 |
JAVA14_HOME=${JAVA_HOME} JAVA50_HOME=${JAVA_HOME} JAVA60_HOME=${JAVA_HOME} |
... |
... |
... |
... |
- link to archived config.xml file for bash
- link to archived config.xml file for ant