Good question, i don't want to change the basedir, it is a workaround.
I have to call a custom task (that i don't have the source of) that relies
that some files are on a given location inside the base directory.
But i want to change organize those files inside a folder, so i was thinking
at the start of the target change the basedir to that folder and restore the
basedir at the end of the target.
Is not good lucking i know, it would be better to add a param to the task,
but i don't have the source code.
On 28/02/07, Gert Driesen <[EMAIL PROTECTED]> wrote:
----- Original Message -----
From: "Ricardo Lopes" <[EMAIL PROTECTED]>
To: <nant-users@lists.sourceforge.net>
Sent: Wednesday, February 28, 2007 11:57 AM
Subject: [NAnt-users] Change basedir for target
> Hi,
>
> Is it possible to change the basedir of the project inside a target?
No, why would you want to do this ?
Gert
--
Ricardo Lopes
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users