Re: [Nant-users] user submitted

2005-02-25 Thread Ian MacLean
John Cole wrote: I have added a few more. One to start SQL server and one to execute a query to an ODBC datasource. Thanks. I"ve also uploaded a few more submitted by Helmut Dipper. Ian I'll see about adding more. John Cole -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

[Nant-users] Format conversion to string with leading zeros.

2005-02-25 Thread Burton, Kevin
OK. I had a very simple problem in calling date functions and getting the year, month, and day parts of the date. Now that I have that solved I would like to solicit help with my next task. I want to convert a datetime to a specific string format. Right now I want to convert to a string YYY

[Nant-users] DateTime manipulation?

2005-02-25 Thread Burton, Kevin
I guess I am still new. I am not sure how to pass arguments and set variables with NAnt. I would like to convert today’s date to a string like:   MMDD   My first attempt fails. In trying to get the year portion of datetime::now() it seems that I have a syntax error.         Any

Re: [Nant-users] Accelerating Resource Creation on

2005-02-25 Thread Troy Parsons
Great!  Can a similar change be made to the task? I've been meaning to post on this for a while, as building an asp.net site (where pages have there own .resx files) is PAINFUL! Troy. Gert Driesen wrote: Accelerating Resource Creation on Hi Mike,   I've just modified the co

[Nant-users] For-each on XML nodes?

2005-02-25 Thread Byrd, Payton
Title: For-each on XML nodes? Is it possible to do a for-each enumeration on XML nodes matching an xpath query? For example, -Projects.xml à s> filesets="subdirectory1\childproject1\filesets.xml" category="a" />     filesets="subdirectory1\childproject2\filesets.xml" category="b"

RE: [Nant-users] Difference between importing a OCX in VS and running AXIMP?

2005-02-25 Thread Steve Mitcham
I had something similar a few months ago in a situation outside of Nant specifically.   I believe that visual studio performs an AxImp and a TlbImp on OCXs, producing two files.   Try running tlbimp on the ocx and then using the output of that file as a reference to the AxImp.   I apologize f

Re: [Nant-users] Building Nant using Nant task

2005-02-25 Thread Scott Carr
Title: RE: [Nant-users] Building Nant using Nant task Byrd, Payton wrote: I'm sure it's because the Fileset is using a non-sorted collection to hold the files.  Even if it was a sorted collection you would then have to manipulate your filenames to sort correctly. I understand that

RE: [Nant-users] Accelerating Resource Creation on

2005-02-25 Thread Gert Driesen
Hi Mchael,   This is now fixed in cvs.   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nau, MichaelSent: vrijdag 25 februari 2005 18:08To: Gert Driesen; nant-users@lists.sourceforge.netSubject: RE: [Nant-users] Accelerating Resource Creation on Th

Re: [Nant-users] Problems compiling a Unmanaged project in a solution file

2005-02-25 Thread Kapil Sachdeva
Title: Problems compiling a Unmanaged project in a solution file Sure I will do it. I am too busy with something else but promise to reproduce and post the errors, problems I faced  so that you guys could have look into it   Regards & thanks Kapil   Kapil Sachdevahttp://www.dotnetcard.com/

RE: [Nant-users] Accelerating Resource Creation on

2005-02-25 Thread Nau, Michael
Thanks for putting this in so quickly. I pulled the 2005-02-24 nightly build and am getting the following error when executing :   Resource generator needs either an input attribute, or a non-empty fileset.   I've tried both of the following, with the same result:        

RE: [Nant-users] Problems compiling a Unmanaged project in a solution file

2005-02-25 Thread Gert Driesen
Title: Problems compiling a Unmanaged project in a solution file Hi,   Can you both provide more information on the issues you're running into ? Can you send me a small repro ?   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kapil SachdevaSent: vrijdag 25 fe

Re: [Nant-users] Building Nant using Nant task

2005-02-25 Thread Scott Carr
Scott Carr said: > I have a nant task like the following: > > [code] > > target="${target::get-current-target()}"> > > > > > > > [/code] > > The problem is that it is not building in any specific order. Seems >

[Nant-users] and tasks - temp directory

2005-02-25 Thread Whitner, Tom
Title: and tasks - temp directory         I have discovered that the and tasks create and delete a directory named "Temp" relative to the sourcedir specified in the task.  Lines such as the following appear in multiple places throughout these tasks.     string tempDir =

Re: [Nant-users] Problems compiling a Unmanaged project in a solution file

2005-02-25 Thread Kapil Sachdeva
Title: Problems compiling a Unmanaged project in a solution file I do not have good experiece with solution task either !!.   I have a solution with unmanaged and unmanaged projects but have never been able to get unmanaged (C, C++) projects compile using solution task and prefer to use deven

Re: [Nant-users] Read-only properties

2005-02-25 Thread Merrill Cornish
Kevin, Properties set on the command line are always read-only. So, you can't use command line -D values to "override" script properties. Instead, the script will have to check for the command line properties. If they do NOT exist, only then can the script safely set the properties to a defa

[Nant-users] Read-only properties

2005-02-25 Thread Burton, Kevin
I think this was discussed earlier but I don’t remember the resolution.   I am getting the error:   [property] Read-only property "ppc.user" cannot be overwritten. [property] Read-only property "ppc.password" cannot be overwritten.     In my .build file the property is not marked as

RE: [Nant-users] how to build with package target using nmake...

2005-02-25 Thread Gert Driesen
Hi John,   After you've executed the nmake bootstrap, you can use the bootstrap version of NAnt to execute the package target :   nmake -f Makefile.nmake bootstrap\NAnt.exe package   Hope this helps,   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Cole

[Nant-users] WseWsdl2 proxy

2005-02-25 Thread Chak
This is more of a WSE 2 question than an Nant question.   We have just migrated from plain web services to WSE 2.0 compliant web services and i am at a loss to upgrade my Nant files using WseWsdl2.   Any idea how to run WseWsdl2.exe within NAnt (instead of WSDL) , with a namespace of my choice (th