Re: [Nant-users] how to use 'if' ?

2004-09-29 Thread Giuseppe Greco
I hope this helps, j3d. > Hi there, > > I am wondering how to implement "if" in Nant like > 1. if myproperty=="myvalue" > 2. if="${myproperty=="myvalue" }" > > thx > Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +4

Re: [Nant-users] Cobol support for Nant

2004-09-29 Thread Giuseppe Greco
No, NAnt does not support Cobol... but you could relay on the task to invoke your compiler. j3d. > Hi, > > i want to build a cobol .net project. does Nant support this ??. I > have Fujitsu Net Cobol for .Net. > > Thanks and Regards > Prashant Uchil

[Nant-users] how to use "if" ?

2004-09-29 Thread peters
Hi there, I am wondering how to implement "if" in Nant like         1. if myproperty=="myvalue"         2. if="${myproperty=="myvalue" }"   thx        

[Nant-users] Infragistics and other 3rd party tools with licx files

2004-09-29 Thread TDahl
I have been poking around the messages for the last few days because I have run into a problem. My organization has taken on the maintenance of a web application that is using an Infragistics control. I have been trying to create a build script that will build correctly but it errors everytime it g

[Nant-users] Cobol support for Nant

2004-09-29 Thread Prashant Uchil
Hi,       i want to build a cobol .net project. does Nant support this ??. I have Fujitsu Net Cobol for .Net.   Thanks and Regards Prashant Uchil

RE: [Nant-users] What is the best way to tell the OS version that I am running?

2004-09-29 Thread Holmes, Jim (Space Technology)
Sorry, I misunderstood the gist of your question! I haven't worked with the task, so I'd be sawing off the branch I led myself out on if I tried to give you any advice... > -Original Message- > From: Burton, Kevin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 7:48 PM >

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Holmes, Jim (Space Technology)
Yes, SCM will retrieve old versions for you. However, having all those tools and libraries on the filesystem makes it easier if you've got multiple projects which may depend on differing versions of those widgets. Difference in style, I guess. > -Original Message- > From: Thibaut Barr

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Scott Hernandez
No idea when this would get worked on, but the implementation should be pretty simple. Most of the code is written to support creating a schema of arbitrary Type objects. But be careful as loading types means loading assemblies, and loading the assembly in the appdomain may cause the task, type

RE: [Nant-users] What is the best way to tell the OS version that I am running?

2004-09-29 Thread Burton, Kevin
This would be perfect information. Is there a way to incorporate this in with so that this information is available for the TARGET machine? Kevin -Original Message- From: Holmes, Jim (Space Technology) [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 6:15 PM To: Burton, Kev

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Thibaut Barrère
<[EMAIL PROTECTED]> wrote: > I don't like replacing distribution folders with new versions. I keep tools in > separate >folders with version names.(Certainly you've never had an updated tool > with bugs >which required a rollback!!) The rollback support is provided by the SCM, which is qui

RE: [Nant-users] What is the best way to tell the OS version that I am running?

2004-09-29 Thread Holmes, Jim (Space Technology)
Did you look at the task? http://nant.sourceforge.net/help/tasks/sysinfo.html > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Burton, > Kevin > Sent: Wednesday, September 29, 2004 6:17 PM > To: [EMAIL PROTECTED] > Subject: [Nant-users] What is the bes

[Nant-users] nant schema does not contain all valid attributes and elements

2004-09-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
When I create a task schema using and use the schema within Visual Studio for IntelliSense I see a few attributes/elements that are not recognized by Visual Studio (I get the little red squiggly underneath the text). Here are some examples: * 'if' and 'unless' attributes for * elements in

[Nant-users] What is the best way to tell the OS version that I am running?

2004-09-29 Thread Burton, Kevin
What is the best way to tell the OS version that I am running? I need to set some permissions on some registry settings. For Windows NT, ASP.NET (IIS) runs as the ASPNET account but for XP and Windows 2003 it runs under the "NETWORK SERVICE" account. So I need to give read access to some registr

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Eric Fetzer
That worked, Thanks Felice! --- Felice Vittoria <[EMAIL PROTECTED]> wrote: > The recommended way of doing this is to use the > loadtasks task in your build file. Something like > this: > > assembly="${NantContribDirectory}\bin\NAnt.Contrib.Tasks.dll" > /> > > HTH, > Felice > > -Origina

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
That's good to know! I would like to have the ability to generate a task schema for individual assemblies. :-) Will this ever be implemented? And if yes, any idea when this might happen? If I look at the task and try to implement this functionality can I pass implementation to someone to review an

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Holmes, Jim (Space Technology)
I don't like replacing distribution folders with new versions. I keep tools in separate folders with version names.(Certainly you've never had an updated tool with bugs which required a rollback!!) It's a simple thing to have a config file with properties specifying locations for those too

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Scott Hernandez
In my opinion, this can lead to assumptions about the build environment. It is more descriptive, and easier to catch mistakes when build on different machines, if the (for non-core task) is put in the build file. You can define the path relative to the build dir, or to the nant assemblies. Can

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Scott Hernandez
Actually, the task will output a schema for any, and all, tasks that are loaded. This includes any custom tasks that are loaded with . It was on the todo list to allow creating schemas for only a given assembly, but that was not been coded yet. - Original Message - From: "Castro, Edw

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Thibaut Barrère
Most of the time for the tools I use (ie CCNet, Nant, NantContrib, fxcop and so on), I try not to modify the distribution folder, so I can upgrade more easily (just replace the folder, unzipped). That's why I prefer not to modify a config file somewhere. my 0.02â Thibaut On Wed, 29 Sep 2004 13:

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Gary Feldman
>From: "Gert Driesen" <[EMAIL PROTECTED]> >Sent: Wednesday, September 29, 2004 12:50 PM [re: using the config file to autoload the contrib and user extension directories] > While that will ofcourse work, its definitely not the recommended procedure. Why not? It seems to me that if you're using

RE: [Nant-users] task ignores 1 project out of 20

2004-09-29 Thread Brandon Lonac
Thank you for help, I have fixed it now. I did a little digging and looked @ the regEx that parses the project file. I found that there were 2 projects w/ the same GUID in the .sln. I changed that and now they all build fine. Thanks. -Brandon -Original Message- From: Merrill Cornish

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
While this method is not the recommended procedure, it does have the nice property that you can use the task to produce a schema that will contain all the NAnt, NAntContrib, and Custom tasks specified in the nant.exe.config. This is very useful since there is no other way to create a schema for NA

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Gert Driesen
Matt, While that will ofcourse work, its definitely not the recommended procedure. Gert - Original Message - From: "Matt Hulse" <[EMAIL PROTECTED]> To: "'Rick Casey'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, September 29, 2004 6:04 PM Subject: RE: [Nant-users] NantContrib

RE: [Nant-users] Problem with VSSCheckOut Task

2004-09-29 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
The CruiseControl.NET project (or users of that project) has encountered a similar problem. They have documented it at http://confluence.public.thoughtworks.org/display/CCNET/VSS Here is the bit that sounds interesting: CCNet periodically reports the following error when connecting to VSS: "Un

Re: [Nant-users] task ignores 1 project out of 20

2004-09-29 Thread Merrill Cornish
Brandon, I don't know if it applies in your case, but the the "Build" check box checked for that project in your solution configuration? Merrill --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in y

Re: [Nant-users] task ignores 1 project out of 20

2004-09-29 Thread Thibaut Barrère
Hi Brandon, please give more details : - are you using the latest nightly build ? - what kind of project (c++, c#, web, other ?) make the build fail ? - does it build properly under vs.net ? regards, Thibaut - Original Message - From: Brandon Lonac <[EMAIL PROTECTED]> Date: Wed, 29 Sep 2

RE: [Nant-users] task ignores 1 project out of 20

2004-09-29 Thread Brandon Lonac
Oh yeah, that information would be helpful wouldn't it. Version: NAnt 0.85 (Build 0.85.1690.0; net-1.0.win32; nightly; 8/17/2004) - I have seen this problem for a while, I would just keep the number of projects from 16-18, but now I can't do that anymore. Nightly: I have not tried the most recent

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Matt Hulse
I found a great way to do this without using .   Here is a snippet from my nant.exe.config file in the nant bin folder.                                          

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Felice Vittoria
The recommended way of doing this is to use the loadtasks task in your build file. Something like this: HTH, Felice -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Joseph Sent: Wednesday, September 29, 2004 10:13 AM To: [EMAIL PROTECTED]; Eric F

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Rick Casey
Here's what I did... Just had to define the path to nantcontrib. I really try to avoid copying the 'bin' folders these days.  God know what could happen.       user="${project.vss.readonly.username}"     password="${project.vss.readonly.password}"     loca

RE: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Michael Joseph
Hi Eric, I had this problem today, and solved it by copying the contents of NAntContrib/bin into NAnt/bin (as suggested in the FAQ: http://nant.sourceforge.net/wiki/index.php/FAQ) Hth michael > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Eric

RE: [Nant-users] task ignores 1 project out of 20

2004-09-29 Thread Michael Joseph
Hi Brandon, A couple of routine questions: - What version of NAnt are you running? Have you tried a nightly build? - Can we see some output from your build, or a snippet from your Nant build file? - Do you get any more information if you turn on verbosity (ie. nant -v) ? Thanks michael _

RE: [Nant-users] cvs-checkout task problem

2004-09-29 Thread pierre . thorey
Hi Clayton, a fake cvsroot that reproduces the problem is : cvsroot=":pserver:[EMAIL PROTECTED]:/home/xxx/CVSDIR" By doing some tries, I think the "-" is misunderstood. However, I try on a host without "-" symbol, and I got this message : [cvs-checkout] [Console.ConsoleMain:Exception: System.A

[Nant-users] task ignores 1 project out of 20

2004-09-29 Thread Brandon Lonac
Hello… I am running into a situation where the solution task is not building a service project.  I have 20 projects in the solution, far as the build order in vs.net goes it is in the middle.  There is no error, it just doesn’t build it.   Any help would be great, this bit me hard last n

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Eric Fetzer
Oooppps, forgot the rest of you... Note: forwarded message attached. __ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com--- Begin Message --- Gert, Yes, 9/28 of both NAnt and NAntContrib. I unzi

RE: [Nant-users] cvs-checkout task problem

2004-09-29 Thread Clayton Harbour
Hi Pierre, It appears that there is an issue parsing your cvsroot. Would you be able to send me the value substituted in for your cvsroot by adding something like: And I will file a bug report with SharpCVSLib. Thanks, Clayton > -Original Message- > From: [EMAIL PROTECTED]

[Nant-users] cvs-checkout task problem

2004-09-29 Thread pierre . thorey
Hi, I was using nant-0.84 for a long time. In my build.xml, I have something like this : And this worked with the old nant version. I downloaded nant-0.85 latest built 2004-09-28-0.85 . When I launched the same task, I got this message : [cvs-checkout] [Console.ConsoleMain:Except

RE: [Nant-users] build: 'Couldn't find reference to type library' error [SOLVED]

2004-09-29 Thread Michael Joseph
Sorry, I had a dangling reference in one of my projects. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Michael Joseph > Sent: Wednesday, September 29, 2004 10:54 AM > To: [EMAIL PROTECTED] > Subject: [Nant-users] build: 'Couldn't find > refe

[Nant-users] Problem with VSSCheckOut Task

2004-09-29 Thread Ivan Pavlović
Hi, I have a problem with following VSSCheckOut Task Nant is started under domain Admin account ([EMAIL PROTECTED]) who has all necessary premissions to access source safe database and build output folder. When I start Nant, I recive folowing error: Could not create loggedi

[Nant-users] build: 'Couldn't find reference to type library' error

2004-09-29 Thread Michael Joseph
Hi All, My build has just stopped working with the following error: I'm using yesterday's nightly build: NAnt 0.85 (Build 0.85.1732.0; net-1.0.win32; nightly; 9/28/2004) I had made a few changes to the .csproj file (changing the HintPath of one of the references), but the error persists

Re: [Nant-users] Project Content Files

2004-09-29 Thread Thibaut Barrère
Hi Dan >Is there a NAnt, NAntContrib, or other task that can >parse the VS.Net Project file and use the information to generate a list of >Content files that should be copied into the archive >Any pointer would be appreciated You can parse the project file using a custom function and xpath quer