Re: Return a value from NAnt script

"Eric Teutsch" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <005901ca1c2d$9ae0a4c0$d0a1ee40$@ca>
 

I echo an XML fragment into a file, which is then opened in the other script
and interpreted.

HTH,

Eric T.

 

From: Wilson, Brian [mailto:[email protected]] 
Sent: August 13, 2009 10:22
To: [email protected]
Subject: [spam] [NAnt-users] Return a value from NAnt script

 

I have a batch file created that calls a NAnt script that performs a build.
Then it calls another batch file to perform a separate task.  However, the
problem is if the build does not succeed, then the next batch file does not
need to be called.  I want to return a value from the NAnt script to the
originating batch file so I can dynamically  call the next batch.  The
reason I cannot call the second batch from the NAnt script is because of
some reporting tasks that I have setup.  Is it possible to return a value
that can be accessed by a batch file or do I need to change my reporting
tasks?

 

 Thank you,

 

Brian Wilson

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
image001.gif (image/gif, 2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.