Peter Reilly
7b0865572e
Previous fix for filterset broke the infinite filter testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275863 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e2688b6318
Fix for error in inifinite loop checking in filtersets
PR: 23154
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275861 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5efe60998f
Happy New Year
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275858 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a1b18ea9c3
Fix for ant namespace support for nested elements
Obtained from: Dominique Devienne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275856 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5410d80ef4
Use getDestDir of jboss element of ejbjar
PR: 25826
Obtained from: Damon Sicore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275854 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5fef1f8fde
allow IH to handle Constructor(Project, String) in
general and not just for Path
PR: 25777
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275850 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
92ff24a7e3
add original exception to new buildexception for
projectHelper#addLocationToBuildException(
PR: 25777
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275849 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
060b4735dc
Fix unit tests.
- addtypetest used an unused invalid classpathref
- PathTest used an invalid reference in testing attributes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275847 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
80b892fb4f
ComponentHelper.
Logic for copying the checked namespaces to new projects was broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275842 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
336e5b4ed9
Reverting setting the wrapper proxy to null as the unit tests failed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275841 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
476da8dd23
UnknownElement set the created task to null for gc , but did not
set the RuntimeConfigurable's copy to null as well
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275840 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
85f6ea3795
Fix for script memory retaining problem.
PR: 25394
Obtained from: Jose Alberto Fernandez / Antoine Levy-Lambert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275836 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
2edcfbaa07
Add typedef for concatfilter in types/defaults.properties
PR: 25697
Obtained from: Tomasz Broniarek
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275832 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6aba7c5074
Macrodef can only see lower case attribute names due to its
use of DynamicConfigurator.
Fix the doc and the code to at least make this consistent.
PR: 25687
Obtained from: Geoffrey Wiseman
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275830 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
494e5affe7
stylecheck changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275823 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d31ebab754
Fix javadoc for ScriptDefBase
PR: 25446
Obtained from: gudnabrsam at yahoo dot com
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275821 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
0c6eb91424
update setproxy doc with xdocs changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275819 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
961cbd0f45
Add a setbyline(boolean) as well as a setbyline(String) to replaceregexp
PR: 25653
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275817 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
30c5f34bde
Initialize targetstarttime, even if the recorder is in a target
PR: 25605
Obtained from: John McDonnell
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275808 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
b19b9b4113
Make checksum work with nested filesets and no total property
Make checksum less loud, downgrading message calculating checksum to verbose
PR: 25606
PR: 25607
Submitted by: Ariel Backenroth ( abackenr at interwoven dot com )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275806 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
4c3cdab868
We will feel more like maintaining or creating the xdocs example if we
do not need to escape the examples in XML entities.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275805 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
53ebb817e9
Change level of std error message from ERR to WARN
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275799 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f948bb98aa
* Retain difference between "" and "antlib:org.apache.tools.ant" namespaces
in UE.getNamespace()
* Remove near duplicate method in IntrospectionHelper
* Add UnknownElement to signature of IntrospectionHelper#getElementCreator
for future xml Namespace use
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275797 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
67c388940d
allow macrodef to work with namespace free version of dynamicconfigator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275792 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
be81cb82cd
fix whichresouce manual page
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275786 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
91ec8221a4
Update the tempfile html page
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275784 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8b1e44f10b
Add a cloneVm attribute to CommandlineJava and <java> and <junit>.
If set, the forked VM will be configured to match the currently
running VM closely. This involves:
* copying of all system properties.
* copying of the bootclasspath - only if no bootclasspath has been
specified explicitly or build.sysclasspath has been set to "only".
This is accompanied by a magic system property build.clonevm that can
be used to force the attribute to be set.
It has to be a system property as CommandlineJava doesn't know about
project instances.
PR: 25327
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275775 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e2a62c3179
Fix off-by-one error in concat with fixlastline="yes"
PR: 25464
Obtained from: wang liang
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275773 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
10beb46f08
Change dynamicConfigurator#create(Name) to pass in the localname
of a namespaced element name and not the internal stingized verion
of the namespaced element name. The local name is lower cased to
be backward compatible with ant 1.5.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275771 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bc2e7b5dbf
In addReference, remove calling tostring on the references being added.
The tostring can be a very expensive operation, and causes
massive slowdown when used in conjuction with antcall.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275769 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
c675e52979
Remove line with $Id
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275764 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
a3bb111cd6
Remove line with $Id which is annoying every time one does a merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275763 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
2fb8827834
Remove unused import added by mistake
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275760 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
299a7d5929
Fix URIs for DTDs entered with a full path location under Windows
PR: 23913
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275759 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
5366fee095
Head sync
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275749 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e467e2f430
change string looked for so test works on windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275737 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
566ea426c3
1) make JarTest pass on Windows, these testcases were failing :
testRecreateWithUpdateNewerFile
testRecreateZipfilesetWithUpdateNewerFile,
the problem is the granularity of time stamps on the FAT
see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/filetime_str.asp
for more information
2) prevent XalanLiaisonTest and XslpLiaisonTest from running in batch
when Xerces1 is not available,
3) fix one of the 3 failing testcases (testSimple) from JDependTest
it was failing due to an overdose of \r in the output coming from
BuildFileTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275733 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8dd4e0ba76
Change ${x} to @{x} for attribute notation of macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275731 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
06bf05fe54
mono 0.29 on MacOS X works just fine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275727 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
f073a88c12
Make the choice of regular expression implementation possible with
ant.regexp.regexpimpl as a normal project property
PR: 15390
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275722 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
924fa05a10
Merge into 1.6
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275720 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
88f44e923b
Under some circumstances scp would miss responses from the remote side
leading to corrupted files.
PR: 24449
Submitted by: Atsuhiko Yamanaka <ymnk at jcraft dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275710 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
04e509253f
call replace properties for header or footer elements of concat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275709 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
49d7dffbd1
Split namespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275704 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6bb92d330a
Add a helper class for tasks that want literal XML as input
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275702 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
efef302a3d
Allow references and properties to be null without causing NPE in BSF
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275699 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c977aacfc4
use a different name from local for the test local type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275697 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5dc8a1418a
add filename to errormessage if unable to rename file in zip task
PR: 24945
Obtained from: Bart Vanhaute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275695 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
bd8601a5a3
Allow <exec> to optionally resolve against PATH
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275688 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
22b86b33e3
Make <csc> default to mcs on non-Windows platforms
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275682 13f79535-47bb-0310-9956-ffa450edef68
22 years ago