Krysalis Centipede
Published: 01/16/2004 12:34:52
 
  krysalis at sf.net > krysalisFont size:      
 

How To... Start a Project - The First Build

PDF
PDF

The First Build

To compile the project simply run the command cent compile from the root directory of your project. If you miss off the compile argument then you will be presented with an interactive menu of build options.

The first thing centipede does during a build is to look to see if it has the required antlibs available. If any are missing it will download them for you. If you are behind a proxy server you must set the java properties http_proxyHost and http_proxyPort accordingly to allow connection through your proxy. For example export ANT_OPTS="-Dhttp.proxyHost=proxy.host.url -Dhttp.proxyPort=proxyPort" (or windows equivalient to set the ANT_OPTS environment variable). You can set these permanently by placing them in a .centipederc file in your home directory. Unfortunately, there is currently no way to work from behind an authenticating proxy, in this instance you must download the antlibs manually. Instructions for doing this will be displayed the first time your run cent, should you need them. This is an issue that will be resolved in a future version of Centipede.

Note
Since Centipede uses ANT to do the building these environment variables are set via the ANT_OPTS environment variable, see the ANT documentation for more details.

by Ross Gardler



Valid HTML 4.01!Valid CSS!