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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313
  1. Changes from Ant 1.5 to current CVS version
  2. ==============================================
  3. Other changes:
  4. --------------
  5. * <echoproperties> can now create XML output.
  6. * <echoproperties> has a new srcfile attribute that can make it read
  7. properties files and output them instead of Ant's properties.
  8. * <filterset> will now resolve filters recursively.
  9. Changes from Ant 1.4.1 to Ant 1.5
  10. =================================
  11. Changes that could break older environments:
  12. --------------------------------------------
  13. * Properties will now be expanded in mail message bodies. This means
  14. that one $ sign will be stripped if your mail message contains the text
  15. $$.
  16. * org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask.
  17. * Available#setFile now again uses a File argument as it did in 1.4,
  18. this may break environments that have been adapted to the String
  19. argument version present in 1.5beta1.
  20. Fixed bugs:
  21. -----------
  22. * When <move> attempts a rename, it deletes the destination file, if it
  23. exists, before renaming the source file. However, <move> was not
  24. checking if the destination file was actually a directory before
  25. trying to delete it.
  26. * Make CVS Tasks to work under Cygwin.
  27. * Fix LineContains to handle huge files elegantly without causing
  28. Stack Overflows.
  29. * if you ask for the "classic" compiler on Java1.4, you get upgraded to
  30. "modern" because there is no classic compiler any more.
  31. * the <http> condition was viewing 404 'not found' exceptions as success. Now
  32. it defaults to viewing any response >=400 as an error, and has an errorsBeginAt
  33. attribute you can use if you want a higher or lower value.
  34. * <get> throws a build exception on an http authorization error, unless you
  35. have set ignoreerrors to true.
  36. * <wsdltodotnet> was spelt in Wintel case: <WsdlToDotnet>. It is now lower
  37. case, though the old spelling is retained for anyone who used it.
  38. * Merging of Manifests in jar now works as documented.
  39. * paths that have been separated by colons would be incorrectly parsed
  40. on NetWare.
  41. * runant.pl now supports NetWare.
  42. * <tempfile> and <setproxy> tasks were in beta1, but not defined by
  43. default; They now are. <tempfile> fills a property with the name of a
  44. temporary file; <setproxy> lets you set the JVM's http, ftp and socks proxy
  45. settings.
  46. * <available classname="foo" ignoresystemclasses="true"> failed for
  47. JDK 1.1 and 1.2, even if the class could be found on the
  48. user-specified classpath.
  49. * <property environment=... /> now works on z/OS.
  50. * forked <javac> failed for the wrong reason on JDK 1.1 - Ant would
  51. use a temporary file to hold the names of the files to compile under
  52. some conditons, but 1.1 doesn't support this feature. Ant will no
  53. longer try this, but you may run into problems with the length of the
  54. command line now.
  55. * the refid attribute for <property>s nested into <ant> or <param>s
  56. nested into <antcall> didn't work.
  57. * <replaceregexp> didn't work for nested <fileset>s.
  58. * <javadoc> dropped sourcepath entries if no "interesting" .java
  59. source files could be found below them. This has been backwards
  60. incompatible and caused problems with custom doclets like xdoclet.
  61. * Using the doclet, docletpath or docletpathref attributes of
  62. <javadoc> may have caused NullPointerExceptions.
  63. * nested <filesets> of <javadoc> would include too much.
  64. * <dependset> will no longer choke on <targetfileset>s that point to
  65. non-existing directories.
  66. * <patch> didn't work at all.
  67. * <replace> and <replaceregexp> now fail if the file they are working
  68. on is locked.
  69. * <javadoc> would pick up the wrong executable in the combination JDK
  70. 1.2 and AIX.
  71. Other changes:
  72. --------------
  73. * z/OS now gets detected by the os condition.
  74. * <fileset> and <dirset> now have an optional followsymlink attribute
  75. that can prevent Ant from following symbolic links on some platforms.
  76. * BeanShell is now supported in the <script> task.
  77. * <ejbjar> under Weblogic attempts to use the ejbc20 compiler for 2.0 beans
  78. based on the deployment descriptor's DTD reference. Under weblogic 7.00 Beta
  79. this ejbc class has been deprecated. To avoid the deprecation warning use
  80. ejbcclass="weblogic.ejbc".
  81. * <ejbjar> will add a manifest to the generated jar based on the naming
  82. convention in use. This overrides the manifest specified in the
  83. <ejbjar> attribute
  84. Changes from Ant 1.4.1 to 1.5beta1
  85. ==================================
  86. Changes that could break older environments:
  87. --------------------------------------------
  88. * Important: Single $ signs are no longer silently stripped!
  89. =======
  90. * Project.getBuildListeners now returns a clone of the listener
  91. list. Changes to the returned list will not affect the listeners
  92. currently attached to the Project. It also means that it is safe to
  93. iterate over the returned list if listeners are added or removed
  94. during the traversal.
  95. * <pvcs> default filenameformat has been different from Ant 1.4.1.
  96. Now it is different from 1.5beta1 and 1.5beta2.
  97. * Some messages that are printed during startup will not be
  98. written to the logfile specified via -logfile as they might destroy
  99. the format of the file for special BuildLoggers (like XmlLogger).
  100. Fixed bugs:
  101. -----------
  102. * <available> could fail to find files or directories that happen to
  103. start with the name of the project's basedir but are not children of
  104. the basedir.
  105. * Nested <property>'s inside <ant> can now be overriden by subsequent
  106. <ant> and <antcall> tasks.
  107. * <xslt>'s outputtype attribute wouldn't do anything.
  108. * <linecontains> filterreader could swallow lines.
  109. * <sequential> used to configure the tasks (set their attributes)
  110. before the first task has been executed. This means that properties
  111. that have been set by nested task seemed to be unset for the other
  112. tasks in the same <sequential> element.
  113. * <javac>'s sourcepath setting has been ignored by some compiler
  114. implementations.
  115. * <javadoc>'s packagelist attribute didn't work.
  116. * the plain mailer would always use port 25 in <mail>.
  117. * Ant's default logger could swallow empty lines.
  118. * ejbjar's iPlanet nested element now can process multiple descriptors.
  119. * IPlanetEjbc was looking in the wrong place for four iiop files.
  120. * <javac> would pass the -source switch to JDK 1.3's javac, even
  121. though it doesn't support it.
  122. Other changes:
  123. --------------
  124. * <checksum> now uses a buffer (of configurable size).
  125. * The "Trying to override task definition" warning has been degraded
  126. to verbose level if the two task definitions only differ in the class
  127. loader instance that has loaded the definition.
  128. * Add a jvmargs to the ejbjar's weblogic element to allow additional
  129. arguments to be provided to the VM runnign ejbc. Document the
  130. jvmdebuglevel attribute which can be used to avoid warnings about
  131. interface classess being found on the classpath. Document the new
  132. <sysproperty> element which allows JVM properties to be defined.
  133. Added an outputdir attribute to allow the destination to be a
  134. directory into which the exploded jar is written.
  135. * ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5
  136. Changes from Ant 1.5beta1 to Ant 1.5beta2
  137. =========================================
  138. Changes that could break older environments:
  139. --------------------------------------------
  140. * Properties will now be expanded in mail message bodies. This means
  141. that one $ sign will be stripped if your mail message contains the text
  142. $$.
  143. * org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask.
  144. * Available#setFile now again uses a File argument as it did in 1.4,
  145. this may break environments that have been adapted to the String
  146. argument version present in 1.5beta1.
  147. Fixed bugs:
  148. -----------
  149. * When <move> attempts a rename, it deletes the destination file, if it
  150. exists, before renaming the source file. However, <move> was not
  151. checking if the destination file was actually a directory before
  152. trying to delete it.
  153. * Make CVS Tasks to work under Cygwin.
  154. * Fix LineContains to handle huge files elegantly without causing
  155. Stack Overflows.
  156. * if you ask for the "classic" compiler on Java1.4, you get upgraded to
  157. "modern" because there is no classic compiler any more.
  158. * the <http> condition was viewing 404 'not found' exceptions as success. Now
  159. it defaults to viewing any response >=400 as an error, and has an errorsBeginAt
  160. attribute you can use if you want a higher or lower value.
  161. * <get> throws a build exception on an http authorization error, unless you
  162. have set ignoreerrors to true.
  163. * <wsdltodotnet> was spelt in Wintel case: <WsdlToDotnet>. It is now lower
  164. case, though the old spelling is retained for anyone who used it.
  165. * Merging of Manifests in jar now works as documented.
  166. * paths that have been separated by colons would be incorrectly parsed
  167. on NetWare.
  168. * runant.pl now supports NetWare.
  169. * <tempfile> and <setproxy> tasks were in beta1, but not defined by
  170. default; They now are. <tempfile> fills a property with the name of a
  171. temporary file; <setproxy> lets you set the JVM's http, ftp and socks proxy
  172. settings.
  173. * <available classname="foo" ignoresystemclasses="true"> failed for
  174. JDK 1.1 and 1.2, even if the class could be found on the
  175. user-specified classpath.
  176. * <property environment=... /> now works on z/OS.
  177. * forked <javac> failed for the wrong reason on JDK 1.1 - Ant would
  178. use a temporary file to hold the names of the files to compile under
  179. some conditons, but 1.1 doesn't support this feature. Ant will no
  180. longer try this, but you may run into problems with the length of the
  181. command line now.
  182. * the refid attribute for <property>s nested into <ant> or <param>s
  183. nested into <antcall> didn't work.
  184. * <replaceregexp> didn't work for nested <fileset>s.
  185. * <javadoc> dropped sourcepath entries if no "interesting" .java
  186. source files could be found below them. This has been backwards
  187. incompatible and caused problems with custom doclets like xdoclet.
  188. * Using the doclet, docletpath or docletpathref attributes of
  189. <javadoc> may have caused NullPointerExceptions.
  190. * nested <filesets> of <javadoc> would include too much.
  191. * <dependset> will no longer choke on <targetfileset>s that point to
  192. non-existing directories.
  193. * <patch> didn't work at all.
  194. * <replace> and <replaceregexp> now fail if the file they are working
  195. on is locked.
  196. * <javadoc> would pick up the wrong executable in the combination JDK
  197. 1.2 and AIX.
  198. Other changes:
  199. --------------
  200. * z/OS now gets detected by the os condition.
  201. * <fileset> and <dirset> now have an optional followsymlink attribute
  202. that can prevent Ant from following symbolic links on some platforms.
  203. * BeanShell is now supported in the <script> task.
  204. * <ejbjar> under Weblogic attempts to use the ejbc20 compiler for 2.0 beans
  205. based on the deployment descriptor's DTD reference. Under weblogic 7.00 Beta
  206. this ejbc class has been deprecated. To avoid the deprecation warning use
  207. ejbcclass="weblogic.ejbc".
  208. * <ejbjar> will add a manifest to the generated jar based on the naming
  209. convention in use. This overrides the manifest specified in the
  210. <ejbjar> attribute
  211. Changes from Ant 1.4.1 to 1.5beta1
  212. ==================================
  213. Changes that could break older environments:
  214. --------------------------------------------
  215. * Important: Single $ signs are no longer silently stripped!
  216. >>>>>>> 1.263.2.51
  217. Before you panic that we have broken all your build files, we have kept
  218. the old "$$" -> "$" behaviour. So only build files which accidentally had
  219. a $ sign in a string that was being silently stripped may break.
  220. We added this fix to stop newbie confusion; if you want to write a
  221. build file which works on ant versions 1.4.1 or earlier, stay with
  222. the double $$ sign rule.
  223. * Shipped XML parser is now Xerces 2.0.1 along with the XML Parser APIs.
  224. XML Parser APIs is a separate jar that contains the necessary
  225. JAXP/DOM/SAX classes.
  226. * <telnet> was fixed to expand properties inside nested <read> and
  227. <write> elements; before this only happened when you assigned the text
  228. to the string attribute. If you had $ signs in the string, they may
  229. need escaping.
  230. * the RegexpMatcher interface has been extended to support case
  231. insensitive matches and other options - custom implementations of
  232. this interface won't work any longer. We recommend to use the new
  233. Regexp interface that also supports substitution instead of the
  234. RegexpMatcher interface in the future.
  235. * <gzip> will throw an exception if your src attribute points to a directory.
  236. * Unjar, Unzip and Unwar will throw an exception if the Src attribute
  237. represents a directory. Support for nested filesets is provided
  238. instead.
  239. * It is no longer possible to overwrite a property using tasks like
  240. <condition>, <exec>, <pathconvert>, or <tstamp>. In some exceptional
  241. cases it will generate a warning if you attempt to overwrite an
  242. existing property.
  243. * Taskwriters please note: Whenever tasks had any overloaded set* methods,
  244. Ant's introspection mechanism would select the last overloaded method
  245. provided to it by the Java Runtime. A modification has now been made such
  246. that when the Java Runtime provides a method with a String as its argument,
  247. a check is made to see if there is another overloaded method that takes in
  248. some other type of argument. If there is one such method, then the method
  249. that takes in String as an argument is not selected by the Introspector.
  250. * The pattern definition **/._* has been included into the Default
  251. Excludes list.
  252. * <propertyfile>'s <entry> element was modified to remove "never" as a value
  253. as its behavior was undocumented and flakey.
  254. * The -projecthelp flag now only prints out targets that include the
  255. 'description' attribute, unless the -verbose or -debug flag is included
  256. on the Ant command line.
  257. * Ant's testcases now require JUnit 3.7 or above, as they now use the new
  258. assertTrue method instead of assert.
  259. * If the 'output' attribute of <ant> is set to a simple filename or a
  260. relative path, the file is created relative to ${basedir}, not ${user.dir}.
  261. * The default value for build.compiler is now javac1.x with x
  262. depending on the JDK that is running Ant instead of classic/modern.
  263. Fixed bugs:
  264. -----------
  265. * A bug existed that prevented generated log files from being deleted as
  266. part of the build process itself. This has now been fixed.
  267. * Fixed bug where <move> ignored <filterset>s.
  268. * Ant works properly with the combination of Java1.4/WindowsXP.
  269. * Fixed bug where <java> used to sometimes invoke class constructors twice.
  270. * Fixed bug with 4NT shell support.
  271. * Fixed bug where ant would not perform ftp without remotedir being
  272. specified even though this was not mandatory.
  273. * Fixed bug where ant would not copy system properties into new Project
  274. in ant/antcall tasks when inheritall="false" is set.
  275. * <propertyfile> would not close the original property file.
  276. * <ant> will no longer override a subbuild's basedir with inheritall="true".
  277. * Fixed problem with the built-in <junit> formatters which assumed
  278. that only one test could be running at the same time - this is not
  279. necessarily true, see junit.extensions.ActiveTestSuite.
  280. * <jar>'s whenEmpty attribute is useless as JARs are never empty, they
  281. contain at least a manifest file, therefore it will now print a
  282. warning and do nothing.
  283. * <typedef> hasn't been all that useful as it couldn't be used outside
  284. of targets (it can now) and nested "unknown" elements have always
  285. been considered to be tasks (changed as well).
  286. * <fixcrlf> would fail for files that contained lines longer than 8kB.
  287. * Some junit formatters incorrectly assumed that all testcases would
  288. inherit from junit.framework.TestCase.
  289. * <fixcrlf> dropped the first characters from Mac files.
  290. Other changes:
  291. --------------
  292. * Selector Elements now provide a way to create filesets based on
  293. sophisticated selection criteria.
  294. * Gzip and Bzip2 files can now be constructed in the fly when using
  295. the tar task without having to create the intermediate tar file on
  296. disk. The Untar task can also untar GZip and BZip2 files on the fly
  297. without creating the intermediate tar file.
  298. * New optional type, <classfileset> added.
  299. * <ejbjar> now allows control over which additional classes and interfaces
  300. are added to the generated EJB jars. A new attribute "dependency" can be
  301. defines which classes are added. The addition of classes now uses
  302. the Jakarta-BCEL library rather than reflection, meaning bean classes are
  303. no longer loaded into Ant's JVM. The default dependency analyzer is known as
  304. the ancestor analyzer. It provides the same behaviour as the 1.4.1 version of
  305. <ejbjar>. If the BCEL library is not present, a warning will be issued stating
  306. the ancestor analyzer is not available. In this case <ejbjar> will continue
  307. to function but will not add super classes to the jar.
  308. * <available> has a new attribute named ignoreSystemClasses.
  309. * New task <cvschangelog/> generates an XML report of changes that occur
  310. on CVS repository.
  311. * New filter readers: ClassConstants, ExpandProperties, HeadFilter,
  312. LineContains, LineContainsRegExp, PrefixLines, ReplaceTokens,
  313. StripJavaComments, StripLineBreaks, StripLineComments, TabsToSpaces,
  314. TailFilter.
  315. * <copy>, <loadfile>, <loadproperties>, <move> support FilterChains
  316. of FilterReaders.
  317. * New task <loadproperties> to load contents of file as Ant properties,
  318. with nested <filterchain> elements.
  319. * New task <loadfile> to load a whole file into a property.
  320. * New task <echoproperties> to list your current properties to the screen
  321. or a file.
  322. * New tasks <bzip2> and <bunzip2> to pack and unpack files using the
  323. BZip2 alogrithm.
  324. * New tasks <replaceregexp>, <checksum>, <translate>, <waitfor>,
  325. <manifest>, <vsscp>, <vssadd>, <vsscreate>, <splash>, <basename>, <dirname>,
  326. <concat>.
  327. * A new combined <mail> task, which replaces the old <mail> and
  328. <mimemail> tasks, has been added. The <mimemail> task, and
  329. old SendEmail and MimeMail classes have been deprecated.
  330. * Mail task allows specification of port number.
  331. * Users can control what <zip> and <jar> must do when duplicate files
  332. are found. A new element <zipgroupfileset> allows for multiple zip
  333. files to be merged into the archive. In addition, <jar> also has
  334. another new attribute: filesetmanifest. The existing manifest
  335. attribute of <jar> now also accepts the name of a jar added through
  336. a fileset.
  337. * gzip now checks that the zipfile is older than the source file
  338. before rebuilding the zipfile.
  339. * TarFileset takes in three new attributes - fullpath, prefix
  340. and preserveLeadingSlashes.
  341. * <move> attempts to rename the directory, if everything inside it is
  342. included, before performing file-by-file moves. This attempt will
  343. be done only if filtering is off and if mappers are not used. This
  344. is a performance improvement and there is no change otherwise in
  345. the funtionality of this task.
  346. * Exec task has extra attribute "resultproperty" to get the return code
  347. into a property.
  348. * Exec task prints a message when a timed-out process is killed.
  349. * Added optional attributes - name, arch and version to the <os> task.
  350. * Unjar, Untar, Unwar and Unzip now support patternsets to
  351. select files from an archive for extraction. Filesets may be
  352. used to select archived files for unarchival.
  353. * Javac task allows debug levels to be specified. Debug levels
  354. will have an effect only when the modern compiler or the
  355. classic compiler (version 1.2 and higher) is used and debugging
  356. is enabled.
  357. * Added support for specifying CVS_RSH in the <cvs/> task
  358. * The attributes zipfile, jarfile, warfile and earfile (from the Zip,
  359. Jar, War and Ear tasks) have been deprecated and superseded by a
  360. new attribute "destfile".
  361. * Added new conditions <isset>, <checksum>, <http>, <socket>, <contains>,
  362. <filesmatch>.
  363. * <taskdef> and <typedef> will now emit a warning if a task/type of
  364. the given name already exists.
  365. * A new revision of VAJ tasks: The most important new feature
  366. is the ability to execute VAJ tasks from the command line by
  367. exploiting the Remote Tool Access feature of VAJ.
  368. * Improved support for Novell NetWare.
  369. * Added an optional encoding attribute to <fixcrlf>.
  370. * <apply> has a new attribute relative that allows users to pass the
  371. filenames as relative instead of absolute paths on the command line.
  372. * References can now be copied into the child build by <ant> and
  373. <antcall> using nested <reference> elements or the new inheritRefs
  374. attribute.
  375. * <fail> now supports builds to fail based on conditions via if and
  376. unless attributes.
  377. * Ant now comes with two new BuildLogger implementations - one that
  378. can send emails containing a log of the build process (MailLogger),
  379. and one that colorizes the output based on message levels, using
  380. ANSI color code escape sequences (AnsiColorLogger).
  381. * A "package" mapper type has been added to allow package directory
  382. names replaced with the dotted form.
  383. * You can now specify environment variables in the <java> and <junit> tasks
  384. if the fork attribute has been set to true.
  385. * -propertyfile command-line option has been added to load an entire
  386. property file just as -D properties are declared (as user properties).
  387. -D properties take precedence over -propertyfile specified ones.
  388. * You can now set an ANT_ARGS environment variable to hold arguments you
  389. always want passed to the 'ant' command -- for example, if you always
  390. want to use a different logger or the -find flag.
  391. * <tstamp> now supports a new "prefix" attribute to prefix properties set.
  392. * You can now specify the -sourcepath for <javac> explicitly.
  393. * <javac> now supports a new "listfiles" attribute to list the source
  394. files it's handing off to the compiler.
  395. * The compiler implementation for <javac> can now be chosen on a task by
  396. task basis. The new "compiler" attribute of <javac> can be used to override
  397. the value of the build.compiler property, if set.
  398. * <javac> has a new nested element, <compilerarg>, which allows you
  399. to specify additional args for the specific compiler you're using.
  400. * <javac>'s "source" attribute is now enabled for jikes as well.
  401. * <propertyfile>'s <entry> now has a 'unit' attribute to specify the
  402. increment/decrement unit on date operations.
  403. * <property> now supports a 'prefix' attribute when loading from a file
  404. or resource.
  405. * In Ant 1.4, a feature has been added to the <junit> task that would
  406. add ant.jar, optional.jar and junit.jar implicitly to the classpath -
  407. this feature can now be disabled by setting the new includeantruntime
  408. attribute to false.
  409. * <style> behaves differently from any other directory-based task, as it
  410. processes all files that it finds in included directories in
  411. addition to the files matched by your patterns. There is now a new
  412. attribute, 'scanincludeddirectories', to suppress this behavior.
  413. * <javadoc> now supports a <tag> nested element to provide the -tag option
  414. to the standard Java 1.4 doclet. The element is ignored when not running
  415. on Java 1.4.
  416. * <ftp> can now chmod files on a remote server that supports
  417. "site chmod", as well as set the umask before transferring files, if
  418. the server supports "site umask".
  419. * New <serverdeploy> "optional" task.
  420. * <patternset> now supports nested patternsets.
  421. * Perforce tasks now support a "failonerror" attribute (defaults to "true").
  422. * Open Source application server JOnAS support:
  423. EJB hot deploy and deploy with <serverdeploy> and <ejbjar>
  424. * Added new DirSet (<dirset>) datatype.
  425. * <path> now supports nested <dirset> and <filelist> elements.
  426. * <pathconvert> now supports nested <dirset> and <filelist> elements.
  427. * <pathconvert>'s "dirsep" and "pathsep" attributes now accept
  428. multi-character values.
  429. * <copy> task now has a 'failonerror' attribute to allow keep-going
  430. behaviour when the file to be copied is not found (defaults to "true").
  431. * <uptodate> now has a 'srcfile' attribute to allow specifying a
  432. full-path filename.
  433. * <exec>, <sql> and <java> now support append attributes to allow
  434. appending the output to an existing file.
  435. * <java> now supports a timeout attribute analog to <exec> - it is
  436. highly recommended to only use it together with fork="true".
  437. * <javadoc> now supports a source attribute to enable javadoc to
  438. handle assertions present in JDK 1.4 source code.
  439. * <replace> supports a new replacefilterfile attribute that
  440. automatically turns all properties of a given file into
  441. replacefilters.
  442. * An alias of <xslt> has been added to refer to the <style> task.
  443. * The compiler implementation for <rmic> can now be chosen on a task by
  444. task basis. The new "compiler" attribute of <rmic> can be used to override
  445. the value of the build.rmic property, if set.
  446. * <rmic> has a new nested element, <compilerarg>, which allows you
  447. to specify additional args for the specific compiler you're using.
  448. * org.apache.tools.ant.XmlLogger now is a BuildLogger, rather than just
  449. a BuildListener. It can operate in either mode successfully.
  450. * <junit> has a new attribute "showoutput". If set to true, output
  451. generated by tests will be sent to Ant's logging system as well as
  452. to the formatters (instead of sending it to the formatters
  453. exclusively).
  454. * Ant has now a pluggable way to prompt users for input, which is used
  455. by the new <input> task. IDE integrators can provide an
  456. implementation of the InputHandler interface to decouple Ant's input
  457. from the console. An implementation that gets its input from a file
  458. for unattended builds is part of Ant's distribution.
  459. For more details see docs/manual/inputhandler.html.
  460. * <patch> has a new attribute that selects the directory in which to
  461. run the command.
  462. * <javadoc> now supports two new nested elements, <fileset> and <packageset>.
  463. Changes from Ant 1.4 to Ant 1.4.1
  464. ===========================================
  465. Fixed bugs:
  466. -----------
  467. * <ant>'s antfile attribute will now also be considered an absolute path on
  468. Windows systems, if it starts with a \ and no drive specifier.
  469. * The fullpath attribute of <zipfileset> has been ignored if you used
  470. the src attribute at the same time.
  471. * The manifest file is now always placed as the second entry (after /META-INF)
  472. in generated jars. This allows the manifest to be read by JarInputStreams
  473. * Fixed bug in depend task which would fail with a NullPointerException if no
  474. dependency cache was specified.
  475. * sql task now handles REM statements correctly so that lines starying with rem
  476. but which are not comments are actually processed.
  477. * XMLLogger now uses the task's name rather than the classname
  478. * <mapper>s will now work as expected if the to pattern expands to an
  479. absolute pathname.
  480. * <javac> didn't ignore memory settings in non-fork mode
  481. * <cab> didn't split the options attribute into several command line
  482. arguments correctly.
  483. Other changes:
  484. --------------
  485. * New source attribute for <javac> to enable assertion in JDK 1.4
  486. * XmlLogger and <antstructure> now add an encoding declaration to the
  487. XML files they generate.
  488. * <fileset> has a new attribute "casesensitive" to make it match
  489. filenames in a case insensitive way (if you set it to false) - by
  490. default filesets remain case sensitive.
  491. Changes from Ant 1.3 to Ant 1.4
  492. ===========================================
  493. Changes that could break older environments:
  494. --------------------------------------------
  495. * JUnitReport now uses the xalan redirect extension for multi-output.
  496. With Xalan 1.2.2 it forces the use of bsf.jar in the classpath.
  497. (Available in the xalan distribution). It is recommended to switch
  498. to Xalan 2.x that do not need it.
  499. * Zip.setWhenempty() has changed its signature.
  500. * <rmic> is now implemented using a factory. This makes extending
  501. rmic to use a new compiler a lot easier but may break custom
  502. versions of this task that rely on the old implementation.
  503. * several Zip methods have changed their signature as we now use a Zip
  504. package of our own that handles Unix permissions for directories.
  505. Furthermore <zip> will now use the platform's default character
  506. encoding for filenames - this is consistent with the command line
  507. ZIP tools, but causes problems if you try to open them from within
  508. Java and your filenames contain non US-ASCII characters. Use the new
  509. encoding attribute of the task and set it to UTF8 to get the old
  510. behavior.
  511. * The <pvcs> task has been moved to a package of its own.
  512. * JUnitResultFormater has two additional methods that must be
  513. implemented by custom formatters.
  514. * Ant will no longer use the canonical version of a path internally -
  515. this may yield different results on filesystems that support
  516. symbolic links.
  517. * The output generated by the xml formatter for <junit> has changed
  518. again, it doesn't format the numeric value in the time attribute anymore.
  519. * Pattern matching rules have changes slightly, the pattern foo*
  520. doesn't match files contained in a directory named foo - use foo/*
  521. instead.
  522. * <fixcrlf> will not remove trailing whitespace at the end of lines anymore.
  523. * The Classloader usage has been changed for the taskdef, property, available
  524. and sql tasks so that it delegates to the parent classloader. This may cause
  525. ClassNotFoundExceptions to be thrown if a system class attempts to load a
  526. class in the taskdef's classpath (typically factory objects).
  527. * Ant now allows multithreading of tasks and the containment of tasks within
  528. other tasks. This can break customer listeners which do not expect messages
  529. from a task before the previous task has finished.
  530. * Ant now installs its own ouput stream into System.out to route output to the
  531. task currently executing on the current thread. This also means that all
  532. output is now routed as Ant message events. Customer listeners and loggers
  533. should not call System.out at any time. This has always been true but such
  534. usage now will cause problems due to possible recursion.
  535. * Invalid manifest files will now cause build failures in the <jar> task.
  536. * Ant Introspection now looks for methods with method names starting with
  537. addConfigured. When called these methods are passed an argument after it has
  538. been configured from the build file. Custom tasks supporting nested elements
  539. starting with the name configured will no longer function.
  540. * The environment variable JAVACMD that can be used to specify the
  541. java executable to Ant's wrapper scripts must not contain additional
  542. command line parameters any longer - please use the environment
  543. variable ANT_OPTS for such parameters now.
  544. * Ant's wrapper scripts now quote the CLASSPATH environment variable, thus
  545. supporting classpaths which refer to directories containing spaces. This means
  546. that the CLASSPATH environment variable cannot have quotes. Any quotes should
  547. be removed. This will not affect the operation of the CLASSPATH environment
  548. variable in other contexts.
  549. * A delete task like
  550. <delete includeEmptyFilesets="true">
  551. <fileset dir="somedir" />
  552. </delete>
  553. will now remove "somedir" as well, unless there are still files left
  554. in it (matched by the default excludes).
  555. * The copy task will now fail if the file to be copied is not found.
  556. * Ant properties defined in properties files now behave the same way as
  557. properties defined in the build file. In particular the $ character needs
  558. to be escaped in property values by doubling it to $$. So, to define a
  559. property with the value $hello, you need to define it in a properties file
  560. as
  561. test.prop=$$hello
  562. This was not the case in Ant 1.3
  563. Other changes:
  564. --------------
  565. * New tasks: ear, p4counter, record, cvspass, vsscheckin, vsscheckout,
  566. typedef, sleep, mimemail, set of tasks for Continuus/Synergy, dependset,
  567. condition, maudit, mmetrics, jpcoverage, jpcovreport, jpcovmerge
  568. * Ant now uses JAXP 1.1
  569. * rmic now supports Kaffe's and Weblogic's version of rmic.
  570. * new magic property build.rmic to chose the rmic implementation
  571. * <tar> will now add empty directories as well
  572. * you can now specify a description for <p4change>
  573. * <touch> can now work on <fileset>s
  574. * <uptodate> now supports a value attribute
  575. * <fail> supports nested text
  576. * <fixcrlf> won't override files that are already in the correct
  577. format.
  578. * <sql> now supports REM comments as well as // and --
  579. * <jar> now has a nested <metainf> element following the same idea as
  580. <war>'s <webinf>.
  581. * <pvcs> can now handle multiple projects.
  582. * <available> now has a "type" attribute you can use in conjunction
  583. with the "file" attribute to specify whether the "file" you're
  584. looking for is a file or a directory.
  585. * New <junit> formatter named "brief"
  586. * <ejbjar> changes
  587. * Add support for Borland Application Server to the <ejbjar> task using
  588. a <borland> nested element.
  589. * Add support for iPlanet Application Server to the <ejbjar> task. Also
  590. includes some iPlanet utility tasks
  591. * Add support for JBoss Application Server to the <ejbjar> task.
  592. * Add a naming attribute to control the naming scheme that
  593. ejbjar uses to name the generated EJB jars.
  594. * Weblogic element now sets the compiler class for EJB 2.0 beans
  595. * <dtd> elements can be specified at the <ejbjar> level for building generic
  596. beans
  597. * <dtd> elements can now be URLs
  598. * Allow the manifest to be specified for the generated jars
  599. * The weblogic element now supprts an attribte noEJBC to skip the processing
  600. of the jar by ejbc. The ejbc step will then occur at deployment
  601. * weblogic will tell ejbc to use Jikes compiler if build.compiler is set to
  602. jikes. It can be restored to the default, javac, operation if desired.
  603. * Allow the <sql> Delimiter to be set in the so that Oracle stored procs may be
  604. entered
  605. * <execon> and <apply> can now optionally skip empty filesets.
  606. * <javadoc> has a new useexternalfile attribute that makes it use a
  607. temporary file for sourcefile and package names - helps to defeat
  608. command line length limitations.
  609. * Data types like <path> can now be defined inside of <target>s
  610. * you can now specify a classpath for <style> - the XSLZ processor
  611. will be loaded from this path
  612. * added a force attribute to <style> to support dependencies that the
  613. task cannot determine itself (dependency on parameters, not file
  614. modification times for example)
  615. * added vmlauncher attribute to exec tasks. This defaults to true. If
  616. it is set to false, the VM's ability to launch commands in bypassed
  617. and the OS shell, either directly or through the auxillary antRun
  618. scripts is used.
  619. * regexp mapper now supports the java.util.regex package of JDK 1.4.
  620. * New filesonly attribute for <zip> and friends to suppress directory
  621. entries.
  622. * New update attribute for <zip> and friends - update an existing
  623. archive instead of creating a new one.
  624. * <apply> and <execon> have been merged into a single task.
  625. * added vssver.scc to the default excludes
  626. * <available> has a new filepath attribute/nested element that allows
  627. you top search for a file in a given path.
  628. * <junit> can now optionally set a property on test failure.
  629. * <taskdef> can now define several tasks at once, reading the
  630. name/classname pairs from a property file or resource.
  631. * <unzip/unjar/unwar> and <untar> now have an overwrite attribute that
  632. defaults to true. If set to false, files that are newer than the
  633. files in the archive will not be replaced.
  634. * <patternset> and <fileset> now support nested <in/excludesfile>
  635. elements - using these you can have more than one in/excludes file
  636. per <patternset>.
  637. * Three new supported compilers for javac: kjc for kopi, gcj for the
  638. gcc frontend and sj for Symantec's compiler.
  639. In addition extJavac or the new fork attribute can be
  640. used to run the JDK's javac in a JVM separate from Ant.
  641. * <fixrlf> can now with CR only line-ends and can use an arbitraty
  642. between 2 and 80.
  643. * The .NET tasks have been adapted to the beta2 release of the framework.
  644. * <move> will now try to rename() files before copying them byte by
  645. byte - only if filtering is of, of course.
  646. * <ant> and <antcall> tasks now support a new attribute inheritAll. When set to
  647. false, only user properties are passed through to the target Ant instance.
  648. This includes properties set on the command line and properties explicitly
  649. passed
  650. * <javadoc> now skips off line links if the package list cannot be found.
  651. * <wlrun> now allows the security policy file to exist outside the weblogic
  652. directory.
  653. * <java> task will set the Thread contextClassLoader under JDKs 1.2+ to the
  654. classloader for the class being executed.
  655. * Introduce the concept of a TaskContainer - a task or element which can contain
  656. Ant Tasks.
  657. * Add new tasks implementing the TaskContainer interface <parallel> and
  658. <sequential> which allow parallel execution of tasks to be specified.
  659. * <depend> task will now take into account dependencies on jar files and class
  660. files from a given classpath.
  661. * <jar> manifest entries may now be specified in the build file either
  662. completely or to be merged with a manifest file.
  663. * <tstamp> task custom formats now support locales.
  664. * Added a listner which will forward events to Log4J. The log4j configuration
  665. file should be in the directory from which Ant is run or passed as a system
  666. property using a JVM argument.
  667. * Introduced the concept of <filtersets> to allow for more control in which
  668. filters get applied in a <copy> or <move> operation.
  669. * Added nowarn attribute to javac and deprecated the Jikes-magic property
  670. build.compiler.warnings.
  671. * The <depend> task cache format has changed and all dependency information is
  672. now stored in a single file.
  673. Fixed bugs:
  674. -----------
  675. * Testcases have been made independent of current working directory.
  676. * Input ZIP-Files will be closed when using a <zipfileset>.
  677. * p4 tasks now don't fail if user, port or client have been omitted
  678. (and this is acceptable for the context of the command).
  679. * <javah>'s outputfile attribute will be resolved as relative to the
  680. projects basedir.
  681. * <antstructure> should create a valid DTD for propertyfile.operation.entry
  682. and omit tasks it fails to load.
  683. * won't try to pass a -bootclasspath flag to javac 1.1 anymore
  684. * <style>'s style attribute no handles absolute paths correctly.
  685. * <delete includeemptydirs="true"> now deletes more than just the leaf
  686. directories.
  687. * You can now specify a <fileset> for a directory that doesn't exist at
  688. declaration time but will created before the fileset gets used for the
  689. first time.
  690. * If the quiet attribute has been set, <delete> will handle <fileset>s
  691. with non-existing directories gracefully.
  692. * Output written by testcases will now be captured by the <junit> task
  693. and passed to the formatters.
  694. * Quote the -group parameter to Javadoc as per the specification
  695. * Initialise classes when loaded through the AntClassLoader - that is, run
  696. static initializers
  697. * Implement getResource() and getResources() in AntClassLoader
  698. * Create the <ejbjar> weblogic command line as a set of arguments rather than
  699. as a single line. Avoids problems with paths which contain spaces.
  700. * <ejbjar> now fails when the weblogic ejbc compiler reports an error.
  701. * Make the AntClassLoader load resources in the same order as it currently
  702. loads classes.
  703. * Handle classpaths with spaces
  704. * Make sure XSLT processors close their output files in <style>.
  705. * perform proper uptodate check in <rmic> when compiling for IIOP.
  706. * <jjtree>'s uptodate test works even if outputdirectory is not the
  707. parent dir of target
  708. * <copy> will remove target file (if it exists) before writing to it -
  709. this avoids problems with links on filesystems that support them.
  710. * <ftp> now properly recurses remote directories.
  711. * <ftp> closes remote connection when it's done.
  712. * <junit> tries to include all necessary classes for the task itself
  713. to the classpath when running in fork mode - doesn't work for JDK 1.1
  714. * <apply> and <execon> do now execute the command only once, if you
  715. specify the parallel attribute - instead of once per fileset.
  716. * directory based tasks and fileset could miss some included files in
  717. directories that have been excluded
  718. * <fixcrlf> failed for large files.
  719. * <move> removed files you tried to move to themselves.
  720. * <sql> task will not trty to print the result set unless the query succeeded.
  721. * Ant classloader will now ignore paths which are invalid relative to the
  722. project base
  723. * <ejbjar> weblogic elements check for jar file changes has been fixed.
  724. Previously some changes would not be included.
  725. * properties loaded from properties files are now resolved internally. This
  726. removes the spurious warnings about usage of properties which have not been
  727. set.
  728. * <jar> task and friends now process the JAR manifest to ensure it is valid.
  729. * The task finished event now includes any exception thrown by the task.
  730. * <java> task now supports a jvmVersion attribute so that if another JVM is
  731. being used, Ant can determine which options to use for features such as the
  732. VM memory limits
  733. Changes from Ant 1.2 to Ant 1.3
  734. ===========================================
  735. Changes that could break older environments:
  736. --------------------------------------------
  737. * Ant doesn't search for the buildfile anymore, unless you use the new
  738. -find argument.
  739. * <perforce> has been replaced by a number of new tasks.
  740. * <javac> is now implemented using a factory. This makes extending
  741. javac to use a new compiler a lot easier but may break custom
  742. versions of this task that rely on the old implementation.
  743. * The output generated by the xml formatter for <junit> has changed a
  744. little, it doesn't append " sec" in the time attribute anymore.
  745. Other changes:
  746. --------------
  747. * A GUI Frontend: Antidote. This is currently in development. At this
  748. time, this is not part of the Ant release, although the source is
  749. included if you are interested.
  750. * New tasks: stylebook, propertyfile, depend, antlr, telnet, csc,
  751. ilasm, apply, javah, several clearcase tasks, junitreport, sound
  752. * Added output attribute to <java>.
  753. * Added nested zipfileset element to <zip>
  754. * Changed <sql> so that printing is at the task level rather than
  755. the statement level.
  756. * javadoc task will pass -d flag to any doclet if the destDir attribute is
  757. given. If the doclet does not accept the -d flag then omit the destdir
  758. attribute.
  759. * <cab> can work on non-Windows platforms with the help of libcabinet.
  760. See http://trill.cis.fordham.edu/~barbacha/cabinet_library/.
  761. * <ftp> now supports passive mode.
  762. * New <mapper> data type that can be used to get influence on the
  763. target files for some tasks like <copy> or enable new types of tasks
  764. like <apply>.
  765. * <execon> provides more control over the command line now, the names
  766. of the source files are no longer required to be at the end of the
  767. command.
  768. * Style tasks will now support TraX compliant XSL processors if one is present
  769. in your classpath.
  770. * Added a failonerror to the javac task. If set to false, the build will
  771. continue even if there are compilation errors.
  772. * Added nested format elements to the tstamp task allowing additional time
  773. formats to be defined for arbitrary properties.
  774. * Added classpath attribute and nested classpath element to <property>
  775. to make the resource attribute more powerful.
  776. * ${} property expansion will now be performed on the patterns read
  777. from files specified as includesfile or excludesfile attributes.
  778. * The <tar> and <untar> tasks now support GNU format for handling paths
  779. which are greater than 100 characters in length. In addition the <tar>
  780. task now supports nested filesets through which the file permissions
  781. may be controlled.
  782. * wlrun, wlstop and ejbjar now support Weblogic 6.0
  783. * The MPasre task has been updated to work with MParse 2.0
  784. * The documentation has been significantly updated.
  785. Fixed bugs:
  786. -----------
  787. * <signjar> doesn't use deprectated methods anymore.
  788. * javadoc's failonerror attribute works again
  789. * javadoc's additionalparam attribute will now be split into separate
  790. parameters (on spaces) to allow for more than one parameter.
  791. * Changed <sql> task so that printing result sets works on Oracle
  792. * Changes to ddcreator and ejbc helper to respect the descriptor hierarchy
  793. keppgenerated in ejbc can now be turned off
  794. * ejbjar now correctly ignores <ejb-ref> elements in the deployment descriptor.
  795. CMP files are included by parsing the weblogic deployment descriptor rather
  796. than relying on the naming convention used in ant 1.2
  797. * ejbjar includes super classes and super interfaces into the generated ejb
  798. jar files. The <support> nested element allows support classes to be
  799. included in the EJB jar. The toplink element should now correctly locate
  800. the toplink descriptor.
  801. * <vssget> now correctly deals with spaces in arguments
  802. * <jar> fails early if a given manifest file doesn't exist
  803. * <rmic> doesn't search for the _Skel file anymore when stubversion is
  804. set to 1.2.
  805. * <rmic> uses the the same classpath to verify a class can be rmic'd
  806. as it passes to the compiler.
  807. * org.apache.tools.mail.MailMessage (and therefore <mail>) can now
  808. handle SMTP servers sending multi line responses.
  809. * nested <classpath> elements of <taskdef> now work for <taskdef>s not
  810. nested into <target> as well.
  811. * <property> and <available> will search for the resource "foo" instead
  812. of "/org/apache/tools/ant/taskdefs/foo" when given a relative resource
  813. name foo.
  814. * Handle build files in directories whose name contained a "#" character
  815. * <junit> can now log to files whose name contains a comma as well.
  816. * The AntClassLoader now refers to the loader which loaded it, any
  817. requests it does not handle itself. Previously these went to the
  818. primordial loader.
  819. Changes from Ant 1.1 to Ant 1.2
  820. ===============================
  821. Changes that could break older environments:
  822. --------------------------------------------
  823. * Semantics of <property> has changed again in the hope to be more
  824. intuitive. ${} expansion now happens at runtime and <property> tags
  825. living inside of targets only take effect if they are visited at
  826. runtime.
  827. As a side effect of this change, task's attributes get set at runtime
  828. not at parser time as well, which might change the results of
  829. <script>s or other custom tasks that reference other tasks by their id
  830. attribute.
  831. * copying of support files in <javac> has been removed - as well as
  832. the filtering attribute.
  833. * the <expand> and <keysubst> tasks have been removed.
  834. * the ignore and items attributes of directory based tasks have been removed.
  835. * the command line switches _not_ starting with - have been removed.
  836. * Path and EnumeratedAttribute have been moved from
  837. org.apache.tools.ant to org.apache.tools.ant.types.
  838. * the class attributes of <available>, <java>, <rmic> and <taskdef>
  839. have been removed.
  840. * the src attribute of <chmod> has been removed.
  841. * <patch> and <javadoc> have lost some of their attributes.
  842. * <java> and <cvs> have lost some undocumented attributes.
  843. * the Unix antRun script would search for command.sh in the directory
  844. it changed to and invoke this instead of command if present. This
  845. behavior has been dropped.
  846. * <ejbjar> task syntax has been changed significantly
  847. * <exec> is no longer implemented by org.apache.tool.ant.taskdefs.Exec.
  848. Custom tasks that rely on Project.createTask("exec") to return an
  849. instance of this class are going to fail.
  850. * nested <include> and <exclude> elements expect the value of their
  851. name attribute to be a single pattern, they don't accept multiple
  852. patterns anymore. Split them into multiple elements of the same type.
  853. * <delete dir="somedir" /> will now delete the directory itself as
  854. well as all included files. If you just want to clean out the
  855. directory and keep the empty one, use a nested fileset.
  856. Other changes:
  857. --------------
  858. * New tasks: antstructure, cab, execon, fail, ftp, genkey, jlink,
  859. junit, sql, javacc, jjtree, starteam, war, unwar, uptodate,
  860. native2ascii, copy, move, mparse.
  861. * copydir, copyfile, deltree and rename are now deprecated. They
  862. should be replaced with the new copy, delete and move tasks.
  863. * <java> uses a ClassLoader of its own in no-fork mode if a classpath is
  864. specified.
  865. * <style> will create the necessary target directories and reprocess
  866. all files if the stylesheet changes.
  867. * New data types fileset and patternset - expected to get a broader use.
  868. They, as well as PATH like structures, can now be defined on a global
  869. level and later be referenced by their id attribute.
  870. * You can specify environment variables to <exec>.
  871. * <get> can check whether a remote file is actually newer than a local
  872. copy before it starts a download (HTTP only).
  873. * Added a -logger option to allow the class which performs logging to be
  874. specified on the command line.
  875. * Added a -emacs option to tell the logger to leave out taskname adornments
  876. on log output.
  877. * <chmod> works on all files in parallel and supports multiple filesets.
  878. * <replace> can now use tokens and/or values that cross line boundaries.
  879. * build.compiler supports now jvc as well.
  880. * project specific help can now be obtained with the -projecthelp option.
  881. * Added a -debug option to make -verbose less verbose (and more useful)
  882. * Ant will now search for a file named build.xml in the parent directory
  883. and above (towards the root of the filesystem) if you didn't specify
  884. -buildfile and there is no build.xml in the current directory.
  885. * <echo> can now write to a file and accepts nested text.
  886. Fixed bugs:
  887. -----------
  888. * <chmod> didn't work when used as a directory based task.
  889. * Path, Available, Property didn't resolve relative filenames with
  890. respect to the Project's basedir.
  891. * Project didn't interpret the basedir attribute correctly in all
  892. cases.
  893. * Nested <src> in <javac> caused NullPointerException.
  894. * Corrupt Zip- and Jar-files ar now deleted if the task fails.
  895. * many more fixes we've forgotten to document here ...
  896. * The packagelistloc attribute of <javadoc>'s <link> child will be
  897. resolved as a file (i.e. it is either absolute or relative to
  898. basedir).