Stefan Bodewig
94da71c764
change command line parser so that version is only printed once - and version as well as diagnostics methods know the current loglevel. The former is PR 45695, the later useful for 45692.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@689477 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
7679c154cf
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557220 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
3be2b26d81
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557021 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
0aa2b2528f
some checkstyle changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469717 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
44f1058c6d
handle security checks on property get gracefully
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468181 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
ff5195fa54
move other java1.5+ check down to the other java1.5 proxy tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@441117 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a6e993b7aa
fix for diagnostics using java 1.4
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@440335 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
1e6540e597
Adding property storing the ant core library.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@388848 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
b73a6c6b82
Improved use of MagicNames for ant internal properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@388834 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
3043b48186
extra proxy diagnostics, in a java1.5-only package. By abusing the toString() operation, we dont need any extra interfaces for this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@370259 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
75b9942dba
xml nameserver check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@359325 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
954f6058d7
Layout, extracted methods / named constants
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@291012 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
bcb846c805
Little something to make IDE debugging easier; <diagnostics/> prints the diagnostics out as per -diagnostics.
1. Why does Netbeans4.1 keep javax.xml.parsers.SAXParserFactory a secret? SecurityException handling to Diagnostics to compensate.
2. could add output file support, maybe?
3. could add task="junit" for detailed task diags instead...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278422 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
b32f4587da
PR: 35246
As suggested by Darin Swanson.
(use USER_LIBDIR, and use File.separatorChar in there)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278406 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
1511487597
Avoiding to catch unspecified Error. The context indicates we want to continue even when loading a class is unsuccessful. The only Error we expect and want to continue on would in that case be LinkageError (and not e.g ThreadDeath / VirtualMachineError).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278323 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
faba017869
Made compilable on 1.2 / 1.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278113 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
c68814d655
ok, sometimes drift is -ve.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278112 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b5e043025f
looking@why my junit reports are apparently an hour old. No fix, but -diagnostics now prints some clock info, and examines diffs between temp dir and local clock and complains if they are too different. (>10s, purely arbitrary)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278111 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0641431ea7
spacing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277898 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
1f41dffdf2
Removed unused import
Documented empty block
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277771 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b0003afe36
complete rework of reporting when we cant instantiate an element
old: generic error message
new: step by step diagnostics with instructions.
The code treats ant tasks and ant optional tasks specially, based on package names.
Also: moved some constants into the appropriate places.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277750 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
bec41871b5
diagnostics probes temp dir by writing a file to it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277618 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
c218102bca
whitespace around +
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277568 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
9e2453aa53
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277560 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
9e260d7fa3
diagnostics should list lib dir too.
Refactored the constants in the launcher for better sharing.
I worry about the hard coded file separator there (/),
so replaced in the code, but left the constant in,
in case someone was using it.
Updated WHATSNEW. Added which.jar to the fetchables.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277559 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
db48fbb829
Various checkstyle violations
Submitted by: Larry Shatzer
And some
(untabify (point-min) (point-max))
on some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
29b76e0c01
These are all patches to stop java1.5 whining about varargs.
In java.15 some of the reflection APIs are overloaded to be
usable via varargs, so untyped things cause confusion. These
are everywhere that bootstrap complains.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277008 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7e145de4f1
Properties.propertyNames() should be used instead of .keys().
PR: 27261
Obtained from: Mike Murray
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276969 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e580392c2d
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274776 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
710b0e612e
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274444 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
161579a6d0
Move "where has this class been loaded from?" logic to LoaderUtils.
Use it in <junit>, <antlr> and Diagnostics.
As side effects:
* fix PR: 15131
* make Diagnostics compile using JDK 1.1
this doesn't mean CVS HEAD will build on JDK 1.1, still to fix are
Sync, SQLExec and EscapeUnicode.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274352 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
cac0c1cdb8
because I had a pressing need to be find out which parser I was using on java1.4, and new all the code was a cut and paste away
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273595 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
74b6597e3a
Fixed NPEs that could have been flying if ant.home was not defined
PR: 14232
Reported by: darin_swanson@oti.com (Darin Swanson)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273483 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
648275616e
Forgot to catch Errors while doing the diagnostics..making it totally useless
when there is a ClassDefNotFoundError...that is...most of the time..
hem...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273114 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
23 years ago