Date: 2004-07-07T01:53:01 Editor: 62.77.1.2 <> Wiki: Ant Wiki Page: AntTutorialWritingTasks URL: http://wiki.apache.org/ant/AntTutorialWritingTasks
no comment Change Log: ------------------------------------------------------------------------------ @@ -33,7 +33,7 @@ </project> }}} -This buildfile uses often the same value (src, classes, MyTask.jar), so we should rewrite that using <property>s. On second there are some handicaps: <javac> requires that the destination directory exists; a call of "clean" with a non existing classes directory will fail; "jar" requires the execution of some steps bofore. So the refactored code is: +This buildfile often uses the same value (src, classes, MyTask.jar), so we should rewrite that using <property>s. On second look there are some handicaps: <javac> requires that the destination directory exists; a call of "clean" with a non existing classes directory will fail; "jar" requires the execution of some steps before. So the refactored code is: {{{<?xml version="1.0" encoding="ISO-8859-1"?> <project name="MyTask" basedir="." default="jar"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]