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.
Difference between revisions of "Common Build Infrastructure/Getting Started/Build In Hudson/Ant Job"
Line 1: | Line 1: | ||
{{:DocumentationGuidelines/DraftHeader}} | {{:DocumentationGuidelines/DraftHeader}} | ||
− | Rather than starting your build with [[Common Build Infrastructure/Getting Started/Build In Hudson/Bash Job|a Bash script]], you can Common Build Infrastructure/Getting Started/Build In Hudson/Ant_Script|use Ant to build]]. | + | Rather than starting your build with [[Common Build Infrastructure/Getting Started/Build In Hudson/Bash Job|a Bash script]], you can [[Common Build Infrastructure/Getting Started/Build In Hudson/Ant_Script|use Ant to build]]. |
1. Set up the Ant script just as if you were [[Common Build Infrastructure/Getting Started/Build In Eclipse|building from within Eclipse]] with a [[Common Build Infrastructure/Getting Started/Build In Hudson/Ant Script|few slight modifications for Hudson]]. | 1. Set up the Ant script just as if you were [[Common Build Infrastructure/Getting Started/Build In Eclipse|building from within Eclipse]] with a [[Common Build Infrastructure/Getting Started/Build In Hudson/Ant Script|few slight modifications for Hudson]]. |
Revision as of 02:30, 27 November 2009
Rather than starting your build with a Bash script, you can use Ant to build.
1. Set up the Ant script just as if you were building from within Eclipse with a few slight modifications for Hudson.
2. On the job configuration screen select Invoke Ant, and then Advanced.
3. Your Ant build configuration will look similar to the following:
4. If you have additional properties that you do not want to include in your build.properties file, you can pass them in through this configuration. This allows you to have a generic build.properties and override or add as necessary specifics that may be needed for your Hudson build.