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
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
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
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
Jan Materne
0a51af299e
Beautify error message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530818 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
c7f7d99c3d
Add tests. Document the regexp for attribute name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530664 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
b8bdf2149a
Check every single character instead of trying using regexp's.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530662 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4462d80608
Validate the name of manifest attributes. ATM only whitespaces are catched, need some help with the regexp version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530374 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
781433259a
Java 6's javac doesn't understand -source 1.1 either (found by Gump and the log4j build < http://gump.zones.apache.org/gump/test/logging-log4j-12/logging-log4j-12/gump_work/build_logging-log4j-12_logging-log4j-12.html >)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@529855 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
f1e9c972fb
bugzilla: 42142 add name of missing archive for zipfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@529630 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
7fe632db24
static inner should fix 1.2 probs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@528047 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
fae1165196
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@528046 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
41bd95f7ea
adding javadocs. It seems to me that this code could be replaced by deleteChars.indexOf(c)>=0, delegating the loop to the string class itself
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@527130 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
ef5fa00d23
Optimization of the change commited yesterday.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526722 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
a109f4fc4f
unused imports / serialverUID
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526568 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
20e8233e70
Changes after static code analysis.
new Long...longValue new Int...intValue -> Long.parseLong(..)
and arraycopy to copy arrays
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526548 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
2e15eb8a03
Changes after static code analysis.
code changed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526547 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
d5836ac061
Changes after static code analysis.
Code totally equivalent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526545 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
fc24b8bbec
Changes after static code analysis.
Code changed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526544 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
a664a97520
Changes after static code analysis.
Code changed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526542 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
dd84420703
Changes after static code analysis.
Code changed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526541 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
5ae25f988b
Changes after static code analysis.
Code really changed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526539 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
1af32c7d51
project cannot be null, few lines bewore and next line would throw NPE.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526485 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d121889dca
Patternset allows nested inverted patternsets using <invert>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526228 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
f9bc9d18bf
Test should also pass on other platforms.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@524882 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
23de1130b0
test for Bugzilla 41948
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523867 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
e52412cab9
restore detailed import lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523683 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
25b1695de8
adding since tag for new method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523682 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
1e4c39fb60
adding a method to find wrong cased files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523681 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
bbd75a7c27
Add IgnoreDependenciesExecutor for weird cases when the user wants to run only the targets explicitly specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@521278 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
b73a3b386a
no need to mark static methods as final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@520384 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
71812c8dc2
bug id 41904; -autoproxy broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@520382 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
aa90e61cd6
-revert to non-reflective close
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@519857 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
8a9e8a9034
-sorry prevent NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@518897 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
08ece01ed6
-use reflection to avoid duplicated code for close (various things that can be closed)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@518896 13f79535-47bb-0310-9956-ffa450edef68
19 years ago