pkgsrc/devel/apache-ant/Makefile

44 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.34 2013/07/30 14:40:59 tez Exp $
#
DISTNAME= apache-ant-1.9.2-bin
Update devel/apache-ant to 1.8.1 Fixes PR pkg/43752 Changes from Ant 1.8.0 TO Ant 1.8.1: - 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. * The filesmatch condition threw a NullPointerException when comparing text files and the second file contained fewer lines than the first one. * Regression: The <ear> task would allow multiple META-INF/application.xml files to be added. * VectorSet#remove(Object) would fail if the size of the vector equaled its capacity. * Regression : ant -diagnostics was returning with exit code 1 * Fix for exec task sometimes inserts extraneous newlines * SymlinkTest#testSymbolicLinkUtilsMethods failing on MacOS * If <concat>'s first resourcecollection child is a <resources>, any subsequently added child resourcecollection joins the first. * <get> with an invalid URL could trigger an NPE in some JVMs. * Broken Pipe issue under Ubuntu Linux * Properties wrongly read from file or not update during read * AntClassLoader in Ant 1.8.0 has been considerably slower than in 1.7.1 * ANT_CMD_LINE_ARGS are rippling through lower level Ant usage * email : IO error sending mail with plain mimetype * the complete-ant-cmd.pl script failed to create a proper cache of target if "ant -p" failed. * <rmic>'s sourcebase attribute was broken. * <copy>'s failonerror didn't work as expected when copying a single element resource collection to a file. * <get> no longer followed redirects if the redirect URL was relative and not an absolute URL. * fixed a performance degradation in the code that expands property references. * <jar filesetmanifest="merge"> was broken on Windows. * <symlink> delete failed if the link attribute was a relative path to a link inside the current directory without a leading ".". * <telnet> and <rexec> failed to find the expected strings when waiting for responses and thus always failed. - 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. * The <zip> family of tasks has been sped up for bigger archives. * Add removeKeepExtension option to NetRexxC task. * 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 * <junit> will now throw an exception if a test name is empty. This used to manifest itself in unrelated errors like * A change that made <exec> 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. * Added SimpleBigProjectLogger, intermediate between NoBannerLogger and BigProjectLogger. * <mappedresources> supports new attributes enablemultiplemappings and cache. * Added the augment task to manipulate existing references via Ant's basic introspection mechanisms.
2010-12-05 11:05:06 +01:00
PKGNAME= ${DISTNAME:S/-bin//}
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/binaries/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://ant.apache.org/
Update devel/apache-ant to 1.8.1 Fixes PR pkg/43752 Changes from Ant 1.8.0 TO Ant 1.8.1: - 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. * The filesmatch condition threw a NullPointerException when comparing text files and the second file contained fewer lines than the first one. * Regression: The <ear> task would allow multiple META-INF/application.xml files to be added. * VectorSet#remove(Object) would fail if the size of the vector equaled its capacity. * Regression : ant -diagnostics was returning with exit code 1 * Fix for exec task sometimes inserts extraneous newlines * SymlinkTest#testSymbolicLinkUtilsMethods failing on MacOS * If <concat>'s first resourcecollection child is a <resources>, any subsequently added child resourcecollection joins the first. * <get> with an invalid URL could trigger an NPE in some JVMs. * Broken Pipe issue under Ubuntu Linux * Properties wrongly read from file or not update during read * AntClassLoader in Ant 1.8.0 has been considerably slower than in 1.7.1 * ANT_CMD_LINE_ARGS are rippling through lower level Ant usage * email : IO error sending mail with plain mimetype * the complete-ant-cmd.pl script failed to create a proper cache of target if "ant -p" failed. * <rmic>'s sourcebase attribute was broken. * <copy>'s failonerror didn't work as expected when copying a single element resource collection to a file. * <get> no longer followed redirects if the redirect URL was relative and not an absolute URL. * fixed a performance degradation in the code that expands property references. * <jar filesetmanifest="merge"> was broken on Windows. * <symlink> delete failed if the link attribute was a relative path to a link inside the current directory without a leading ".". * <telnet> and <rexec> failed to find the expected strings when waiting for responses and thus always failed. - 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. * The <zip> family of tasks has been sped up for bigger archives. * Add removeKeepExtension option to NetRexxC task. * 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 * <junit> will now throw an exception if a test name is empty. This used to manifest itself in unrelated errors like * A change that made <exec> 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. * Added SimpleBigProjectLogger, intermediate between NoBannerLogger and BigProjectLogger. * <mappedresources> supports new attributes enablemultiplemappings and cache. * Added the augment task to manipulate existing references via Ant's basic introspection mechanisms.
2010-12-05 11:05:06 +01:00
COMMENT= "Apache Project's Java-Based make(1) replacement"
LICENSE= apache-2.0
# Up to version 1.5.1 inclusive this was known as "jakarta-ant".
CONFLICTS= jakarta-ant>=0
Updated devel/apache-ant to 1.8.2 Changes from Ant 1.8.1 TO Ant 1.8.2 =================================== Changes that could break older environments: ------------------------------------------- * Prior to Ant 1.8.0 the <copy> 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 <copy>, <move> and <echo> tasks now have a new force attribute and <concat> 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 &#123; remained &#123; rather than being turned into &amp;#123;. 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 <echoxml> 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 <property file="..." prefix="..."/> 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 <junit> 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. * <xslt> ignored the classpath when using the default TraX processor. Bugzilla Report 49271. * <checksum>'s totalproperty only worked reliably if the same file name didn't occur inside more than one directory. Bugzilla Report 36748. * <ftp> could fail to download files from remote subdirectories under certain circumstances. Bugzilla Report 49296. * <junit> 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. * <javac> failed for long command lines on OS/2. Bugzilla Report 49425. * <junitreport> did not handle encodings well for stdout/stderr. Bugzilla Report 49418. * <junit> 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 <restrict> 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 <mkdir> 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 <resources> element - didn't iterate over its nested elements if it hadn't done so prior to the toString invocation already. Bugzilla Report 49588. * <apply> in parallel mode didn't work together with a nested <redirector> if maxparallel was <= 0 (the default) or no source files matched. Bugzilla Report 49594. * <jar filesetmanifest="merge"> didn't work for manifests added via <zipfileset>s that used the prefix or fullpath attributes. Bugzilla Report 49605. * <tempfile createfile="true"> would cause an error unless the prefix attribute has been specified. Bugzilla Report 49755. * If forked, after finished <java> was still reading the input stream for a bunch of characters, then stealing them from a following <input>. Bugzilla Report 49119. * Ant could be leaking threads for each forked process (started by <exec>, <apply>, <java> or similar tasks) that didn't receive input from a resource or string explicitly. Bugzilla Report 49587. * Project#setDefault threw an exception when null was passed in as argument, even though the Javadoc says null is a valid value. Bugzilla Report 49803. * runant.py would swallow the first argument if CLASSPATH wasn't set. Bugzilla Report 49963. * <taskdef> failed to load resources from jar files contained in a directory that has a "!" in its name. Bugzilla Report 50007. * ant.bat exit strategy improvements and issues make the exit codes work in environments where 4NT or MKS are installed Bugzilla Report 41039. * <signjar> would fail if used via its Java API and the File passed into the setJar method was not "normalized" (i.e. contained ".." segments). Bugzilla Report 50081. * <delete> ignored <fileset>'s errorOnMissingDir attribute Bugzilla Report 50124. * <symlink> failed to close files when reading a list of symbolic links from a properties file. Bugzilla Report 50136. * <parallel> could allow tasks to start executing even if a task scheduled to run before them timed out. Bugzilla Report 49527. * If a <junit> batch with multiple tests times out Ant logs a message about a test named Batch-With-Multiple-Tests since 1.8.0 but the logic that determined the Java package of this pseudo-test has been wrong. Bugzilla Report 45227. * <propertyfile> didn't preserve the original linefeed style when updating a file. Bugzilla Report 50049. * <zip>'s whenEmpty behavior never consulted the non-fileset resources so the task could fail even though resources have been provided using non-fileset resource collections. Bugzilla Issue 50115. * ftp chmod could throw a NPE. Bugzilla report 50217. * The project help (-p option in the command line) will now print the dependencies of the targets in debug mode (-d on the command line) Other changes: -------------- * <concat>'s force attribute has been deprecated in favor of a new overwrite attribute that is consistent with <copy>'s attribute names. * You can now specify a list of methods to run in a JUnit test case. Bugzilla Report 34748. * properties in files read because of the -propertyfile command line option will now get resolved against other properties that are defined before the project starts executing (those from the same or earlier -propertfiles or defined via the -D option). Bugzilla Report 18732. * <pathelement>s can now contain wildcards in order to use wildcard CLASSPATH entries introduced with Java6. The wildcards are not expanded or even evaluated by Ant and will be used literally. The resulting path may be unusable as a CLASSPATH for Java versions prior to Java6 and likely doesn't mean anything when used in any other way than a CLASSPATH for a forked Java VM. Bugzilla Report 46842. * A new attribute allows targets to deal with nonexistent extension points, i.e. they can extend an extension-point if it has been defined or silently work as plain targets if it hasn't. This is useful for targets that get included/imported in different scenarios where a given extension-point may or may not exist. Bugzilla Report 49473. * Ant now logs a warning message if it fails to change the file modification time in for example when using <touch> or preserving timestamps in various tasks. Bugzilla Report 49485. * ProjectHelpers can now be installed dynamically via the <projecthelper> Ant task. * <import> is now able to switch to the proper ProjectHelper to parse the imported resource. This means that several kinds of different build files can import each other. * <copy tofile=""> now also works for non-filesystem resources. Bugzilla Report 49756. * The <linecontainsregexp> filter now supports a casesensitive attribute. * The <containsregexp> selector now supports casesensitive, multiline and singleline attributes. Bugzilla Report 49764. * A new <cutdirsmapper> can be used like wget's --cut-dirs option to strip leading directories from file names. * <javah> now supports the GNU project's gcjh compiler. Bugzilla Report 50149. * <checksum> supports additional views of a file's path as elements for a custom pattern. Bugzilla Report 50114. * JUnit XMLResultAggregator logs the stack trace of caught IO exceptions in verbose runs. Bugzilla Report 48836. * StringUtils.parseHumanSizes() should turn parse failures into BuildExceptions. Bugzilla Report 48835. * New task <bindtargets> to make a list of targets bound to some specified extension point. * Initial support for OpenJDK7 has been added. * Ant now uses java.net.CookieStore rather than java.util.ServiceLocator to detect whether the environment is a Java 1.6 system. This means releases of gcj/gij at the time of this release of Ant are detected as Java 1.5 and not 1.6. Bugzilla Report 50256. * It is now possible to write a compiler adapter for <javac> that compiles sources with extensions other than .java (but that still compile to .class files). Bugzilla Report 48829. * The performance of VectorSet#add(Object) has been improved which should also benefit any operation that scans directories in Ant. Bugzilla Report 50200.
2011-04-15 16:47:17 +02:00
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
Update devel/apache-ant to 1.8.1 Fixes PR pkg/43752 Changes from Ant 1.8.0 TO Ant 1.8.1: - 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. * The filesmatch condition threw a NullPointerException when comparing text files and the second file contained fewer lines than the first one. * Regression: The <ear> task would allow multiple META-INF/application.xml files to be added. * VectorSet#remove(Object) would fail if the size of the vector equaled its capacity. * Regression : ant -diagnostics was returning with exit code 1 * Fix for exec task sometimes inserts extraneous newlines * SymlinkTest#testSymbolicLinkUtilsMethods failing on MacOS * If <concat>'s first resourcecollection child is a <resources>, any subsequently added child resourcecollection joins the first. * <get> with an invalid URL could trigger an NPE in some JVMs. * Broken Pipe issue under Ubuntu Linux * Properties wrongly read from file or not update during read * AntClassLoader in Ant 1.8.0 has been considerably slower than in 1.7.1 * ANT_CMD_LINE_ARGS are rippling through lower level Ant usage * email : IO error sending mail with plain mimetype * the complete-ant-cmd.pl script failed to create a proper cache of target if "ant -p" failed. * <rmic>'s sourcebase attribute was broken. * <copy>'s failonerror didn't work as expected when copying a single element resource collection to a file. * <get> no longer followed redirects if the redirect URL was relative and not an absolute URL. * fixed a performance degradation in the code that expands property references. * <jar filesetmanifest="merge"> was broken on Windows. * <symlink> delete failed if the link attribute was a relative path to a link inside the current directory without a leading ".". * <telnet> and <rexec> failed to find the expected strings when waiting for responses and thus always failed. - 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. * The <zip> family of tasks has been sped up for bigger archives. * Add removeKeepExtension option to NetRexxC task. * 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 * <junit> will now throw an exception if a test name is empty. This used to manifest itself in unrelated errors like * A change that made <exec> 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. * Added SimpleBigProjectLogger, intermediate between NoBannerLogger and BigProjectLogger. * <mappedresources> supports new attributes enablemultiplemappings and cache. * Added the augment task to manipulate existing references via Ant's basic introspection mechanisms.
2010-12-05 11:05:06 +01:00
USE_JAVA= run
USE_JAVA2= yes
USE_TOOLS+= pax
NO_BUILD= yes
SUBST_CLASSES+= ant
SUBST_FILES.ant= bin/ant
SUBST_STAGE.ant= pre-configure
SUBST_SED.ant= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
SUBST_SED.ant+= -e 's,@PREFIX@,${PREFIX},g'
INSTALLATION_DIRS= bin lib/java/ant share/doc/java/ant
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/ant ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/lib/ant.jar ${DESTDIR}${PREFIX}/lib/java/ant
${INSTALL_DATA} ${WRKSRC}/lib/ant-*.jar ${DESTDIR}${PREFIX}/lib/java/ant
Update to 1.8.3. docs/ has vanished, so install manual/ instead. Changes from Ant 1.8.2 TO Ant 1.8.3 =================================== 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. * <junitreport> mishandled ${line.separator}. Bugzilla Report 51049. * <junitreport> did not work in embedded environments on JDK 7. Nor did <xslt> 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 <javac> 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. * <splash>'s proxy handling has been delegated to <setproxy> internally so the two tasks are consistent. <splash>'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 * <sync> only supported a single non-fileset resource collection even though the manual said it could be multiple. * <sync> didn't work properly when working on resource collections. Bugzilla Report 51462. * <augment> 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". * <javac> 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 <javacc>, <jjtree> and <jjdoc> 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. * <junit filtertrace="true"/> 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. * <delete> and <move> 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. * <loadfile> and <loadresource> 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. * <javac> 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 <retry> task has a new optional attribute retryDelay that can be used to make the task sleep between retry attempts. Bugzilla Report 52076. * <signjar> has new attributes that control the signature and digest algorithms. Bugzilla Report 52344. * Initial support for Java 8. * <sshexec> can optionally create a pseudo terminal (like ssh -t) Bugzilla Report 52554.
2012-03-12 17:02:32 +01:00
cd ${WRKSRC}/manual && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/doc/java/ant
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/java/ant
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/java/ant
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"