Peter Reilly
415e089a8d
trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471921 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b87844c4a7
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471920 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ca5bbc0fcf
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471919 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
c243b19fe3
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471918 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b8a4ef4f91
Bugzilla 40900, docletpath attribute of javadoc ignored
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471909 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f0e86c70ce
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471562 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0325bf4994
trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471561 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e6e70c16c1
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471560 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
bbb8480014
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471555 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
231e1c4688
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471554 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e2cef5a7a3
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471552 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
90e46ca4cd
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471289 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
59ac4ad935
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471288 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f79a46b2d4
checkstyle + align hashCode with equals
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471287 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steven M. Cohen
658b738914
Fix bug 40882.
Note that the new test added to EchoTest.java would fail as indicated in the
defect without the change to DefaultLogger.java.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470639 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f958e23640
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470587 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0927b4407b
bugzilla 32927: description of javadoc's tag should be optional
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470578 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7254e769ce
bugzilla report 40852: useextenalfile of javadoc now applies to all command line args
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470134 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f58d3967f0
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470130 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
98d1226139
If someone tries to append a path to itself, choke gracefully, not with a StackOverflowError.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470125 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
351fe71fec
reactivate mergePatterns in AbstractFileSet, implement clone in DataType and ProjectComponent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469781 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steven M. Cohen
f9239036dd
remove from documentation (and from comment in source code) the incorrect
statement that a message attribute or character data within the element is
required.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469751 13f79535-47bb-0310-9956-ffa450edef68
19 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
Peter Reilly
ac78dc1602
Bugzilla 36733, NPE when failure in creating parser
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469303 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
873b850f39
fix for
<javac> fails with NPE when compiling with eclipse ecj 3.1.x
Bugzilla 40839.
root cause of the problem was in org.eclipse.jdt.core.JDTCompiler
method addExtDirs. A FileSet was created without the Project attribute set,
then added to a Path.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469050 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
2201b1634b
fix for Bugzilla 40722. Was identified as a directory scanning problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468781 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
26498d6bc5
<delete> doesnt delete when defaultexcludes="false" and no includes is set
fixed. Bugzilla 40313.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468724 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
14f760492c
Made web.xml non optional again, as it was hiding too many bugs (e.g war files for tomcat 5), but added an attribute to make it optional.
More tests, especially for updates. One test is disabled because it fails. The task fails if you are pulling in a web.xml on an existing web.xml file via a fileset if update=false, because the fileset version checking is hiding the inclusion of the web.xml file from the war task -its being dropped before we notice. This is not a BC problem. Maybe I should always make web.xml mandatory to stop this behavior arising.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468568 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
4f27ced09d
remove some imports we dont need
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468556 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
c91cce227b
web.xml is now optional in Java EE. I've tweaked <war> to warn but continue if it is omitted, and not to say anything if there is a duplicate reference to the same web.xml, but to complain a lot if there are two conflicting ones (with diagnostics).
We may want to have an attribute to indicate that a web.xml file is needed, or that we dont want to see the warning message. Say nowebxml="fail", "warn" or "skip", with the default being fail for backwards compatibility. Thoughts? Now is the time to add it...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468180 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
74f550099b
add regex attribute to echoproperties task.
Bugzilla 40019.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467828 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
92946530f4
remove the @link , causing a warning when building javadoc,
probably because it is a link to a private method in a private class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467230 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
9067f554ed
jasper4.1 is not in ant classpath while compiling, fix link in junittaskmirror
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467136 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
c9e3f56ee6
remove noinspection tag, change @todo : to @todo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467135 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
fbe0ff49d9
fix up some of the javadoc whining
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467129 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ac1eb71b58
pset svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466880 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3510e9c820
remove use of sun.misc.uuencoder
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466879 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
a0cc97f410
modified to call the property version from build.xml project.version
defaultManifest.mf and version.txt are updated using expandproperties rather than tokenfilter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466856 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
105b2252ce
Launcher should not depend upon parent package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466643 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d2518a0832
make IH.clearCache() public
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466300 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7d8402eb23
Stop making IH a project listener,
instead clean the IH cache explititly on build finished.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466290 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e563725d1b
Free the realThing with UE is finished with it
(fixes since last look at this allows this)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466283 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
12ae031068
Fix for OOME with <*ant*> and <typedef>
Bugzilla report 28283 and 33061
IH had a map of class->IH objects. The
class is the typedefed class and IH is the
attributes, elements etc of that class.
This works fine, except that the class is kept
until the build ends, this means that the classloader
for the class is also kept, a classloader contains
pointers to all the classes loaded by it - so a lot
of memory can be blocked.
When ant, or antcall is used and the called project
typedef the antcontrib, these will be new classloaders,
hence the memory being used up.
The fix is to use the name of the class, check if the IH
in the map is the same class, and if not replace that IH.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465073 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f5c95e9ca4
add fall-back for undefined references that are parsed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465065 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
7c58ba3edd
Having learned about how the java memory model really works, I have had a quick code review of the threading here.
1. stuff that is shared read is always marked volatile, to avoid being compiled out.
2. added more synchronization when appropriate.
I make no claims as to thread safety here, as I was never that good at formal proofs of correctness.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465013 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
ae5166d215
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464439 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
45b244fd64
use FileUtils.close to close the Reader open for the crash file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464359 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
707e6f329b
Reduce to verbose message of overridding properties.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463868 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
94f6a31817
Factory method for easier instantiation.
Bug 14831
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463601 13f79535-47bb-0310-9956-ffa450edef68
19 years ago