I haven't really looked at this in depth... but can the XSL just look at
the level= on the message tag for Info, Warning, Error etc?

 

BOb

 

 

________________________________

From: Jay Flowers [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 31, 2007 11:19 AM
To: Bob Archer
Cc: Dickover, Kevin; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Register COM objects remotely

 

Hey Bob,
I always get frustrated with this situation.  This is a CCNet reporting
issue.  The nant output is logged as xml and included in the ccnet xml
build log.  This xml build log is then used to create html with xslt.
Here is the xpath used to gather everything that ccnet will report on as
an error: 

<xsl:variable name="builderror.messages"
select="/cruisecontrol//buildresults//message[(contains(text(), 'error
')) or @level='Error'] | /cruisecontrol//builderror/message |
/cruisecontrol//internalerror/message" /> 

So the word error is the key, which is a bummer.  It becomes trouble
some to add exclusions to an xpath query.  I have never thought of a
good solution.  Do you see one?

Cheers,
Jay

On 8/31/07, Bob Archer <[EMAIL PROTECTED]> wrote:

Yes... that' what I'm currently doing. Problem is I am getting warnings
and errors even though everything works correctly. Any idea why? Isn't
ErrorLevel = 0 mean no error?

 

Errors: (1) 

c:\inetpub\wwwroot\amsiweb\esiteweb\dlls\reg.bat exited on
qaevolution2003 with error code 0.

 

Warnings: (8) 

PsExec v1.85 - Execute processes remotely
 
Copyright (C) 2001-2007 Mark Russinovich
 
Sysinternals - www.sysinternals.com
 
Connecting to qaevolution2003...
Starting PsExec service on qaevolution2003...
Connecting with PsExec service on qaevolution2003...
 
Starting c:\inetpub\wwwroot\amsiweb\esiteweb\dlls\reg.bat on
qaevolution2003...
 
c:\inetpub\wwwroot\amsiweb\esiteweb\dlls\reg.bat exited on
qaevolution2003 with error code 0.

 

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dickover,
Kevin
Sent: Friday, August 31, 2007 8:10 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Register COM objects remotely

 

You could use the exec task to execute psexec (from Microsoft's,
formerly Sysinternal's pstool toolkit
http://www.microsoft.com/technet/sysinternals/default.mspx ) against the
remote machine

 Kevin Dickover

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
Archer
Sent: Wednesday, August 29, 2007 5:48 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Register COM objects remotely

 

Anything like <comregister> that will register com objects on a remote
machine rather than the machine that Nant is running on?

 

BOb

 

________________________________


This electronic mail (including any attachments) may contain information
that is privileged, confidential, and/or otherwise protected from
disclosure to anyone other than its intended recipient(s). Any
dissemination or use of this electronic email or its contents (including
any attachments) by persons other than the intended recipient(s) is
strictly prohibited. If you have received this message in error, please
notify us immediately by reply email so that we may correct our internal
records. Please then delete the original message (including any
attachments) in its entirety. Thank you.


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser. 
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________ 
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users




-- 
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
--------------------------------------------------------------------- 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to