Re: [Nant-users] NAnt support of DOCTYPE/ENTITY

2003-10-24 Thread Scott Hernandez

I think it was because the file looked like this:

properties.xml:



Which is not a valid xml document. I think Mark got it working in the end :)

- Original Message - 
> From: "Nick Varacalli" <[EMAIL PROTECTED]>
> Works for me in simple to complex cases. Can you post a small example of
how
> using include gives you a problem.
>
> Nick
> -Original Message-
> From : Behalf Of Mark Colburn
>
> I tried that, but Nant complains that there is more than one root node
> in the file if there is more than a single property set.
>
> -mark
> -Original Message-
> From: Nick Varacalli [mailto:[EMAIL PROTECTED]
>
> Look at the  task in the NAnt
> help.



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] support for property files ?

2003-10-24 Thread Darren Syzling
Sorry to pick up on this thread rather late but, am I correct in thinking
that the include task can't be used within a target?

I have a situation where I would like to package an application for multiple
clients. Certain targets use properties to configure various parts of the
client installation. I'd also like to batch build each customer in turn,
which relies on being able to set the properties within a target and repeat
for each client.

Unless I'm wrong in this scenario the  task wouldn't work, although
 may be useful?



Darren Syzling
mailto:[EMAIL PROTECTED]
http://www.optial.com

This message may contain information which is confidential or privileged. If
you are not the intended recipient, please advise the sender immediately by
reply e-mail and delete this message and any attachments without retaining a
copy.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen
Sent: 14 October 2003 18:54
To: [EMAIL PROTECTED]; Marion Nalepa
Subject: Re: [Nant-users] support for property files ?


- Original Message - 
From: "Marion Nalepa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 14, 2003 8:39 PM
Subject: [Nant-users] support for property files ?


> I'm wondering if there is an equivalent ability in NAnt to
> Ant's property file feature:
>
> Specifically, in Ant you can load properties from an external
> file such as:
>
> 
>
> where this file contains name/value pairs like:
>
> prop1=value1
> prop2=value2
> ...
>
> This is immensely useful to allow for a universal build file to
> be constructed, with each developer only having to edit an
> external properties file to tailor the build to his/her individual
> system.

in NAnt we just an include task which loads a "build file" containing only
property declarations ...

eg. 

and build.properties would then look like this :






Hope this helps,

Gert



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Nant nightly Builds & NUnit.framework.dll version 2.1.4 question

2003-10-24 Thread Michael Dang
Hi,

I noticed in the nightly builds that you are using
nunit.framework.dll verion 2.1.3.

When will you upgrade the nightly builds to use the final released
version of the nunit.framework.dll verion 2.1.4?

mike

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] support for property files ?

2003-10-24 Thread Jean Rajotte
i believe at this point there's no property file functionality.
as i think about your problem, i imagine you could accomplish your
purpose w/  as follows:

because  is global (not in a task), get it to  ALL the
diverse client property defs. but don't put the defs. at the project
level of the included file(s) -- put them each in a target called after
the client.

in other words, you'd like to do this but you can't:


  


  



so instead do this:



   (either in 1 file or in several...)
  


  



where propertyDefs looks like this:


  


  


sorry to be going on...  basically, it's not structurally very
different.  it doesn't involve more coding.  it's just making it go w/
what we've got.

hth

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Darren Syzling
> Sent: Thursday, October 23, 2003 11:14
> To: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] support for property files ?
> 
> 
> Sorry to pick up on this thread rather late but, am I correct 
> in thinking that the include task can't be used within a target?
> 
> I have a situation where I would like to package an 
> application for multiple clients. Certain targets use 
> properties to configure various parts of the client 
> installation. I'd also like to batch build each customer in 
> turn, which relies on being able to set the properties within 
> a target and repeat for each client.
> 
> Unless I'm wrong in this scenario the  task wouldn't 
> work, although  may be useful?
> 
> 
> 
> Darren Syzling
> mailto:[EMAIL PROTECTED]
> http://www.optial.com
> 
> This message may contain information which is confidential or 
> privileged. If you are not the intended recipient, please 
> advise the sender immediately by reply e-mail and delete this 
> message and any attachments without retaining a copy.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Gert Driesen
> Sent: 14 October 2003 18:54
> To: [EMAIL PROTECTED]; Marion Nalepa
> Subject: Re: [Nant-users] support for property files ?
> 
> 
> - Original Message - 
> From: "Marion Nalepa" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 14, 2003 8:39 PM
> Subject: [Nant-users] support for property files ?
> 
> 
> > I'm wondering if there is an equivalent ability in NAnt to Ant's 
> > property file feature:
> >
> > Specifically, in Ant you can load properties from an external file 
> > such as:
> >
> > 
> >
> > where this file contains name/value pairs like:
> >
> > prop1=value1
> > prop2=value2
> > ...
> >
> > This is immensely useful to allow for a universal build file to be 
> > constructed, with each developer only having to edit an external 
> > properties file to tailor the build to his/her individual system.
> 
> in NAnt we just an include task which loads a "build file" 
> containing only property declarations ...
> 
> eg. 
> 
> and build.properties would then look like this :
> 
> 
> 
> 
> 
> 
> Hope this helps,
> 
> Gert
> 
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program. 
> SourceForge.net hosts over 70,000 Open Source Projects. See 
> the people who have HELPED US provide better services: Click 
> here: http://sourceforge.net/supporters.php
> ___
> Nant-users mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/n> ant-users
> 
> 
> 
> 
> ---
> This SF.net email is sponsored by: The SF.net Donation 
> Program. Do you like what SourceForge.net is doing for the 
> Open Source Community?  Make a contribution, and help us add 
> new features and functionality. Click here: 
> http://sourceforge.net/donate/ 
> ___
> Nant-users mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/n> ant-users
> 



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Renaming a directory

2003-10-24 Thread William E Caputo
Tim Dallmann:
>Any suggestions as to the best way to rename a folder.  Can the exec task 
be
>used to issue DOS commands?

Yes, the exec task can be used for that. Use cmd.exe with the /C flag:





  

  


Another way is via the script task:


  

  


Hope this helps.

Best,
Bill

William E. Caputo
ThoughtWorks, Inc.
http://www.twelve71.com/caputo/

Continuous Integration: Watchin' the hella tech ta' boost da' shiggety 
shiggety shwa.







---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users