Softpedia
 

MAC CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • AppCleaner 2.2
  • Reason 7.0.1 Build 3510
  • Apple iTunes 11.0.3
  • CrossOver Mac 12.2.1 Bu...
  • Skype 6.4.60.833
  • Mozilla Firefox 21.0 / ...
  • Skitch 2.5.2 Build 262792
  • Apple iMovie 9.0.9
  • Tunnelblick 3.2.9 / 3.3...
  • Sublime Text 2.0.1 Buil...
  • 7-DAY TOP DOWNLOAD
    #
    Program
    Tuxler 1.0
    1,959 downloads
    Minecraft 1.5.2
    1,938 downloads
    LibreOffice 4.0.3
    1,885 downloads
    iPhone and iPod
    Firmware (iOS) 6.1.4

    1,602 downloads
    Mac Boy Advance
    1.7.6

    1,448 downloads
    SPSS Statistics
    20.0.0

    1,195 downloads
    Microsoft Office
    2011 14.3.4

    1,035 downloads
    Internet Explorer
    5.2.3

    998 downloads
    Canon PIXMA MP280
    Driver 10.67.1.0

    955 downloads
    Age Of Empires II
    1.0.5

    946 downloads
    Home > Mac > Developer Tools > Apache Ant > Changelog

    Apache Ant 1.9.0 - Changelog


    What's new in Apache Ant 1.9.0:

    March 11th, 2013

    · Java 1.5 is now required
    · support for @Ignore annotation in JUnit 4 testcases
    · the minimum version of JUnit 4 required is JUnit 4.11
    · the zip, bzip2 and tar tasks are improved
    · removal of the Perforce Ant tasks; users of these tasks can use the tasks supplied by Perforce Inc. instead, which contain more functionality and connect natively to the Perforce servers
    · numerous bug fixes and improvements as documented in Bugzilla and in the release notes



    What's new in Apache Ant 1.8.4:

    August 1st, 2012

    · Ported libbzip2's fallback sort algorithm to CBZip2OutputStream to speed up compression in certain edge cases. Merge from Commons Compress.
    · Using specially crafted inputs this can be used as a denial of service attack.



    What's new in Apache Ant 1.8.3:

    March 1st, 2012

    Changes that could break older environments:
    · The Enumeration returned by AntClassLoader#getResources used to return null in nextElement after hasNextElement would return false. It has been changed to throw a NoSuchElementException instead so that it now adheres to the contract of java.util.Enumeration. Bugzilla Report 51579.

    Fixed bugs:
    · Removed buggy duplicate JAR list in RPM mode. Bugzilla Report 52556.
    · Launcher fixed to pass the right class loader parent. Bugzilla Report 48633.
    · mishandled ${line.separator}. Bugzilla Report 51049.
    · did not work in embedded environments on JDK 7. Nor did when using Xalan redirects. Bugzilla Report 51668, 52382.
    · Encoding of unicode escape sequences by the property file task Bugzilla Report 50515.
    · The code that implicitly sets the -source switch if only -target has been specified in was broken for Java 5 and 6. Bugzilla Report 50578.
    · MailLogger ignore the Maillogger.starttls.enable property. Bugzilla Report 50668.
    · Delete task example does not work Bugzilla Report 50816.
    · 's proxy handling has been delegated to internally so the two tasks are consistent. 's way of not setting a proxy caused problems with other Java libraries. Bugzilla Report 50888.
    · Include task breaks dependencies or extension-points for multiple files. Bugzilla Report 50866.
    · Read on System.in hangs for forked java task. Bugzilla Report 50960.
    · FileResource specified using basedir/name attributes was non-functional.
    · Resource collection implementation of mapped PropertySet returned unusable resources.
    · The hasmethod condition failed with a NullPointerException when ignoresystemclasses is true and Ant tried to load a "restricted class" - i.e. a class that the Java VM will only accept when loaded via the bootclassloader (a java.* class). It will now fail with a more useful error message. Bugzilla Report 51035.
    · Exec task may mix the stderr and stdout output while logging it Bugzilla Report 50507.
    · Missing space between "finished" and timestamp in task/target finish message from ProfileLogger. Bugzilla Report 51109.
    · Redirecting the output of a java, exec or apply task could print in the error output stream some "Pipe broken" errors. Bugzilla Report 48789.
    · ZipFile failed to clean up some resources which could lead to OutOfMemoryException while unzipping large archives. A similar problem in ZipArchiveOutputStream has been fixed as well. Bugzilla Report 42696.
    · quiet attribute added to the copy and move tasks, to be used together with failonerror=false, so warnings won't get logged Bugzilla Report 48789.
    · System.in was closed and not readable anymore by the DefaultInputHandler when Ant is used via its Java API. Bugzilla Report 51161
    · only supported a single non-fileset resource collection even though the manual said it could be multiple.
    · didn't work properly when working on resource collections. Bugzilla Report 51462.
    · cause a NullPointerException if it was used in a target that was invoked by multiple targets from the command line. Bugzilla Report 50894.
    · The ZipFile class could read past the start of the file if the given file is not a ZIP archive and it is smaller than the size of a ZIP "end of central directory record".
    · would create the empty package-info.class file in the wrong directory if no destdir was specified. Note it may still pick the wrong directory if you specify more than one source directory but no destDir. It is highly recommended that you always explicitly specify the destDir attribute. Bugzilla Report 51947.
    · packagemapper now honors the handleDirSep attribute. Bugzilla Report 51086.
    · the attributes of macrodef tasks had their values run through property expansion twice. Still true by default, but can be disabled. Bugzilla Report 42046.
    · jvc doesn't like it if source file names in argument files are quoted. Bugzilla Report 31667.
    · ZipFile didn't work properly for archives using unicode extra fields rather than UTF-8 filenames and the EFS-Flag.
    · Access to DirectoryScanner's default excludes wasn't synchronized. Bugzilla Report 52188.
    · When a Project instance was created by a custom tasks its createTask method didn't work. Bugzilla Report 50788.

    Other changes:
    · -f/-file/-buildfile accepts a directory containing build.xml.
    · The , and now support a new maxmemory attribute. Bugzilla Report 50513.
    · the documented inputstring attribute of sshexec has been implemented and the actually existing attribute inputproperty documented. Bugzilla Report 50576.
    · The concat task now permits the name of its exposed resource by means of its 'resourcename' attribute.
    · The expandproperties filter now accepts a nested propertyset which, if specified, provides the properties for expansion. Bugzilla Report 51044.
    · will no longer filter out the very first line of the stacktrace containing the original exception message even if it matches one of the filter expressions.
    · Upgraded to Apache AntUnit 1.2
    · Provide read access to Mkdir.dir. Bugzilla Report 51684.
    · and have a new attribute performGCOnFailedDelete that may - when set to true - help resolve some problems with deleting empty directories on NFS shares. Bugzilla Report 45786.
    · and used to log at level INFO to signal a property hasn't been set when the resource was empty even if the quiet attribute was set to true. They will now use VERBOSE instead. Bugzilla Report 52107.
    · has a new attribute createMissingPackageInfoClass that can be set to false to prevent Ant from creating empty dummy classes used for up-to-date-ness checks. Bugzilla Report 52096.
    · URLResources#isExists has become less noisy. Bugzilla Report 51829.
    · The task has a new optional attribute retryDelay that can be used to make the task sleep between retry attempts. Bugzilla Report 52076.
    · has new attributes that control the signature and digest algorithms. Bugzilla Report 52344.
    · Initial support for Java 8.
    · can optionally create a pseudo terminal (like ssh -t) Bugzilla Report 52554.



    What's new in Apache Ant 1.8.2:

    January 4th, 2011

    Changes that could break older environments:
    · Prior to Ant 1.8.0 the task and several other tasks would overwrite read-only destination files. Starting with 1.8.0 they would only do so under special circumstances. Ant 1.8.2 now consistently won't replace a read-only file by default. The same is true for a number of other tasks. The , and tasks now have a new force attribute and has a new forceReadonly attribute that can be used to make the task overwrite read-only destinations. Bugzilla Report 49261.
    · Removed ant-nodeps.jar; it is now merged into ant.jar.
    · DOMElementWriter#encode used to employ special code before encoding ampersands so that { remained { rather than being turned into {. This is no longer the case, ampersands will now be encoded unconditionally. Also DOMElementWriter#encodeData will treat CDATA sections containing a literal "]]>" sequence different now - it will split the CDATA section between the second "]" and ">" and create two sections. This affects task as well as the XML logger or JUnit formatter where ampersands will now always get encoded. In addition DOMElementWriter will now replace the characters \t, \r and \n in attribute values by entity references. Bugzilla Report 49404.
    · The list elements returned by ProjectHelper#getExtensionStack are now String arrays of length 3 rather than 2 in order to support the onMissingExtensionPoint attribute. Bugzilla Report 49473.
    · When using properties defined inside the same file will only get used in expansions if the ${} reference uses the same prefix. This is different from Ant 1.8.1 but is the same behavior Ant 1.8.0 and earlier exhibited. A new attribute prefixValues can be used to re-enable the behavior of Ant 1.8.1. Bugzilla Report 49373.
    · The files and directories used by Git, Mercurial and Bazaar to store their information are now excluded by the defaultexcludes. Bugzilla Report 49624.
    · The task no longer generates TestListener events - which have been introduced in ant 1.7.0 - by default. The task has a new attribute enableTestListenerEvents and a new "magic" property ant.junit.enabletestlistenerevents has been added that can be used to reinstate the old behavior.

    Fixed bugs:
    · hostinfo now prefers addresses with a hostname over addresses without a hostname, provided the addresses have the same scope. For local lookup, no IP address will be put in NAME / DOMAIN anymore. For remote lookup, if a host name was provided and only an IP address is found, the IP address will no longer overwrite the host name provided to the task. Bugzilla Report 49513
    · mmap-based file copy problems under JDK 1.4 on Linux. Bugzilla Report 49430.
    · The Sun JVM tries to mmap the entire file during a copy. For large files this is not feasible. We now explicitly request to copy at most 16 MiB per request. Bugzilla Report 49326. * DemuxInputStream.read() should return unsigned values Bugzilla Report 49279.
    · The MIME mailer ignored the port parameter when using SSL. Bugzilla Report 49267.
    · ignored the classpath when using the default TraX processor. Bugzilla Report 49271.
    · 's totalproperty only worked reliably if the same file name didn't occur inside more than one directory. Bugzilla Report 36748.
    · could fail to download files from remote subdirectories under certain circumstances. Bugzilla Report 49296.
    · will now produce better diagnostics when it fails to delete a temporary file. Bugzilla Report 49419.
    · Ant would often scan directories even though there were known to only hold excluded files when evaluating filesets. This never resulted in wrong results but degraded performance of the scan itself. Bugzilla Report 49420.
    · failed for long command lines on OS/2. Bugzilla Report 49425.
    · did not handle encodings well for stdout/stderr. Bugzilla Report 49418.
    · could issue a warning about multiple versions of Ant on the CLASSPATH if two CLASSPATH entries differed in case on a case-insensitive file system. Bugzilla Report 49041.
    · The resource collection was checking every resource even if we actually just want the first one, like in the example of use of resourcelist in the documentation (getting the first available resource from a mirror list).
    · A race condition could lead to build failures if multiple tasks were trying to create the same directory. Bugzilla Report 49572.
    · the toString() method of the Resources class - and thus any ${toString:} expansion of a reference to a element - didn't iterate over its nested elements if it hadn't done so prior to the toString invocation already. Bugzilla Report 49588.
    · in parallel mode didn't work together with a nested if maxparallel was



    What's new in Apache Ant 1.8.1:

    May 10th, 2010

    Changes that could break older environments:
    · ant-trax.jar is no longer produced since TrAX is included in JDK 1.4+.
    · Ant no longer ships with Apache Xerces-J or the XML APIs but relies on the Java runtime to provide a parser and matching API versions.
    · The stylebook ant task and the ant-stylebook.jar are removed.

    Fixed bugs:
    · Tasks that iterate over task or type definitions, references or targets now iterate over copies instead of the live maps to avoid ConcurrentModificationExceptions if another thread changes the maps. Bugzilla Report 48310.
    · The filesmatch condition threw a NullPointerException when comparing text files and the second file contained fewer lines than the first one. Bugzilla Report 48715.
    · Regression: The task would allow multiple META-INF/application.xml files to be added. Bugzilla Report 6836.
    · VectorSet#remove(Object) would fail if the size of the vector equaled its capacity.
    · Regression : ant -diagnostics was returning with exit code 1 Bugzilla Report 48782
    · Fix for exec task sometimes inserts extraneous newlines Bugzilla Report 48746
    · SymlinkTest#testSymbolicLinkUtilsMethods failing on MacOS Bugzilla Report 48785.
    · If 's first resourcecollection child is a , any subsequently added child resourcecollection joins the first. Bugzilla Report 48816.
    · with an invalid URL could trigger an NPE in some JVMs. Bugzilla Report 48833
    · Broken Pipe issue under Ubuntu Linux Bugzilla Report 48789
    · Properties wrongly read from file or not update during read Bugzilla Report 48768
    · AntClassLoader in Ant 1.8.0 has been considerably slower than in 1.7.1 Bugzilla Report 48853
    · ANT_CMD_LINE_ARGS are rippling through lower level Ant usage Bugzilla Report 48876
    · email : IO error sending mail with plain mimetype Bugzilla Report 48932
    · the complete-ant-cmd.pl script failed to create a proper cache of target if "ant -p" failed. Bugzilla Report 48980
    · 's sourcebase attribute was broken. Bugzilla Report 48970
    · 's failonerror didn't work as expected when copying a single element resource collection to a file. Bugzilla Report 49070
    · no longer followed redirects if the redirect URL was relative and not an absolute URL. Bugzilla Report 48972
    · fixed a performance degradation in the code that expands property references. Bugzilla Reports 48961 and 49079
    · was broken on Windows. Bugzilla Report 49090
    · delete failed if the link attribute was a relative path to a link inside the current directory without a leading ".". Bugzilla Report 49137
    · and failed to find the expected strings when waiting for responses and thus always failed. Bugzilla Report 49173

    Other changes:
    · Project provides new get methods that return copies instead of the live maps of task and type definitions, references and targets.
    · Ant is now more lenient with ZIP extra fields and will be able to read archives that it failed to read in earlier versions. Bugzilla Report 48781.
    · The family of tasks has been sped up for bigger archives. Bugzilla Report 48755.
    · Add removeKeepExtension option to NetRexxC task. Bugzilla Report 48788.
    · Add prefix attribute to loadproperties task.
    · Add resource attribute to length task.
    · PropertyResource will effectively proxy another Resource if ${name} evaluates to a Resource object.
    · Added forcestring attribute to equals condition to force evaluation of Object args as strings; previously only API-level usage of the equals condition allowed Object args, but Ant 1.8.x+ property evaluation may yield values of any type.
    · BuildFileTest.assertPropertyUnset() fails with a slightly more meaningful error message Bugzilla Report 48834
    · will now throw an exception if a test name is empty. This used to manifest itself in unrelated errors like Bugzilla Report 43586.
    · A change that made more reliable on Windows (Bugzilla Report 5003) strongly impacts the performance for commands that execute quickly, like attrib. Basically no single execution of a command could take less than a second on Windows. A few timeouts have been tweaked to allow these commands to finish more quickly but still they will take longer than they did with Ant 1.7.1. Bugzilla Report 48734.
    · Added SimpleBigProjectLogger, intermediate between NoBannerLogger and BigProjectLogger.
    · supports new attributes enablemultiplemappings and cache.
    · Added the augment task to manipulate existing references via Ant's basic introspection mechanisms.



    What's new in Apache Ant 1.8.0:

    April 13th, 2010

    · Lexically scoped local properties, i.e. properties that are only defined inside a target, sequential block or similar environment.
    · can now import from any file- or URL-providing resource - this includes .
    · Various improvements to the directory scanning code that help with symbolic link cycles (as can be found on MacOS X Java installations for example) and improve scanning performance. For big directory trees the improvement is dramatic.
    · The way developers can extend Ant's property expansion algorithm has been rewritten (breaking the older API) to be easier to use and be more powerful.
    · a new top level element extension-point allows build files to be extended with custom targets more easily
    · At the same time the if and unless attributes have been rewritten to do the expected thing if applied to a property expansion (i.e. if="${foo}" will mean "yes, do it" if ${foo} expands to true, in Ant 1.7.1 it would mean "no" unless a property named "true" existed). This adds "testing conditions" as a new use-case to property expansion.
    · Ant now requires Java 1.4 or later
    · new task include provides an alternative to that should be preferred when you don't want to override any targets
    · numerous bug fixes and improvements as documented in Bugzilla and in WHATSNEW



    What's new in Apache Ant 1.7.1:

    September 23rd, 2008

    · String resources only have properties single expanded. If you relied on resources being expanded more than once, it no longer happens.
    · A String resource's encoding attribute was only taken into account when set from the resource's OutputStream; the InputStream provided the String's binary content according to the platform's default encoding. Behavior has been modified to encode outgoing (InputStream) content as well as encoding incoming (OutputStream) content.
    · with fork now returns gives -1 instead of 0 as result when failonerror is false and some exception (including timeout) occurs.
    · ant-type attribute has been marked as deprecated and a warning has been issued if it is encountered in the build file.
    · FileUtils.createTempFile now actually creates the file. The TempFile task still does not create the file by default, can be instructed to do so however using a new parameter.
    · The default logger was failing to print complete stack traces for exceptions other than BuildException, thus omitting often important diagnostic information.
    · Error in FTP task
    · Regression: Locator fails with URI encoding problem when spaces in path
    · Regression in Locator: running Ant off a network share does not work: message "URI has authority component" appears
    · Improvements in AntClassLoader Speed.
    · Error in handling of some permissions, most notably the AllPermission on jdk 1.5
    · Replace task summary output incorrect.
    · Dependset crashes ant when timestamp on files change during Dependset execution.
    · Bug in org.apache.tools.ant.types.resources.comparators.Date
    · in Ant 1.7.0 could throw NPE if no was defined.
    · In Ant 1.7.0, in does not by default include only **/*.java as the documentation claims and earlier revisions did.
    · SPI support in jar was broken.
    · Ssch-0.1.30 causes SCP task to hang
    · Target from imported file listed twice in projecthelp.
    · task double-expands properties if expandproperties is true, and expands properties if expandproperties is false.
    · Rolling back Bugzilla 32927 (set a default description for a javadoc tag if not set) as it caused a BC problem.
    · forks properly and so memory settings are picked up.
    · Regression: NPE was thrown when using against a (third-party instantiated) fileset with null Project reference.
    · Strip out all -J arguments to non forking rmic adapters, specifically the Sun and Weblogic compilers.
    · Synchonization issues in PropertyHelper.
    · did not append.
    · -autoproxy turns Java1.5+ automatic proxy support on.
    · Handle null result of system getProperty().
    · Regression: concat fixlastline="true" should not have applied to nested text, but did in Ant 1.7.0.
    · Regression: ant.version was not passed down in , . This worked in Ant 1.6.5, but not in 1.7.0. ant.core.lib (added in 1.7.0) was also not being propagated.
    · Regression: bzip2 task created corrupted output files for some inputs.
    · Regression: with did not work.
    · ant script, cd may output to stdout.
    · Modified selector doesn't update the cache if only one file has changed.
    · Regression: Path subclasses that overrode list() stopped working in resourceCollection contexts in Ant 1.7.0.
    · War task failed with "No WEB-INF/web.xml file was added" when called a second time.
    · FilterMapper could throw an NPE.
    · Regession nested macrodefs with elements could cause StackOverFlow.
    · task couldn't differentiate between "no resources specified" and "no resources matched."
    · Some changes to broke third party tasks that extend it (like Apache Cactus' Ant task). The changes have been modified so that subclases should now work again - without any changes to the subclass.
    · Various small optimizations speed up common tasks such as on large filesets, reducing both I/O and CPU usage.
    · Profiling logger has been added with basic profiling capabilities.
    · now has basic support for JavaFX scripts
    · SSH task can now take a command parameter containing the commands to execute. This allows you to connect to a server and execute a number of commands without constantly reconnecting for each command.
    · Upgraded XML API to XML commons version 1.3.04.
    · Upgraded to Xerces 2.9.0
    · can now work with bsf.jar and js.jar in its .
    · add errorProperty and updatedProperty to
    · add classpathref attribute to
    · reduce logging noise of
    · Show Previous Revision in the tagdiff.xsl stylesheet
    · Allow to refer directly to a FileNameMapper instance.
    · If you try and use a type in a namespace (or an antlib), and the type is not recognized but there are other definitions in that namespace, Ant lists what the known definitions are. This helps you find spelling errors.
    · Add a resource collection, corresponding to .
    · Add new task.
    · xsl stylesheets allow setting the title used in and tags by using element.
    · Add IgnoreDependenciesExecutor for weird cases when the user wants to run only the targets explicitly specified.
    · Patternset allows nested inverted patternsets using .
    · checks for validity of attribute names.
    · JUnitVersionHelper.getTestCaseClassName is now public.
    · resource supports nested text.
    · now sources scripts from nested resources/resource collections. This lets you define scripts in JARs, remote URLs, or any other supported resource.
    · is now usable as a single-element ResourceCollection.
    · It is now possible to provide the value of a filter's nested element as nested text instead of using the 'value' attribute.
    · A new logger, BigProjectLogger, lists the project name with every target
    · Default text added to macrodef.
    · "rawblobs" attribute added to SQL task.
    · Add new retry task container.
    · has a new strict attribute that checks if the jar complies with the jar packaging version specification.
    · has a new attribute - includeDestClasses.
    · has a new attribute - errorOnMissingDir.
    · handles package-info.java files, there were repeatedly compiled.




    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM