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 72 kB

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