Top 15 Ant Best Practices
Subject:   More properties tips
Date:   2003-12-18 07:54:39
From:   jimothy
I use a system of two properties files: takes precedence over, allowing team members to override properties with machine specific values. This is where you'd put your absolute paths, such as the location of Tomcat/WebLogic/etc.

Towards the top of the Ant script, include:
<property file=""/>
<property file=""/>
<property file="${user.home}/"/>

Also be sure to include in your .cvsignore file so team members don't accidentally check in the file and overwrite your own properties.

1 to 1 of 1
1 to 1 of 1