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
Stefan Bodewig
2e315eb059
4 new logos
Conor, remove your if you want ;-)
Submitted by: Dylan Schiemann <dylans@yahoo.com>,
Magesh Umasankar <umagesh@apache.org>,
James Andrews <jimhole23@yahoo.com>,
Conor MacNeill <conor@cortexebusiness.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270833 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8d79b48a89
Make JDK 1.4 happier
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270820 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
c73be43653
Testcase to ensure <java> works as expected in both forked and unforked modes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270818 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
93d1a027cf
Fix test5.
- the directory was not created previous to ANTLR call (xml)
- it cannot process java.tree.g since java.g need to be processed first so an error occurs in ANTLR.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270774 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1c54377d1d
Copyright statement police catching up with latest commits 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270772 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
51b5caf9a8
lets test condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270747 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b278e5fa0b
added expect() clauses for properties being set, unset.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270746 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3b41e256ee
<fixcrlf> failed on Mac files.
Reported by: Matt McHenry <mmchenry@carnegielearning.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270662 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2fdf6b699f
missed two subdirectories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270655 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d0fd746309
License police on testcases and stylesheets:
Make sure all years in which the file has been modified are listed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270654 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7cbd5df017
Remove code that has never been used in any released version of Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270645 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e01d1142c
Move responsibility for cleanup to the test themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270623 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aa27429577
Improve the <equals> condition by adding trim and casesensitive attributes.
Inspired by: Frank Bechmann <frank.bechmann@dcw-software.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270621 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
5d79a4f5eb
Addition of destFile(File) attr to the zip/war/ear/jar tasks, fixup of docs, replacement of deprecation methods and appropriate changes to the tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270605 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
1620dd543b
Usage of SrcFile,SrcDir,DestFile,DestDir abandoned. Rolling back to
previous state.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270487 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
215ff90fee
oops, forgot the license on first pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270423 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
93092c4c72
A new mapper to allow checking <uptodate> from test cases to their XML formatter results.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f82ca6ff2d
Added additional methods to deal with strings.
This is mostly to avoid the use of regexp for
simple tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270393 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a244b2f855
using srcFile datatype
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270383 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
f4df13a3aa
stops the encoding test failing. We now test that the encoding param is supported, but there is nothing to test that the encoding actually works.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270377 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a225264f50
new loadfile task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270374 13f79535-47bb-0310-9956-ffa450edef68
24 years ago