| Call a target with parameter? | Call a target with parameter? 2007-08-08 - By hezjing
Hi!
My build.xml contains few targets to run different main classes,
<target name="run-a"> <java classname="MyClass" /> </target> <target name="run-b"> <java classname="YourClass" /> </target> <target name="run-c"> <java classname="HisClass" /> </target>
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?
--
Hez
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |