Stefan Bodewig
0b949aa8cd
disable test case that could have never passed (but strangely did for
several months).
Oh, yes, in case I haven't said so yet: Happy new year everybody.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271600 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
72f4f0b5a4
assert that gzip's new uptodate check also affects bzip2.
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271575 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0005305ea6
time checking on gzip, with tests.
submitted by Jeff Martin <jeff@custommonkey.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271573 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2f31d0c964
Add encoding attribute to copy/move so that filtered operations work
on encodings different than the platform's default as well.
PR: Christopher Taylor <cstaylor@nanshu.com>
some year 2002 fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271540 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
7efcedb77b
Make ParallelTest work on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271536 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
7fe9f6ac3d
Message has been changed from "default constructor" to "no-arg constructor" in Project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271534 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
2ccd335cf3
Added 'prefix' option to <property>. Designed to only work when loading a property file or resource.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271519 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a7f9947566
year 2002 squad at work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271508 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
3a60c3af7e
Utility task to list all your current properties along with unit tests, as written by Matt Albrecht . Added a prefix to save a subset of the properties for the very silly. Left it in optional.jar although it has no dependencies.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271507 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
6cbeee38fa
Here goes: propertyfile refactoring to hopefully fix all outstanding issues with it. "now" and "never" were removed as operations (didn't make sense). "never" was removed as a value (it caused a null pointer exception anyway).
Other code cleanup (axing "m_" prefixes).
Added "unit" attribute to <entry> defaulting to DAY. This was essentially the previous default, but it was far too confusing.
Test cases beefed up to consider several scenarios.
There may be more changes needed to satisfy other use cases, and certainly some previous (undocumented) behavior has been changed (for the better!).
Is there a use-case for "never" as a value?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271503 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
62f2142b34
Add pointer to TIM
Submitted by: Mark Griffiths <mark@chive.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271502 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
165b7dfa13
Tests and fixes for the DemuxOutputStream
1. New tests for the DemuxOutputStream and parallel task
2. Fix for the DemuxOutputStream thread problem identified by Jon Skeet
3. Found additional bug where UnknownElement does not hand output and error
strings onto the real task
A little bit of checkstyling.
Hmmm, really should be in bed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271501 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
575646714e
simplify createAttributeSetter method.
Submitted by: Jon Skeet <jon.skeet@peramon.com>
Throw in some additional tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271450 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
99cb5283fe
superflous line that wasn't meant to go into CVS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271446 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
01b79d1810
Add a new <contains> condition that looks for substrings.
Names are open to discussion, of course.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271444 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
36be3c93e4
Testcase for PR 5006. Make sure to set the context classloader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271434 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
851bf0c5ed
Better handling of tasks that are wrapped in TaskAdapters - unwrap
InvocationTargetExceptions when they happen
PR: 5830
To test it I've enabled all tests for <condition>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271429 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f20a1d1c4d
please don't use <zip>'s file attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271422 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3094ca2c8f
Make JDK 1.4 happy by changing assert to assertTrue.
TraxLiaisonTest accesses the protected TraXLiaison.getSystemId method
and therefore has to be loaded via the same classloader as TraxLiaison.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271369 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
35b6913d94
Make tests pass on JDK 1.1.
The change to ProjectTest basically backs out a change I had to make
to Ralf Wiebicke's original submission to make it work on my box three
months ago. Since then nothing has changed, but my JDK now throws a
different exception than it did back then - go figure.
TimeZone doesn't seem to matter for JDK 1.1, testDateTimeISO fails as
text is "2002-02-23T10:11:12" on my machine. I ran out of time and
disabled the test, but I promise to check back later. 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271368 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
96203d2041
Fix sysproperty handling (testcase fails for old code and passes for
new code).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271366 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
14069410f1
Add testcase for sysproperty handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271365 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
022ed20a99
Add compiler attribute to <javac> that allows users to override
build.compiler on a task by task basis.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271362 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0ec06feed1
I took the time to write a simple shell script to audit Copyright
lines, and now it is paying of ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bbf5ec8b44
Improve coverage of manifest unit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
c4d8f9c859
turned off the fatal stuff unless a property is set; added tests to look at <java's> exception handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271279 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
c3949e4e2d
java task test cases; reworked to inherit off BuildFileTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271278 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
ab27c9f4e1
Adding javadocs for the main methods that testcases are likely to call
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271255 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
45287716c9
Easy way to test the Audit parser.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271230 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1df82da13f
Fix file protocol prefix so that there is no more
and no less than 3 '/' on whatever platform it is running.
PR: 6259
Reported by: sl@ragbildung.de (Sascha Luedecke)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271216 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cfa604fd99
testcase wouldn't compile - slipping fingers?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271174 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
f9ceac5949
Fix the date util tests for where the local timezone isn't GMT+1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271166 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b55b65d798
Helper class to deal with simple ISO8601 time formatting.
Moved elapsed time formatting (minutes/seconds) from DefaultLogger.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271162 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c32a301126
cvs update -dP -pedantic ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271145 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
a7f0867fda
Fix single-file fileset functionality. Did this ever work (,Peter)?
XP-style: added test case to detect bug, then fixed it. Also, trying to break out of the mould of the "testN" test case names - too brittle and non-descriptive.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271143 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8fa296bb51
New attributes to tarfileset to allow equivalent of tar -P option
PR: 5874
Submitted by: Stefan Heimann (mail@stefanheimann.net )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271139 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8bad90e21d
Sometimes, all you need is a pedant ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271138 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
786e2e2e1c
Prefix attirubte for tar task
PR: 6054
Submitted by: mail@stefanheimann.net (Stefan Heimann)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271134 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
390132ed55
Add a getResource method. I would rather prefer to
load resource this way than assuming the JVM is the
root directory.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271133 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
9b1632dc47
Copyright fix; minor message corrections.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271126 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d957fa1151
Fix -jar option to be appended rather than prepended
as specified in usage command line since the parsing
for jvmtype is broken in JDK < 1.4.0.
I filled bugs 139128 and 139129 to Sun for this.
Reported by: christophe.aubry@temis-group.com (Christophe Aubry)
PR: 5307
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271071 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
dd38c61aec
two new attrs to loadfile to make it more flexible in feeding other tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271033 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
6eafb817a2
test now works on my box, maybe we will scrape through GUMP now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271032 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
8dc6be273c
SourceOffSite tasks submitted by Jesse Stockall <jesse@cryptocard.com>.
The sos.html file is slightly out of synch with the actual attributes - but Jesse will submit updated documentation soon.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271021 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
536c872b8b
part two of the patch to make Jakarta-Regexp tests pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271020 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e3b9832459
Make tests pass on Linux as well (by not expecting them to pass).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271019 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f5a525c370
filling my role as post-commit script ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271018 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e27d594005
Fixes should be in all related testcases now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271017 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e0c5a1f097
- Added some more tests. All tests that fail have
not been commented but rather modify to trigger
once they are fixed.
If Unix people could tests and make sure that they
pass on Unix that would be nice.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271015 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
37f6709df7
- Get the class from the caller classloader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270994 13f79535-47bb-0310-9956-ffa450edef68
24 years ago