>   User: celkins
>   Date: 00/09/04 12:14:54
>
>   Modified:    build    build-turbine.bat build-turbine.sh
>                         build-turbine.xml
>   Log:
>   No longer uses local method for specifying ${build.compiler}. Use
>   $HOME/.ant.properties instead.
>
<snip>

For those who want more details on using this...

Ant now allows you to set global preferences (assuming, of course, that the
build file actually reads in these "global" prefs ;-)). For instance, if you
always want to use Jikes as your compiler, create a file called .ant.properties
with the following line:
    build.compiler=jikes

.ant.properties is a standard Java properties file and must be placed in the
location specified by ${user.home}. Based on my best guess, this _should_ be one
of the following (depending on your platform):
    Unix/Linux    => $HOME/.ant.properties
    Win 9x    => %SYSTEMDRIVE%\.ant.properties
    Win NT/2000    => %USERPROFILE%\%USERNAME%\.ant.properties

However, the easiest way to find out is by executing a trivial Ant target such
as the following:
    <target name="echo">
        <echo message="user.home = ${user.home}"/>
    </target>

On my Win 2000 machine, this outputs the following:
    user.home = C:\Documents and Settings\celkins

--
Christopher Elkins



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to