Matt Benson
b7d1e9bde4
java 5-8
8 years ago
Stefan Bodewig
af74d1f6b8
reduce GC pressure by replacing File(In|Out)putStream
8 years ago
Stefan Bodewig
7081e356a8
stick with RuntimeExceptions to prevent recursive logging loops
9 years ago
Jan Matèrne
d92b5275c6
Bug-56850: null safe property access
11 years ago
Jan Matèrne
bf6026a147
organize imports
11 years ago
Matthew Jason Benson
3d706ab818
java 5 updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375137 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
f110a5fb7a
XmlLogger could lose messages when parallel is used. PR 25734. Based on analysis and patch by Craig Sandvik
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675993 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
64886360cf
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557005 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
13bdae7c19
Added logging of stacktraces of exceptions in logmessage when loglevel = debug.
Made first use of this logging in the Delete task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475788 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
Peter Reilly
6515402721
NPE using XmlLogger and antlib
check if the value of the name attribute is not null
set the taskname of the antlib task
PR: 31840
Obtained from: Mariano Benitez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276965 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6cc4c84df3
better diagnostics from XmlLogger.java
PR: 28993
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276464 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
Peter Reilly
5811602974
XmlLogger:
Remove tasks and targets from the hashtables when the task/target finished
event arrives.
PR: 25086 (a patch provided in one of the comments)
Obtained from: Artur Lorincz
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276063 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
Antoine Levy-Lambert
74f58bf0f8
Typos
Submitted by: Larry Shatzer (larry dot shatzer at servent dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275232 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
1f71acf427
Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274856 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
87241e9658
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274445 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
22 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
Stefan Bodewig
745031fad7
Add (disabled) tests for 10755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273820 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
448f5ee22c
Associate messages with the correct tasks in XML Logger.
Where an UnknownElement is involved, need to look a little harder
Commented out for now the code which associated a project level message
with the currently active element - better to have it go to the project
level
PR: 7926
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273817 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
Conor MacNeill
5cada6e721
Document new methods in XMLLogger
Cleanup Javadoc errors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272483 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
024a9e9667
organize imports and format code. i swear, it was IntelliJ's fault! :) I've now upped the .* limit!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272481 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
244877e68b
Make XmlLogger finally a real BuildLogger. When used as a logger it will utilize Ant's logging level (-verbose, -quiet, etc), but remember to use -logfile, otherwise the output will be written to the console. Its previous BuildListener functionality, of course, still works as it did, writing to log.xml (or the XmlLogger.file property value)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272478 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0c253dc762
Coding standard conformance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272320 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
f458059b9c
Fixed up JavaDoc comments again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272049 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
62e7dc5ae2
style sheet control; you can point to anyhting or turn it off completely.
nb, can we make this a logger and not a listener?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271988 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
1d2784e6d5
Answered my own previous question concerning thread safety.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271709 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
87618d7cdc
JavaDoc changes, and raised a potential multithreading issue. Search
for XXX to see details.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271640 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1ef4d3ea86
Submitted by: Jon Skeet <jon.skeet@peramon.com>
Jon's message:
There is one small code change (which may very briefly reduce the
footprint of Ant by about 3K :) and two comments which suggests further
code changes (look for XXX). The rest is, I believe, entirely comments.
I've:
o Made sure that all occurences of null/true/false are surrounded by
<code></code>
o Wrapped comments to under 80 columns (in some ways this is more
important than wrapping code)
o Made sure that all fields and methods have JavaDoc documentation.
o All used method parameters are documented, including documentation of
whether they can be null or not
o All return types are documented
o All checked exceptions are documented
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271349 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2976ded16a
Handle badly configured tasks created outside of Ant's core
PR: 6309
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271348 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
17997f266a
- Fix order of modifiers
- Fix duplicate/unecessary imports
- Fix single if/else and loop without block
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270814 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3fddc0bcfd
License police on documentation files:
(1) Make sure all years in which a file has been modified are
listed.
(2) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
Also: the initial checkin into this CVS module was in 2000, not 1999.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270657 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
cc0e324731
Instantiate the document in the constructor so that
an event other than build started does not initiate a NPE.
PR: 5538
Reported by: sh@blsun.com (Scott Halstead)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270272 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
67e2ff36a9
Take advantage of StringUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270150 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6c315c3823
Make sure that the full stacktrace is logged to
the build file, otherwise you will end up guessing
the failure reason. It is pretty disappointing for
build that last a long time.
The full stacktrace is appended as a 'stacktrace'
element with a CDATA section.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269953 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
17db332c6b
iFix up stylesheet PI
PR: 3989
Submitted by: Eric.Smith@NextPage.com (Eric James Smith)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269763 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bec2a0777e
Merge of 1.4.1 changes into Main truck for Gump testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269745 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
532f474417
make merge easier by manually merging this file (added encoding decl).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269706 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
121bc0cda0
Added redundent statement to aid understanding (will be optimized out by compiler anyways).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269679 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ef9d413c7b
I added an XML declaration (<?xml version="1.0"?>) to the XML log file.
Also, I removed some extra spaces in XmlLogger.java.
Submitted by: "Ingmar Stein" <stein@xtramind.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
df14132289
Merge in 1.4 src changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269663 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bdd7cc0e97
New Threadsafe (needs more testing) version of the XMLLogger. Used the
concept of a TimedElement from Thomas' patch but not the rest of it
since I didn't want to modify other components. Tracks what happens
on each thread.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269521 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e7bcfc18b7
specify encoding for XmlLogger, handle TEXT Elements properly in
DOMElementWriter.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268982 13f79535-47bb-0310-9956-ffa450edef68
24 years ago