Stefan Bodewig
06a078f0ed
Use a class not present in libgcj to detect Java 1.6 - PR 50256
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1040148 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
c60459738b
keep case of env var keys the user has added
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1039413 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
ff41336fc1
provide a Map based method to access environment variables and use that. Don't use System.getenv() on OpenVMS. PR 49366
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1039400 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
a28f64f5cf
fix a bunch of warnings you get when building on Harmony which uses Eclipse's compiler. There are still lots (more than 100) of deprecation warnings and warnings about missing serialversionids that I have ignored.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037691 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
40e298139f
fixup -source for OpenJDK7's javac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037667 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
b856b94179
detect Java7 features
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037607 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
d85d2da8e3
restrict impact of fix for PR 50295 on 'good' VMs to an additional syscall for empty directories rather than an additional call for every directory
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1036906 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
17d4b3461a
Make DirectoryScanner work on buggy JVMs where File.list() returns an empty array rather than null for files. PR 50295. Submitted by Daniel Smith
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1036905 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
db666cd282
remove useless import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1035336 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
70abcb7f5d
Make an enum like class for the values of the missing extension point behavior
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1035335 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
568f81e947
trademark
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1034687 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
9f59925bbd
detect Apache Harmony
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1033587 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
9fec95e95e
print whether Kaffe/gcj have been detected in -diagnostics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1033569 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
bdf0cfed42
fix my english
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1033072 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
a2b3e159f5
unit test, doc and fix for the bindtargets task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1032990 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
3849918afc
If there is -d, debug mode, make the -p, project help, print the dependencies of the targets
This will help debugging extension points
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1032931 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
51fe5cb2d9
add some comment about some type parameter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1032923 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
44da21928e
Add a task to bind a target to an extension point.
doc and unit test still to do.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1032922 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Antoine Levy-Lambert
ce81059049
fix for bug 50217, NPE in ftp chmod
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1032188 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
8e1d92a9a0
make it a sentence
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1028816 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
b6422c58be
comments and indentation only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1028815 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
ee4aa01089
zip's whenempty doesn't look at non-filesets at all. PR 50115
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1028813 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Steve Loughran
f2453ec2ac
Bugzilla Report 48835 StringUtils.parseHumanSizes() should turn parse failures into BuildExceptions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1028755 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Steve Loughran
aea7d36e1a
JUnit XMLResultAggregator logs the stack trace of caught IO exceptions in verbose runs. Bugzilla Report 48836.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1028749 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
036a9cd77d
write all buffered data to the stream in TarOutputStream#finish. PR 50014
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027431 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
9f471a747b
preserve linefeed-style in propertyfile task. PR 50049
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027179 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
a18d38bbd2
the package name ends at the last dot of a classname, not the first. PR 45227.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027142 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
84b4cc0caf
don't allow tasks to finish in <parallel> when the manual says 'execution is terminated'. PR 49527
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027125 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
b4b082c568
allow more path 'views' of a file as elements inside <checksum>s pattern. PR 50114
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027103 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
7f25ba893f
add support for gchj to javah. PR 50149. Submitted by Bernhard Rosenkraenzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027025 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
651ed09ed1
sort imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027006 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
52504ea280
properly close streams. PR 50136
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027003 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
6d79f276e8
don't ignore fileset's errorOnMissingDir in <delete>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027000 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
66750f9349
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1026986 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
38cd07c803
don't rely on IntorspectionHelper normalizing file names in signjar. PR 50081.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1026982 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
1a27d56d58
implement Closeable in AntClassLoader5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1002465 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3ef6daa0c0
according to the javadocs of JarURLConnection the separator is !/ not ! - this allows dealing with jars in directories that contain a ! in their name, as long as it is not at the end of the directory name. PR 50007
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1001756 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
41500c073f
Add a mapper similar to wget --cut-dirs, based on user-list discussion initiated by Michael Ludwig
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@998962 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jacobus Martinus Kruithof
54d098809f
fixed error in patch committed yesterday.
Site Local with address no longer overwrites global without.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@990692 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jacobus Martinus Kruithof
ff51ff3412
Bugzilla 49513, reported by jks/iname
Availability of hostname is now taken into consideration when selecting a local address.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@990653 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
b0d9f8aa01
NPE in Project.setDefault. PR 49803
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@988095 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
7fd46296e1
allow test listener events to be enabled by an attribute or a magic property - disable them by default
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@987139 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
1b30eea462
bug #49119 :
- put the fix back again but only for input which is not a string or a file
- and a unit test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986668 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
5a6247d496
support casesensitive in linecontainsregexp and casesensitive, multiline and singleline in containsregexp. PR 49764
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986457 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
401473f8de
merge redundant code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986445 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3a912beff7
allow copy/@tofile to be used with non-file resources. PR 49756
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986290 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
0c08ce1f0e
Avoid NPE in createTempFile if no prfix has been specified. PR 49755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986226 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
51971d6330
r985632 : actually it is breaking unit test, reverting
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@985640 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
11d029431b
Bug #49119 :
A forked <java> task is creating a pumping thread on the input stream. The read was made blocking, so the pumping thread is still blocked after <java> finished. So it will steal the first flushed charaters from the input stream. Making the pumping non blocking fixed the issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@985632 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
282291fb51
<jar doesn't merge manifests that come from zipfilesets with prefix. PR 49605
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@983308 13f79535-47bb-0310-9956-ffa450edef68
15 years ago