opensubscriber
   Find in this group all groups
 
Unknown more information…

u : user@ant.apache.org 4 September 2009 • 4:21PM -0400

How to run java source code in ant target
by Gao Lin

REPLY TO AUTHOR
 
REPLY TO GROUP




HI:

  Is there an existed ant target to execute plain java source code?

  I need to run one java statement before junit target, I don`t want
to create a separated main class for this, it is possible to run the
code directly?

like:

<target name="run-java-source-code">
    <execute classpath="run.classpath">
             System.out.println("execute plain Java source code in ant target");
    </execute>
</target>

--
Thanks and Best Regards

aoingl@gmai...

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant....
For additional commands, e-mail: user-help@ant....

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.