A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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
Don't get me started about those stupid
subject: return calculcatedValue to ant script from Java class
arguments of System.exit()
Return value from main
How to interact with bash?
Capture Ant build Failure in build.xml
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-2014