ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Oatham" <matthewoat...@hotmail.com>
Subject project basedir
Date Thu, 20 Feb 2003 10:14:30 GMT
Hi,

I need my project to be able to take different basedir values i.e.

<project ... basedir="c:\code">
<project ... basedir="c:\development">

depending on a users setup. Therefore I thought I would specify basedir in a properties file
that coould be changed by users depending on there set-up. 

i.e 

<project ... basedir="${someProperty}">

someProperty=c:\code

However this didn't work so I tried, as suggested by others, removing the basedir attribute
and putting it in a properties file i.e.

<project ...>

basedir=c:\code

Again this still didn't pick up the basedir.

Has anyone managed to do this?

Regards.

Matt.

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