Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Ricardo Lopes
Thanks Bonio, I was already doing a secondary build script to call from the original build file using the "exec" task, but there were too many properties to and task loaded on the original build file that i had to pass to the other build script... Using the nant task the properties and task load

Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Bonio Lopez
Hi Ricardo, try following: 1. put a small nant build file my_build.build in the directory_you_need. 2. In the top nant script write Now ${project::get-base-directory()} will be directory_you_need inside of my_build.build. I am wondering, why nant works like this.P

[NAnt-users] Change basedir for target

2007-02-28 Thread Ian MacLean
you could try writing a function inside a

Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Bob Archer
How about if you put a build script that just calls that task in the relevant directory and then call it with a Nant task or an exec task? Isn't the "base" directory the folder which nant was run from? Or, is it the folder the .exe is in? BOb From: [

Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Samuel R. Neff
Do you have rights to the source for the task (i.e., is it produced by your organization)? Seems to me that if you just lost the source then it'd be worthwhile to decompile it with Reflector or something rather than try to get hokey workarounds. My $0.02. Sam --

Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Ricardo Lopes
I tried, but the cd didn't worked. It has to be basedir. Thanks anyway. On 28/02/07, Gert Driesen <[EMAIL PROTECTED]> wrote: - Original Message - From: "Ricardo Lopes" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, February 28, 2007 12:18 PM Subject:

Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Gert Driesen
- Original Message - From: "Ricardo Lopes" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: 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

Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Ricardo Lopes
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

Re: [NAnt-users] Change basedir for target

2007-02-28 Thread Gert Driesen
- Original Message - From: "Ricardo Lopes" <[EMAIL PROTECTED]> To: 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 ---

[NAnt-users] Change basedir for target

2007-02-28 Thread Ricardo Lopes
Hi, Is it possible to change the basedir of the project inside a target? Thanks, 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 yo

[NAnt-users] not running under credentials properly?

2007-02-28 Thread Joe Uchytil
I've got a strange one. I wrote a console application called IsAdmin that displays the domain account that IsAdmin is running under and whether or not the account is consider an administrator on the computer. When I run IsAdmin on my PC, it correctly identifies my login ID and that I was an admi