|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Return a value from NAnt scriptI 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 NAnt-users@... https://lists.sourceforge.net/lists/listinfo/nant-users |
|
|
Re: Return a value from NAnt scriptI echo an XML fragment into a file, which is then opened in the other
script and interpreted. HTH, Eric T. From: Wilson, Brian [mailto:Brian.Wilson@...] 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 NAnt-users@... https://lists.sourceforge.net/lists/listinfo/nant-users |
|
|
Re: Return a value from NAnt scriptWhy not call the second batch file from
within the nant script? If the build portion fails the batch file is never
executed. Mike From:
Wilson, Brian [mailto:Brian.Wilson@...] 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 NAnt-users@... https://lists.sourceforge.net/lists/listinfo/nant-users |
| Free embeddable forum powered by Nabble | Forum Help |