You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Olivier Prouvost <ol...@anyware-tech.com> on 2001/03/12 13:58:54 UTC

Re: How to deal with drive letters !!?? basedir behavior is particular !

I answer to me !!

In fact, my pbme came from the basedir usage. I give a basedir value when
I launch my build file... In fact, the basedir usage is particular !

At the beginning (in fact, when I use no file yet), it's value is kept.
Then, as soon as a file is used, the basedir value is converted into it's
absolute path value... In my example with a basedir value set to
/user/dev,  it is transformed in d:/user/dev, as soon as a file is
used...!

So I store the basedir init value in my init target, and use it after...!


--
--------------------------------------------
  Olivier Prouvost     Anyware Technologies
  Tel : 05 61 00 52 90 Fax : 05 61 00 51 46
  Web : http://www.anyware-tech.com
--------------------------------------------