----- Original Message ----- From: "Ricardo Lopes" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: <nant-users@lists.sourceforge.net> Sent: Wednesday, February 28, 2007 12:18 PM Subject: Re: [NAnt-users] Change basedir for target
> 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. Are you sure it relies on these files to be inside the base directory, and not the current directory ? If it's the current directory, then you could use the <cd> task in NAntContrib to modify it. Gert ------------------------------------------------------------------------- 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