Costin Manolache
67b776a8b5
Allow multiple <systemPath> ( system path is used to add more stuff
to the 'main' loader - for example to add junit.jar so that
<junit> optional task can work )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273575 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
ae5f8603d5
I hope this won't brake anything :-), but I need to try it.
Remove the reference to the task after the task execution.
Next time the task is called a new instance will be created.
This avoids excessive memory usage and potential leaks in large
programs. All the memory that is used by the task - i.e. the
task itself and all the object it creates - are beeing hold in
memory and prevented from GC by this reference.
I hope this will remove some OutOfMemory errors for large build
files.
Nicola - please let me know if you see any problems after this change !
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273574 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
7802293457
Merged the patch from Nicola.
Removed some stuff that was not used.
If the dynamic properties are adopted in the main tree, we
can remove ( or move out ) the optional implementations.
I also removed the jmx stuff - there is no need to have them
tied to embed or ant1.6. Some functional ( but not complete )
jmx tasks are already in jakarta-commons/modeler ( including
code to control tomcat5 using jmx )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273573 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
e2d3dfc0c9
Expand tasks did not behave as expected with PatternSets.
PR: 11100
Submitted by: gudnabrsam@yahoo.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273572 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
dba647572b
Patch that fix memory leaks in SelectorUtils.java
The method matchPatternStart generates memory leaks due to the 2 Vectors: patDirs and strDirs, used to hold tokenizedPaths.
Submitted by: "Francis ANDRE" <francis.andre@e-xmlmedia.fr>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273571 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
90b811d74b
The filesetmanifest attribute of <jar> has been reenabled.
PR: 13296
Submitted by: bdeitte@macromedia.com (Brian Deitte)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273570 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
1dd390137b
Allow start and end tokens to be multiple characters long.
PR: 13939
Submitted by: "Don Brown" <mrdon@twdata.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273569 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a984179d1f
Add a test that shows that <script> can use beanshell.
... and disable it as Apache BSF now supports beanshell, but beanshell
doesn't seem to support Apache BSF yet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273568 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ad49e2a62d
Add tests for <script>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273564 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
894f64660c
help Nicola build embed in Gump
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273563 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2b56412ece
Looks as if JDK 1.4 is counting lines differently
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273561 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
cb24526356
revert unnecessary formatting changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273560 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e7474bf8bb
Good-Bye resolver 1.0.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273559 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4d7ccf81ca
Fix some typos and remove a tab
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273557 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
ec7017acb2
bug ID 14613: no passdown of webinc and webxml, by toby.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273556 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
98f3237b31
Add drimode attribute for the permissions od directories to <tarfileset>.
PR: 12289
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273555 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
de06c1b597
Don't add newlines in <concat> that haven't been in the files
originally - no matter what encoding.
PR: 12511
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273553 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6b5c48061a
Don't stop with encoding # when creating URIs for the XML parser.
Code heavily inspired by Xerces-J code. This version is extremely
simplified as it doesn't deal with non-ASCII characters for now.
PR: 13679
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273552 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
092cd9e58f
The cvschangelog task doesn't seem to report changes for the current
calendar day.
The problem lies in the fact that the exec'ed cvs command is in the form:
> cvs log "-d >=2002-11-7"
rather than:
> cvs log -d ">=2002-11-7"
The two commands return different results when changes have been made today!
PR: 14397
Submitted by: Paul Berrevoets <paul at swi.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273550 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
444a47088e
Add pointer to serialver project.
PR: 7901
Submitted by: stephane chauvin <stchauvin at yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273548 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
389d6115a7
merge some minor changes from 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273547 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
411b9f267d
Throw in a reuseloadedstylesheet attribute for <style> (feel free to
come up with a better name). This provides a workaround for a bug in
Xalan-J - the version that gets distributed with JDK 1.4.1.
PR: 13859
based on a patch submitted by: Jens Elkner <elkner at linofee.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273545 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
87c70578dc
correct attribute name in icontract docs, PR13972
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273543 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
92345dee0c
Add new tasks to overview
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273542 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7381c1f077
Switching to Apache BSF
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273541 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ec3031196a
Print a warning and don't create an output file if there is no input
to <concat>.
PR: 14310
Submitted by: Gus Heck <gus.heck at olin.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273539 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2adc01920c
Upgrade to Xerces-J 2.2.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273537 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9c9ab44296
Reenable tests for xmlcatalog
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273536 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
7361a15e69
forgot the since tags
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273535 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1001f42c58
1.5 branch has been more recent here 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273533 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1e9ab53b05
Nightly builds have moved to cvs.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273532 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
471ad13026
added user/password support in the proxy, though I cant test it myself. Also added removal of http host in cleanup routine.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273531 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
cb5b4ae2bb
added user/password support in the proxy, though I cant test it myself. Also added removal of http host in cleanup routine.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273530 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
d1aa81e442
I was flickiing through the latest ant book and noticed a bit where they cited ant in anger and implied that i didnt necessarily know what I was talking about. So I checked: they were referring to the version of the doc in ant1.4. But with the file open in the IDE it was time for an update, so here it is.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273529 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
bc25c08b87
Clean up on concat test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273528 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
657f089143
Make PMD a bit more happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273527 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8e761e667d
doc patch for PR13747
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273525 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
aea9fac4c0
-source is a javadoc option, not one of the standard doclet.
PR: 13747
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273524 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a7bc732943
Add Date header to MailLogger by reusing code from <mail> task.
PR: 14046
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273522 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
b905f0902c
Improve error reporting in <fixcrlf>
PR: 14061
Submitted by: Jesse Glick <jesse.glick at netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273520 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
abd749ac59
Fix NPE in <concat>.
PR: 14310
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273518 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1967c958ff
Missing pieces from Craeg's patch.
Fix small backwards incompatibility introduced by last commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273515 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
51efe539a6
re-enable tests that failed after the first iteration of Craeg's
resolver patch.
Submitted by: Craeg K Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273514 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1cd74f2546
help XML parsers that think an URI was a java.net.URL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273513 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
925f19f6d4
Simplify a few methods by using FileSet#setFile, remove redundant dir
attribute from the three latest task additions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273512 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc85d47dc
Normalize build file location for symlink test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273510 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
beaeb40c3d
New task <attrib>
Submitted by: Shiraz Kanga <SKanga at ingenuus.com>,
J�r�me Lacoste <jerome.lacoste at smartcardsystem.com>
seventeen months ago 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273509 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8f788f7a2c
New tasks <chown> and <chgrp>
PR: 9809
Submitted by: Gus Heck <gus.heck at olin.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273508 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8509864303
Add WHATSNEW entry
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273507 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8d84ae5aef
fix misleading message in <replace>.
PR: 14315
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273505 13f79535-47bb-0310-9956-ffa450edef68
23 years ago