Changes from Ant 1.2 to the current sources =========================================== Changes that could break older environments: -------------------------------------------- * Ant doesn't search for the buildfile anymore, unless you use the new -find argument. * has been replaced by a number of new tasks. * is now implemented using a factory. This makes extending javac to use a new compiler a lot easier but may break custom versions of this task that rely on the old implementation. * The output generated by the xml formatter for has changed a little, it doesn't append " sec" in the time attribute anymore. Other changes: -------------- * A GUI Frontend: Antidote. This is currently in development. * New tasks: stylebook, propertyfile, depend, antlr, telnet, csc, ilasm, apply, javah, several clearcase tasks, junitreport * Added output attribute to . * Added nested zipfileset element to * Changed so that printing is at the task level rather than the statement level. * javadoc task will pass -d flag to any doclet if the destDir attribute is given. If the doclet does not accept the -d flag then omit the destdir attribute. * can work on non-Windows platforms with the help of libcabinet. See http://trill.cis.fordham.edu/~barbacha/cabinet_library/. * now supports passive mode. * New data type that can be used to get influence on the target files for some tasks like or enable new types of tasks like . * provides more control over the command line now, the names of the source files are no longer required to be at the end of the command. * Style tasks will now support TraX compliant XSL processors if one is present in your classpath. * Ant now prints a warning when an attempt is made to use a property which has not been set. Any build files which rely on non-set properties being passed through untranslated will now break. * Added a failonerror to the javac task. If set to false, the build will continue even if there are compilation errors. * Added nested format elements to the tstamp task allowing additional time formats to be defined for arbitrary properties. * Added classpath attribute and nested classpath element to to make the resource attribute more powerful. * ${} property expansion will now be performed on the patterns read from files specified as includesfile or excludesfile attributes. Fixed bugs: ----------- * doesn't use deprectated methods anymore. * javadoc's failonerror attribute works again * Changed task so that printing result sets works on Oracle * Changes to ddcreator and ejbc helper to respect the descriptor hierarchy keppgenerated in ejbc can now be turned off * ejbjar now correctly ignores elements in the deployment descriptor. CMP files are included by parsing the weblogic deployment descriptor rather than relying on the naming convention used in ant 1.2 Include super classes and super interfaces into the generated ejb jar files nested element allows support classes to be included in the EJB jar * now correctly deals with spaces in arguments * fails early if a given manifest file doesn't exist * doesn't search for the _Skel file anymore when stubversion is set to 1.2. * uses the the same classpath to verify a class can be rmic'd as it passes to the compiler. * org.apache.tools.mail.MailMessage (and therefore ) can now handle SMTP servers sending multi line responses. * nested elements of now work for s not nested into as well. * and will search for the resource "foo" instead of "/org/apache/tools/ant/taskdefs/foo" when given a relative resource name foo. * Handle build files in directories whose name contained a "#" character * can now log to files whose name contains a comma as well. Changes from Ant 1.1 to Ant 1.2 =============================== Changes that could break older environments: -------------------------------------------- * Semantics of has changed again in the hope to be more intuitive. ${} expansion now happens at runtime and tags living inside of targets only take effect if they are visited at runtime. As a side effect of this change, task's attributes get set at runtime not at parser time as well, which might change the results of