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
Peter Reilly
64319949ef
Set tasktype and taskname for preset'defed tasks
PR: 24934
Obtained from: Jacob Kjome
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275665 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
dcd39648be
remove spurious space after ant_version
PR: 24435
Obtained from: Aidan Doolan
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275663 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
24f4015568
Make resolveExecutable method useful for subclasses
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275659 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6cd4baf0a8
Check if parent file is not null before using it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275649 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
929d67e0c9
Ignore attributes for different uris.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275644 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a0359662be
Do now allow multiple attribute and elements of the same
name for macrodef.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275641 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9931a12c72
Implement namespace uri scoping
nested elements of types/tasks use the same NS uri as the task/type.
also cleanup macrodef attribute handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275639 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
99ac2c7d14
Remove badly placed quotes, Submitted by Knut Wannheden
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275637 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
077ae8dc27
MacroInstance: if owningtarget not set, use a default
MacroInstance: if id is as an attribute, check if this is in the
macros attribute list and if not ignore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275634 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
ab0aa53ee1
Implement the sequential element of macrodef by a createSequential and
not a addTask()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275630 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
c19671d815
Allow reporting on multiple modules, aliased or not.
Also report the previous revision of deleted files when it is available.
PR: 21373
PR: 22877
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275624 13f79535-47bb-0310-9956-ffa450edef68
22 years ago