Software Build and Packaging Techniques

Download Report

Transcript Software Build and Packaging Techniques

Demo:
Building robocode-pmj-dacruzer
Philip Johnson
Collaborative Software Development Laboratory
Information and Computer Sciences
University of Hawaii
Honolulu HI 96822
(1)
How to build
robocode-pmj-dacruzer
Download and install Ant 1.8.2
Download and unzip robocode-pmj-dacruzer-<version>.zip
Invoke ‘ant’
• Downloads Ivy
• Uses Ivy to download libraries needed for compilation:
- robocode, junit
• Compiles robocode-pmj-dacruzer
Invoke other build system operations:
• JUnit, Checkstyle, PMD, FindBugs, Jar, Dist, etc.
• Ivy will download additional libraries as needed.
(2)
Import into Eclipse
• Always run Ant in advance so that libraries are installed.
(3)