RE: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Troy Laurin
Gary Feldman wrote: > >From: "Ian MacLean" <[EMAIL PROTECTED]> > >Sent: Thursday, August 12, 2004 6:40 AM > > > > Actually I don't see how adding property files is any > > different from > > using the task to import properties. And I don't > > see how it > > There are a number of ways that th

RE: [Nant-users] comregister and silent mode

2004-08-12 Thread Nick Zigomanis
Hi Ian, Thanks for that, and the speedy work! Regards, Nick. -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Friday, 13 August 2004 2:37 PM To: Nick Zigomanis Cc: NAnt Users List (E-mail) Subject: Re: [Nant-users] comregister and silent mode Nick Zigomanis wrote:

Re: [Nant-users] comregister and silent mode

2004-08-12 Thread Ian MacLean
Nick Zigomanis wrote: Hi Ian, Gert, Here is a simple build file that demonstrates the problem (the actual target uses foreach with a fileset). I've also attached one of the offending dll's. There's probably about 10 of them all up. I've committed a fix to cvs that calls SetErrorMode to prevent t

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Ian MacLean
Gary Feldman wrote: From: "Ian MacLean" <[EMAIL PROTECTED]> Sent: Thursday, August 12, 2004 6:40 AM Actually I don't see how adding property files is any different from using the task to import properties. And I don't see how it There are a number of ways that the property mechanism in A

RE: [Nant-users] Redirecting output generates error

2004-08-12 Thread Troy Laurin
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Dick, Brian E. > Sent: Friday, 13 August 2004 2:01 AM > To: Gary Feldman; NAnt Users List (E-mail) > Subject: RE: [Nant-users] Redirecting output generates error > > Thanks for the explanation. Th

Re: [Nant-users] comregister and silent mode

2004-08-12 Thread Ian MacLean
Nick Zigomanis wrote: I getting a dialogue titled "nant.exe - Unable to locate dll" And then within the body of the dialogue: The dynamic link library cprt60n.dll cannot be found in the specified path ... (listed is my path environment variable). Nick, Would you be able to post a copy of you

RE: [Nant-users] comregister and silent mode

2004-08-12 Thread Nick Zigomanis
Hi Ian, I getting a dialogue titled "nant.exe - Unable to locate dll" And then within the body of the dialogue: The dynamic link library cprt60n.dll cannot be found in the specified path ... (listed is my path environment variable). And then an OK button. Regards, Nick. -Original Mess

RE: [Nant-users] does not work on mapped network drive

2004-08-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
The problem was most certainly security related. It turns out that "T:\System Volume Information" is a hidden system directory and only SYSTEM can read it. I gave Everyone access to read it and now NAnt and are happy. -- Edwin G. Castro Firing Systems Engineer [EMAIL PROTECTED] -Original M

[Nant-users] How To Make Ignore The GAC?

2004-08-12 Thread Merrill Cornish
I'm running NAnt 0.85 nightly build. My NAnt script goes to some trouble to create a special directory that has EVERYTHING needed for compiling and running a set of NUnit tests including the NUnit DLLs. I have two calls to the task. Each call includes a sub-element naming this special direc

[Nant-users] does not work on mapped network drive

2004-08-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
s do not seem to work when I execute nant from a mapped network drive. I get the following error: T:\Path\To\BuildFile.xml(13,5): Error creating FileSet. Access to the path "T:\System Volume Information" is denied. I imagine I need to change some security setting somewhere... I had to set the

RE: [Nant-users] Redirecting output generates error

2004-08-12 Thread Dick, Brian E.
Thanks for the explanation. The fact that Nant does a tee when using 'output=' is the issue. I want the output in the file, but not in the console. The m4 guys provided me with a workaround. I wrapped the m4 command with a batch file script. -Original Message- From: Gary Feldman [mailto:[

RE: [Nant-users] Error during compile that GUID {xxx} required

2004-08-12 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Hi Eric, I've seen this problem before. You should check the project files (.*proj) for all the projects in your solution and verify that their GUIDs match the GUIDs in the solution file. I have a number of solutions with shared projects and sometimes the GUIDS do not match. In a few rare cases I

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Gary Feldman
>From: "Ian MacLean" <[EMAIL PROTECTED]> >Sent: Thursday, August 12, 2004 6:40 AM > Actually I don't see how adding property files is any different from > using the task to import properties. And I don't see how it There are a number of ways that the property mechanism in Ant is different from N

Re: [Nant-users] Redirecting output generates error

2004-08-12 Thread Gary Feldman
>From: "Dick, Brian E." <[EMAIL PROTECTED]> >Sent: Thursday, August 12, 2004 9:17 AM Short answer: use the 'output="out.file"' attribute of the task to do redirection (but see below for issues with that). Long answer: >I'm trying to suppress the logging of standard output by redirecting it >to

Intellizense for NAnt: (WAS: Re: [Nant-users] [Fwd: FW: Isn't all this XML just abstracted C#? ])

2004-08-12 Thread Jaroslaw Kowalski
You can get pretty good intellisense with VS.NET using task. VS.NET is able to suggest elements, attribute names and values in this case. Expressions and functions aren't suggested nor verified but that's beyond the scope of what XSD schema can provide. Simple HOWTO: 1. You run this build file w

RE: [Nant-users] RE: XSLT Generated Build File with COM references

2004-08-12 Thread Ryan Cromwell
http://radio.weblogs.com/0106046/VSConvert.xslWe have decided against this in most cases.  We instead are tmpimp'ing our tlb's and sticking them in a "ThirdParty" area.  Because the interop assemblies don't have to be registered, we don't then have to worry about registering anything on the build

Re: [Nant-users] using

2004-08-12 Thread Ian MacLean
Gert Driesen wrote: Jeroen, We actually still need to provide support for explicitly naming a given (embedded) resource. We discussed this a few weeks ago, but nothing has done since. However, the task does support embedded resources and it also supports automatically naming the resource file

Re: [Nant-users] [Fwd: FW: Isn't all this XML just abstracted C#? ]

2004-08-12 Thread Ian MacLean
Hayhurst, Matthew wrote: I'm just thinking out loud, so excuse me if this sounds utterly stupid, but why use XML for build scripts? I realise XML helps to a certain degree with portability, but surely a NAnt build script can only be as portable as the tasks it uses... all of which are written in

[Nant-users] RE: FW: XSLT Generated Build File with COM references

2004-08-12 Thread Bonnett, Evan A
Title: RE: FW: XSLT Generated Build File with COM references Thanks Ian.  I appreciate the help... A lot.  I'm trying like hell to get this build process up and running in production. Evan A. Bonnett Reynolds and Reynolds, IT -Original Message- From: Ian MacLean [mailto:[EMAIL PROT

[Nant-users] Re: FW: XSLT Generated Build File with COM references

2004-08-12 Thread Ian MacLean
Hi Evan, If you just want to find the location of the dll then you need to search the registry for that guid - or you might be able to use oleview to help. On my machine its %SystemRoot%\System32\shdocvw.dll To use COM or ActiveX components from .net code you need to create wrapper assemblies u

Re: [Nant-users] using

2004-08-12 Thread Gert Driesen
Jeroen, We actually still need to provide support for explicitly naming a given (embedded) resource. We discussed this a few weeks ago, but nothing has done since. However, the task does support embedded resources and it also supports automatically naming the resource files (based on either t

[Nant-users] RE: XSLT Generated Build File with COM references

2004-08-12 Thread Bonnett, Evan A
Title: RE: XSLT Generated Build File with COM references Does ANYONE have any insight on this problem?  Please...  I thought about setting project specific variables that have a name equal to the reference name and a value of the dll name.  That could serve as a mapping mechanism but it doesn'

RE: [Nant-users] [Fwd: FW: Isn't all this XML just abstracted C#? ]

2004-08-12 Thread Hayhurst, Matthew
>> I'm just thinking out loud, so excuse me if this sounds utterly >> stupid, but >> why use XML for build scripts? I realise XML helps to a certain degree >> with >> portability, but surely a NAnt build script can only be as portable as >> the >> tasks it uses... all of which are written in C#,

[Nant-users] using

2004-08-12 Thread Jeroen Zwartepoorte
Hi, I'm trying to use the tag in the task, but i can't seem to find any good examples on how to do this. I'm attempting to convert the following part of a Makefile.am to nant: $(CSC) -debug -out:browser.exe $(browser_sources) -resource: $(srcdir)/../monodoc.png,monodoc.png -resource: $(srcdir)/

[Nant-users] Redirecting output generates error

2004-08-12 Thread Dick, Brian E.
I'm trying to suppress the logging of standard output by redirecting it to a file. However, the program is choking on the redirection. Is NAnt doing something funky to the command line arguments? Here's my target code. Here's the error message.

Re: [Nant-users] [Fwd: FW: Isn't all this XML just abstracted C#?]

2004-08-12 Thread Ian MacLean
I'm just thinking out loud, so excuse me if this sounds utterly stupid, but why use XML for build scripts? I realise XML helps to a certain degree with portability, but surely a NAnt build script can only be as portable as the tasks it uses... all of which are written in C#, making them inheren

RE: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Ryan Cromwell
Your first snippet wouldn't compile in C#.  You can't define two variables within the same scope or parent/child scope.  Maybe i'm missing something, but allowing that via some scope naming/definition mechanism would be thoroughly convoluted in my opinion.  Explicitly defining the scope would be c

[Nant-users] [Fwd: FW: Isn't all this XML just abstracted C#?]

2004-08-12 Thread Ian MacLean
forwarded from Richard Poole - Hi Ian, I'm still having difficulty posting to the list. I get this error: - - Your message did not reach some or all of the intended recipients. Subject: Isn't all this XML just abstracted C#? Sent: 11/08/2

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Ian MacLean
I quite like the idea of paramaters. It would solve the current issues with distinguishing properties defined in the build file from those passed on the command line as well as add additionaly niceness to targets. Return values from targets I'm not so sure about. I tend to agree with Troy that

Re: [Nant-users] comregister and silent mode

2004-08-12 Thread Ian MacLean
Nick Zigomanis wrote: Is there are way to emulate the /s switch that is passed to regsvr32 with comregister? For some dll's I have, a dialog pops up, halting the build. Essentially, I just want to ignore these. The failonerror="false" does not do the trick. what dialog do you get ? ComRegister

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Ian MacLean
Actually I don't see how adding property files is any different from using the task to import properties. And I don't see how it does anything to solve the issues with properties passed on the command line. Maybe I'm missing somthing but I don't think so. Ian Felice Vittoria wrote: I like Gary

Re: [Nant-users] filterchain and encoding issues

2004-08-12 Thread Jeroen Zwartepoorte
Thanks, don't know how i missed that :/ Jeroen On Thu, 2004-08-12 at 11:03 +0200, Gert Driesen wrote: > Jeroen, > > As mentioned in the docs, the default encoding is UTF-8 : > http://nant.sourceforge.net/nightly/help/types/filterchain.html > > You should specify the correct encoding. > > Gert

Re: [Nant-users] filterchain and encoding issues

2004-08-12 Thread Gert Driesen
Jeroen, As mentioned in the docs, the default encoding is UTF-8 : http://nant.sourceforge.net/nightly/help/types/filterchain.html You should specify the correct encoding. Gert - Original Message - From: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED

[Nant-users] filterchain and encoding issues

2004-08-12 Thread Jeroen Zwartepoorte
Hi, I have the following problem with the new filterchain support: I have a script .in file which has some tokens which need to be replaced at buildtime. So i have a task with filterchain support for this: This works fine

RE: [Nant-users] chmod a+x equivalent in nant?

2004-08-12 Thread Hristo Deshev | telerik
Hi Jeroen, I am 'ing the cacls.exe utility to change the permissions in a build target. Here's an example: Note the input redirection --

Re: [Nant-users] chmod a+x equivalent in nant?

2004-08-12 Thread Gert Driesen
- Original Message - From: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, August 12, 2004 8:29 AM Subject: [Nant-users] chmod a+x equivalent in nant? Hi, It looks to me like the task is Windows-specific: it seems you can't change

[Nant-users] chmod a+x equivalent in nant?

2004-08-12 Thread Jeroen Zwartepoorte
Hi, It looks to me like the task is Windows-specific: it seems you can't change any of the file attribute bits like execute on a UNIX system. Is this correct? If so, how is this supposed to work? Ant has a nice task: http://ant.apache.org/manual/CoreTasks/chmod.html . Thanks, Jeroen ---

[Nant-users] Defining tasks in onsuccess

2004-08-12 Thread Troy Laurin
Another issue (we don't have quotas, do we?) Actually, I'm not sure if this is an issue, or if NAnt is supposed to work like this. I've got a series of tasks to build and send an email onsuccess/onfailure. This is all working fine, except for one thing... I define a few tasks inline for increme