You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

WHATSNEW 81 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182
  1. Changes from Ant 1.5.3 to current CVS version
  2. =============================================
  3. Changes that could break older environments:
  4. --------------------------------------------
  5. * This version of Ant can not be built with JDK 1.1 and requires at
  6. least Java 1.2 at runtime as well. Compiling for a 1.1 target is
  7. still supported.
  8. * Targets cannot have the empty string as their name any longer.
  9. * ant.jar's manifest does no longer include a Class-Path entry, so it
  10. is no longer possible to run Ant via "java -jar ant.jar" without
  11. manually altering the CLASSPATH. Instead of that a file
  12. ant-bootstrap.jar is included in the etc directory of the binary
  13. distribution, copy this to the lib directory and use
  14. "java -jar ant-bootstrap.jar" instead if you want to run Ant without
  15. the wrapper script (not recommended).
  16. * The <script> task now requires Apache BSF instead of the older IBM
  17. version. See <http://jakarta.apache.org/bsf/>
  18. * <xmlproperty> will no longer fail if the file to be loaded doesn't exist.
  19. * XML namespaces are now enabled in the XML parser, meaning XML namespace
  20. declarations no longer cause errors.
  21. * The <ftp> and <telnet> tasks now require Jakarta Commons Net instead
  22. of the older ORO Netcomponents version. See
  23. <http://jakarta.apache.org/commons/net/index.html>.
  24. * If the Visual Age tasks used to work for you, they may stop doing so
  25. now - and we'd like to know about it. The current set of tasks is
  26. supposed to work with any version of VAJ starting with 3.0.
  27. Fixed bugs:
  28. -----------
  29. * Filter readers were not handling line endings properly. Bugzilla
  30. Report 18476.
  31. * Expand tasks did not behave as expected with PatternSets.
  32. * <property environment=... /> now works on OS/400.
  33. * <cab> could hang listcab on large <fileset>s.
  34. * The starteam stcheckout, stcheckin tasks now correctly compute
  35. status of files against whatever local tree they are run against
  36. and, optionally, will not process a file if it is current.
  37. Previously you had to process everything unless you ran against the
  38. default folder which wasn't the normal use-case for ant-starteam.
  39. The stlist task now similarly displays that status correctly making
  40. it a more generally useful tool.
  41. * entity includes would cause exceptions if path names included spaces.
  42. * addConfiguredXXX would not work for TaskAdapter wrapped tasks
  43. * Fix <ilasm> outputfile testing so that the output file does not need
  44. to exist beforehand.
  45. * Ant will now exit with a return code of 1 if it encounters problems
  46. with the command line arguments.
  47. * ClassLoader creation changes to use a factory method in Project. A new
  48. class AntClassLoader2 implemented for 1.2+ specific features including
  49. Package information and addition of classes specified in the Class-Path
  50. element of a Jar's manifest.
  51. * It is now possible in <exec> to resolve the executable to a project
  52. basedir or execution dir relative executable. The resolveExecutable
  53. must be used to pick up such executables.
  54. * splash screen wouldn't disappear when build was finished.
  55. * <exec> output and error streams can now be redirected independently
  56. to either a property or a file (or both)
  57. * TarEntry's File-arg constructor would fail with a
  58. StringIndexOutOfBoundsException on all OSes where os.name is shorter
  59. than seven characters. Bugzilla Report 18105.
  60. * <copy> and <move>'s failonerror didn't apply to filesets pointing to
  61. non-existant directories. Bugzilla Report 18414.
  62. * The <stripjavacomments> filter sometimes removed parts of string
  63. constants. Bugzilla Report 17441.
  64. * <antlr> will now recompile your grammar if the supergrammar has
  65. changed. Bugzilla Report 12691.
  66. * <property env> will now work on Unices with /bin/env instead of
  67. /usr/bin/env. Bugzilla Report 17642.
  68. * <jar index="on"> could include multiple index lists. Bugzilla 10262.
  69. * The index created by <jar> didn't conform to the spec as it didn't
  70. include the top-level entries. Bugzilla Report 16972.
  71. * <tar> and <zip> didn't honor the defaultexcludes attribute for the
  72. implicit fileset. Bugzilla Report 18637.
  73. * The <replacetokens> filter would throw an exception if the token's
  74. value was an empty string. Bugzilla Report 18625.
  75. * Perforce tasks relying on output from the server such as <p4change> and <p4label>
  76. were hanging. Bugzilla Reports 18129 and 18956.
  77. * build.sh install had a problem on cygwin (with REALANTHOME).
  78. Bugzilla Report 17257
  79. * <replaceregexp> didn't work for multi-byte encodings if byline was false.
  80. Bugzilla Report 19187.
  81. * file names that include spaces need to be quoted inside the @argfile
  82. argument using forked <javac> and JDK 1.4. Bugzilla Report 10499.
  83. * Setting filesonly to true in <zip> and related tasks would cause the
  84. archives to be always recreated. Bugzilla Report 19449.
  85. * The Visual Age for Java tasks didn't work (at least for versions 3.0
  86. and higher). Bugzilla Report 10016.
  87. * URL-encoding in <vaj*port> didn't work properly.
  88. Other changes:
  89. --------------
  90. * Six new Clearcase tasks added.
  91. * A new filter reader namely tokenfilter has been added. Bugzilla
  92. Report 18312.
  93. * A new attribute named skip is added to the TailFilter and
  94. HeadFilter filter readers.
  95. * Shipped XML parser is now Xerces 2.4.0
  96. * The filesetmanifest attribute of <jar> has been reenabled.
  97. * The start and end tokens for <translate> may now be longer than a
  98. single character.
  99. * <setproxy> lets you set the username and password for proxies that
  100. want authentication
  101. * <loadproperties> has a new encoding attribute.
  102. * <echoproperties> can now create XML output.
  103. * <echoproperties> has a new srcfile attribute that can make it read
  104. properties files and output them instead of Ant's properties.
  105. * <filterset> will now resolve filters recursively.
  106. * <input> has a new attribute that allows you to specify a default value.
  107. * All tasks can be used outside of <target>s
  108. * Added <image> task (requires JAI).
  109. * New condition <isreference>
  110. * <ftp> now has a preservelastmodified attribute to preserve the
  111. timestamp of a downloaded file.
  112. * new rmdir action for <ftp> that removes directories from a fileset.
  113. * The SOS and VSS tasks will no longer unconditionally prepend a $ to
  114. vsspath or projectpath.
  115. * OS/400 now gets detected by the os condition.
  116. * <arg> has a new attribute pathref that can be used to reference
  117. previously defined paths.
  118. * <xmlproperty> has been improved, you can now expand ${properties},
  119. define ids or paths and use Ant's location magic for filename resolutions
  120. in the XML file.
  121. * <xmlcatalog> will now support external catalogs according to the
  122. OASIS "Open Catalog" standard - if resolver.jar (newer than version
  123. 1.0) from Apache's xml-commons is in your CLASSPATH.
  124. * Starteam tasks now have support for revision labels and build labels.
  125. Checkouts now have the option of using repository timestamps, instead
  126. of current.
  127. * new task <symlink> that creates and maintains symbolic links.
  128. * new tasks <chown> and <chgrp> which are wrappers of the Unix commands.
  129. * new task <attrib> to change file attributes on Windows systems.
  130. * <style> has a new attribute reloadstylesheet to work around a
  131. bug in widespread Xalan versions.
  132. * <tarfileset> has a new dirmode attribute to specify the permissions
  133. for directories.
  134. * <fixcrlf>'s eol attribute now also understands "mac", "unix" and "dos".
  135. * <classfileset> now picks up dependencies of the form MyClass.class. This
  136. works for the code generated by the Sun java compiler. It may not work for
  137. all compilers.
  138. * a new attribute "globalopts" can be added to all Perforce tasks.
  139. You can put in it all the strings described by p4 help usage. Refer to
  140. the docs for more information.
  141. * new Perforce tasks <p4integrate> and <p4resolve>
  142. * <p4submit> will change the property p4.change if the Perforce server
  143. renumbers the change list.
  144. It will set the property p4.needsresolve if the submit fails,
  145. and the message says that file(s) need to be resolved.
  146. * <replaceregexp> now has an optional encoding attribute to support
  147. replacing in files that are in a different encoding than the
  148. platform's default.
  149. * The <exec> task may now have its input redirected from either a file
  150. or a string from the build file. The error output can be separated
  151. to a different file when outut is redirected. standard error may be
  152. logged to the Ant log when redirecting output to a file
  153. * The <java> task also supports the input redirection and separate
  154. error streams introduced to the <exec> task. In addition, it is now
  155. possible to save the output into a property for use within the build
  156. file as was possible with <exec> in Ant 1.5
  157. * The <javadoc> task <tag> subelement has been enhanced to allow files
  158. with tag mappings to be used.
  159. * New tasks: <scp> supports file transfers, <sshexec> executes a
  160. command over SSH. They require jsch, a BSD licensed SSH library that
  161. can be found at http://www.jcraft.com/jsch/index.html
  162. * New filterreader <escapeunicode/>.
  163. * Support for HP's NonStop (Tandem) OS has been added.
  164. * <cab>'s basedir attribute is now optional if you specify nested
  165. filesets. Bugzilla Report 18046.
  166. * New task <sync> that synchronizes two directory trees.
  167. * <apply> has new forwardslash attribute that can force filenames to
  168. use forward slashes (/) as file separators even on platforms with a
  169. different separator. This is useful if you want to run certain
  170. ported Unix tools.
  171. * Copy has a new outputencoding attribute that can be used to change
  172. the encoding while copying files. Bugzilla Report 18217.
  173. * The xml formatter for JUnit will now honor test case names set with
  174. setName. Bugzilla Report 17040.
  175. * <concat> now supports filtering and can check timestamps before
  176. overriding a file. Bugzilla Report 18166.
  177. * <junit> has a new attribute tempdir that controls the placement of
  178. temporary files. Bugzilla Report 15454.
  179. * <jdepend> now supports a new nested element <classespath> which is
  180. the same as <sourcespath> but point to compiled classes (the
  181. prefered mode of operation for JDepend > 2.5). Additionally, nested
  182. <exclude> elements can be used to exclude certain packages from
  183. being parsed. Bugzilla Report 17134.
  184. * The JProbe tasks now also work with JProbe 4.x. Bugzilla Report 14849.
  185. * <javacc> and <jjtree> will now autodetect JavaCC 3.x and can use it.
  186. * <sql> has a new attribute to control escape processing.
  187. * <javah> will invoke oldjavah on JDK 1.4.2. Bugzilla Report 18667.
  188. * A new <containsregexp> selector has been added, that selects files
  189. if their content matches a certain regular expression.
  190. * <antlr>'s debug attribute has been enabled. Bugzilla Report 19051.
  191. * <mail> has a new attribute encoding. Bugzilla Report 15434.
  192. * <zipfileset> can now be defined in the main body of a project
  193. and referred to with refid="xyz". Bugzilla Report 17007.
  194. * A wrapper script for OS/2 has been added.
  195. * <unzip> will now detect and successfully extract self-extracting
  196. archives. Bugzilla Report 16213.
  197. * <stcheckout> has a new attribute "converteol" that can be used to
  198. control the automatic line-end conversion performed on ASCII files.
  199. Bugzilla Report 18884.
  200. * The VAJ tasks now support a haltonfailure attribute to conditionally
  201. keep building even if they fail.
  202. * It is now possible to use the latest (versioned or unversioned) edition
  203. in <vajload> by using special wildcard characters. Also fixes
  204. Bugzilla Report 2236.
  205. * Users can now modify the list of default excludes using the new
  206. defaultexcludes task. Bugzilla Report 12700.
  207. * There is a new data type <propertyset> that can be used to collect
  208. properties.
  209. * <concat> can now control the encoding of the output as well and optionally
  210. add new-line characters at the end of files that get concatenated but
  211. don't end in newlines. Bugzilla Report 12511.
  212. Changes from Ant 1.5.2 to Ant 1.5.3
  213. ===================================
  214. Changes that could break older environments:
  215. --------------------------------------------
  216. * The <zip> task and friends have again changed a method signature
  217. (sorry, was necessary to fix bug 17780). The return type of
  218. getResourcesToAdd has changed.
  219. Fixed bugs:
  220. -----------
  221. * <zipfileset>'s filemode would get ignored and the dirmode was used
  222. for the included files as well. As a side effect, WinZIP was unable
  223. to extract or display the files, so they seemed to be missing from
  224. the archive. Bugzilla Report 17648.
  225. * <ftp> could use the wrong path separator when trying to change the
  226. remote working directory. Bugzilla Report 17735.
  227. * <jar update="true"> would loose all original files if you didn't
  228. specify any nested <(zip)fileset>s and the manifest had changed.
  229. Bugzilla Report 17780.
  230. * If you used a value starting with \ on Windows for the appxml
  231. attribute of <ear> or the webxml attribute of <war>, it would be
  232. ignored. Bugzilla Report 17871.
  233. * Ant will no longer implicitly add Sun's rt.jar in <javac> when you
  234. use jvc and don't specify a bootclasspath. Bugzilla Report 18055.
  235. * The prefix attribute of <zipfileset> would not generate directory
  236. entries for the prefix itself. Bugzilla Report 18403.
  237. * starteam checkout can now handle deleted labels. Bugzilla Report 17646.
  238. * The Unix wrapper script failed if you invoked it as a relative
  239. symlink and ANT_HOME has not been set. Bugzilla Report 17721.
  240. Other Changes:
  241. --------------
  242. * Added ability to specify manifest encoding for the <jar> and
  243. <manifest> tasks
  244. Changes from Ant 1.5.1 to Ant 1.5.2
  245. =============================================
  246. Changes that could break older environments:
  247. --------------------------------------------
  248. * ANT_OPTS environment variable is now applied at the start of the
  249. Java command line, allowing position specific parameters of some
  250. JVMs, such as -classic to be specified.
  251. * ZipScanner#getIncludedFiles will now return the names of the ZipEntries
  252. that have been matched instead of the name of the archive.
  253. * The <zip> task and friends have been heavily modified, almost every
  254. method signature of the Zip class has changed. If you have subclassed
  255. Zip (or one of its subclasses), your class will most likely not
  256. compile against the current code base. If it still compiles, it will
  257. probably not work as in Ant 1.5.1.
  258. Fixed bugs:
  259. -----------
  260. * <translate> was not ignoring comment lines.
  261. * <manifest> wouldn't update an existing manifest if only an attribute
  262. of an existing section changed.
  263. * ant.bat now supports the ANT_ARGS and JAVACMD environment variables
  264. again (like Ant 1.5 did).
  265. * The "plain" <junit> <formatter> could throw a NullPointerException
  266. if an error occured in setUp.
  267. * <junit> will now produce output when a test times out as well.
  268. * <replace> would count some internal character replacements when
  269. reporting the number of replaced tokens.
  270. * <concat> would cause an exception if a <filelist> pointed to files
  271. that do not exist.
  272. * <javadoc> will now pass -source to custom doclets as well.
  273. * <cvstagdiff> would throw a NullPointException if there had been no
  274. differences.
  275. * <cvschangelog> could miss today's changes.
  276. * <concat> could append newline characters between concatenated files.
  277. * <xmlvalidate> ignored the specified encoding of the files to
  278. validate.
  279. * the errorsbeginat attribute of the <http> condition didn't work.
  280. * Ant will try to force loading of certain packages like com.sun.*
  281. from the system classloader. The packages are determined by the
  282. version of the JVM running Ant.
  283. * Ant didn't find the runtime libraries on IBM's JDK 1.4 for Linux.
  284. * random component of temporary files is now always a positive integer.
  285. * Ant could incorrectly try to use the 1.4 regexp implementation even
  286. if it isn't available if you run the JVM with -Xverify:none.
  287. * Ant would die with an exception if you used nested <reference>
  288. elements in Ant and the refid attribute didn't point to an existing
  289. project reference.
  290. * The <get> task can now be compiled (and Ant thus bootstrapped) using
  291. Kaffee.
  292. * build.sysclasspath will now be honored by more tasks.
  293. * The signjar keystore attribute has been reverted to a String allowing
  294. it to once again accept URLs. This should not affect current File based usage
  295. unless you are extending the Signjar task.
  296. * <jar update="true"> would remove the original manifest.
  297. * fix up folder creation in PVCS task
  298. * <tar>'s up-to-date check didn't work for nested <(tar)fileset>s.
  299. * Corrected a problem in XMLLogger where it would not associated
  300. messages with a taskdef'd task
  301. * <uptodate> now works when using attributes (i.e. not filesets) and pointing
  302. to the same file
  303. * Java task (and output system) now stores output which doos not end
  304. with a line feed.
  305. * splash screen wouldn't disappear when build was finished.
  306. * <exec> now supports OS/2.
  307. * <zip> and friends would only update/recreate existing archives if
  308. the files to add/update have been newer than the archive.
  309. * <javadoc>'s <link> element could fail for offline="true" on some JDKs.
  310. Other changes:
  311. --------------
  312. * MailLogger now sets the Date header correctly.
  313. * Shipped XML parser is now Xerces 2.3.0
  314. * signjar now accepts a maxmemory attribute to allow the memory allocated to the
  315. jarsigner tool to be specified. The jarsigner from the JDK's JAVA_HOME bin
  316. dir is now used rather than the first jarsigner on the path.
  317. * **/.DS_Store has been added to the list of default pattern excludes.
  318. * The Created-By header in the default manifest now contains the JVM
  319. vendor and version according to the jar specification. A new header,
  320. Ant-Version provides the Ant version used to create the jar.
  321. * <zip> can now store Unix permissions in a way that can be
  322. reconstructed by Info-Zip's unzip command.
  323. Changes from Ant 1.5.1Beta1 to 1.5.1
  324. ====================================
  325. Fixed bugs:
  326. -----------
  327. * <tstamp>'s prefix attribute failed to apply to nested <format> elements.
  328. * <junitreport> created an empty junit-noframes.html if no format had
  329. been specified.
  330. * <basename> would remove more than it should if the file name
  331. contained more than one dot.
  332. * <filterset>s nested into <filterset>s didn't work.
  333. Other changes:
  334. --------------
  335. * Shipped XML parser is now Xerces 2.2.0
  336. * Filesets now support a 'file' attribute, allowing a single-file
  337. fileset to be constructed without having to specify its parent
  338. directory separately.
  339. * <junit> will now return the result of a call to getName instead of
  340. "unknown" for Test implementations that don't extend TestCase but have
  341. a public String getName() method.
  342. Changes from Ant 1.5 to 1.5.1Beta1
  343. ==================================
  344. Fixed bugs:
  345. -----------
  346. * Date/time in CvsChangeLog was in local timezone and 12 hour format leading
  347. to a problem when sorting by time. It is now UTC (GMT) and in 24-hour
  348. format as per cvs 'specifications'.
  349. * CvsTagDiff now supports ampersand modules or modules that have a different
  350. root directory than their name.
  351. * EjbJar threw NPEs for the Websphere element. The property 'websphere.home'
  352. was not documented.
  353. * Mail example in the documentation was not correct.
  354. * Checksum was broken in the following scenario:
  355. (using verifyproperty OR in a condition) AND using filesets
  356. with multiple files.
  357. * The ExpandProperties filter threw NPEs when defined using
  358. the <filterreader> format.
  359. * The sh wrapper script didn't work under Cygwin if ANT_HOME wasn't
  360. set with a Unix style filename.
  361. * The sh wrapper script could fail if you started Ant from a directory
  362. with whitespace in its name.
  363. * ant -diagnostics was not working properly when the task dependency
  364. was missing and was just printing the missing dependency.
  365. * If a task got redefined via <taskdef>, it lost its child elements.
  366. * <property>'s classpathref attribute was broken.
  367. * <arg line="''" /> would result in no command line argument, will now
  368. be a single empty argument. Use <arg value="''"/> if you need the
  369. quotes literally.
  370. * <replaceregexp> could append a newline character at the end of the
  371. file.
  372. Other changes:
  373. --------------
  374. * Appendix E of Java Development with Ant (Loughran/Hatcher) was
  375. contributed to the docs.
  376. * <available> will only print deprecration warnings if it is actually
  377. used to change the value of a property.
  378. Changes from Ant 1.5beta3 to Ant 1.5
  379. ====================================
  380. Changes that could break older environments:
  381. --------------------------------------------
  382. * The filesetmanifest attribute added to <jar> after the 1.4.1
  383. release has been removed for now. This change may affect only
  384. the 1.5Beta/1.6Alpha users. An attempt will be made to add this
  385. feature back into Ant 1.6.
  386. Fixed bugs:
  387. -----------
  388. * <zip> and friends would always update existing archive if you set
  389. the update attribute to true.
  390. * To support backward compatibility with older versions, <pathconvert>
  391. will once again set the property, even if the result is the empty
  392. string, unless the new 'setonempty' attribute is set to false|no|off
  393. (default is "true").
  394. * The manifest task would crash XmlLogger
  395. Other changes:
  396. --------------
  397. * added **/.svn and **/.svn/** to the default excludes
  398. Changes from Ant 1.5beta2 to Ant 1.5beta3
  399. =========================================
  400. Changes that could break older environments:
  401. --------------------------------------------
  402. * Project.getBuildListeners now returns a clone of the listener
  403. list. Changes to the returned list will not affect the listeners
  404. currently attached to the Project. It also means that it is safe to
  405. iterate over the returned list if listeners are added or removed
  406. during the traversal.
  407. * <pvcs> default filenameformat has been different from Ant 1.4.1.
  408. Now it is different from 1.5beta1 and 1.5beta2.
  409. * Some messages that are printed during startup will not be
  410. written to the logfile specified via -logfile as they might destroy
  411. the format of the file for special BuildLoggers (like XmlLogger).
  412. * <pathconvert> won't set the property if the result is the empty string.
  413. Fixed bugs:
  414. -----------
  415. * <available> could fail to find files or directories that happen to
  416. start with the name of the project's basedir but are not children of
  417. the basedir.
  418. * Nested <property>'s inside <ant> can now be overriden by subsequent
  419. <ant> and <antcall> tasks.
  420. * <xslt>'s outputtype attribute wouldn't do anything.
  421. * <linecontains> filterreader could swallow lines.
  422. * <sequential> used to configure the tasks (set their attributes)
  423. before the first task has been executed. This means that properties
  424. that have been set by nested task seemed to be unset for the other
  425. tasks in the same <sequential> element.
  426. * <javac>'s sourcepath setting has been ignored by some compiler
  427. implementations.
  428. * <javadoc>'s packagelist attribute didn't work.
  429. * the plain mailer would always use port 25 in <mail>.
  430. * Ant's default logger could swallow empty lines.
  431. * ejbjar's iPlanet nested element now can process multiple descriptors.
  432. * IPlanetEjbc was looking in the wrong place for four iiop files.
  433. * <javac> would pass the -source switch to JDK 1.3's javac, even
  434. though it doesn't support it.
  435. Other changes:
  436. --------------
  437. * <checksum> now uses a buffer (of configurable size).
  438. * The "Trying to override task definition" warning has been degraded
  439. to verbose level if the two task definitions only differ in the class
  440. loader instance that has loaded the definition.
  441. * Add a jvmargs to the ejbjar's weblogic element to allow additional
  442. arguments to be provided to the VM runnign ejbc. Document the
  443. jvmdebuglevel attribute which can be used to avoid warnings about
  444. interface classess being found on the classpath. Document the new
  445. <sysproperty> element which allows JVM properties to be defined.
  446. Added an outputdir attribute to allow the destination to be a
  447. directory into which the exploded jar is written.
  448. * ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5
  449. Changes from Ant 1.5beta1 to Ant 1.5beta2
  450. =========================================
  451. Changes that could break older environments:
  452. --------------------------------------------
  453. * Properties will now be expanded in mail message bodies. This means
  454. that one $ sign will be stripped if your mail message contains the text
  455. $$.
  456. * org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask.
  457. * Available#setFile now again uses a File argument as it did in 1.4,
  458. this may break environments that have been adapted to the String
  459. argument version present in 1.5beta1.
  460. Fixed bugs:
  461. -----------
  462. * When <move> attempts a rename, it deletes the destination file, if it
  463. exists, before renaming the source file. However, <move> was not
  464. checking if the destination file was actually a directory before
  465. trying to delete it.
  466. * Make CVS Tasks to work under Cygwin.
  467. * Fix LineContains to handle huge files elegantly without causing
  468. Stack Overflows.
  469. * if you ask for the "classic" compiler on Java1.4, you get upgraded to
  470. "modern" because there is no classic compiler any more.
  471. * the <http> condition was viewing 404 'not found' exceptions as success. Now
  472. it defaults to viewing any response >=400 as an error, and has an errorsBeginAt
  473. attribute you can use if you want a higher or lower value.
  474. * <get> throws a build exception on an http authorization error, unless you
  475. have set ignoreerrors to true.
  476. * <wsdltodotnet> was spelt in Wintel case: <WsdlToDotnet>. It is now lower
  477. case, though the old spelling is retained for anyone who used it.
  478. * Merging of Manifests in jar now works as documented.
  479. * paths that have been separated by colons would be incorrectly parsed
  480. on NetWare.
  481. * runant.pl now supports NetWare.
  482. * <tempfile> and <setproxy> tasks were in beta1, but not defined by
  483. default; They now are. <tempfile> fills a property with the name of a
  484. temporary file; <setproxy> lets you set the JVM's http, ftp and socks proxy
  485. settings.
  486. * <available classname="foo" ignoresystemclasses="true"> failed for
  487. JDK 1.1 and 1.2, even if the class could be found on the
  488. user-specified classpath.
  489. * <property environment=... /> now works on z/OS.
  490. * forked <javac> failed for the wrong reason on JDK 1.1 - Ant would
  491. use a temporary file to hold the names of the files to compile under
  492. some conditons, but 1.1 doesn't support this feature. Ant will no
  493. longer try this, but you may run into problems with the length of the
  494. command line now.
  495. * the refid attribute for <property>s nested into <ant> or <param>s
  496. nested into <antcall> didn't work.
  497. * <replaceregexp> didn't work for nested <fileset>s.
  498. * <javadoc> dropped sourcepath entries if no "interesting" .java
  499. source files could be found below them. This has been backwards
  500. incompatible and caused problems with custom doclets like xdoclet.
  501. * Using the doclet, docletpath or docletpathref attributes of
  502. <javadoc> may have caused NullPointerExceptions.
  503. * nested <filesets> of <javadoc> would include too much.
  504. * <dependset> will no longer choke on <targetfileset>s that point to
  505. non-existing directories.
  506. * <patch> didn't work at all.
  507. * <replace> and <replaceregexp> now fail if the file they are working
  508. on is locked.
  509. * <javadoc> would pick up the wrong executable in the combination JDK
  510. 1.2 and AIX.
  511. Other changes:
  512. --------------
  513. * z/OS now gets detected by the os condition.
  514. * <fileset> and <dirset> now have an optional followsymlink attribute
  515. that can prevent Ant from following symbolic links on some platforms.
  516. * BeanShell is now supported in the <script> task.
  517. * <ejbjar> under Weblogic attempts to use the ejbc20 compiler for 2.0 beans
  518. based on the deployment descriptor's DTD reference. Under weblogic 7.00 Beta
  519. this ejbc class has been deprecated. To avoid the deprecation warning use
  520. ejbcclass="weblogic.ejbc".
  521. * <ejbjar> will add a manifest to the generated jar based on the naming
  522. convention in use. This overrides the manifest specified in the
  523. <ejbjar> attribute
  524. Changes from Ant 1.4.1 to 1.5beta1
  525. ==================================
  526. Changes that could break older environments:
  527. --------------------------------------------
  528. * Important: Single $ signs are no longer silently stripped!
  529. =======
  530. * Project.getBuildListeners now returns a clone of the listener
  531. list. Changes to the returned list will not affect the listeners
  532. currently attached to the Project. It also means that it is safe to
  533. iterate over the returned list if listeners are added or removed
  534. during the traversal.
  535. * <pvcs> default filenameformat has been different from Ant 1.4.1.
  536. Now it is different from 1.5beta1 and 1.5beta2.
  537. * Some messages that are printed during startup will not be
  538. written to the logfile specified via -logfile as they might destroy
  539. the format of the file for special BuildLoggers (like XmlLogger).
  540. Fixed bugs:
  541. -----------
  542. * <available> could fail to find files or directories that happen to
  543. start with the name of the project's basedir but are not children of
  544. the basedir.
  545. * Nested <property>'s inside <ant> can now be overriden by subsequent
  546. <ant> and <antcall> tasks.
  547. * <xslt>'s outputtype attribute wouldn't do anything.
  548. * <linecontains> filterreader could swallow lines.
  549. * <sequential> used to configure the tasks (set their attributes)
  550. before the first task has been executed. This means that properties
  551. that have been set by nested task seemed to be unset for the other
  552. tasks in the same <sequential> element.
  553. * <javac>'s sourcepath setting has been ignored by some compiler
  554. implementations.
  555. * <javadoc>'s packagelist attribute didn't work.
  556. * the plain mailer would always use port 25 in <mail>.
  557. * Ant's default logger could swallow empty lines.
  558. * ejbjar's iPlanet nested element now can process multiple descriptors.
  559. * IPlanetEjbc was looking in the wrong place for four iiop files.
  560. * <javac> would pass the -source switch to JDK 1.3's javac, even
  561. though it doesn't support it.
  562. Other changes:
  563. --------------
  564. * <checksum> now uses a buffer (of configurable size).
  565. * The "Trying to override task definition" warning has been degraded
  566. to verbose level if the two task definitions only differ in the class
  567. loader instance that has loaded the definition.
  568. * Add a jvmargs to the ejbjar's weblogic element to allow additional
  569. arguments to be provided to the VM runnign ejbc. Document the
  570. jvmdebuglevel attribute which can be used to avoid warnings about
  571. interface classess being found on the classpath. Document the new
  572. <sysproperty> element which allows JVM properties to be defined.
  573. Added an outputdir attribute to allow the destination to be a
  574. directory into which the exploded jar is written.
  575. * ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5
  576. Changes from Ant 1.5beta1 to Ant 1.5beta2
  577. =========================================
  578. Changes that could break older environments:
  579. --------------------------------------------
  580. * Properties will now be expanded in mail message bodies. This means
  581. that one $ sign will be stripped if your mail message contains the text
  582. $$.
  583. * org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask.
  584. * Available#setFile now again uses a File argument as it did in 1.4,
  585. this may break environments that have been adapted to the String
  586. argument version present in 1.5beta1.
  587. Fixed bugs:
  588. -----------
  589. * When <move> attempts a rename, it deletes the destination file, if it
  590. exists, before renaming the source file. However, <move> was not
  591. checking if the destination file was actually a directory before
  592. trying to delete it.
  593. * Make CVS Tasks to work under Cygwin.
  594. * Fix LineContains to handle huge files elegantly without causing
  595. Stack Overflows.
  596. * if you ask for the "classic" compiler on Java1.4, you get upgraded to
  597. "modern" because there is no classic compiler any more.
  598. * the <http> condition was viewing 404 'not found' exceptions as success. Now
  599. it defaults to viewing any response >=400 as an error, and has an errorsBeginAt
  600. attribute you can use if you want a higher or lower value.
  601. * <get> throws a build exception on an http authorization error, unless you
  602. have set ignoreerrors to true.
  603. * <wsdltodotnet> was spelt in Wintel case: <WsdlToDotnet>. It is now lower
  604. case, though the old spelling is retained for anyone who used it.
  605. * Merging of Manifests in jar now works as documented.
  606. * paths that have been separated by colons would be incorrectly parsed
  607. on NetWare.
  608. * runant.pl now supports NetWare.
  609. * <tempfile> and <setproxy> tasks were in beta1, but not defined by
  610. default; They now are. <tempfile> fills a property with the name of a
  611. temporary file; <setproxy> lets you set the JVM's http, ftp and socks proxy
  612. settings.
  613. * <available classname="foo" ignoresystemclasses="true"> failed for
  614. JDK 1.1 and 1.2, even if the class could be found on the
  615. user-specified classpath.
  616. * <property environment=... /> now works on z/OS.
  617. * forked <javac> failed for the wrong reason on JDK 1.1 - Ant would
  618. use a temporary file to hold the names of the files to compile under
  619. some conditons, but 1.1 doesn't support this feature. Ant will no
  620. longer try this, but you may run into problems with the length of the
  621. command line now.
  622. * the refid attribute for <property>s nested into <ant> or <param>s
  623. nested into <antcall> didn't work.
  624. * <replaceregexp> didn't work for nested <fileset>s.
  625. * <javadoc> dropped sourcepath entries if no "interesting" .java
  626. source files could be found below them. This has been backwards
  627. incompatible and caused problems with custom doclets like xdoclet.
  628. * Using the doclet, docletpath or docletpathref attributes of
  629. <javadoc> may have caused NullPointerExceptions.
  630. * nested <filesets> of <javadoc> would include too much.
  631. * <dependset> will no longer choke on <targetfileset>s that point to
  632. non-existing directories.
  633. * <patch> didn't work at all.
  634. * <replace> and <replaceregexp> now fail if the file they are working
  635. on is locked.
  636. * <javadoc> would pick up the wrong executable in the combination JDK
  637. 1.2 and AIX.
  638. Other changes:
  639. --------------
  640. * z/OS now gets detected by the os condition.
  641. * <fileset> and <dirset> now have an optional followsymlink attribute
  642. that can prevent Ant from following symbolic links on some platforms.
  643. * BeanShell is now supported in the <script> task.
  644. * <ejbjar> under Weblogic attempts to use the ejbc20 compiler for 2.0 beans
  645. based on the deployment descriptor's DTD reference. Under weblogic 7.00 Beta
  646. this ejbc class has been deprecated. To avoid the deprecation warning use
  647. ejbcclass="weblogic.ejbc".
  648. * <ejbjar> will add a manifest to the generated jar based on the naming
  649. convention in use. This overrides the manifest specified in the
  650. <ejbjar> attribute
  651. Changes from Ant 1.4.1 to 1.5beta1
  652. ==================================
  653. Changes that could break older environments:
  654. --------------------------------------------
  655. * Important: Single $ signs are no longer silently stripped!
  656. * The filesetmanifest attribute added to <jar> after the 1.4.1
  657. release has been removed for now. This change may affect only
  658. the 1.5Beta/1.6Alpha users. An attempt will be made to add this
  659. feature back into Ant 1.6.
  660. Fixed bugs:
  661. -----------
  662. * <zip> and friends would always update existing archive if you set
  663. the update attribute to true.
  664. * To support backward compatibility with older versions, <pathconvert>
  665. will once again set the property, even if the result is the empty
  666. string, unless the new 'setonempty' attribute is set to false|no|off
  667. (default is "true").
  668. * The manifest task would crash XmlLogger
  669. Other changes:
  670. --------------
  671. * added **/.svn and **/.svn/** to the default excludes
  672. Changes from Ant 1.5beta2 to Ant 1.5beta3
  673. =========================================
  674. Changes that could break older environments:
  675. --------------------------------------------
  676. * Project.getBuildListeners now returns a clone of the listener
  677. list. Changes to the returned list will not affect the listeners
  678. currently attached to the Project. It also means that it is safe to
  679. iterate over the returned list if listeners are added or removed
  680. during the traversal.
  681. * <pvcs> default filenameformat has been different from Ant 1.4.1.
  682. Now it is different from 1.5beta1 and 1.5beta2.
  683. * Some messages that are printed during startup will not be
  684. written to the logfile specified via -logfile as they might destroy
  685. the format of the file for special BuildLoggers (like XmlLogger).
  686. * <pathconvert> won't set the property if the result is the empty string.
  687. Fixed bugs:
  688. -----------
  689. * <available> could fail to find files or directories that happen to
  690. start with the name of the project's basedir but are not children of
  691. the basedir.
  692. * Nested <property>'s inside <ant> can now be overriden by subsequent
  693. <ant> and <antcall> tasks.
  694. * <xslt>'s outputtype attribute wouldn't do anything.
  695. * <linecontains> filterreader could swallow lines.
  696. * <sequential> used to configure the tasks (set their attributes)
  697. before the first task has been executed. This means that properties
  698. that have been set by nested task seemed to be unset for the other
  699. tasks in the same <sequential> element.
  700. * <javac>'s sourcepath setting has been ignored by some compiler
  701. implementations.
  702. * <javadoc>'s packagelist attribute didn't work.
  703. * the plain mailer would always use port 25 in <mail>.
  704. * Ant's default logger could swallow empty lines.
  705. * ejbjar's iPlanet nested element now can process multiple descriptors.
  706. * IPlanetEjbc was looking in the wrong place for four iiop files.
  707. * <javac> would pass the -source switch to JDK 1.3's javac, even
  708. though it doesn't support it.
  709. Other changes:
  710. --------------
  711. * <checksum> now uses a buffer (of configurable size).
  712. * The "Trying to override task definition" warning has been degraded
  713. to verbose level if the two task definitions only differ in the class
  714. loader instance that has loaded the definition.
  715. * Add a jvmargs to the ejbjar's weblogic element to allow additional
  716. arguments to be provided to the VM runnign ejbc. Document the
  717. jvmdebuglevel attribute which can be used to avoid warnings about
  718. interface classess being found on the classpath. Document the new
  719. <sysproperty> element which allows JVM properties to be defined.
  720. Added an outputdir attribute to allow the destination to be a
  721. directory into which the exploded jar is written.
  722. * ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5
  723. Changes from Ant 1.5beta1 to Ant 1.5beta2
  724. =========================================
  725. Changes that could break older environments:
  726. --------------------------------------------
  727. * Properties will now be expanded in mail message bodies. This means
  728. that one $ sign will be stripped if your mail message contains the text
  729. $$.
  730. * org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask.
  731. * Available#setFile now again uses a File argument as it did in 1.4,
  732. this may break environments that have been adapted to the String
  733. argument version present in 1.5beta1.
  734. Fixed bugs:
  735. -----------
  736. * When <move> attempts a rename, it deletes the destination file, if it
  737. exists, before renaming the source file. However, <move> was not
  738. checking if the destination file was actually a directory before
  739. trying to delete it.
  740. * Make CVS Tasks to work under Cygwin.
  741. * Fix LineContains to handle huge files elegantly without causing
  742. Stack Overflows.
  743. * if you ask for the "classic" compiler on Java1.4, you get upgraded to
  744. "modern" because there is no classic compiler any more.
  745. * the <http> condition was viewing 404 'not found' exceptions as success. Now
  746. it defaults to viewing any response >=400 as an error, and has an errorsBeginAt
  747. attribute you can use if you want a higher or lower value.
  748. * <get> throws a build exception on an http authorization error, unless you
  749. have set ignoreerrors to true.
  750. * <wsdltodotnet> was spelt in Wintel case: <WsdlToDotnet>. It is now lower
  751. case, though the old spelling is retained for anyone who used it.
  752. * Merging of Manifests in jar now works as documented.
  753. * paths that have been separated by colons would be incorrectly parsed
  754. on NetWare.
  755. * runant.pl now supports NetWare.
  756. * <tempfile> and <setproxy> tasks were in beta1, but not defined by
  757. default; They now are. <tempfile> fills a property with the name of a
  758. temporary file; <setproxy> lets you set the JVM's http, ftp and socks proxy
  759. settings.
  760. * <available classname="foo" ignoresystemclasses="true"> failed for
  761. JDK 1.1 and 1.2, even if the class could be found on the
  762. user-specified classpath.
  763. * <property environment=... /> now works on z/OS.
  764. * forked <javac> failed for the wrong reason on JDK 1.1 - Ant would
  765. use a temporary file to hold the names of the files to compile under
  766. some conditons, but 1.1 doesn't support this feature. Ant will no
  767. longer try this, but you may run into problems with the length of the
  768. command line now.
  769. * the refid attribute for <property>s nested into <ant> or <param>s
  770. nested into <antcall> didn't work.
  771. * <replaceregexp> didn't work for nested <fileset>s.
  772. * <javadoc> dropped sourcepath entries if no "interesting" .java
  773. source files could be found below them. This has been backwards
  774. incompatible and caused problems with custom doclets like xdoclet.
  775. * Using the doclet, docletpath or docletpathref attributes of
  776. <javadoc> may have caused NullPointerExceptions.
  777. * nested <filesets> of <javadoc> would include too much.
  778. * <dependset> will no longer choke on <targetfileset>s that point to
  779. non-existing directories.
  780. * <patch> didn't work at all.
  781. * <replace> and <replaceregexp> now fail if the file they are working
  782. on is locked.
  783. * <javadoc> would pick up the wrong executable in the combination JDK
  784. 1.2 and AIX.
  785. Other changes:
  786. --------------
  787. * z/OS now gets detected by the os condition.
  788. * <fileset> and <dirset> now have an optional followsymlink attribute
  789. that can prevent Ant from following symbolic links on some platforms.
  790. * BeanShell is now supported in the <script> task.
  791. * <ejbjar> under Weblogic attempts to use the ejbc20 compiler for 2.0 beans
  792. based on the deployment descriptor's DTD reference. Under weblogic 7.00 Beta
  793. this ejbc class has been deprecated. To avoid the deprecation warning use
  794. ejbcclass="weblogic.ejbc".
  795. * <ejbjar> will add a manifest to the generated jar based on the naming
  796. convention in use. This overrides the manifest specified in the
  797. <ejbjar> attribute
  798. Changes from Ant 1.4.1 to 1.5beta1
  799. ==================================
  800. Changes that could break older environments:
  801. --------------------------------------------
  802. * Important: Single $ signs are no longer silently stripped!
  803. Before you panic that we have broken all your build files, we have kept
  804. the old "$$" -> "$" behaviour. So only build files which accidentally had
  805. a $ sign in a string that was being silently stripped may break.
  806. We added this fix to stop newbie confusion; if you want to write a
  807. build file which works on ant versions 1.4.1 or earlier, stay with
  808. the double $$ sign rule.
  809. * Shipped XML parser is now Xerces 2.0.1 along with the XML Parser APIs.
  810. XML Parser APIs is a separate jar that contains the necessary
  811. JAXP/DOM/SAX classes.
  812. * <telnet> was fixed to expand properties inside nested <read> and
  813. <write> elements; before this only happened when you assigned the text
  814. to the string attribute. If you had $ signs in the string, they may
  815. need escaping.
  816. * the RegexpMatcher interface has been extended to support case
  817. insensitive matches and other options - custom implementations of
  818. this interface won't work any longer. We recommend to use the new
  819. Regexp interface that also supports substitution instead of the
  820. RegexpMatcher interface in the future.
  821. * <gzip> will throw an exception if your src attribute points to a directory.
  822. * Unjar, Unzip and Unwar will throw an exception if the Src attribute
  823. represents a directory. Support for nested filesets is provided
  824. instead.
  825. * It is no longer possible to overwrite a property using tasks like
  826. <condition>, <exec>, <pathconvert>, or <tstamp>. In some exceptional
  827. cases it will generate a warning if you attempt to overwrite an
  828. existing property.
  829. * Taskwriters please note: Whenever tasks had any overloaded set* methods,
  830. Ant's introspection mechanism would select the last overloaded method
  831. provided to it by the Java Runtime. A modification has now been made such
  832. that when the Java Runtime provides a method with a String as its argument,
  833. a check is made to see if there is another overloaded method that takes in
  834. some other type of argument. If there is one such method, then the method
  835. that takes in String as an argument is not selected by the Introspector.
  836. * The pattern definition **/._* has been included into the Default
  837. Excludes list.
  838. * <propertyfile>'s <entry> element was modified to remove "never" as a value
  839. as its behavior was undocumented and flakey.
  840. * The -projecthelp flag now only prints out targets that include the
  841. 'description' attribute, unless the -verbose or -debug flag is included
  842. on the Ant command line.
  843. * Ant's testcases now require JUnit 3.7 or above, as they now use the new
  844. assertTrue method instead of assert.
  845. * If the 'output' attribute of <ant> is set to a simple filename or a
  846. relative path, the file is created relative to ${basedir}, not ${user.dir}.
  847. * The default value for build.compiler is now javac1.x with x
  848. depending on the JDK that is running Ant instead of classic/modern.
  849. Fixed bugs:
  850. -----------
  851. * A bug existed that prevented generated log files from being deleted as
  852. part of the build process itself. This has now been fixed.
  853. * Fixed bug where <move> ignored <filterset>s.
  854. * Ant works properly with the combination of Java1.4/WindowsXP.
  855. * Fixed bug where <java> used to sometimes invoke class constructors twice.
  856. * Fixed bug with 4NT shell support.
  857. * Fixed bug where ant would not perform ftp without remotedir being
  858. specified even though this was not mandatory.
  859. * Fixed bug where ant would not copy system properties into new Project
  860. in ant/antcall tasks when inheritall="false" is set.
  861. * <propertyfile> would not close the original property file.
  862. * <ant> will no longer override a subbuild's basedir with inheritall="true".
  863. * Fixed problem with the built-in <junit> formatters which assumed
  864. that only one test could be running at the same time - this is not
  865. necessarily true, see junit.extensions.ActiveTestSuite.
  866. * <jar>'s whenEmpty attribute is useless as JARs are never empty, they
  867. contain at least a manifest file, therefore it will now print a
  868. warning and do nothing.
  869. * <typedef> hasn't been all that useful as it couldn't be used outside
  870. of targets (it can now) and nested "unknown" elements have always
  871. been considered to be tasks (changed as well).
  872. * <fixcrlf> would fail for files that contained lines longer than 8kB.
  873. * Some junit formatters incorrectly assumed that all testcases would
  874. inherit from junit.framework.TestCase.
  875. * <fixcrlf> dropped the first characters from Mac files.
  876. Other changes:
  877. --------------
  878. * Selector Elements now provide a way to create filesets based on
  879. sophisticated selection criteria.
  880. * Gzip and Bzip2 files can now be constructed in the fly when using
  881. the tar task without having to create the intermediate tar file on
  882. disk. The Untar task can also untar GZip and BZip2 files on the fly
  883. without creating the intermediate tar file.
  884. * New optional type, <classfileset> added.
  885. * <ejbjar> now allows control over which additional classes and interfaces
  886. are added to the generated EJB jars. A new attribute "dependency" can be
  887. defined which controls what classes are added. The addition of classes now uses
  888. the Jakarta-BCEL library rather than reflection, meaning bean classes are
  889. no longer loaded into Ant's JVM. The default dependency analyzer is known as
  890. the ancestor analyzer. It provides the same behaviour as the 1.4.1 version of
  891. <ejbjar>. If the BCEL library is not present, a warning will be issued stating
  892. the ancestor analyzer is not available. In this case <ejbjar> will continue
  893. to function but will not add super classes to the jar.
  894. * <available> has a new attribute named ignoreSystemClasses.
  895. * New task <cvschangelog/> generates an XML report of changes that occur
  896. on CVS repository.
  897. * New filter readers: ClassConstants, ExpandProperties, HeadFilter,
  898. LineContains, LineContainsRegExp, PrefixLines, ReplaceTokens,
  899. StripJavaComments, StripLineBreaks, StripLineComments, TabsToSpaces,
  900. TailFilter.
  901. * <copy>, <loadfile>, <loadproperties>, <move> support FilterChains
  902. of FilterReaders.
  903. * New task <loadproperties> to load contents of file as Ant properties,
  904. with nested <filterchain> elements.
  905. * New task <loadfile> to load a whole file into a property.
  906. * New task <echoproperties> to list your current properties to the screen
  907. or a file.
  908. * New tasks <bzip2> and <bunzip2> to pack and unpack files using the
  909. BZip2 alogrithm.
  910. * New tasks <replaceregexp>, <checksum>, <translate>, <waitfor>,
  911. <manifest>, <vsscp>, <vssadd>, <vsscreate>, <splash>, <basename>, <dirname>,
  912. <concat>, <sourceoffsite>, <jarlib-available>, <jarlib-display>,
  913. <jarlib-manifest>, <jarlib-resolve>.
  914. * A new combined <mail> task, which replaces the old <mail> and
  915. <mimemail> tasks, has been added. The <mimemail> task, and
  916. old SendEmail and MimeMail classes have been deprecated.
  917. * Mail task allows specification of port number.
  918. * Users can control what <zip> and <jar> must do when duplicate files
  919. are found. A new element <zipgroupfileset> allows for multiple zip
  920. files to be merged into the archive. In addition, <jar> also has
  921. another new attribute: filesetmanifest. The existing manifest
  922. attribute of <jar> now also accepts the name of a jar added through
  923. a fileset.
  924. * gzip now checks that the zipfile is older than the source file
  925. before rebuilding the zipfile.
  926. * TarFileset takes in three new attributes - fullpath, prefix
  927. and preserveLeadingSlashes.
  928. * <move> attempts to rename the directory, if everything inside it is
  929. included, before performing file-by-file moves. This attempt will
  930. be done only if filtering is off and if mappers are not used. This
  931. is a performance improvement and there is no change otherwise in
  932. the funtionality of this task.
  933. * Exec task has extra attribute "resultproperty" to get the return code
  934. into a property.
  935. * Exec task prints a message when a timed-out process is killed.
  936. * Added optional attributes - name, arch and version to the <os> task.
  937. * Unjar, Untar, Unwar and Unzip now support patternsets to
  938. select files from an archive for extraction. Filesets may be
  939. used to select archived files for unarchival.
  940. * Javac task allows debug levels to be specified. Debug levels
  941. will have an effect only when the modern compiler or the
  942. classic compiler (version 1.2 and higher) is used and debugging
  943. is enabled.
  944. * Added support for specifying CVS_RSH in the <cvs/> task
  945. * The attributes zipfile, jarfile, warfile and earfile (from the Zip,
  946. Jar, War and Ear tasks) have been deprecated and superseded by a
  947. new attribute "destfile".
  948. * Added new conditions <isset>, <checksum>, <http>, <socket>, <contains>,
  949. <filesmatch>.
  950. * <taskdef> and <typedef> will now emit a warning if a task/type of
  951. the given name already exists.
  952. * A new revision of VAJ tasks: The most important new feature
  953. is the ability to execute VAJ tasks from the command line by
  954. exploiting the Remote Tool Access feature of VAJ.
  955. * Improved support for Novell NetWare.
  956. * Added an optional encoding attribute to <fixcrlf>.
  957. * <apply> has a new attribute relative that allows users to pass the
  958. filenames as relative instead of absolute paths on the command line.
  959. * References can now be copied into the child build by <ant> and
  960. <antcall> using nested <reference> elements or the new inheritRefs
  961. attribute.
  962. * <fail> now supports builds to fail based on conditions via if and
  963. unless attributes.
  964. * Ant now comes with two new BuildLogger implementations - one that
  965. can send emails containing a log of the build process (MailLogger),
  966. and one that colorizes the output based on message levels, using
  967. ANSI color code escape sequences (AnsiColorLogger).
  968. * A "package" mapper type has been added to allow package directory
  969. names replaced with the dotted form.
  970. * You can now specify environment variables in the <java> and <junit> tasks
  971. if the fork attribute has been set to true.
  972. * -propertyfile command-line option has been added to load an entire
  973. property file just as -D properties are declared (as user properties).
  974. -D properties take precedence over -propertyfile specified ones.
  975. * You can now set an ANT_ARGS environment variable to hold arguments you
  976. always want passed to the 'ant' command -- for example, if you always
  977. want to use a different logger or the -find flag.
  978. * <tstamp> now supports a new "prefix" attribute to prefix properties set.
  979. * You can now specify the -sourcepath for <javac> explicitly.
  980. * <javac> now supports a new "listfiles" attribute to list the source
  981. files it's handing off to the compiler.
  982. * The compiler implementation for <javac> can now be chosen on a task by
  983. task basis. The new "compiler" attribute of <javac> can be used to override
  984. the value of the build.compiler property, if set.
  985. * <javac> has a new nested element, <compilerarg>, which allows you
  986. to specify additional args for the specific compiler you're using.
  987. * <javac>'s "source" attribute is now enabled for jikes as well.
  988. * <propertyfile>'s <entry> now has a 'unit' attribute to specify the
  989. increment/decrement unit on date operations.
  990. * <property> now supports a 'prefix' attribute when loading from a file
  991. or resource.
  992. * In Ant 1.4, a feature has been added to the <junit> task that would
  993. add ant.jar, optional.jar and junit.jar implicitly to the classpath -
  994. this feature can now be disabled by setting the new includeantruntime
  995. attribute to false.
  996. * <style> behaves differently from any other directory-based task, as it
  997. processes all files that it finds in included directories in
  998. addition to the files matched by your patterns. There is now a new
  999. attribute, 'scanincludeddirectories', to suppress this behavior.
  1000. * <javadoc> now supports a <tag> nested element to provide the -tag option
  1001. to the standard Java 1.4 doclet. The element is ignored when not running
  1002. on Java 1.4.
  1003. * <ftp> can now chmod files on a remote server that supports
  1004. "site chmod", as well as set the umask before transferring files, if
  1005. the server supports "site umask".
  1006. * New <serverdeploy> "optional" task.
  1007. * <patternset> now supports nested patternsets.
  1008. * Perforce tasks now support a "failonerror" attribute (defaults to "true").
  1009. * Open Source application server JOnAS support:
  1010. EJB hot deploy and deploy with <serverdeploy> and <ejbjar>
  1011. * Added new DirSet (<dirset>) datatype.
  1012. * <path> now supports nested <dirset> and <filelist> elements.
  1013. * <pathconvert> now supports nested <dirset> and <filelist> elements.
  1014. * <pathconvert>'s "dirsep" and "pathsep" attributes now accept
  1015. multi-character values.
  1016. * <copy> task now has a 'failonerror' attribute to allow keep-going
  1017. behaviour when the file to be copied is not found (defaults to "true").
  1018. * <uptodate> now has a 'srcfile' attribute to allow specifying a
  1019. full-path filename.
  1020. * <exec>, <sql> and <java> now support append attributes to allow
  1021. appending the output to an existing file.
  1022. * <java> now supports a timeout attribute analog to <exec> - it is
  1023. highly recommended to only use it together with fork="true".
  1024. * <javadoc> now supports a source attribute to enable javadoc to
  1025. handle assertions present in JDK 1.4 source code.
  1026. * <replace> supports a new replacefilterfile attribute that
  1027. automatically turns all properties of a given file into
  1028. replacefilters.
  1029. * An alias of <xslt> has been added to refer to the <style> task.
  1030. * The compiler implementation for <rmic> can now be chosen on a task by
  1031. task basis. The new "compiler" attribute of <rmic> can be used to override
  1032. the value of the build.rmic property, if set.
  1033. * <rmic> has a new nested element, <compilerarg>, which allows you
  1034. to specify additional args for the specific compiler you're using.
  1035. * org.apache.tools.ant.XmlLogger now is a BuildLogger, rather than just
  1036. a BuildListener. It can operate in either mode successfully.
  1037. * <junit> has a new attribute "showoutput". If set to true, output
  1038. generated by tests will be sent to Ant's logging system as well as
  1039. to the formatters (instead of sending it to the formatters
  1040. exclusively).
  1041. * Ant has now a pluggable way to prompt users for input, which is used
  1042. by the new <input> task. IDE integrators can provide an
  1043. implementation of the InputHandler interface to decouple Ant's input
  1044. from the console. An implementation that gets its input from a file
  1045. for unattended builds is part of Ant's distribution.
  1046. For more details see docs/manual/inputhandler.html.
  1047. * <patch> has a new attribute that selects the directory in which to
  1048. run the command.
  1049. * <javadoc> now supports two new nested elements, <fileset> and <packageset>.
  1050. Changes from Ant 1.4 to Ant 1.4.1
  1051. ===========================================
  1052. Fixed bugs:
  1053. -----------
  1054. * <ant>'s antfile attribute will now also be considered an absolute path on
  1055. Windows systems, if it starts with a \ and no drive specifier.
  1056. * The fullpath attribute of <zipfileset> has been ignored if you used
  1057. the src attribute at the same time.
  1058. * The manifest file is now always placed as the second entry (after /META-INF)
  1059. in generated jars. This allows the manifest to be read by JarInputStreams
  1060. * Fixed bug in depend task which would fail with a NullPointerException if no
  1061. dependency cache was specified.
  1062. * sql task now handles REM statements correctly so that lines starying with rem
  1063. but which are not comments are actually processed.
  1064. * XMLLogger now uses the task's name rather than the classname
  1065. * <mapper>s will now work as expected if the to pattern expands to an
  1066. absolute pathname.
  1067. * <javac> didn't ignore memory settings in non-fork mode
  1068. * <cab> didn't split the options attribute into several command line
  1069. arguments correctly.
  1070. Other changes:
  1071. --------------
  1072. * New source attribute for <javac> to enable assertion in JDK 1.4
  1073. * XmlLogger and <antstructure> now add an encoding declaration to the
  1074. XML files they generate.
  1075. * <fileset> has a new attribute "casesensitive" to make it match
  1076. filenames in a case insensitive way (if you set it to false) - by
  1077. default filesets remain case sensitive.
  1078. Changes from Ant 1.3 to Ant 1.4
  1079. ===========================================
  1080. Changes that could break older environments:
  1081. --------------------------------------------
  1082. * JUnitReport now uses the xalan redirect extension for multi-output.
  1083. With Xalan 1.2.2 it forces the use of bsf.jar in the classpath.
  1084. (Available in the xalan distribution). It is recommended to switch
  1085. to Xalan 2.x that do not need it.
  1086. * Zip.setWhenempty() has changed its signature.
  1087. * <rmic> is now implemented using a factory. This makes extending
  1088. rmic to use a new compiler a lot easier but may break custom
  1089. versions of this task that rely on the old implementation.
  1090. * several Zip methods have changed their signature as we now use a Zip
  1091. package of our own that handles Unix permissions for directories.
  1092. Furthermore <zip> will now use the platform's default character
  1093. encoding for filenames - this is consistent with the command line
  1094. ZIP tools, but causes problems if you try to open them from within
  1095. Java and your filenames contain non US-ASCII characters. Use the new
  1096. encoding attribute of the task and set it to UTF8 to get the old
  1097. behavior.
  1098. * The <pvcs> task has been moved to a package of its own.
  1099. * JUnitResultFormater has two additional methods that must be
  1100. implemented by custom formatters.
  1101. * Ant will no longer use the canonical version of a path internally -
  1102. this may yield different results on filesystems that support
  1103. symbolic links.
  1104. * The output generated by the xml formatter for <junit> has changed
  1105. again, it doesn't format the numeric value in the time attribute anymore.
  1106. * Pattern matching rules have changes slightly, the pattern foo*
  1107. doesn't match files contained in a directory named foo - use foo/*
  1108. instead.
  1109. * <fixcrlf> will not remove trailing whitespace at the end of lines anymore.
  1110. * The Classloader usage has been changed for the taskdef, property, available
  1111. and sql tasks so that it delegates to the parent classloader. This may cause
  1112. ClassNotFoundExceptions to be thrown if a system class attempts to load a
  1113. class in the taskdef's classpath (typically factory objects).
  1114. * Ant now allows multithreading of tasks and the containment of tasks within
  1115. other tasks. This can break customer listeners which do not expect messages
  1116. from a task before the previous task has finished.
  1117. * Ant now installs its own ouput stream into System.out to route output to the
  1118. task currently executing on the current thread. This also means that all
  1119. output is now routed as Ant message events. Customer listeners and loggers
  1120. should not call System.out at any time. This has always been true but such
  1121. usage now will cause problems due to possible recursion.
  1122. * Invalid manifest files will now cause build failures in the <jar> task.
  1123. * Ant Introspection now looks for methods with method names starting with
  1124. addConfigured. When called these methods are passed an argument after it has
  1125. been configured from the build file. Custom tasks supporting nested elements
  1126. starting with the name configured will no longer function.
  1127. * The environment variable JAVACMD that can be used to specify the
  1128. java executable to Ant's wrapper scripts must not contain additional
  1129. command line parameters any longer - please use the environment
  1130. variable ANT_OPTS for such parameters now.
  1131. * Ant's wrapper scripts now quote the CLASSPATH environment variable, thus
  1132. supporting classpaths which refer to directories containing spaces. This means
  1133. that the CLASSPATH environment variable cannot have quotes. Any quotes should
  1134. be removed. This will not affect the operation of the CLASSPATH environment
  1135. variable in other contexts.
  1136. * A delete task like
  1137. <delete includeEmptyFilesets="true">
  1138. <fileset dir="somedir" />
  1139. </delete>
  1140. will now remove "somedir" as well, unless there are still files left
  1141. in it (matched by the default excludes).
  1142. * The copy task will now fail if the file to be copied is not found.
  1143. * Ant properties defined in properties files now behave the same way as
  1144. properties defined in the build file. In particular the $ character needs
  1145. to be escaped in property values by doubling it to $$. So, to define a
  1146. property with the value $hello, you need to define it in a properties file
  1147. as
  1148. test.prop=$$hello
  1149. This was not the case in Ant 1.3
  1150. Other changes:
  1151. --------------
  1152. * New tasks: ear, p4counter, record, cvspass, vsscheckin, vsscheckout,
  1153. typedef, sleep, mimemail, set of tasks for Continuus/Synergy, dependset,
  1154. condition, maudit, mmetrics, jpcoverage, jpcovreport, jpcovmerge
  1155. * Ant now uses JAXP 1.1
  1156. * rmic now supports Kaffe's and Weblogic's version of rmic.
  1157. * new magic property build.rmic to chose the rmic implementation
  1158. * <tar> will now add empty directories as well
  1159. * you can now specify a description for <p4change>
  1160. * <touch> can now work on <fileset>s
  1161. * <uptodate> now supports a value attribute
  1162. * <fail> supports nested text
  1163. * <fixcrlf> won't override files that are already in the correct
  1164. format.
  1165. * <sql> now supports REM comments as well as // and --
  1166. * <jar> now has a nested <metainf> element following the same idea as
  1167. <war>'s <webinf>.
  1168. * <pvcs> can now handle multiple projects.
  1169. * <available> now has a "type" attribute you can use in conjunction
  1170. with the "file" attribute to specify whether the "file" you're
  1171. looking for is a file or a directory.
  1172. * New <junit> formatter named "brief"
  1173. * <ejbjar> changes
  1174. * Add support for Borland Application Server to the <ejbjar> task using
  1175. a <borland> nested element.
  1176. * Add support for iPlanet Application Server to the <ejbjar> task. Also
  1177. includes some iPlanet utility tasks
  1178. * Add support for JBoss Application Server to the <ejbjar> task.
  1179. * Add a naming attribute to control the naming scheme that
  1180. ejbjar uses to name the generated EJB jars.
  1181. * Weblogic element now sets the compiler class for EJB 2.0 beans
  1182. * <dtd> elements can be specified at the <ejbjar> level for building generic
  1183. beans
  1184. * <dtd> elements can now be URLs
  1185. * Allow the manifest to be specified for the generated jars
  1186. * The weblogic element now supprts an attribte noEJBC to skip the processing
  1187. of the jar by ejbc. The ejbc step will then occur at deployment
  1188. * weblogic will tell ejbc to use Jikes compiler if build.compiler is set to
  1189. jikes. It can be restored to the default, javac, operation if desired.
  1190. * Allow the <sql> Delimiter to be set in the so that Oracle stored procs may be
  1191. entered
  1192. * <execon> and <apply> can now optionally skip empty filesets.
  1193. * <javadoc> has a new useexternalfile attribute that makes it use a
  1194. temporary file for sourcefile and package names - helps to defeat
  1195. command line length limitations.
  1196. * Data types like <path> can now be defined inside of <target>s
  1197. * you can now specify a classpath for <style> - the XSLZ processor
  1198. will be loaded from this path
  1199. * added a force attribute to <style> to support dependencies that the
  1200. task cannot determine itself (dependency on parameters, not file
  1201. modification times for example)
  1202. * added vmlauncher attribute to exec tasks. This defaults to true. If
  1203. it is set to false, the VM's ability to launch commands in bypassed
  1204. and the OS shell, either directly or through the auxillary antRun
  1205. scripts is used.
  1206. * regexp mapper now supports the java.util.regex package of JDK 1.4.
  1207. * New filesonly attribute for <zip> and friends to suppress directory
  1208. entries.
  1209. * New update attribute for <zip> and friends - update an existing
  1210. archive instead of creating a new one.
  1211. * <apply> and <execon> have been merged into a single task.
  1212. * added vssver.scc to the default excludes
  1213. * <available> has a new filepath attribute/nested element that allows
  1214. you top search for a file in a given path.
  1215. * <junit> can now optionally set a property on test failure.
  1216. * <taskdef> can now define several tasks at once, reading the
  1217. name/classname pairs from a property file or resource.
  1218. * <unzip/unjar/unwar> and <untar> now have an overwrite attribute that
  1219. defaults to true. If set to false, files that are newer than the
  1220. files in the archive will not be replaced.
  1221. * <patternset> and <fileset> now support nested <in/excludesfile>
  1222. elements - using these you can have more than one in/excludes file
  1223. per <patternset>.
  1224. * Three new supported compilers for javac: kjc for kopi, gcj for the
  1225. gcc frontend and sj for Symantec's compiler.
  1226. In addition extJavac or the new fork attribute can be
  1227. used to run the JDK's javac in a JVM separate from Ant.
  1228. * <fixrlf> can now with CR only line-ends and can use an arbitraty
  1229. between 2 and 80.
  1230. * The .NET tasks have been adapted to the beta2 release of the framework.
  1231. * <move> will now try to rename() files before copying them byte by
  1232. byte - only if filtering is of, of course.
  1233. * <ant> and <antcall> tasks now support a new attribute inheritAll. When set to
  1234. false, only user properties are passed through to the target Ant instance.
  1235. This includes properties set on the command line and properties explicitly
  1236. passed
  1237. * <javadoc> now skips off line links if the package list cannot be found.
  1238. * <wlrun> now allows the security policy file to exist outside the weblogic
  1239. directory.
  1240. * <java> task will set the Thread contextClassLoader under JDKs 1.2+ to the
  1241. classloader for the class being executed.
  1242. * Introduce the concept of a TaskContainer - a task or element which can contain
  1243. Ant Tasks.
  1244. * Add new tasks implementing the TaskContainer interface <parallel> and
  1245. <sequential> which allow parallel execution of tasks to be specified.
  1246. * <depend> task will now take into account dependencies on jar files and class
  1247. files from a given classpath.
  1248. * <jar> manifest entries may now be specified in the build file either
  1249. completely or to be merged with a manifest file.
  1250. * <tstamp> task custom formats now support locales.
  1251. * Added a listner which will forward events to Log4J. The log4j configuration
  1252. file should be in the directory from which Ant is run or passed as a system
  1253. property using a JVM argument.
  1254. * Introduced the concept of <filtersets> to allow for more control in which
  1255. filters get applied in a <copy> or <move> operation.
  1256. * Added nowarn attribute to javac and deprecated the Jikes-magic property
  1257. build.compiler.warnings.
  1258. * The <depend> task cache format has changed and all dependency information is
  1259. now stored in a single file.
  1260. Fixed bugs:
  1261. -----------
  1262. * Testcases have been made independent of current working directory.
  1263. * Input ZIP-Files will be closed when using a <zipfileset>.
  1264. * p4 tasks now don't fail if user, port or client have been omitted
  1265. (and this is acceptable for the context of the command).
  1266. * <javah>'s outputfile attribute will be resolved as relative to the
  1267. projects basedir.
  1268. * <antstructure> should create a valid DTD for propertyfile.operation.entry
  1269. and omit tasks it fails to load.
  1270. * won't try to pass a -bootclasspath flag to javac 1.1 anymore
  1271. * <style>'s style attribute no handles absolute paths correctly.
  1272. * <delete includeemptydirs="true"> now deletes more than just the leaf
  1273. directories.
  1274. * You can now specify a <fileset> for a directory that doesn't exist at
  1275. declaration time but will created before the fileset gets used for the
  1276. first time.
  1277. * If the quiet attribute has been set, <delete> will handle <fileset>s
  1278. with non-existing directories gracefully.
  1279. * Output written by testcases will now be captured by the <junit> task
  1280. and passed to the formatters.
  1281. * Quote the -group parameter to Javadoc as per the specification
  1282. * Initialise classes when loaded through the AntClassLoader - that is, run
  1283. static initializers
  1284. * Implement getResource() and getResources() in AntClassLoader
  1285. * Create the <ejbjar> weblogic command line as a set of arguments rather than
  1286. as a single line. Avoids problems with paths which contain spaces.
  1287. * <ejbjar> now fails when the weblogic ejbc compiler reports an error.
  1288. * Make the AntClassLoader load resources in the same order as it currently
  1289. loads classes.
  1290. * Handle classpaths with spaces
  1291. * Make sure XSLT processors close their output files in <style>.
  1292. * perform proper uptodate check in <rmic> when compiling for IIOP.
  1293. * <jjtree>'s uptodate test works even if outputdirectory is not the
  1294. parent dir of target
  1295. * <copy> will remove target file (if it exists) before writing to it -
  1296. this avoids problems with links on filesystems that support them.
  1297. * <ftp> now properly recurses remote directories.
  1298. * <ftp> closes remote connection when it's done.
  1299. * <junit> tries to include all necessary classes for the task itself
  1300. to the classpath when running in fork mode - doesn't work for JDK 1.1
  1301. * <apply> and <execon> do now execute the command only once, if you
  1302. specify the parallel attribute - instead of once per fileset.
  1303. * directory based tasks and fileset could miss some included files in
  1304. directories that have been excluded
  1305. * <fixcrlf> failed for large files.
  1306. * <move> removed files you tried to move to themselves.
  1307. * <sql> task will not trty to print the result set unless the query succeeded.
  1308. * Ant classloader will now ignore paths which are invalid relative to the
  1309. project base
  1310. * <ejbjar> weblogic elements check for jar file changes has been fixed.
  1311. Previously some changes would not be included.
  1312. * properties loaded from properties files are now resolved internally. This
  1313. removes the spurious warnings about usage of properties which have not been
  1314. set.
  1315. * <jar> task and friends now process the JAR manifest to ensure it is valid.
  1316. * The task finished event now includes any exception thrown by the task.
  1317. * <java> task now supports a jvmVersion attribute so that if another JVM is
  1318. being used, Ant can determine which options to use for features such as the
  1319. VM memory limits
  1320. Changes from Ant 1.2 to Ant 1.3
  1321. ===========================================
  1322. Changes that could break older environments:
  1323. --------------------------------------------
  1324. * Ant doesn't search for the buildfile anymore, unless you use the new
  1325. -find argument.
  1326. * <perforce> has been replaced by a number of new tasks.
  1327. * <javac> is now implemented using a factory. This makes extending
  1328. javac to use a new compiler a lot easier but may break custom
  1329. versions of this task that rely on the old implementation.
  1330. * The output generated by the xml formatter for <junit> has changed a
  1331. little, it doesn't append " sec" in the time attribute anymore.
  1332. Other changes:
  1333. --------------
  1334. * A GUI Frontend: Antidote. This is currently in development. At this
  1335. time, this is not part of the Ant release, although the source is
  1336. included if you are interested.
  1337. * New tasks: stylebook, propertyfile, depend, antlr, telnet, csc,
  1338. ilasm, apply, javah, several clearcase tasks, junitreport, sound
  1339. * Added output attribute to <java>.
  1340. * Added nested zipfileset element to <zip>
  1341. * Changed <sql> so that printing is at the task level rather than
  1342. the statement level.
  1343. * javadoc task will pass -d flag to any doclet if the destDir attribute is
  1344. given. If the doclet does not accept the -d flag then omit the destdir
  1345. attribute.
  1346. * <cab> can work on non-Windows platforms with the help of libcabinet.
  1347. See http://trill.cis.fordham.edu/~barbacha/cabinet_library/.
  1348. * <ftp> now supports passive mode.
  1349. * New <mapper> data type that can be used to get influence on the
  1350. target files for some tasks like <copy> or enable new types of tasks
  1351. like <apply>.
  1352. * <execon> provides more control over the command line now, the names
  1353. of the source files are no longer required to be at the end of the
  1354. command.
  1355. * Style tasks will now support TraX compliant XSL processors if one is present
  1356. in your classpath.
  1357. * Added a failonerror to the javac task. If set to false, the build will
  1358. continue even if there are compilation errors.
  1359. * Added nested format elements to the tstamp task allowing additional time
  1360. formats to be defined for arbitrary properties.
  1361. * Added classpath attribute and nested classpath element to <property>
  1362. to make the resource attribute more powerful.
  1363. * ${} property expansion will now be performed on the patterns read
  1364. from files specified as includesfile or excludesfile attributes.
  1365. * The <tar> and <untar> tasks now support GNU format for handling paths
  1366. which are greater than 100 characters in length. In addition the <tar>
  1367. task now supports nested filesets through which the file permissions
  1368. may be controlled.
  1369. * wlrun, wlstop and ejbjar now support Weblogic 6.0
  1370. * The MPasre task has been updated to work with MParse 2.0
  1371. * The documentation has been significantly updated.
  1372. Fixed bugs:
  1373. -----------
  1374. * <signjar> doesn't use deprectated methods anymore.
  1375. * javadoc's failonerror attribute works again
  1376. * javadoc's additionalparam attribute will now be split into separate
  1377. parameters (on spaces) to allow for more than one parameter.
  1378. * Changed <sql> task so that printing result sets works on Oracle
  1379. * Changes to ddcreator and ejbc helper to respect the descriptor hierarchy
  1380. keppgenerated in ejbc can now be turned off
  1381. * ejbjar now correctly ignores <ejb-ref> elements in the deployment descriptor.
  1382. CMP files are included by parsing the weblogic deployment descriptor rather
  1383. than relying on the naming convention used in ant 1.2
  1384. * ejbjar includes super classes and super interfaces into the generated ejb
  1385. jar files. The <support> nested element allows support classes to be
  1386. included in the EJB jar. The toplink element should now correctly locate
  1387. the toplink descriptor.
  1388. * <vssget> now correctly deals with spaces in arguments
  1389. * <jar> fails early if a given manifest file doesn't exist
  1390. * <rmic> doesn't search for the _Skel file anymore when stubversion is
  1391. set to 1.2.
  1392. * <rmic> uses the the same classpath to verify a class can be rmic'd
  1393. as it passes to the compiler.
  1394. * org.apache.tools.mail.MailMessage (and therefore <mail>) can now
  1395. handle SMTP servers sending multi line responses.
  1396. * nested <classpath> elements of <taskdef> now work for <taskdef>s not
  1397. nested into <target> as well.
  1398. * <property> and <available> will search for the resource "foo" instead
  1399. of "/org/apache/tools/ant/taskdefs/foo" when given a relative resource
  1400. name foo.
  1401. * Handle build files in directories whose name contained a "#" character
  1402. * <junit> can now log to files whose name contains a comma as well.
  1403. * The AntClassLoader now refers to the loader which loaded it, any
  1404. requests it does not handle itself. Previously these went to the
  1405. primordial loader.
  1406. Changes from Ant 1.1 to Ant 1.2
  1407. ===============================
  1408. Changes that could break older environments:
  1409. --------------------------------------------
  1410. * Semantics of <property> has changed again in the hope to be more
  1411. intuitive. ${} expansion now happens at runtime and <property> tags
  1412. living inside of targets only take effect if they are visited at
  1413. runtime.
  1414. As a side effect of this change, task's attributes get set at runtime
  1415. not at parser time as well, which might change the results of
  1416. <script>s or other custom tasks that reference other tasks by their id
  1417. attribute.
  1418. * copying of support files in <javac> has been removed - as well as
  1419. the filtering attribute.
  1420. * the <expand> and <keysubst> tasks have been removed.
  1421. * the ignore and items attributes of directory based tasks have been removed.
  1422. * the command line switches _not_ starting with - have been removed.
  1423. * Path and EnumeratedAttribute have been moved from
  1424. org.apache.tools.ant to org.apache.tools.ant.types.
  1425. * the class attributes of <available>, <java>, <rmic> and <taskdef>
  1426. have been removed.
  1427. * the src attribute of <chmod> has been removed.
  1428. * <patch> and <javadoc> have lost some of their attributes.
  1429. * <java> and <cvs> have lost some undocumented attributes.
  1430. * the Unix antRun script would search for command.sh in the directory
  1431. it changed to and invoke this instead of command if present. This
  1432. behavior has been dropped.
  1433. * <ejbjar> task syntax has been changed significantly
  1434. * <exec> is no longer implemented by org.apache.tool.ant.taskdefs.Exec.
  1435. Custom tasks that rely on Project.createTask("exec") to return an
  1436. instance of this class are going to fail.
  1437. * nested <include> and <exclude> elements expect the value of their
  1438. name attribute to be a single pattern, they don't accept multiple
  1439. patterns anymore. Split them into multiple elements of the same type.
  1440. * <delete dir="somedir" /> will now delete the directory itself as
  1441. well as all included files. If you just want to clean out the
  1442. directory and keep the empty one, use a nested fileset.
  1443. Other changes:
  1444. --------------
  1445. * New tasks: antstructure, cab, execon, fail, ftp, genkey, jlink,
  1446. junit, sql, javacc, jjtree, starteam, war, unwar, uptodate,
  1447. native2ascii, copy, move, mparse.
  1448. * copydir, copyfile, deltree and rename are now deprecated. They
  1449. should be replaced with the new copy, delete and move tasks.
  1450. * <java> uses a ClassLoader of its own in no-fork mode if a classpath is
  1451. specified.
  1452. * <style> will create the necessary target directories and reprocess
  1453. all files if the stylesheet changes.
  1454. * New data types fileset and patternset - expected to get a broader use.
  1455. They, as well as PATH like structures, can now be defined on a global
  1456. level and later be referenced by their id attribute.
  1457. * You can specify environment variables to <exec>.
  1458. * <get> can check whether a remote file is actually newer than a local
  1459. copy before it starts a download (HTTP only).
  1460. * Added a -logger option to allow the class which performs logging to be
  1461. specified on the command line.
  1462. * Added a -emacs option to tell the logger to leave out taskname adornments
  1463. on log output.
  1464. * <chmod> works on all files in parallel and supports multiple filesets.
  1465. * <replace> can now use tokens and/or values that cross line boundaries.
  1466. * build.compiler supports now jvc as well.
  1467. * project specific help can now be obtained with the -projecthelp option.
  1468. * Added a -debug option to make -verbose less verbose (and more useful)
  1469. * Ant will now search for a file named build.xml in the parent directory
  1470. and above (towards the root of the filesystem) if you didn't specify
  1471. -buildfile and there is no build.xml in the current directory.
  1472. * <echo> can now write to a file and accepts nested text.
  1473. Fixed bugs:
  1474. -----------
  1475. * <chmod> didn't work when used as a directory based task.
  1476. * Path, Available, Property didn't resolve relative filenames with
  1477. respect to the Project's basedir.
  1478. * Project didn't interpret the basedir attribute correctly in all
  1479. cases.
  1480. * Nested <src> in <javac> caused NullPointerException.
  1481. * Corrupt Zip- and Jar-files ar now deleted if the task fails.
  1482. * many more fixes we've forgotten to document here ...
  1483. * The packagelistloc attribute of <javadoc>'s <link> child will be
  1484. resolved as a file (i.e. it is either absolute or relative to
  1485. basedir).