| | 7 | * The subant task used the canonical version of a file path. This |
|---|
| | 8 | has been changed to use the absolute path. Bugzilla 30438. |
|---|
| | 9 | |
|---|
| | 10 | * Tar now writes two EOF blocks rather than one. |
|---|
| | 11 | Bugzilla report 28776 |
|---|
| | 12 | |
|---|
| | 13 | * The Reference object now has a project field which it uses in preference |
|---|
| | 14 | to the project passed in. This allows composite references to be |
|---|
| | 15 | handled to nested projects. |
|---|
| | 16 | Bugzilla report 25777 |
|---|
| | 17 | |
|---|
| | 18 | * <junit> with filtertrace="true" will now also swallow lines for the |
|---|
| | 19 | sun.reflect package. If you need to see them in your stack trace, |
|---|
| | 20 | you must set filtertrace to false. |
|---|
| | 21 | Bugzilla Report 22758 |
|---|
| | 22 | |
|---|
| | 23 | * The jikes compiler adapter now supports -bootclasspath, -extdirs and |
|---|
| | 24 | -sourcepath and also uses the same logic for debug flags as javac. |
|---|
| | 25 | This means, the jikes compiler adapter now requires Jikes 1.15 or later. |
|---|
| | 26 | Bugzilla Reports 25868, 26404 and 32609. |
|---|
| | 27 | |
|---|
| | 28 | * Targets with identical name work in imported project. Bugzilla Report 34566. |
|---|
| | 29 | |
|---|
| | 30 | * The gcj compiler adapter used to include the Java runtime classes |
|---|
| | 31 | even if includeJavaRuntime was set to false, unless the |
|---|
| | 32 | bootclasspath has been specified as well. It will now always adhere |
|---|
| | 33 | to includeJavaRuntime, you may need to set it to true explicitly now |
|---|
| | 34 | if you relied on the old behavior. |
|---|
| | 35 | |
|---|
| | 36 | Other changes: |
|---|
| | 37 | -------------- |
|---|
| | 38 | |
|---|
| | 39 | * <javadoc> can now take an attribute 'executable'. Bugzilla report 30606. |
|---|
| | 40 | |
|---|
| | 41 | * New attribute ignorecontents for <different> selector |
|---|
| | 42 | |
|---|
| | 43 | * Javadoc fixes for Location, Project, and RuntimeConfigurable |
|---|
| | 44 | Bugzilla 30160. |
|---|
| | 45 | |
|---|
| | 46 | * Enable to choose the regexp implementation without system property. |
|---|
| | 47 | Bugzilla Report 15390. |
|---|
| | 48 | |
|---|
| | 49 | * Expose objects and methods in IntrospectionHelper. Bugzilla Report 30794. |
|---|
| | 50 | |
|---|
| | 51 | * Allow file attribute of <move> to rename a directory. |
|---|
| | 52 | Bugzilla Report 22863. |
|---|
| | 53 | |
|---|
| | 54 | * Add xmlcatalog nested element to XmlProperty. Bugzilla report 27053. |
|---|
| | 55 | |
|---|
| | 56 | * New attribute alwayslog for <redirector> type. |
|---|
| | 57 | |
|---|
| | 58 | * Added <target> nested elements to <ant> and <antcall> to allow |
|---|
| | 59 | specification of multiple sub-build targets, which are executed |
|---|
| | 60 | with a single dependency analysis. |
|---|
| | 61 | |
|---|
| | 62 | * Refactored Target invocation into org.apache.tools.ant.Executor |
|---|
| | 63 | implementations. Bugzilla Reports 21421, 29248. |
|---|
| | 64 | |
|---|
| | 65 | * <rmic> now also supports Kaffe's rmic version shipping with Kaffe |
|---|
| | 66 | 1.1.2 and above. |
|---|
| | 67 | |
|---|
| | 68 | * added casesensitive attribute to <globmapper> and <regexpmapper> |
|---|
| | 69 | Bugzilla report 16686 |
|---|
| | 70 | |
|---|
| | 71 | * added handledirsep attribute to <globmapper> and <regexpmapper> |
|---|
| | 72 | Bugzilla report 32487 |
|---|
| | 73 | |
|---|
| | 74 | * added a new mapper <filtermapper> |
|---|
| | 75 | |
|---|
| | 76 | * When a BuildListener tried to access System.err or System.out, Ant |
|---|
| | 77 | would have thrown an exception - this has been changed. Ant now |
|---|
| | 78 | silently ignores the message. BuildListeners still should avoid |
|---|
| | 79 | accessing either stream. |
|---|
| | 80 | |
|---|
| | 81 | * Added a comment attribute to the zip task. |
|---|
| | 82 | Bugzilla report 22793. |
|---|
| | 83 | |
|---|
| | 84 | * Overloaded FileUtils.createNewFile with a boolean mkdirs attribute |
|---|
| | 85 | to create nonexistent parent directories. |
|---|
| | 86 | |
|---|
| | 87 | * <apply> has a new "force" attribute that, when true, disables |
|---|
| | 88 | checking of target files. |
|---|
| | 89 | |
|---|
| | 90 | * Made the dest attribute of the apply task optional; mapped target |
|---|
| | 91 | filenames will be interpreted as absolute pathnames when dest is omitted. |
|---|
| | 92 | |
|---|
| | 93 | * Changed default tempdir for <javac> from user.dir to java.io.tmpdir. |
|---|
| | 94 | |
|---|
| | 95 | * Added searchpath attribute to <exec> for searching path variable(s) |
|---|
| | 96 | when resolveexecutable = true. |
|---|
| | 97 | |
|---|
| | 98 | * Added revision and userid attributes to <pvcs> documentation. |
|---|
| | 99 | |
|---|
| | 100 | * Added support to the touch task for a mkdirs attribute to create |
|---|
| | 101 | nonexistent parent directories before touching new files. |
|---|
| | 102 | |
|---|
| | 103 | * Added support to the touch task for a pattern attribute to allow |
|---|
| | 104 | alternate datetime formats. |
|---|
| | 105 | |
|---|
| | 106 | * Added support to the touch task to map touched files using a nested |
|---|
| | 107 | mapper element. |
|---|
| | 108 | |
|---|
| | 109 | * Added support to the touch task for a verbose attribute to suppress |
|---|
| | 110 | logging of new file creation. |
|---|
| | 111 | |
|---|
| | 112 | * bad link in docs to the enhancement page in bugzilla. |
|---|
| | 113 | Bugzilla report 33252. |
|---|
| | 114 | |
|---|
| | 115 | * Added length task to get strings' and files' lengths. |
|---|
| | 116 | |
|---|
| | 117 | * <native2ascii> and <javah> now also support Kaffe's versions. |
|---|
| | 118 | |
|---|
| | 119 | * Recursive token expansion in a filterset can now be disabled by |
|---|
| | 120 | setting its recurse attribute to false. |
|---|
| | 121 | |
|---|
| | 122 | * Pathconvert no longer requires that one of (targetos|pathsep|dirsep) |
|---|
| | 123 | be set; platform defaults are used when this is the case. |
|---|
| | 124 | |
|---|
| | 125 | * Added preservelastmodified attribute to fixcrlf task. Bugzilla 25770. |
|---|
| | 126 | |
|---|
| | 127 | * Added isfileselected condition. |
|---|
| | 128 | |
|---|
| | 129 | * Added verbose="true|false" attribute to <subant>. When verbose is enabled, |
|---|
| | 130 | the directory name is logged on entry and exit of the sub-build. Bugzilla 33787. |
|---|
| | 131 | |
|---|
| | 132 | * Added -nouserlib option to allow running ant without automatically loading |
|---|
| | 133 | up ${user.home}/.lib/ant. This is useful when compiling ant, and antlibs. |
|---|
| | 134 | Modified the build.sh and build.bat to use the option. |
|---|
| | 135 | |
|---|
| | 136 | * Added -noclasspath option to allow running ant WITHOUT using CLASSPATH env |
|---|
| | 137 | variable. Modified ant.bat to do this so that %CLASSPATH% is not looked at. |
|---|
| | 138 | |
|---|
| | 139 | * Add else attribute to the condition task, which specifies an |
|---|
| | 140 | optional alternate value to set the property to if the nested |
|---|
| | 141 | condition evaluates to false. Bugzilla report 33074. |
|---|
| | 142 | |
|---|
| | 143 | * Ant generated jar files should now be detected as jar files by |
|---|
| | 144 | Solaris. Bugzilla Report 32649. |
|---|
| | 145 | |
|---|
| | 146 | * Added two tutorials |
|---|
| | 147 | - beginner: introduction into Ant |
|---|
| | 148 | - task developers: using path, fileset etc |
|---|
| | 149 | |
|---|
| | 150 | * <rpm> has new attributes failonerror and quiet. |
|---|
| | 151 | |
|---|
| | 152 | Fixed bugs: |
|---|
| | 153 | ----------- |
|---|
| | 154 | |
|---|
| | 155 | * Do not pass on ThreadDeath when halting <java fork="false">. Bugzilla |
|---|
| | 156 | 32941. |
|---|
| | 157 | |
|---|
| | 158 | * Killing a thread running <java fork="true"> (e.g. from an IDE) would |
|---|
| | 159 | not stop the forked process. Bugzilla 31928. |
|---|
| | 160 | |
|---|
| | 161 | * Programs run with <java fork="true"> can now accept standard input |
|---|
| | 162 | from the Ant console. (Programs run with <java fork="false"> could |
|---|
| | 163 | already do so.) Bugzilla 24918. |
|---|
| | 164 | |
|---|
| | 165 | * AbstractCvsTask prematurely closed its outputStream and errorStream. |
|---|
| | 166 | Bugzilla 30097. |
|---|
| | 167 | |
|---|
| | 168 | * Impossible to use implicit classpath for <taskdef> |
|---|
| | 169 | when Ant core loader != Java application loader and |
|---|
| | 170 | Path.systemClassPath taken from ${java.class.path} Bugzilla 30161. |
|---|
| | 171 | |
|---|
| | 172 | * MacroInstance did not clean up nested elements correctly in the execute |
|---|
| | 173 | method, causing multiple use of the same macro instance with nested |
|---|
| | 174 | elements to fail. |
|---|
| | 175 | |
|---|
| | 176 | * checksum fileext property doc wrong. Bugzilla 30787. |
|---|
| | 177 | |
|---|
| | 178 | * FTP task, getTimeDiff method was returning wrong value. Bugzilla 30595. |
|---|
| | 179 | |
|---|
| | 180 | * Zip task was not zipping when only empty directories were found. |
|---|
| | 181 | Bugzilla 30365. |
|---|
| | 182 | |
|---|
| | 183 | * Jar task was not including manifest files when duplicate="preserve" was |
|---|
| | 184 | chosen. Bugzilla 32802. |
|---|
| | 185 | |
|---|
| | 186 | * Classpath was treated in the same way as -lib options. Bugzilla 28046. |
|---|
| | 187 | |
|---|
| | 188 | * Manual page for cvsversion contained incorrect attributes and did not |
|---|
| | 189 | say since 1.6.1. Bugzilla 31408. |
|---|
| | 190 | |
|---|
| | 191 | * Typo in definition of <cvsversion> task causing it not to be defined. |
|---|
| | 192 | Bugzilla 31403. |
|---|
| | 193 | |
|---|
| | 194 | * Execution of top level tasks in imported files get delayed by targets. |
|---|
| | 195 | Bugzilla report 31487. |
|---|
| | 196 | |
|---|
| | 197 | * ExecTask executes checkConfiguration() even though os does not match. |
|---|
| | 198 | Bugzilla report 31805. |
|---|
| | 199 | |
|---|
| | 200 | * Concat task instance could not be run twice. |
|---|
| | 201 | Bugzilla report 31814. |
|---|
| | 202 | |
|---|
| | 203 | * NPE using XmlLogger and antlib. |
|---|
| | 204 | Bugzilla report 31840. |
|---|
| | 205 | |
|---|
| | 206 | * Properties.propertyNames() should be used instead of .keys(). |
|---|
| | 207 | Bugzilla report 27261. |
|---|
| | 208 | |
|---|
| | 209 | * Target location is not set for default target. |
|---|
| | 210 | Bugzilla report 32267. |
|---|
| | 211 | |
|---|
| | 212 | * Incorrect classloader parent in junittask when using with |
|---|
| | 213 | ant-junit.jar and junit.jar not in the project classloader. Bugzilla |
|---|
| | 214 | report 28474. |
|---|
| | 215 | |
|---|
| | 216 | * getResources() on the classloader returned by ClasspathUtils would |
|---|
| | 217 | see each resource twice - if the resource is in the project |
|---|
| | 218 | classpath and if the classloader is requested with a null path. |
|---|
| | 219 | |
|---|
| | 220 | * XMLValidate used URL#getFile rather than the ant method FileUtils#fromURI |
|---|
| | 221 | Bugzilla report 32508 |
|---|
| | 222 | |
|---|
| | 223 | * fixed Regexp-Mapper docs which gave outdated instructions (optional.jar) |
|---|
| | 224 | Bugzilla report 28584 |
|---|
| | 225 | |
|---|
| | 226 | * <scp> using <fileset> didn't work with OpenSSH 3.9 and later. |
|---|
| | 227 | Bugzilla report 31939 |
|---|
| | 228 | |
|---|
| | 229 | * <setproxy> failed to set user/password on some JDKs. |
|---|
| | 230 | Bugzilla report 32667 |
|---|
| | 231 | |
|---|
| | 232 | * untar would go into infinite loop for some invalid tar files. |
|---|
| | 233 | Bugzilla report 29877 |
|---|
| | 234 | |
|---|
| | 235 | * forked <javac> won't pass -source to a JDK 1.1 or 1.2 javac anymore. |
|---|
| | 236 | Bugzilla report 32948 |
|---|
| | 237 | |
|---|
| | 238 | * propertyset references did not handle nested propertyset references. |
|---|
| | 239 | |
|---|
| | 240 | * oata.types.Description.getDescription(Project) would throw a |
|---|
| | 241 | NullPointerException when the "ant.targets" reference was unset. |
|---|
| | 242 | |
|---|
| | 243 | * Wrapper scripts did not detect WINNT value of dynamic OS environment |
|---|
| | 244 | variable when logged into workstations using Novell authentication. |
|---|
| | 245 | Bugzilla Report 30366. |
|---|
| | 246 | |
|---|
| | 247 | * DependScanner.getResource() always returned nonexistent resources, |
|---|
| | 248 | even when the resource actually existed. Bugzilla Report 30558. |
|---|
| | 249 | |
|---|
| | 250 | * <apply> was broken with classfilesets. Bugzilla Report 30567. |
|---|
| | 251 | |
|---|
| | 252 | * <available> returned false positives when checking a file |
|---|
| | 253 | passed in with the current basedir leading twice: |
|---|
| | 254 | e.g. ${basedir}${file.separator}${basedir}${file.separator}foo . |
|---|
| | 255 | |
|---|
| | 256 | * The first file open that took place when using input files with the |
|---|
| | 257 | <exec>, <apply>, or <java> tasks was always logged to System.out |
|---|
| | 258 | instead of to the managing Task. |
|---|
| | 259 | |
|---|
| | 260 | * <telnet> and <rexec> would try to disconnect from servers they never |
|---|
| | 261 | connetced to, potentially leading to exceptions in commons-net. |
|---|
| | 262 | Bugzilla Report 33618. |
|---|
| | 263 | |
|---|
| | 264 | * <zip> would drop files matched by defaultexcludes during updates. |
|---|
| | 265 | Bugzilla Report 33412. |
|---|
| | 266 | |
|---|
| | 267 | * <zip> couldn't store files with size between 2GB and 4GB (the |
|---|
| | 268 | upper limit set by the ZIP format itself). Bugzilla Report 33310. |
|---|
| | 269 | |
|---|
| | 270 | * NPE when when <presetdef> tries to configure a task that |
|---|
| | 271 | cannot be instantiated. Bugzilla Report 33689. |
|---|
| | 272 | |
|---|
| | 273 | * <javac debug="false"> created an invalid command line when running |
|---|
| | 274 | the Symantec Java compiler. |
|---|
| | 275 | |
|---|
| | 276 | * Get with usetimestamp did not work on Java 1.2. |
|---|
| | 277 | |
|---|
| | 278 | * Get with usetimestamp did not work when local timestamp roughly >= now. |
|---|
| | 279 | |
|---|
| | 280 | * The framed JUnit report now handles multiple reports for the same |
|---|
| | 281 | testcase properly. Bugzilla Report 32745. |
|---|
| | 282 | |
|---|
| | 283 | * <cab> didn't work for files with spaces in their names on Windows. |
|---|
| | 284 | Bugzilla Report 17182. |
|---|
| | 285 | |
|---|
| | 286 | * The VAJ tasks could fail if the project name contained characters |
|---|
| | 287 | that need to get URL encoded. Bugzilla Report 23322. |
|---|
| | 288 | |
|---|
| | 289 | * The FTP task could crash with an ArrayIndexOutOfBoundsException |
|---|
| | 290 | Bugzilla Report 28797 |
|---|
| | 291 | |
|---|
| | 292 | * Improved handling of paths on cygwin |
|---|
| | 293 | Bugzilla Report 31245 |
|---|
| | 294 | |
|---|
| | 295 | * TarInputStream#read() wasn't implemented correctly. Bugzilla Report |
|---|
| | 296 | 34097. |
|---|
| | 297 | |
|---|
| | 298 | * <xslt> failed to process file-hierarchies of more than one level if |
|---|
| | 299 | scanincludeddirectories was true. Bugzilla Report 24866. |
|---|
| | 300 | |
|---|
| | 301 | * forkmode="perBatch" or "once" would ignore extension attributes that |
|---|
| | 302 | had been specified for <formatter>s. Bugzilla Report 32973. |
|---|
| | 303 | |
|---|
| | 304 | * minor performance update of Locator.fromUri. Bugzilla Report 34529. |
|---|
| | 305 | |
|---|
| | 306 | * The refid attribute of the I/O redirector was not functional. |
|---|
| | 307 | |
|---|
| | 308 | * SQL task would try access result sets of statements that didn't |
|---|
| | 309 | return any, causing problems with Informix IDS 9.2 and IBM DB2 8.1 |
|---|
| | 310 | FixPak 6 (or later). Bugzilla Reports 27162 and 29954. |
|---|
| | 311 | |
|---|
| | 312 | * make sure that Zip and its derivates call the createEmptyZip method when |
|---|
| | 313 | there are no resources to zip/jar/... |
|---|
| | 314 | |
|---|
| | 315 | * ant.bat was missing runAntNoClasspath label for goto. |
|---|
| | 316 | Bugzilla 34510. |
|---|
| | 317 | |
|---|
| | 318 | |
|---|
| | 319 | Changes from Ant 1.6.1 to Ant 1.6.2 |
|---|
| | 320 | =================================== |
|---|
| | 321 | |
|---|
| | 322 | Changes that could break older environments: |
|---|
| | 323 | -------------------------------------------- |
|---|
| | 324 | |
|---|
| | 325 | * The import task used the canonical version of a file path. This |
|---|
| | 326 | has been changed to use the absolute path. Bugzilla 28505. |
|---|
| | 327 | |
|---|
| | 328 | * ant-xalan2.jar has been removed since the only class contained in it |
|---|
| | 329 | didn't depend on Xalan-J 2 at all. Its sole dependency has always |
|---|
| | 330 | been TraX and so it has been merged into ant-trax.jar. |
|---|
| | 331 | |
|---|
| | 332 | * All exceptions thrown by tasks are now wrapped in a buildexception |
|---|
| | 333 | giving the location in the buildfile of the task. |
|---|
| | 334 | |
|---|
| | 335 | * Nested elements for namespaced tasks and types may belong to the |
|---|
| | 336 | Ant default namespace as well as the task's or type's namespace. |
|---|
| | 337 | |
|---|
| | 338 | * <junitreport> will very likely no longer work with Xalan-J 1. |
|---|
| | 339 | |
|---|
| | 340 | Note that Xalan-J 1 has been deprecated for a very long time and we |
|---|
| | 341 | highly recommend that you upgrade. |
|---|
| | 342 | |
|---|
| | 343 | If you really need to continue using Xalan-J 1, please copy the |
|---|
| | 344 | junit-frames-xalan1.xsl from the distribution's etc directory as |
|---|
| | 345 | junit-frames.xsl into a new directory and use the task's styledir |
|---|
| | 346 | attribute to point to. This is the last version of the XSLT |
|---|
| | 347 | stylesheet that is expected to be compatible with Xalan-J 1. |
|---|
| | 348 | |
|---|
| | 349 | * <csc>'s extraoptions can now contain multiple arguments. |
|---|
| | 350 | Bugzilla Report 23599. |
|---|
| | 351 | |
|---|
| | 352 | * <macrodef> with default values set by properties would be |
|---|
| | 353 | seen as new definitions when called twice with different properties. |
|---|
| | 354 | This was confusing so the definitions are now treated as similar. |
|---|
| | 355 | Bugzilla Report 31215. |
|---|
| | 356 | |
|---|
| | 357 | * <javadoc> has a new attribute "includenosourcepackages" that can be |
|---|
| | 358 | used to document packages that don't hold source files but a |
|---|
| | 359 | package.html file. Bugzilla Report 25339. |
|---|
| | 360 | |
|---|
| | 361 | Fixed bugs: |
|---|
| | 362 | ----------- |
|---|
| | 363 | |
|---|
| | 364 | * eliminate memory leak in AntClassLoader. Bugzilla Report 8689. |
|---|
| | 365 | |
|---|
| | 366 | * subant haltonfailure=false did not catch all failures. Bugzilla Report 27007. |
|---|
| | 367 | |
|---|
| | 368 | * macrodef @@ escaping was broken. Bugzilla Report 27069. |
|---|
| | 369 | |
|---|
| | 370 | * SQL task did not work with Informix IDS 9.2. Bugzilla Report 27162. |
|---|
| | 371 | |
|---|
| | 372 | * MacroDef did not allow attributes named 'description'. Bugzilla Report 27175. |
|---|
| | 373 | |
|---|
| | 374 | * Throw build exception if name attribute missing from patternset#NameEntry. |
|---|
| | 375 | Bugzilla Report 25982. |
|---|
| | 376 | |
|---|
| | 377 | * Throw build exception if target repeated in build file, but allow targets |
|---|
| | 378 | to be repeated in imported files. |
|---|
| | 379 | |
|---|
| | 380 | * <apply> didn't compare timestamps of source and targetfiles when |
|---|
| | 381 | using a nested <filelist>. Bugzilla Report 26985. |
|---|
| | 382 | |
|---|
| | 383 | * tagdiff.xml was broken in ant 1.6.1. Bugzilla Report 27057. |
|---|
| | 384 | |
|---|
| | 385 | * if the basedir contained .. or . dirs, and the build file name contained |
|---|
| | 386 | .. or ., the basedir was set incorrectly. Bugzilla Report 26765. |
|---|
| | 387 | |
|---|
| | 388 | * regression from ant 1.5, exec task outputted two redundant trailing newlines. |
|---|
| | 389 | Bugzilla Report 27546. |
|---|
| | 390 | |
|---|
| | 391 | * NPE when running commons listener. Bugzilla Report 27373. |
|---|
| | 392 | |
|---|
| | 393 | * <java> swallowed the stack trace of exceptions thrown by the |
|---|
| | 394 | executed program if run in the same VM. |
|---|
| | 395 | |
|---|
| | 396 | * -projecthelp swallowed (configuration) errors silently. |
|---|
| | 397 | Bugzilla report 27732. |
|---|
| | 398 | |
|---|
| | 399 | * filterset used by filtertask doesn't respect loglevel. Bugzilla Report 27568. |
|---|
| | 400 | |
|---|
| | 401 | * wrong compare used in ProjectComponent for logging. Bugzilla Report 28070. |
|---|
| | 402 | |
|---|
| | 403 | * failOnAny attribute for <parallel> was broken. Bugzilla Report 28122. |
|---|
| | 404 | |
|---|
| | 405 | * If <javac> uses gcj and any of the nested <compilerarg>s implies |
|---|
| | 406 | compilation to native code (like -o or --main), Ant will not pass |
|---|
| | 407 | the -C switch to gcj. This means you can now compile to native code |
|---|
| | 408 | with gcj which has been impossible in Ant < 1.6.2. |
|---|
| | 409 | |
|---|
| | 410 | * <import optional="false"> and <import optional="true"> |
|---|
| | 411 | behaved identically. |
|---|
| | 412 | |
|---|
| | 413 | * <xslt> now sets the context classloader if you've specified a nested |
|---|
| | 414 | <classpath>. Bugzilla Report 24802. |
|---|
| | 415 | |
|---|
| | 416 | * <zip> and friends would delete the original file when trying to update |
|---|
| | 417 | a read-only archive. Bugzilla Report 28419. |
|---|
| | 418 | |
|---|
| | 419 | * <junit> and <assertions> are working together. Bugzilla report 27218 |
|---|
| | 420 | |
|---|
| | 421 | * AntClassLoader#getResource could return invalid URLs. Bugzilla |
|---|
| | 422 | Report 28060. |
|---|
| | 423 | |
|---|
| | 424 | * Ant failed to locate tools.jar if the jre directory name wasn't all |
|---|
| | 425 | lowercase. Bugzilla Report 25798. |
|---|
| | 426 | |
|---|
| | 427 | * Redirector exhibited inconsistent behavior with regard to split |
|---|
| | 428 | output. When sent to file only, files would be created in all |
|---|
| | 429 | cases; when split file-property, files were only created if |
|---|
| | 430 | writes were performed. |
|---|
| | 431 | |
|---|
| | 432 | * fixed case handling of scriptdef attributes and elements. |
|---|
| | 433 | |
|---|
| | 434 | * UNC pathnames did not work for ANT_HOME or -lib locations on Windows. |
|---|
| | 435 | Bugzilla report 27922. |
|---|
| | 436 | |
|---|
| | 437 | * replacestring tokenfilter only replaced the first occurrence. |
|---|
| | 438 | |
|---|
| | 439 | * AntLikeTasksAtTopLevelTest failed on cygwin. |
|---|
| | 440 | |
|---|
| | 441 | * I/O-intensive processes hung when executed via <exec spawn="true">. |
|---|
| | 442 | Bugzilla reports 23893/26852. |
|---|
| | 443 | |
|---|
| | 444 | * JDependTask did not close an output file. Bugzilla Report 28557. |
|---|
| | 445 | |
|---|
| | 446 | * Using <macrodef> could break XmlLogger. Bugzilla Report 28993. |
|---|
| | 447 | |
|---|
| | 448 | * <genkey> no longer requires keytool to be in your PATH. Bugzilla |
|---|
| | 449 | Report 29382. |
|---|
| | 450 | |
|---|
| | 451 | * <symlink> could create cyclic links. Bugzilla Report 25181. |
|---|
| | 452 | |
|---|
| | 453 | * <zip whenempty="skip"> didn't work in a common situation. Bugzilla |
|---|
| | 454 | Report 22865. |
|---|
| | 455 | |
|---|
| | 456 | * <scp> now properly handles remote files and directories with spaces |
|---|
| | 457 | in their names. Bugzilla Report 26097. |
|---|
| | 458 | |
|---|
| | 459 | * <scp> now has (local|remote)tofile attributes to rename files on the |
|---|
| | 460 | fly. Bugzilla Report 26758. |
|---|
| | 461 | |
|---|
| | 462 | * <telnet> and <rexec> didn't close the session. Bugzilla Report 25935. |
|---|
| | 463 | |
|---|
| | 464 | * <subant> and XmlLogger didn't play nicley together. |
|---|
| | 465 | |
|---|
| | 466 | Other changes: |
|---|
| | 467 | -------------- |
|---|
| | 468 | * doc fix concerning the dependencies of the ftp task |
|---|
| | 469 | Bugzilla Report 29334. |
|---|
| | 470 | |
|---|
| | 471 | * <xmlvalidate> has now a property nested element, |
|---|
| | 472 | allowing to set string properties for the parser |
|---|
| | 473 | Bugzilla Report 23395. |
|---|
| | 474 | |
|---|
| | 475 | * Docs fixes for xmlvalidate.html, javadoc.html, starteam. |
|---|
| | 476 | Bugzilla Reports 27092, 27284, 27554. |
|---|
| | 477 | |
|---|
| | 478 | * <pathconvert> now accepts nested <mapper>s. Bugzilla Report 26364. |
|---|
| | 479 | |
|---|
| | 480 | * Shipped XML parser is now Xerces-J 2.6.2. |
|---|
| | 481 | |
|---|
| | 482 | * Added nested file element to filelist. |
|---|
| | 483 | |
|---|
| | 484 | * spelling fixes, occurred. Bugzilla Report 27282. |
|---|
| | 485 | |
|---|
| | 486 | * add uid and gid to tarfileset. Bugzilla Report 19120. |
|---|
| | 487 | |
|---|
| | 488 | * <scp> has a verbose attribute to get some feedback during the |
|---|
| | 489 | transfer and new [local|remote][File|Todir] alternatives to file and |
|---|
| | 490 | todir that explicitly state the direction of the transfer. |
|---|
| | 491 | |
|---|
| | 492 | * The OS/2 wrapper scripts have been adapted to use the new launcher. |
|---|
| | 493 | Bugzilla Report 28226. |
|---|
| | 494 | |
|---|
| | 495 | * <sshexec> now also captures stderr output. Bugzilla Report 28349. |
|---|
| | 496 | |
|---|
| | 497 | * <xslt> now supports a nested <mapper>. Bugzilla Report 11249. |
|---|
| | 498 | |
|---|
| | 499 | * <touch> has filelist support. |
|---|
| | 500 | |
|---|
| | 501 | * <nice> task lets you set the priority of the current thread; non-forking |
|---|
| | 502 | <java> code will inherit this priority in their main thread. |
|---|
| | 503 | |
|---|
| | 504 | * New attribute "negate" on <propertyset> to invert selection criteria. |
|---|
| | 505 | |
|---|
| | 506 | * Target now supports a Location member. Bugzilla Report 28599. |
|---|
| | 507 | |
|---|
| | 508 | * New "pattern" attribute for <date> selector. |
|---|
| | 509 | |
|---|
| | 510 | * <junit> has a new forkmode attribute that controls the number of |
|---|
| | 511 | Java VMs that get created when forking tests. This allows you to |
|---|
| | 512 | run all tests in a single forked JVM reducing the overhead of VM |
|---|
| | 513 | creation a lot. Bugzilla Report 24697. |
|---|
| | 514 | |
|---|
| | 515 | * <jar> can now optionally create an index for jars different than the |
|---|
| | 516 | one it currently builds as well. See the new <indexjars> element |
|---|
| | 517 | for details. Bugzilla Report 14255. |
|---|
| | 518 | |
|---|
| | 519 | * Permit building under JDK 1.5. Bugzilla Report 28996. |
|---|
| | 520 | |
|---|
| | 521 | * minor Javadoc changes. Bugzilla Report 28998. |
|---|
| | 522 | |
|---|
| | 523 | * Misc. corrections in SignJar.java. Bugzilla Report 28999. |
|---|
| | 524 | |
|---|
| | 525 | * Remove redundant <hr> from javah.html. Bugzilla Report 28995. |
|---|
| | 526 | |
|---|
| | 527 | * Ignore built distributions. Bugzilla Report 28997. |
|---|
| | 528 | |
|---|
| | 529 | * A new roundup attribute on <zip> and related task can be used to |
|---|
| | 530 | control whether the file modification times inside the archive will |
|---|
| | 531 | be rounded up or down (since zips only store modification times with |
|---|
| | 532 | a granularity of two seconds). The default remains to round up. |
|---|
| | 533 | Bugzilla Report 17934. |
|---|
| | 534 | |
|---|
| | 535 | * A binary option has been added to <concat>. Bugzilla Report 26312. |
|---|
| | 536 | |
|---|
| | 537 | * Added DynamicConfiguratorNS, an namespace aware version of |
|---|
| | 538 | DynamicConfigurator. Bugzilla Report 28436. |
|---|
| | 539 | |
|---|
| | 540 | * Add implicit nested element to <macrodef>. Bugzilla Report 25633. |
|---|
| | 541 | |
|---|
| | 542 | * Add deleteonexit attribute to <delete>. |
|---|
| | 543 | |
|---|
| | 544 | * Added Target.getIf/Unless(). Bugzilla Report 29320. |
|---|
| | 545 | |
|---|
| | 546 | * <fail> has a status attribute that can be used to pass an exit |
|---|
| | 547 | status back to the command line. |
|---|
| | 548 | |
|---|
| | 549 | * <fail> accepts a nested <condition>. |
|---|
| | 550 | |
|---|
| | 551 | * <loadproperties> supports loading from a resource. |
|---|
| | 552 | Bugzilla Report 28340. |
|---|
| | 553 | |
|---|
| | 554 | * Nested file mappers and a container mapper implementation have been |
|---|
| | 555 | introduced. Additionally, the <mapper> element now accepts "defined" |
|---|
| | 556 | nested FileNameMapper implementations directly, allowing a usage |
|---|
| | 557 | comparable to those of <condition>, <filter>, and <selector>. |
|---|
| | 558 | |
|---|
| | 559 | * New <redirector> type introduced to provide extreme I/O flexibility. |
|---|
| | 560 | Initial support for <exec>, <apply>, and <java> tasks. |
|---|
| | 561 | |
|---|
| | 562 | * <apply> has a new ignoremissing attribute (default true for BC) |
|---|
| | 563 | which will allow nonexistent files specified via <filelist>s to |
|---|
| | 564 | be passed to the executable. Bugzilla Report 29585. |
|---|
| | 565 | |
|---|
| | 566 | * <junitreport> now also works with Xalan XSLTC and/or JDK 1.5. |
|---|
| | 567 | Bugzilla Report 27541. |
|---|
| | 568 | |
|---|
| | 569 | * <jspc> doesn't work properly with Tomcat 5.x. We've implemented a |
|---|
| | 570 | work-around but don't intend to support future changes in Tomcat |
|---|
| | 571 | 5.x. Please use the jspc task that ships with Tomcat instead of |
|---|
| | 572 | Ant's. |
|---|
| | 573 | |
|---|
| | 574 | Changes from Ant 1.6.0 to Ant 1.6.1 |
|---|
| | 575 | ============================================= |
|---|
| | 576 | |
|---|
| | 577 | Changes that could break older environments: |
|---|
| | 578 | -------------------------------------------- |
|---|
| | 579 | |
|---|
| 78 | | * added support the groovy language in the script and scriptdef tasks. |
|---|
| 79 | | |
|---|
| 80 | | |
|---|
| 81 | | Changes from Ant 1.6.B3 to Ant 1.6.0 |
|---|
| 82 | | ==================================== |
|---|
| 83 | | |
|---|
| 84 | | Changes that could break older environments: |
|---|
| 85 | | -------------------------------------------- |
|---|
| 86 | | |
|---|
| 87 | | * Attempts to read input in <java> and <exec> tasks will now receive an EOF |
|---|
| 88 | | rather than blocking. If you run such a process and rely on it blocking, as |
|---|
| 89 | | it would do in Ant 1.5, you may have problem. |
|---|
| 90 | | |
|---|
| 91 | | * <checksum> message "calculating checksum" downgraded to MSG_VERBOSE |
|---|
| 92 | | to limit output in case of large filesets. |
|---|
| 93 | | Bugzilla Report 25607. |
|---|
| 94 | | |
|---|
| 95 | | * Change logging level of captured standard error output from MSG_ERR to MSG_WARN. |
|---|
| 96 | | Previous some standard error was output as MSG_ERR and some as MSG_WARN (namely |
|---|
| 97 | | standard error from exec and forked jvms). |
|---|
| 98 | | |
|---|
| 99 | | Fixed bugs: |
|---|
| 100 | | ----------- |
|---|
| 101 | | |
|---|
| 102 | | * <xmlcatalog>s only worked when defined inside of tasks. Bugzilla |
|---|
| 103 | | Report 20965. |
|---|
| 104 | | |
|---|
| 105 | | * <xmlcatalog> Wrong file location to URL conversion in XMLCatalog. |
|---|
| 106 | | Bugzilla Report 23913. |
|---|
| 107 | | |
|---|
| 108 | | * <checksum> was throwing a null pointer exception, when used with nested filesets |
|---|
| 109 | | and totalproperty attribute not set. |
|---|
| 110 | | Bugzilla Report 25606. |
|---|
| 111 | | |
|---|
| 112 | | Other changes: |
|---|
| 113 | | -------------- |
|---|
| 114 | | |
|---|
| 115 | | Changes from Ant 1.6.B2 to Ant 1.6.B3 |
|---|
| 116 | | ===================================== |
|---|
| 117 | | |
|---|
| 118 | | Changes that could break older environments: |
|---|
| 119 | | -------------------------------------------- |
|---|
| 120 | | * Changed namespace processing. The namespace uri |
|---|
| 121 | | of nested elements of a type or a task are now the |
|---|
| 122 | | same as the type or task. Previously the namespace uri |
|---|
| 123 | | of nested elements was ant's namespace uri. This change will affect users |
|---|
| 124 | | of ant 1.6b1 and ant 1.6b2. |
|---|
| 125 | | |
|---|
| 126 | | * <csc>'s executable attribute defaults to mcs on non-Windows platforms. |
|---|
| 127 | | |
|---|
| 128 | | Fixed bugs: |
|---|
| 129 | | ----------- |
|---|
| 130 | | * the <java> task checks that the Main method of the class to be executed is static, |
|---|
| 131 | | and fails with a decent BuildException if it is not the case |
|---|
| 132 | | |
|---|
| 133 | | * a space at the end of the Ant-Version line of the default manifest has been removed |
|---|
| 134 | | |
|---|
| 135 | | * better debugging support for ApacheCatalogResolver |
|---|
| 136 | | Bugzilla Report 24070. |
|---|
| 137 | | |
|---|
| 138 | | * better report of exceptions in the renaming of the old file in <zip update="true"/> |
|---|
| 139 | | and the derived classes <jar>, ... |
|---|
| 140 | | |
|---|
| 141 | | * use of <parallel> and xmlns:prefix="antlib:package" |
|---|
| 142 | | |
|---|
| 143 | | * user and new arguments were swapped in PropertyHelper setNew and setUser. |
|---|
| 144 | | Bugzilla Report 23966. |
|---|
| 145 | | |
|---|
| 146 | | * <style/> be able to resolve entities inside stylesheets. |
|---|
| 147 | | |
|---|
| 148 | | * <csc> and other .NET tasks : fixed Error when compiling many source files. |
|---|
| 149 | | Bugzilla Report 19630. |
|---|
| 150 | | |
|---|
| 151 | | * <junit> Make properties available in timed-out tests. |
|---|
| 152 | | Bugzilla Report 23935. |
|---|
| 153 | | |
|---|
| 154 | | * <junit> Pull ant-launcher.jar in the runtime as well. |
|---|
| 155 | | |
|---|
| 156 | | * <telnet> : better support for people debugging timed out reads. |
|---|
| 157 | | |
|---|
| 158 | | * <ssh> : parse properly return codes from server. |
|---|
| 159 | | Also fix for Bugzilla Report 23986. |
|---|
| 160 | | |
|---|
| 161 | | * <scp> If remotedir has been omitted, make it default to "." . |
|---|
| 162 | | Bugzilla Report 23987. |
|---|
| 163 | | |
|---|
| 164 | | * starteam tasks : insure proper disconnect from the server. |
|---|
| 165 | | Bugzilla Report 24110. |
|---|
| 166 | | |
|---|
| 167 | | * <script>, <scriptdef> |
|---|
| 168 | | fix problem : script task cannot cope with undefined task/type elements in buildfile |
|---|
| 169 | | Bugzilla Report 23915. |
|---|
| 170 | | |
|---|
| 171 | | * <cvstagdiff> had a problem with aliased modules and with requests for multiple modules. |
|---|
| 172 | | Bugzilla Reports 21373 and 22877. |
|---|
| 173 | | |
|---|
| 174 | | * <cvstagdiff> could not parse properly the revision number of new files with CVS 1.11.9 or higher. |
|---|
| 175 | | Bugzilla Report 24406. |
|---|
| 176 | | |
|---|
| 177 | | * <ftp> null pointer exception when attempting rmdir in an empty directory. |
|---|
| 178 | | Bugzilla Report 24440. |
|---|
| 179 | | |
|---|
| 180 | | * <scp> could corrupt files when transfering lots of files. |
|---|
| 181 | | Bugzilla Report 24449. |
|---|
| 182 | | |
|---|
| 183 | | * <jdepend> Fix NPE |
|---|
| 184 | | Bugzilla Report 24344. |
|---|
| 185 | | |
|---|
| 186 | | |
|---|
| 187 | | Other changes: |
|---|
| 188 | | -------------- |
|---|
| 189 | | * Attributes in the template bodies of <macrodef> are now denoted by @{attribute} instead of ${attribute} |
|---|
| 190 | | |
|---|
| 191 | | * <concat> will expand properties entered in the text of the tag |
|---|
| 192 | | |
|---|
| 193 | | * <exec> resolution behavior (resolveexecutable attribute) has been improved |
|---|
| 194 | | |
|---|
| 195 | | * running.html has been augmented with a list of the magic properties |
|---|
| 196 | | |
|---|
| 197 | | * welcome.html documentation has been updated |
|---|
| 198 | | |
|---|
| 199 | | * Change default uri from ant:core to antlib:org.apache.tools.ant |
|---|
| 200 | | |
|---|
| 201 | | * upgrade to xml-apis.jar from Xerces-J 2.6.0. |
|---|
| 202 | | |
|---|
| 203 | | * Shipped XML parser is now Xerces 2.6.0 |
|---|
| 204 | | |
|---|
| 205 | | * set project for created targets. |
|---|
| 206 | | |
|---|
| 207 | | * make sure that the checkstyle stylesheets make their way into the distribution. |
|---|
| 208 | | |
|---|
| 209 | | * improve ant's own build file concerning the sources which depend upon bsf (rhino). |
|---|
| 210 | | |
|---|
| 211 | | * a number of documentation corrections. |
|---|
| 212 | | Bugzilla reports 24059, 24060, 24069, 24074. |
|---|
| 213 | | |
|---|
| 214 | | * replacement of accentuated characters in the source code (actually in JavaDoc comments) |
|---|
| 215 | | by UNICODE escapes. |
|---|
| 216 | | Bugzilla report 23919. |
|---|
| 217 | | |
|---|
| 218 | | * load all xml resources for typedef not just the first |
|---|
| 219 | | Bugzilla report 24024 |
|---|
| 220 | | |
|---|
| 221 | | * <presetdef> fix so that the preset attributes are optional and |
|---|
| 222 | | may be overridded (previosly the attributes were set twice) |
|---|
| 223 | | |
|---|
| 224 | | * provide stack for errors using import, ant, antcall, subant and macros |
|---|
| 225 | | |
|---|
| 226 | | * import task uses the FileUtils#resolveFile method to resolve the imported file, |
|---|
| 227 | | in order to avoid trouble on Windows or Netware |
|---|
| 228 | | |
|---|
| 229 | | * ignore attributes from different URIS |
|---|
| 230 | | |
|---|
| 231 | | * <jdepend> |
|---|
| 232 | | fix timeout attribute of jdepend |
|---|
| 233 | | add unit tests |
|---|
| 234 | | add includeruntime to allow unittests to run |
|---|
| 235 | | checkstyle |
|---|
| 236 | | Changes from Ant 1.6.B1 to Ant 1.6.B2 |
|---|
| 237 | | ===================================== |
|---|
| 238 | | |
|---|
| 239 | | Changes that could break older environments: |
|---|
| 240 | | -------------------------------------------- |
|---|
| 241 | | |
|---|
| 242 | | Fixed bugs: |
|---|
| 243 | | ----------- |
|---|
| 244 | | |
|---|
| 245 | | * fix usage of mixed case names of add(typedef) introspection. |
|---|
| 246 | | fix by moving the tolower method from unknownelement to introspectionhelper. |
|---|
| 247 | | |
|---|
| 248 | | * documentation added for -lib option used when starting ant via launcher |
|---|
| 249 | | Bugzilla Report 23454. |
|---|
| 250 | | |
|---|
| 251 | | * user-friendly messages added for incorrect use of -lib option |
|---|
| 252 | | Bugzilla Report 23454. |
|---|
| 253 | | |
|---|
| 254 | | * make <input/> be skipped when a property is already set |
|---|
| 255 | | Bugzilla Report 19967. |
|---|
| 256 | | |
|---|
| 257 | | * improved cleanup of temporary files |
|---|
| 258 | | this concerns <javadoc/>, <replace/>, <zip/>, <javac/>, <cvstagdiff/>, <cab/>, |
|---|
| 259 | | <replaceregexp/>, <junit/>, metamata tasks, sitraka tasks, <symlink/> |
|---|
| 260 | | temporary files are now marked with deleteOnExit |
|---|
| 261 | | Bugzilla Report 17512. |
|---|
| 262 | | |
|---|
| 263 | | * Reuse the resolution logic of <property> inside <loadproperties>. |
|---|
| 264 | | So <expandproperties/> is not needed any more together with <loadproperties/> |
|---|
| 265 | | Bugzilla Report 17782. |
|---|
| 266 | | |
|---|
| 267 | | * Comparison of TemplateElement(s) and Attribute(s) fixed inside macrodef. |
|---|
| 268 | | |
|---|
| 269 | | * Don't silently swallow exceptions when something is wrong with adding or removing |
|---|
| 270 | | shutdown hooks , Bugzilla Report 23609. |
|---|
| 271 | | |
|---|
| 272 | | * noinform attribute for Websphere element of <ejbjar/> |
|---|
| 273 | | Bugzilla Report 23535. |
|---|
| 274 | | |
|---|
| 275 | | * <junit/> (JunitTestRunner) |
|---|
| 276 | | Don't mask arbitrary exceptions when looking for a suite method. |
|---|
| 277 | | Bugzilla Report 23033. |
|---|
| 278 | | |
|---|
| 279 | | * <ftp/> fix problem with relative remotedir |
|---|
| 280 | | Bugzilla Report 23833. |
|---|
| 281 | | |
|---|
| 282 | | * ssh tasks : make .ssh/known_hosts optional |
|---|
| 283 | | |
|---|
| 284 | | * <vssget/> was sending a wrong command line prefix for labels -VL-Lsome.label |
|---|
| 285 | | this change fixes it to -VLsome.label instead |
|---|
| 286 | | |
|---|
| 287 | | * <zipfileset/> allow it to refer to a fileset, to which zipfileset specific attributes are added |
|---|
| 288 | | this solves one frequent use case in the <war/> task |
|---|
| 289 | | |
|---|
| 290 | | Other changes: |
|---|
| 291 | | -------------- |
|---|
| 292 | | |
|---|
| 293 | | * add an optional attribute to <import/> |
|---|
| 294 | | |
|---|
| 295 | | * upgrade protected access to public for setMacroDef for macroinstance object |
|---|
| 296 | | |
|---|
| 297 | | Changes from Ant 1.5.4 to Ant 1.6 |
|---|
| 298 | | ================================= |
|---|
| | 659 | * added support the groovy language in the script and scriptdef tasks |
|---|
| | 660 | |
|---|
| | 661 | Changes from Ant 1.5.4 to Ant 1.6.0 |
|---|
| | 662 | =================================== |
|---|