ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Close" <>
Subject Re: Issues with ANT 1.7 and Linux???
Date Fri, 16 Feb 2007 13:29:08 GMT
On 2/15/07, Antoine Levy-Lambert <> wrote:
>  From your log file, may be your property file should be loaded from
> > /home/scm/CC_Build/projects/RSA/
> not from
> > /home/scm/CC_BUILD/projects/RSA/
> Best regards,


thanks for your reply.  the path to the file is a
property in the build file itself.  so when the build is kicked off, a
property is set with a value from an environment variable.  this
property is used as the path to the and several other
files.  this strategy works fine on our windows development
so at the top of all the build scripts i have the following:

	<property environment="env" />
	<property name="dev.root" value="${env.DEV_ROOT}" />
	<property file="${dev.root}/" />

on my windows machine, DEV_ROOT is set as 'C:\Development\RSA'.  on
our Linux build machine, DEV_ROOT is set as
'/home/scm/CC_Build/projects/RSA'.  and of course the
file is then located in the RSA directory.  this allows all the
sub-projects under RSA to be able to use the same
file for global settings.

the problem i'm seeing is that on the Linux build machine the
${dev.root} property is being translated, but for some reason ANT is
unable to find the file at that location, even though the file 'is'
there and is world readable.
so when i run ANT in debug mode i see the following:

[property] Loading /home/scm/CC_BUILD/projects/RSA/
[property] Unable to find property file:

obviously ANT was able to translate the ${dev.root} property correctly
because the fully qualified path shows up in the output.  but for some
reason it is unable to find the file...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message