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

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