RE: [Nant-users] Conditional compilation

2005-05-16 Thread Susantha Kumara
Thanks Ian. Keep up good work ..! -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 8:07 AM To: Susantha Kumara Cc: Subject: Re: [Nant-users] Conditional compilation Susantha Kumara wrote: > >Does nant support conditional compilation of C# proj

[Nant-users] Logfiles and the Nant task

2005-05-16 Thread Bruce Kinchin
I’d like to call a child Nant build file using the task in a master build file and specify the logfile to use? Is there a way of specifying a separate logfile for this child Nant build file? I’d expect it to look something like this:   logfile="${output.dir}/Nightly.log.txt" />   I wis

RE: [Nant-users] error in task

2005-05-16 Thread Gert Driesen
Hi Shelly,   The problem here is that you're actually trying to extract a directory (${Release.Path}) instead of a zip file.   I did modify the behaviour of the task in cvs to provide a more meaningful error message.   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beh

RE: [Nant-users] not mapping - same problem

2005-05-16 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Rik Hemsley > Sent: maandag 16 mei 2005 13:12 > To: nant-users@lists.sourceforge.net > Subject: [Nant-users] not mapping - same problem > > I am having the same problem as Howard Cheng, with the

RE: [Nant-users] How to handle policy file generation?

2005-05-16 Thread Gert Driesen
Title: How to handle policy file generation? Hi Thomas,   This is indeed not yet supported. I've tried to get a design discussion started on this topic, but I got no feedback on it at all:   http://www.mail-archive.com/nant-developers@lists.sourceforge.net/msg05325.html   For now, you can just

RE: [Nant-users] error in task

2005-05-16 Thread Shelly Midha
I'm still facing the issue, even after mapping the drive. One more thing to notice here is that I'm able to get the latest files from VSS in the same folder, so there should not be an issue while using task. Shelly -Original Message- From: Troy Laurin [mailto:[EMAIL PROTECTED] Se

Re: [Nant-users] Handling "content" in a web project

2005-05-16 Thread Troy Parsons
Hm... good idea, Ray, Currently, rather than copying files I want, I don't copy files I know I don't want - ie my NAnt task uses file pattern to ignore things like .cs However, given that the .csproj file is just XML, it should be pretty easy to loop over and copy the given files... I think

[Nant-users] How to handle policy file generation?

2005-05-16 Thread Thomas Tomiczek
Title: How to handle policy file generation? Hi. I seem to miss one entry in the al task. How do I link a file into the assembly? Basically, the following command line parameter for al.exe: /link:C:\somedir\somelibrary.PublisherPolicy.xml This, plus a signing key, are used to genera

Re: [Nant-users] error in task

2005-05-16 Thread Troy Laurin
On 5/16/05, Shelly Midha <[EMAIL PROTECTED]> wrote: > > I 'm geeting the an error while running the following target: > > [snip] > > System.UnauthorizedAccessException: Access to the path > "\\delminfraapp\release" > is denied. > > [snip] > > Any pointers to workaround the same will be

Re: [Nant-users] Conditional compilation

2005-05-16 Thread Ian MacLean
Susantha Kumara wrote: Does nant support conditional compilation of C# projects? yes If so how do I mention the defined constants in the build script? use the define attribute on the task. Is there a way to define those constants in the command line for nant command? you could tailor

[Nant-users] not mapping - same problem

2005-05-16 Thread Rik Hemsley
I am having the same problem as Howard Cheng, with the same error message. I wasn't subscribed at the time, but here's the message in the web archive: http://sourceforge.net/mailarchive/forum.php?thread_id=7200268&forum_id=9544 There was no trouble until I moved the solution into a different root

[Nant-users] How should resgen task decide whether to copy 3rd party assemblies?

2005-05-16 Thread mconnell
I am using NAnt 0.85 (Build 0.85.1932.0; rc3) I am building my project which has a Form that references an assembly that is not in the GAC (it's a weakly named assembly). The problem is that during the csc task, I am seeing the dreaded error: [resgen] error: Specific exception: SerializationEx

RE: [Nant-users] Handling "content" in a web project

2005-05-16 Thread Ryan Davis
I solved this problem by making an xslt to convert the .csproj file into a file list, then use the task to copy the files. The XLST is attached, and here's a simplified version of my nant task (not tested): So the

[Nant-users] Build one project from solution

2005-05-16 Thread Bjerstedt, Tony
Is it possible to use the task to build a single project within the solution? I was hoping to do something like I wanted to supply the solution file so that it could supply all of the context information such as references. The above fails miserably

[Nant-users] csc task doesn't compile any files

2005-05-16 Thread Elie Medeiros
Hi there, posted this a couple of days back, but I still haven't figured it out. It would be nice to know if it's something I'm doing wrong, or if it's a Nant issue/feature that i need to work around. I have a pretty simple task set up as such:

RE: [Nant-users] Handling "content" in a web project

2005-05-16 Thread Ryan Davis
I solved this problem by making an xslt to convert the .csproj file into a file list, then use the task to copy the files. The XLST is attached, and here's a simplified version of my nant task (not tested): So the

[Nant-users] Re: csc task doesn't compile any files

2005-05-16 Thread Elie Medeiros
Ok, fixed this one - it didn't do anything because the destination file already exists. Hope this helps someone experiencing the smae problem later - btw, it would be nice if this behaviour was described in the manual (would have saved me some time anyways). Elie On 5/16/05, Elie Medeiros <[EMAIL

[Nant-users] Converting to

2005-05-16 Thread Merrill Cornish
I have been running NAnt 0.84. I needed to so some upgrades to a NAnt script, so I decided to upgrade to the current NAnt 0.85 rc3, which involves weeding out some deprecated and obsolete code. One of the things I had been using was the task with "cvsroot" and "password" attributes, but "pass

[Nant-users] error in task

2005-05-16 Thread Shelly Midha
 I 'm geeting the an error while running the following target: *** **

[Nant-users] nant quiet and debug values. Turning off-on inside a .BUILD file

2005-05-16 Thread Christopher_P_Vanik
All, I just started to run my buildfile using -quiet option and I just debug off. I needed to do this because my build logs were becoming huge. However, I want to see everything when I call the solution task. I set "verbose=true" for the solution task but I still want more detail printed to the

Re: [Nant-users]

2005-05-16 Thread Gary Feldman
Sandeep wrote: Hi Gary, None of the Deployment.xsl or Deployment.xml file changes but I do change the parameter value (say environment="prod") in NAnt script. This should generate entirely different output, but it remains silent for the second time. Looks to me more like a bug considering the suppo

[Nant-users] Conditional compilation

2005-05-16 Thread Susantha Kumara
Hi all,   Does nant support conditional compilation of C# projects?   If so how do I mention the defined constants in the build script?     Is there a way to define those constants in the command line for nant command?   Please give me a hint.   Thanks,   Susantha.