Matthew Jason Benson
7e01ed9d2d
Add innocuous warning message to catch erroneous ref="${refid}" stuff.
Suggested by Tim Ellison.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@473415 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
92b63d872f
Incorrect recursion in DOMUtil.listChildNodes()
Bugzilla 40918.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@472761 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
Antoine Levy-Lambert
d824eac4d9
Preparation for the build of Ant 1.7.0RC1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471526 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
f94248b26e
Typo in old changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470902 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
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
0c587df1c8
update change log
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468184 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
Peter Reilly
1a30e19f05
document removal of dependency
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466887 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
Steve Loughran
4a3333ae17
Move up to Xerces 2.8.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464518 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
83d4e47c43
remove an extra space
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464506 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
ab7f4306cb
Preparation for Ant 1.7.0Beta3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464306 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
1771ff0102
add comment on change to logging level of reference override
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464022 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
79f24fd579
Added outputtoformatters attribute to <junit> to allow suppression
of noisey tests. Bugzilla report 12817.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463045 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
9f1ea2f979
add whatsnew note for fixing <path>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@462963 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
66838f3c29
Added <compare> resource selector to select resources based on the
results of their comparison to other resources. Inspired by userlist thread
http://marc.theaimsgroup.com/?t=115998761500004&r=1&w=2 .
Still lacks an example other than testcases. :(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454842 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
6e51529a56
ant.bat now looks in %USERPROFILE% and %HOMEDRIVE%%HOMEPATH% in addition to
%HOME% for pre/post batch files. Bugzilla report 39298.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454805 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
beda79f319
BZ 39298. %HOMEDRIVE%%HOMEPATH%
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454795 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a5360da98a
PathConvert on Windows should process forward and back slashes equivalently.
Bugzilla report 32884.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454032 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3822ba4a35
Fix for junit4
in JUnit4 annotations are placed in org.junit,
so this package needs to be made a "systempackage" for fork=no to work.
Bugzilla report 40697
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454027 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d7f1401f85
Defer references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453770 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
583cfae0e5
Do not set ant.file.{projectname} when the project name
is not set in the <project> tag. (as discussed)
Bugzilla report: 39920
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453401 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
c524f9ba22
Bugzilla 40682: junit regression
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453350 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
7b496796a1
remove launcher classes from nodeps jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453345 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
33c2653138
Bugzilla 30498: no check on refid for setting some attributes in zipfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453035 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b10bf232ba
another go at bugzilla 38747, isolate resources
get the baseloader for resources in isolate mode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453032 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
135b0fa373
UnknownElement.maybeconfigure was 'always configure': Bugzilla 40641
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451479 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
f1c84aeb99
running junitreport several times, issues with closing URLResource, bugzilla report 40595
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450863 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7c34ff1098
revert 38747: resource isolation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450617 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
274f5d877f
add the <tokens> resource collection; tokenizers graduate to free-standing types
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450611 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3f73a85198
Bugzilla 31520
adding SPI to jar-task
This patch from bernd Dutkowski adds
a nested element <service> to the <jar> task
this creates the SPI files - see doc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450209 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b65fcc8a3a
Bugzilla 28883 add <matches> condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449824 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ffc467b126
Bugzilla 26286: allow empty leaf nodes to be properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449309 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
359ac4f967
patch submitted by Xavier Hanin, mainly closing HttpURLConnection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448452 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
42ab91355c
add note to whatsnew about performance improvments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448389 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
11017189e2
comment on last changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448064 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
630e898f20
Yet another uncommon file system layout on AIX, submitted by Henri Gomez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448058 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
267492df58
Fix for 39439: <fileset> in <cab> does not work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447991 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
63c5a21f1f
Bugzilla 40547: <path location='x'> was broken
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447966 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
507f91bcc3
bugzilla report 37386: <checksum> with file and todir fails
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447165 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d9d9e2f86f
Bugzilla 33604: classconstants filter broken
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447159 13f79535-47bb-0310-9956-ffa450edef68
19 years ago