ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Need Suggestion in build.properties
Date Thu, 06 Aug 2009 19:23:53 GMT
On 2009-08-06, Rajesh Kumar  (IN4774) <rajesh_kumar1@mindtree.com> wrote:

> Any Workaround for below issues.

Well, you don't give a lot of detail.  For example what "doesn't work"
means.

> I am trying to use variable defined in build.properties file in
> Solaris Machine but below script is not working

> <property file="${basedir}/.build.properties"/>

This task will try to load a file named ".build.properties" (not
build.properties) as a properties file and not do anything if the file
doesn't exist.  It will look for the file in your project's basedir
(which it would do without the ${basedir}/ prefix as well).

If the file happens to define properties that have already been defined
before the task gets invoked, they will not be overwritten but keep
their earlier value.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message