Matthew Jason Benson
dffefa0a03
add importable file to give any antunit file a base for running itself
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536549 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
512567d2f6
refactorings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536548 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
08f27b19f2
if either resource to be compared has an unknown size, we must compare content
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536536 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
b4101f5424
constructor with passed-in ProjectComponent and default loglevel
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536358 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
e9a41d2a09
guard against empty name oobe
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536356 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
6b652facf6
add a new constructor for programmatic construction of a StringResource with property substitution (will support fixing broken Concat tests)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536355 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
8b667be264
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536353 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
5486fb50f0
ws/doc/unnecessary else
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536352 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
7a504524f2
fix textfile/astext attribute descriptions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536242 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
9154805783
add assertion message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536221 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
b665180a23
-typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@535764 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
534a22b671
Add ANT Shell Extension
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@535752 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
a2ef942f63
Bugzilla 42334: System properties may be none string objects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@535314 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
b29f5e1567
Bugzilla 42334: System properties may be none string objects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@535312 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
14df70f4d1
up to date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@534920 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
7dbe072645
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@534434 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
382f81dea5
Avoid NPE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@534433 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
d6cbd609c2
Refactor .code/.output into global css
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@534335 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
d3ea742f45
remove beta.png from the rest of the manual
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@534326 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
aba3bd35bb
pre-talk preparations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@534315 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
6d0fd1ee4c
fix the header. Sometimes the IDE get's over enthusiatic, and unless I add some location-awareness plugin, it assumes my laptop is always doing work code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533567 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
758a6bcb93
Pr: 42259 inspired on optimization suggested by Tom Brus
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533498 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
95ce6ff3dc
-use FileUtils.close
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533464 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
88e48dbdd3
little bit of code review
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533214 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1880c9138d
getting ready for apachecon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533193 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
4fbce1074a
ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533122 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
b6f25e8e14
Bug #41597 ; scriptdef should be resource-enabled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533121 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
0fdff180f1
bug 42276: support nested text
bug 42277: String resources can have properties double expanded
Nested text is allowed, and property expansion is done at the tail end of a write, not on every read.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533115 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
77b327d069
not files, resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533113 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
c089057ee8
Bind string resources to projects. There's no bugrep with this, but it is good practise
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533112 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1e409137af
bsf reference
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533110 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
bcf84f5f14
Bug 42275: ant doesnt run from a network share, because of an error when trying to work out where we loaded from.
1. this exception is still raised, but caught and causes ant to skip setting ant.lib.
2. we now have a test class for Locator
3. I've split out the java1.3 support and made it public, so we can test it separately.
One of the tests is failing, showing the problem is still there. We need to decide what to do about it (ignore, switch to java1.3 code...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533082 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
a500ff1e50
bug ID#42231, a static method is package scoped instead of public
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533058 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
991ce3f231
-fix for bug #42227
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533024 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
9ac67d6188
Add EnvGen
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@532629 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
36b05881a3
bug ID#42231, a static method is package scoped instead of public
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@532325 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
db412627e1
Bug 41940 : works for JUnit's own runners, but not for Ant's. Ideas?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@532247 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
f6516eea38
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531627 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
82545c7118
pr 41766 permissions for AllPermission not working correctly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531625 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
51ef806814
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531604 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
c87de2b75e
make the name of application.xml a constant, use locale-sensitive case conversion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531603 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
450a402c32
BuildExceptions get caught and rethrown
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531599 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
051ba1279d
pr 42179: Delete cannot handle (NPE) fileset without file or directory specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531575 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
ee2779b5b9
Very delicate changes to Introspection helper
1. warnings in the javadocs about how sensitive the file is
2. factoring out of the code to handle InvocationTargetExeptions
3. some more javadocs
4. some IDE-hinted warnings about static classes, access modifiers on abstract/private class constructors
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531486 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
db4fbb723e
Fix the version logic to work without having hard coded ant versions in there.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531485 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
07b3f5e912
Print out the name of the attribute and its value when there is a conversion error
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531483 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
0bb00fe4f6
Test didnt work on Unix. Assume that ${user.home} is in a partition with some (but finite) space. If anyone runs these tests on a disk array with >1 petabyte, they will still fail.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531472 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
d9fef33464
correct the comment to match the code -we only check for string args-
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531448 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1d6d563a87
don't drop the underlying cause when thing can't be read
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531427 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
a8b79fd315
-fix problem with windows file uris (stupid "Documents and Settings" bloody folder)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531340 13f79535-47bb-0310-9956-ffa450edef68
18 years ago