File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Getting MEAN with Mongo, Express, Angular, and Node
this week in the
Ant, Maven and Other Build Tools
return calculcatedValue to ant script from Java class
Joined: Sep 14, 2009
Jan 06, 2011 13:17:28
script, i am calling a
class with some arg1 and arg2. After that java class (execute method) calculate some value and value should return to ant script, (example return value is "123"), how can we achive this?
Joined: May 14, 2008
Jan 07, 2011 19:07:41
Have you read the <java> task in the Ant documentation? Did you notice the 'resultproperty' attribute? Or the 'output' attribute?
JBoss In Action
I agree. Here's the link:
subject: return calculcatedValue to ant script from Java class
Capture Ant build Failure in build.xml
Return value from main
arguments of System.exit()
How to interact with bash?
Returning exit code to calling shell script
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015