ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hezjing <>
Subject Call a target with parameter?
Date Wed, 08 Aug 2007 10:08:14 GMT

My build.xml contains few targets to run different main classes,

  <target name="run-a">
    <java classname="MyClass" />
  <target name="run-b">
    <java classname="YourClass" />
  <target name="run-c">
    <java classname="HisClass" />

Can I simplify this by defining one target with <java> and the common
classpath and system properties configuration, and then call this
target with different class names?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message