Re: [Nant-users] task problem

2003-10-05 Thread Gert Driesen
Can you try the same solution using the NAnt 0.8.4 nightly builds
(http://nant.sourceforge.net/nightly/builds) ?

Thanks,

Gert

PS. Please do not cross-post to both the NAnt users and NAnt developers
list.  We monitor both lists, so issues posted to the users list will not go
unnoticed.
- Original Message - 
From: "Kent Boogaart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, October 02, 2003 4:48 AM
Subject: [Nant-users]  task problem


> Hi all,
>
> I am attempting to use a  task to build as follows:
>
>  configuration="${c#.build.configuration}"/>
>
> Doing so yields the following output:
>
> INTERNAL ERROR
>
> System.Xml.XmlException: The data at the root level is invalid. Line 1,
> position 1.
>at System.Xml.XmlTextReader.ParseRoot()
>at System.Xml.XmlTextReader.Read()
>at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
>at System.Xml.XmlValidatingReader.Read()
>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.VSNet.Tasks.Project.LoadXmlDocument(String strFilename)
>at NAnt.VSNet.Tasks.Project.IsEnterpriseTemplateProject(String
> strFilename)
>at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename,
ArrayList
> alAdditionalProjects, ArrayList alReferenceProjects, TempFileCollection
tfc,
> Task nanttask)
>at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
>at NAnt.Core.Task.Execute()
>at NAnt.Core.Target.Execute()
>at NAnt.Core.Target.Execute()
>at NAnt.Core.Target.Execute()
>at NAnt.Core.Project.Execute(String targetName)
>at NAnt.Core.Project.Execute()
>at NAnt.Core.Project.Run()
>
> Please send bug report to [EMAIL PROTECTED]
>
> Anyone know what's going on here? I have tried simplifying the task and
> explicitly stating projects:
>
>  solutionfile="eSM/eSM.sln"
> verbose="true">
> 
> 
> 
> 
> 
> 
>
> This gives the same error though.
>
> Thanks,
> Kent
>
>
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Mail Task with Attachment Not Working

2003-10-05 Thread arif mohammed
Hi ,
 I was using the mail task with the attachement attribute set to the 
NANT log file which is specifed at command line while invoking NANT.The mail 
task works but doesn't send  the attachment..Iam  not sure if that is the 
expected behaviour as the attachment file iam specifying is the log file 
itself which is still being generated at RUN Time.

Any pointers to make it working..All i want is to email the NANT log file as 
an attachment.

Any help would be greatly appreciated.

Thanx
Arif.
_
Help protect your PC.  Get a FREE computer virus scan online from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Re: Mail Task with Attachment Not Working

2003-10-05 Thread Gert Driesen
Arif,

What version of NAnt are you using ?  I recently updated the mail task with
fileset support instead of using an attribute to specify attachements and
files that should be included in the body.

By the way, you could also use the NAnt.Core.MailLogger instead of the mail
task to send the build results.

Gert

- Original Message - 
From: "arif mohammed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 05, 2003 7:05 PM
Subject: Mail Task with Attachment Not Working


>
> Hi ,
>   I was using the mail task with the attachement attribute set to the
> NANT log file which is specifed at command line while invoking NANT.The
mail
> task works but doesn't send  the attachment..Iam  not sure if that is the
> expected behaviour as the attachment file iam specifying is the log file
> itself which is still being generated at RUN Time.
>
> Any pointers to make it working..All i want is to email the NANT log file
as
> an attachment.
>
> Any help would be greatly appreciated.
>
> Thanx
> Arif.
>
> _
> Help protect your PC.  Get a FREE computer virus scan online from McAfee.
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users