Peter Reilly
0a36bf20ec
check for same targets in a source file
PR: 34566
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278179 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a1102edeba
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278172 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
eaef2bfdbe
add backtrace attribute to <macrodef>
PR: 27219
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278161 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
370ac32906
Now for the fun. Exec adds an osfamily attribute, so you can restrict execution to a platform such as nt, or unix. This propagates to execon, so into chmod, attrib, etc. We could therefore adapt them use osfamily as their way of being unix or windows only.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278155 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
500030a537
Make Zip#createEmptyZip be called again when empty zips need to be created
(similar for overrides in superclasses)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278143 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4b343f551b
The refid attribute of the I/O redirector was not functional.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278141 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
134d95afef
Major speed improvements on BZip2 streams.
PR: 24798
Submitted by: Joerg Wassmer <joerg dot wassmer at web dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278137 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
86cd020ce9
Add negate attribute to linecontains and linecontainsregexp filterreaders.
PR: 34374
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278124 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
6bd9a3ed78
Remove "strip-duplicates" behavior from; add condition behavior to, Length task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278120 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
2c68e6ab60
Add subproject Executor to Executor interface + its use to Project & Ant task.
Move keep-going awareness to Executors.
PR: 22901
Submitted by: Alexey Solofnenko
Reviewed by: Matt Benson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278114 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
debc4cf475
s/occured/occurred/g wherever possible - unfortunately we included the spelling error in several public method
signatures. Just like java.lang.Cloneable. :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278092 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4f0b931824
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278083 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
a898d14776
#31885 : <junit> logs more detailed events for individual tests it is running.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278072 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
126daf8b31
Removing old code testing for JDK 1.0 and 1.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278071 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
8a86b8228f
#25832 : deprecating the task names <WsdlToDotnet> and <style>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278068 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
df49dea906
#32463 : deprecate WeakishReference since we can assume JDK 1.2 APIs now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278067 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
41985851e2
change name of handledirchar to handledirsep to be similar to pathconvet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b02d774374
Well, a bit of hackery and you can verify that JAR is signed. But there is *nothing* to verify that the signature itself is trusted. Essentially "jarsigner -verify" is a worthless piece of junk from the security perspective.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278060 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
25e6c497c3
system properties are in <signjar>, so you can (manually) propagate proxy settings. Updated docs and examples.
Patched Environment.java for raw access to the variables, rather than just a string array.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278059 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
53bcbf1d66
Unit Test for PR 32973
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278056 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
450c0f1f2f
Factor out a base classs and add a verification task, a verification which cannot rely on return codes as a success metric, as the program returns 0 even for invalid jars. Hence the disabled test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278052 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
7229e5923e
-env util to get an ordered version number,
-test of tsa only runs on java1.5+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278051 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b41196e3ea
-TSA support, bug 32390
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278050 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
abf8e1ecce
-tests for old and new signjar features written; working
-signjar test patched for offline testing
-fixed SignJar to pass the tests
-doc updates to match tested code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278049 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
f39da1b5b5
unit test for PR 25911
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278034 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a1634b4203
Unit test for PR 24866
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278031 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
aff45f3377
Add unit test for <rpm> failonerror
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278027 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4a834a6214
Jikes is right, the fallthrough is a problem
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277902 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
80593698b1
Moving isreachable to reflect on the new method. On java <=1.4; if the hostname can be resolved then we are reachable.
All tests run against localhost. This *should* work everywhere, but no doubt someone with a confused /etc/hosts or no IPv4 stack will have different opinions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277887 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
46da1a13f2
Why are we testing this on Unix? :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277882 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
dae6ce9ace
Apt testing. We can say this works now :)
I do worry that the example Java1.5 code looks just like STL C++.
We also need to compare factorypath with classpath behaviour. But we can demo that you can add new factories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277860 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ecb5c9a952
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277848 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
c7e8a8e498
Removed $Id$ cvs tags
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277846 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
704e2490d3
removed lines with $Revision: x.y $ lines (after verification)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277845 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
da7e3aa2ba
Make pass; I assume the recent FileUtils changes broke this due to
the file separator being normalized to \, but it could've been broken before.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277836 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
9207c3cd53
Spelling, blank lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277831 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
7808487f0a
Typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277828 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
0fb6ce69c2
Forgot to commit testcase for doubled EOF char on the new filter-delegated
FixCRLF task. Translated test assertions from Java to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277825 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b1f75a400d
First fix the tests to fail when they should, then fix rmic to work as before, even on Java1.5, then add new tests to explicitly do version checks.
bug "rmic always compiles on Java1.5"
http://issues.apache.org/bugzilla/show_bug.cgi?id=33862
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277811 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
dd7d6b246e
By popular demand: Do not scan directories if their contents are excluded.
Changed scannedDirs from a cache to a result and added a gettor method
with a warning in the Javadoc that it was a testing method only.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277795 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5061e731c3
1. Add Kevin Greiner's FixCrLfFilter (slightly modified)
2. Adapt FixCRLF the task to use the filter (single set of fixcrlf code)
3. Implement ChainableReader in FixCRLF so that the existing taskdef
will be recognized as a nested element in a filterchain.
PR: 33155
Submitted by: Kevin Greiner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277787 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
015ec69fd1
Add preservelastmodified attribute to fixcrlf.
PR: 25770
Submitted by: Yuji Yamano
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277778 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
81197f555a
Get with usetimestamp did not work when local timestamp roughly >= now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277761 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4c83562c6c
On DOS and Netware, filenames beginning with a drive letter
and followed by a colon but with no directory separator following
the colon are no longer (incorrectly) accepted as absolute pathnames
by FileUtils.normalize() and FileUtils.isAbsolutePath(). Netware
volumes can still be specified without an intervening separator.
UNC pathnames on Windows must include a server and share name, i.e.
"\\a\b" to be considered valid absolute paths.
FileUtils.resolveFile() promised to return absolute files but
did not always do so.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277759 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
172370143a
Disable test that can't run under Windows Java 1.2 . Should check 1.3 as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277757 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c61a7be25d
New diagnostics broke CaseTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277755 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
782bc21332
RedirectorElementTest stopped working on windows w/h cat on the path.
Now it passes the testcase if cat is not available.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277743 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
80d6afd555
Year
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277741 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
43cb5f9b25
get with usetimestamp did not work on Java 1.2 .
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277740 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
9c0047961d
I don't see the debug output in the Kaffe Gump run, try it unconditionally
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277737 13f79535-47bb-0310-9956-ffa450edef68
21 years ago