Peter Reilly
5cf848fdb5
URL#getFile does not output a nice filename
for files with spaces, and absolute windows filenames.
So use the FileUtils#fromURI() instead.
PR: 32508
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277189 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6d6bbfeb10
with the bugzilla change 30161 it is not necessary to place
Path.systemClasspath in the antclassloader
Doing so causes resources to appear twice
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277160 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
60059dafe8
If junittask is loaded by a different classloader than the
project classloader, set the junittask classloader as the
parent of the classloader used to load the tests, otherwise
the tests will not see the classes in ant-junit.jar and the
classes loaded with the tests will use a different junit.jar
than the junit used by junittask and will be not be compatible.
PR: 28474
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277138 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5766a65012
use absolute path instread of canonical path in subant
PR: 30438
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277091 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4d34b03883
added isfileselected test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277088 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
42613f4d35
remove mention of issigned task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277087 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6a3d5030bb
add new preservelastmodified attribute to signjar
PR: 30987
Obtained from: Ignacio Coloma
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277079 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
070278beb2
Added isSigned condition and task and signedselector selector
PR: 32126
Obtained from: Tarlika Elisabeth Schmitz
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277064 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0e1abe82d1
Set the location for the default target (the location will be the project tag)
PR: 32267
Reported by: Yves Martin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277048 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
7e5837b080
Change <apply>'s "overwrite" attribute name to "force". Also commit missing
Java changes. Oops.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277044 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
2f1e0c35af
Add overwrite attribute to <apply>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277043 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
866b754aad
Junit task -- display suite first
PR: 31962
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277033 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
3f8c6d6ac4
PR32190: manifest warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277016 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
3bed56930a
document mapper in expand
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276983 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5c2af90369
opps, forgot to save the change..
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276980 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
060243e8bf
Use org.apache.log4j.Logger instead of org.apache.log4j.Category
PR: 31951
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276979 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7e145de4f1
Properties.propertyNames() should be used instead of .keys().
PR: 27261
Obtained from: Mike Murray
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276969 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6515402721
NPE using XmlLogger and antlib
check if the value of the name attribute is not null
set the taskname of the antlib task
PR: 31840
Obtained from: Mariano Benitez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276965 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
045a7004a1
Repository support; needs http client 2.x and commons-logging.
Broken: repository references (you'll see in the test results)
not tested: authenticated access to the repository.
Already had a feature request for multiple repository support;
would be nice. That and better diagnostics on failure.
Note that we dont currently probe ibiblio for availaibility; that was taking longer than the fetches themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276957 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a340fef0f6
Concat task instance could not be run twice
PR: 31814
Reported by: elara at smartops dot com (Eduardo)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276953 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4e1ca8adac
ExecTask executes checkConfiguration() even though os does not match.
PR: 31805
Obtained from: David Boon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276951 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7228bef97c
add failall value for onerror attribute of <typedef>
PR: 31685
Obtained from: steve morin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276950 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c3c765a2b6
Documentation fixes for PVCS task.
PR: 31582
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276927 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
dd59f330e2
remove -noclasspath from build.sh and build.bat
It was not BC and may have caused a gumpy glitch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276924 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d84de6b846
-noclasspath option
Added -noclasspath option to allow running ant WITHOUT using CLASSPATH env
variable. Modified ant.bat to do this so that %CLASSPATH% is not looked at.
Modified build.sh and build.bat to use the option.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276912 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
efc64ca276
move to 1.6 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276906 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1c48e016c2
Fix for execution of top level tasks getting delayed by targets.
PR: 31487
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276905 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4b2db7c0ca
Add alwayslog attribute to <redirector>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276889 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
84c200de20
Typo in "Typeo in defintion of <cvsversion> task causing it not be defined".
>;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276888 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5d2096725e
Typeo in defintion of <cvsversion> task causing it not be defined.
PR: 31403
Obtained from: Andy Wood
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276885 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
e7e3a35529
Manual page for cvsversion contained incorrect attributes and did not say since 1.6.1
PR: 31408
Reported by: Andy Wood
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276883 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d4ebf04094
Try to get the correct task/type name for an unsupported attribute/element
exception thrown by IntrospectionHelper
PR: 31389 and 29499
Reported by: Tamas Szeredi and Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276882 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
acd0bcd1e0
Add a new option -nouserlib to the ant command.
This allows running ant without loading the jars from ${user.home}/.ant/lib.
This is useful for building ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276880 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6cccca82a3
Fix up entries from ant 1.5beta
PR: 31112
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276848 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1e6b276526
Added searchpath attribute to <exec> for searching path
variables when resolveexecutable = true. Thanks to Stefan
for having already written the path-searching code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276847 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
961cb53ce8
docs for PR 16539
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276845 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1ddab2c141
add xmlcatalog nested element to the xmlproperty task
PR: 27053
Obtained from: David Crossley and Dave Brondsema
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276840 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
543344b839
add a -cp option to Launcher.java to cause it to
treat CLASSPATH different from -lib options.
PR: 28046
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276820 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
284174e86e
Refactored Target invocation into org.apache.tools.ant.Executor
implementations.
PR: 21421, 29248
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276809 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
9d009f659f
Move to 1.6 branch
PR: 22863
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276808 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
84bfc9dabe
Allow <move>'s file attribute to rename a directory.
PR: 22863
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276806 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
12f1e22e1f
Zip task did not create tasks when there are only empty directories in the selection
I have simply added a testcase, the code was already fixed by Matt Benson in Zip.java
revision 1.128
PR: 30365
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276804 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
17841320a3
FTP getTimeDiff was returning wrong value
PR: 30595
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276800 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
51f92f3d6d
checksum fileext property doc wrong
PR: 30787
Obtained from: Howard M. Lewis Ship
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276798 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d0fe01180d
Provide access to extension points and attribute/element/extensions/text methods in
IntrospectionHelper
PR: 30794
Obtained from: Dominique Devienne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276796 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
ca239f6cd9
Typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276789 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
51009fc41f
Fix bug whereby the first file open was always logged to System.out.
Fix by opening only on demand so that managingTask can be set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276788 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0cb3ae74e2
fix for multiple macro instance use to fail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276785 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
3a1cfecdba
WHATSNEW for bug:
PR: 30567
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276784 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
7d80523ec8
Merged the solution of PR 15390 (choice of regular expression implementation)
into ANT_16_BRANCH
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276778 13f79535-47bb-0310-9956-ffa450edef68
21 years ago