Re: [NAnt-users] Mail task smtp authentication?

2006-06-21 Thread si
> But the bottom line is our SMTP server requires authentication.  Nant
> doesn't support that by default,

Didn't Gert implement this just before RC4?

http://nant.sourceforge.net/release/latest/help/fundamentals/listeners.html#MailLogger

Note that I don't believe it's implemented in the  task, only
the MailLogger.

peace
si


___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] Solution task and VS 2005.

2006-06-21 Thread Adrian Lazea
Hi nant-dev-team,

Any ideas when the  task will support Visual Studio 2005 
solutions?

Thanks,
/Adrian.


___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Solution task and VS 2005.

2006-06-21 Thread Gert Driesen

- Original Message - 
From: "Adrian Lazea" <[EMAIL PROTECTED]>
To: "NAnt Users" 
Sent: Wednesday, June 21, 2006 1:01 PM
Subject: [NAnt-users] Solution task and VS 2005.


> Hi nant-dev-team,
>
> Any ideas when the  task will support Visual Studio 2005
> solutions?

No, not yet. We should probably start a discussion on this topic to see what 
the exact needs are (apart from what  offers)..

Gert 



___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] Get devenv output

2006-06-21 Thread Bonio Lopez
Dear all,
I use exec task in order to compile devenv solutions with Visual Studio
(Yes,I know about solution task).
If solution can't compile I get a error:
External Program Failed: C:\Program Files\Microsoft
Visual Studio .NET 2003\Comm
on7\IDE\\devenv.exe  (return code was 1)

But output of devenv is not visible. Can I somehow redirect output of devenv
to be printed too?
Thank a lot,
Boni



___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] Proper way to write/delete registry

2006-06-21 Thread Ilia Oussorov
Dear all,
I found some threads in this forum about writeregistry/deleteregistry tasks
but those tasks are neither in nant nor in nantcontrib. What is the
recommended way to write into registry so far?
Thanks,
Boni



___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Get devenv output

2006-06-21 Thread Curtis Zarger
Have you tried using devenv.com instead of devenv.exe?
 Curt


- Original Message 
From: Bonio Lopez <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net
Sent: Wednesday, June 21, 2006 7:45:17 AM
Subject: [NAnt-users] Get devenv output

Dear all,
I use exec task in order to compile devenv solutions with Visual Studio
(Yes,I know about solution task).
If solution can't compile I get a error:
External Program Failed: C:\Program Files\Microsoft
Visual Studio .NET 2003\Comm
on7\IDE\\devenv.exe  (return code was 1)

But output of devenv is not visible. Can I somehow redirect output of devenv
to be printed too?
Thank a lot,
Boni



___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users





___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Get devenv output

2006-06-21 Thread Bonio Lopez
Thanks Gert, thanks Curtis. Devenv.com works for me.

-Original Message-
From: Curtis Zarger [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 21. Juni 2006 15:24
To: Bonio Lopez; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Get devenv output

Have you tried using devenv.com instead of devenv.exe?
 Curt


- Original Message 
From: Bonio Lopez <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net
Sent: Wednesday, June 21, 2006 7:45:17 AM
Subject: [NAnt-users] Get devenv output

Dear all,
I use exec task in order to compile devenv solutions with Visual Studio
(Yes,I know about solution task).
If solution can't compile I get a error:
External Program Failed: C:\Program Files\Microsoft
Visual Studio .NET 2003\Comm on7\IDE\\devenv.exe  (return code was 1)

But output of devenv is not visible. Can I somehow redirect output of devenv
to be printed too?
Thank a lot,
Boni



___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users






___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] How to add quotas to line?

2006-06-21 Thread Bonio Lopez
Dear all,
Following line
Usage: nant set_log
-D:Loggers="e loger_names "e"

Produces exception:
NAnt.Core.BuildException: C:\XXX\default.build(32,82):
Error loading buildfile. ---> System.Xml.XmlException: An error occurred
while parsing EntityName. L
ine 32, position 82.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseEntityName()
   at System.Xml.XmlTextReaderImpl.ParseEntityReference()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at NAnt.Core.Project.LoadBuildFile(String uriOrFilePath)
   --- End of inner exception stack trace ---
   at NAnt.Core.Project.LoadBuildFile(String uriOrFilePath)
   at NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold, Int32
indentLevel)
   at NAnt.Core.ConsoleDriver.Main(String[] args)

Try 'nant -help' for more information
Any ideas?



___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] How to add quotas to line?

2006-06-21 Thread Shmarya Rubenstein
Use the following:'Loggers')}">On 6/21/06, Bonio Lopez <[EMAIL PROTECTED]
> wrote:Dear all,Following lineUsage: nant set_log
-D:Loggers="e loger_names "e"Produces exception:NAnt.Core.BuildException: C:\XXX\default.build(32,82):Error loading buildfile. ---> System.Xml.XmlException: An error occurred
while parsing EntityName. Line 32, position 82.   at System.Xml.XmlTextReaderImpl.Throw(Exception e)   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)   at System.Xml.XmlTextReaderImpl.ParseEntityName
()   at System.Xml.XmlTextReaderImpl.ParseEntityReference()   at System.Xml.XmlTextReaderImpl.Read()   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)   at System.Xml.XmlLoader.LoadDocSequence
(XmlDocument parentDoc)   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, BooleanpreserveWhitespace)   at System.Xml.XmlDocument.Load(XmlReader reader)   at System.Xml.XmlDocument.Load(String filename)
   at NAnt.Core.Project.LoadBuildFile(String uriOrFilePath)   --- End of inner exception stack trace ---   at NAnt.Core.Project.LoadBuildFile(String uriOrFilePath)   at NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold, Int32
indentLevel)   at NAnt.Core.ConsoleDriver.Main(String[] args)Try 'nant -help' for more informationAny ideas?___NAnt-users mailing list
NAnt-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nant-users
-- Shmarya---[EMAIL PROTECTED] - 
http://idp.shmarya.net
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] How to add quotas to line?

2006-06-21 Thread Gary Feldman
Shmarya Rubenstein wrote:
> Use the following:
> 
>
Using CDATA here is a bit of a using a sledgehammer to swat a fly.
> On 6/21/06, *Bonio Lopez* <[EMAIL PROTECTED] 
> > wrote:
>
> Dear all,
> Following line
> Usage: nant set_log
> -D:Loggers="e loger_names "e"
>
First, XML entity references end with a semicolon, so it would need to 
be "e;.  Second, the XML entity for the quotation marks is " 
and not "e;.  Finally, there's no reason to escape them at all when 
they appear in the content.

In other words,
 
  
Usage: nant set_log -D:Loggers="logger_names"
  

works just fine.  If, instead of putting the message into the content of 
the  element, you wanted to put it into the message attribute, 
then you would either need to use entity references, or better yet, just 
take advantage of XML's ability to use single quotes:



(I've added some extra space so that the single quotes are easier to spot.)

Gary


All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Setting property after reading from a file.

2006-06-21 Thread Rod Ayers
Hi, Gary 

I'm intrigued how you would implement the "XML approach".  Probably so easy
I've totall yoverlooked it  :):)
 
Thanks!
Rod

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gary Feldman
Sent: Tuesday, June 13, 2006 9:49 AM
To: Ramya Niranjan
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Setting property after reading from a file.

Ramya Niranjan wrote:
> I have a text file info.txt that contains some version specific 
> information like:
> MAJORVERSION=4.0
> MINORVERSION=11
> BRANCHINFO=COR
>  
> What I need to do is create some properties like majorversion, 
> minorversion and branchinfo in NAnt and assign these values after 
> reading from the txt file. In short, whenever there is a change in the 
> version or branch value, I should change only this text file and not 
> the build file. Is this possible?
>  
> I have tried using foreach item=Line in filename property=some value, 
> but this only sets the last value to the property as the previous 2 
> value get overwritten. Loadfile is also not of much help.
To do it that way, you'd obviously have to parse the line that you read in
order to extract the correct property name.

But you'd be much better off either storing this information in XML or using
the response file technique suggested by Rod Ayers.  The advantage of the
XML approach is that it avoids the readonly issue, and it is easier to just
automatically update one entry without having to update the entire file.
The advantage of the response file approach is that it's easier to
understand, read, and get working in the first place.

Gary




___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users



All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users