6 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
wiz
|
2b8fe929ab |
apache-ant: update to 1.10.2.
Changes from Ant 1.10.1 TO Ant 1.10.2 ===================================== Changes that could break older environments: ------------------------------------------- * updated the dependency of BCEL to 6.2. Bugzilla Report 61196 * delete task previously would silently accept wildcard (*) value for the "file" attribute. That's no longer the case and an exception could get thrown by the underlying filesystem for such use. Usage like: <delete file="/foo/bar/*.something"/> should instead be changed to use resource collections like: <delete> <fileset dir="/foo/bar/" includes="*.something"/> </delete> * Commons Net 3.6 is binary-code, but not source compatible; see change list of Commons Net 3.0 for details * The Log4jListener is marked as deprecated as the required log4j library (in version 1.x) is not maintained any more. * Image task is marked as deprecated as the required JAI library is not maintained any more and internal APIs that JAI depended on are no longer available in Java 9. Fixed bugs: ----------- * <genkey>'s <dname> child now skips <param>s that lack a key or value. Bugzilla Report 60767 * bootstrapping Ant on Windows failed Bugzilla Report 61027 * Fixed the issue where the SCP based tasks would try to change the permissions on the parent directory of a transferred file, instead of changing it on the transferred file itself. Bugzilla Reports 59648 and 43271 * Fixed the issue where the source file being copied could end up being corrupted if the target of the copy happened to be the same source file (symlinked back to itself). Bugzilla Report 60644 * Fixed the issue where symlink creation with "overwrite=false", on existing symlink whose target was a directory, would end up creating a new symlink under the target directory. Bugzilla Report 58683 * Improvement to the Zip task for reduced memory usage in certain cases. Thanks to Glen Lewis for reporting the issue and suggesting the fix. Bugzilla Report 19516 * Fixed an issue where the content redirected from output/error streams of a process, could end up being truncated. Bugzilla Report 58833, 58451 * <fileset>/<zipfileset>/<tarfileset> will now throw an exception with a more useful error message when setFile is called twice on the same instance. Bugzilla Report 62071 Other changes: -------------- * Added forceCsvQuoteChar option to <csv> task. When enabled the values always get quoted. Github Pull Request #32 * Added <encoding> attributes to various script related tasks and a compiled attribute to scriptdef. Github Pull Request #30 * Added support for jarsigner's -tsadigestalg to <signjar>. Bugzilla Report 60665 * added "regexp" attribute to <linecontainsregexp> Bugzilla Report 60968 * reduced GC pressure by replacing all usage of FileInputStream and FileOutputStream. * Task can now also use attribute setters that expect a java.nio.file.Path argument. Bugzilla Report 61042 * added a new magic property ant.tstamp.now that can be used to override the current time/date used by <tstamp>. Bugzilla Report 61079 * added Orion support to ejbjar Github Pull Request #33 * SCP task, when configured to use SFTP protocol, now preserves last modified timestamp on files that it uploads, if the preserveLastModified attribute is set to true for that task Bugzilla Report 58589 * zip and the related tasks can now set the modification time of all entries to a fixed timestamp. Github Pull Request #36 * Jsch library dependency has now been upgraded to 0.1.54. Jsch is the library behind the sshexec and scp Ant tasks. Bugzilla Report 61718 * Added a new <javaversion> condition. * added "javac10+" as new supported value for javac's compiler attribute. * javah has been removed from Java 10. The task will now throw an exception if you try to use it while running Java 10 or newer. * Updated Maven Ant Tasks, Jakarta Regexp and JUnit 4 to the latest stable version (2.1.3, 1.4, and 4.12 respectively); updated JRuby to the latest Java 5 compatible version (1.6.8); added resolve target for AntUnit to facilitate updates. Github Pull Request #50 * Updated Java Mail API, Jython, Rhino and Commons Net to the latest stable version (1.6.0, 2.7.0, 1.7.7.2 and 3.6, respectively). Github Pull Request #53 |
||
tonio
|
60713dfd58 |
Fix support for space in JAVA_HOME. Required for Darwin java7
Patch provided by J. Lewis Muir |
||
wiz
|
1f3c5c03c3 |
Update to 1.9.4. Add comment to patch.
Changes from Ant 1.9.3 TO Ant 1.9.4 =================================== Changes that could break older environments: ------------------------------------------- * the prefixValues attribute of <property> didn't work as expected when set to false (the default). It is quite likely existing build files relied on the wrong behavior and expect Ant to resolve the value side against the properties defined in the property file itself - these build files must now explicitly set the prefixValues attribute to true. Bugzilla Report 54769 * when matching an entry of a zip/tarfileset against a pattern a leading slash will be stripped from the entry name. Most archives don't contain paths with leading slashes anyway. This may cause include/exclude patterns that start with a / to stop matching anything. Such patterns only used to work by accident and only on platforms with multiple file system roots. Bugzilla Report 53949 * DirectoryScanner and thus fileset/dirset will now silently drop all filesystem objects that are neither files nor directories according to java.io.File. This prevents Ant from reading named pipes which might lead to blocking or other undefined behavior. Bugzilla Report 56149 * BuildFileTest and BaseSelectorTest have both been deprecated in favour of BuildFileRule and BaseSelectorRule respectively, and the tests that previously extended these base tests have been converted to JUnit 4 tests using the new "rule"s. Any external test that sub-classed a test in the Ant workspace, rather than BuildFileTest, will need changed to either use JUnit4's annotations, or be modified to extend BuildFileTest directly. This will not affect any tests that are being executed by Ant's junit or batchtest tasks that are not specifically testing Ant's code. Fixed bugs: ----------- * <import>/<include> failed when the importing file was loaded from an URI or a jar and it imported a file from the local file system via an absolute path. Bugzilla Report 50953 * <import> could import the same resource twice when imported via different resource types. Bugzilla Report 55097 * several calls to File#mkdirs could fall victim to a race condition where another thread already created the same directory. Bugzilla Report 55290 * <manifestclasspath> created '/' rather than './' for the parent directory of the given jarfile. Bugzilla Report 55049 * <concat>'s fixlastline="true" didn't work when using certain filter readers. Bugzilla Report 54672 * several places where resources are read from jars will now explicitly disable caching to avoid problems with reloading jars. Bugzilla Report 54473 * AntClassloader will now ignore files that are part of the classpath but not zip files when scanning for resources. It used to throw an exception. Bugzilla Report 53964 * <javadoc> caused a NullPointerException when no destdir was set. Bugzilla Report 55949 * <jar filesetmanifest="mergewithoutmain"> would still include the Main section of the fileset manifests if there was no nested manifest or manifest attribute. Bugzilla Report 54171 * reading of compiler args has become more defensive Bugzilla Report 53754 * <copy> without force="true" would not only fail to overwrite a read-only file as expected but also remove the existing file. Bugzilla Report 53095 * <delete removeNotFollowedSymlinks="true"> would remove symbolic links to not-included files. It will still delete symlinks to directories that would have been followed even if they are not explicitly included. exclude-Patterns can still be used to preserve symbolic links. Bugzilla Report 53959 * Sometimes copy-operations using NIO FileChannels fail. Ant will now try to use a Stream based copy operation as fallback when the Channel based copy fails. Bugzilla Reports 53102 and 54397 * Javadoc.postProcessGeneratedJavadocs() fails for Classes that extend Javadoc Bugzilla Report 56047 * TarInputStream will now read archives created by tar implementations that encode big numbers by not adding a trailing NUL. * the isExists() method of URLResource returned false positives for HTTP and FTP URLs. Other changes: -------------- * initial support for Java 1.9 * <sshexec> can optionally pass System.in to the remote process Bugzilla Report 55393 * <sshexec> now supports capturing error output of the executed process and setting a property from the return code. Bugzilla Report 48478 * <javadoc> now has an option to fail if javadoc issues warnings. Bugzilla Report 55015 * <sql> has a new outputencoding attribute. Bugzilla Report 39541 * changes to JUnitTestRunner and PlainJUnitResultFormatter to make OutOfMemoryErrors less likely. Bugzilla Report 45536 * changes to DOMElementWriter to make OutOfMemoryErrors less likely. Bugzilla Report 54147 * <redirector> has a new attribute binaryOutput that prevents Ant from splitting the output into lines. This prevents binary output from being corrupted but may lead to error and normal output being mixed up. Bugzilla Report 55667 Bugzilla Report 56156 * the nested <message> elements of <mail> now have an optional inputEncoding attribute that can be used to specify the encoding of files read that don't use the platform's default encoding. Bugzilla Report 56258 * The <get> task now explicitly accepts and supports the gzip content encoding. Bugzilla Report 49453 * A new resourcecollection type <multirootfileset> acts like a union of <fileset>s and <dirset>s that share the same configuration but have different base directories. Bugzilla Report 48621 * <get> has a quiet attribute that makes the task log errors only when enabled. GitHub Pull Request #1 * <junit> has now a threads attribute allowing to run the tests in several threads. Bugzilla Report 55925 * addition of a new ProcessUtil class providing the process id of the current process * changes to allow to run the JUnit testcases of Ant in parallel, by making them use unique temporary directories |
||
tonio
|
2961d62242 |
Update devel/apache-ant to 1.8.0
Fix PR pkg/42990 * Lexically scoped local properties, i.e. properties that are only defined inside a target, sequential block or similar environment. * <import> can now import from any file- or URL-providing resource - this includes <javaresource>. * 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 <import> 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 |
||
adrianp
|
88183e8509 |
It's not much use specifying a path to a java wrapper that may not exist.
Test for the wrapper and if it does not exist fall back to auto-detection PKGREVISION++ |
||
tonio
|
38ecf2e429 |
Update apache-ant to 1.6.5
Remove the files/ant script, by patching the bin/ant script, as ant people worked on it. I'm taking maintainership for this one Fix PR 29038 and PR 29338, apache-ant now can use plugins Fix PR 30332 (update to 1.6.5) Approved by jwise@ |