ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Loading Properties From a File
Date Thu, 08 May 2003 15:00:29 GMT
<projectroot>
   |
   +-- SDE
   |    |
   |    + antbuildfiles
   |         build.xml           basedir="../.." --> <projectroot>
   |         build.properties
   |
   +-- src

<property file="SDE/antbuildfiles/build.properties"/>


Simple use the right relative path. Relative to basedir.



Jan



> -----Urspr√ľngliche Nachricht-----
> Von: Matthew Oatham [mailto:matthewoatham@hotmail.com]
> Gesendet am: Donnerstag, 8. Mai 2003 16:57
> An: ant-user@jakarta.apache.org
> Betreff: Loading Properties From a File
> 
> Hi,
> 
> I had my build script and properties in the same dir and had 
> the basdir set 
> to "." I have now moved the build file and properties files down the 
> directory tree and set the basdir to "../.." now the 
> properties files arn't 
> picked up, ant expects to find them in the place they used to 
> be i.e the 
> location of my basedir.
> 
> How can I load my properties files from the same location as 
> by build file 
> when the basdir is set to "../.."
> 
> Cheers.
> 
> Matt
> 
> _________________________________________________________________
> Get Hotmail on your mobile phone http://www.msn.co.uk/mobile
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message