ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W. Sean Hennessy" <shenne...@goldenhourdata.com>
Subject RE: Override ignored?
Date Mon, 06 Oct 2003 23:10:12 GMT
Try ordering the propery assignments in the build.xml such that system environment property
variables are assigned
first..

   <!-- development workstation properties -->
   <property environment="env"/>
   <property file="${user.home}${file.separator}${ant.project.name}-build.properties" />
   <property file="${user.home}${file.separator}build.properties"/>

-----Original Message-----
From: Doug Lochart [mailto:dlochart@capecomputing.com] 
Sent: Monday, October 06, 2003 2:47 PM
To: Ant Users List
Subject: Re: Override ignored?


One problem I seem to notice is that the property "ant.home" is being set in a build.properties
file (hence the override
ignored message)  I am pretty sure that ant.home comes in as a user property and those cannot
be overriden.  Also check
to see if jboss.configuration property also being set as a user property.

Doug

Invisible to Telescopic Eye ... Infinity the start that would not die! All who dare to cross
her course Are swallowed by
a fearsome force Through the void ... To be destroyed ?...
   Or is there something more?
Atomized .. At the core .. ot through the Astral Door ..
   To SOAR !!!
----- Original Message ----- 
From: "David Muller" <David.Muller@Overture.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Monday, October 06, 2003 5:38 PM
Subject: Override ignored?


Hi,
We are trying to setup each user with a build.properties which overrides a section of the
ones set in the main and each
module build.properties; however, we are getting "override ignored" and the build fails. 
I tried removing the user
specific sections from everything but the users build.properties but still get override ignored
and paths are incorrect.

build.xml properties section like this...

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

ant -v output:
Apache Ant version 1.5.4 compiled on August 12 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.2_01\jre
Detected OS: Windows 2000
parsing buildfile build.xml with URI = file:C:/cvsworking_cld/PM/collection/build.xml
Project base dir set to: C:\cvsworking_cld\PM\collection  [property] Loading
C:\cvsworking_cld\PM\collection\build.properties
Property ${pm.home} has not been set
Property ${tomcat.home} has not been set
 [property] Loading C:\Documents and Settings\mullerd\build.properties Override ignored for
property ant.home Override
ignored for property jboss.configuration

Can anyone shed some light?

-Dave

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



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



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


Mime
View raw message