Stefan Bodewig
2bf9f10a86
New <ftp> action rmdir.
PR: 12765
Submitted by: Gabriele Garuglieri <gabriele.garuglieri at infoblu.it>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273347 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c8d4ba2393
Add preservelastmodified attribute to <ftp>.
PR: 12548
Submitted by: gudnabrsam at yahoo.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273346 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9b7f00ab24
Add ability to set parser features in <xmlvalidate>.
Submitted by: Nick Pellow <nick.pellow at mindmatics.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273345 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8dd879b20a
AbstractFileSet should check whether it is a reference in a couple of places
Triggered by PR: 12838
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273339 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d176e333bf
remove commented out lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273335 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a26c94ea6a
Make sure <replaceregexp> doesn't add a newline char at the end of the
file if byline="true" either.
PR: 12407
Submitted by: Stefan Moebius <stmoebius at yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273332 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
23b5b9d2ca
This looks like duplicate code, I'm not 100% sure, waiting to see
whether it affects any Gump run. It causes problems with custom tasks
that have nested Sequential child elements.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273331 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
fb92b3da3b
Don't add extra linefeed in <replaceregexp>
PR: 12407
Submitted by: Stefan Moebius <stmoebius at yahoo.com>
Note that the byline="true" case is still broken (and a commented-out
test confirms this) - I'll look into it later this week.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273330 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e1ef86cb25
Support name() accessors as well.
Submitted by: Andrew Everitt <Andrew.Everitt at gbr.xerox.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273328 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c5257beb08
even more missing quotes.
Add some indentation to reduce confusion on my side 8-)
Submitted by: JonL White <jonl.white at commerceone.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273326 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
8d3464f4e6
IDEA reformat, and changed destdir to be File type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273325 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
686cb8ffd1
Provide a resonable name value for test implementations that are not
TestCase subclasses - user their getName method if present.
This should give better reports for tests that use jFunc or similar
frameworks.
PR: 11531
Submitted by: <ender at one.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273322 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
38495bec11
Release references to the child project when <ant*> has been done.
PR: 12499
Submitted by: <gregm at bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273321 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
263a1d74de
I'm always scared of changing the core classes, so would be more reluctant to commit this if it wasnt needed so much by Axis. Once committed. I'm going to do more soak testing.
Purpose of fix: use weak references on Java1.2+ for the createdTasks list.
We may want to think of cleaning this list up for extra leak prevention.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273320 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
56a71a0076
a reference that is hard on 1.1, weak on 1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273319 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
0139288391
little consequence of "" not being a valid target name; you cannot have default="" in <project>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273318 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
0695ed1416
This is a fractional refactor of the class to split task creation from adding it to the list of tasks we know about. As the factored out method is private, external routines still cannot create tasks that arent added to the list...this change does not alter the external API of Project, just makes it possible.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273317 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
b623a8a40e
and commenting out the feature tests in the test file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273316 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
aa139d2ab9
rolling back feature support till it works on 1.1 and looks more like xstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273313 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c4e987aea8
Merge fix from 1.5 branch.
PR: 5781 and 11630
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273312 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ea5d48a63b
Supply location when complaining about empty target names.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273311 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2807b6e3f6
New <isreference> condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273309 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
2479f91a7a
Feature support from Nick Pellow, nick.pellow@mindmatics.de.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273307 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
41f77159fb
Tests for XML schema support. I think we have issues w.r.t catalogs, dtd and Schema, or at least need some docs on the subject.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273306 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
9d40bce40d
case change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273305 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
c33a92d163
more tag to space fixup on the rest of the dir. left alone tagdiff.xsl as that has other problems, like every second line is blank. Saved as binary?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273302 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
b629309bf4
DD's junit patch. a bigger diff than you'd think on account of tab to space fixup across the whole doc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273301 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
078be842a4
Make sure the prompt is visible even in -quiet mode.
PR: 10729
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273296 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f0c70acd8f
Make cvstagdiff inherit from AbstractCvsTask
PR: 12119
Submitted by: Rob van Oostrum <rvanoo@xs4all.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273295 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
0ee75128d8
Add explicit tests for <fixcrlf>'s CRCRLF handling.
PR: 12219
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273290 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
80377e9c76
getParentFile may return null.
Reported by: Bayyapu, Pavan <pavan.bayyapu@sap.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273286 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
b522a2e89c
Merge from 1.5 Branch
PR: 11675
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273284 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
f914213e17
refactored to be 1.1 compatible and allow filenames that contain spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273281 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
aed89f6345
Add quotes when %JAVA_HOME% contains spaces
Submitted by: Patrick Luby <patrick.luby@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273262 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
4e3c6c6dc3
More patches (+ test cases!) from Eric Pugh on the <image> task.
sorry for the multiple commits - getting lock errors otherwise
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273261 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
9dd88b23e5
More patches (+ test cases!) from Eric Pugh on the <image> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273260 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
1f2eea24ca
changes submitted by Eric Pugh improving the <image> task. dest is now destdir - this breaks backwards compatibility, but its still in alpha so no worries.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273250 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
435a5672f3
More batch hacking. JAVACMD was reset each time and was jumping right off without
appending tools.jar
Reported by Brian DeWeese <brd1_reuters@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273246 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
ea4bf0e8e7
Costins need reminded me to turn on the java version specific system library stuff; though I would still like a good test for this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273245 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
ad8dd9aa64
Add an extra attempt to load tools.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273244 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
3964229159
Allow the task type to be set from a differnet package. That elminate
the need to have RuntimeConfigurable2 in the same package.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273243 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
8716cc5480
If no logger is set, default to system.out instead of ignoring the
message.
This happens when ant is embeded ( if no logger is set ).
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273242 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
cef3b4c342
Added org.w3c.dom too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273241 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
aa5ace7d37
Few fixes ( I hope it won't brake anything ).
Added 'org.sax' and 'sun.reflect' to the list of system pacakges. There are
problems when using JDK1.4 with 'endorsed' not set up corectly. This allows
using a different parser, but doesn't allow the overriting of system classes.
Made loadClass synchronized. Yes, it must be - there is a race condition,
we check if the class was not loaded and then load it, but 2 threads
may end up loading the class, and the second will get an exception.
This happen when using tomcat in ant for example - probably other
multithreaded tasks as well.
I left the stack trace in, it shouldn't happen in normal cases ( AFAIK ),
but when something strange happens it helps a lot to know what was wrong.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273239 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Bruce Atherton
01d744455a
Correct javadoc strings on methods that list deselected files and
directories to indicate that they do in fact list files that have
NOT been selected.
Submitted by: JimWright@quick.cz (Jim Wright)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273238 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
797446cd41
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273231 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
462f94f6c2
Clean up batch scripts with simplified syntax to avoid problems with some
w2k boxes and 4nt.
PR:11478, 11250
Submitted by: Patrick Luby <patrick.luby@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273230 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
fd43fc2ad3
Add missing rmicoptions setter
PR: 9830
Submitted by: hengels@mercatis.de (Holger Engels)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273228 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
3e02062700
Make junit report more informative when looking for xalan
PR: 11067
Reported by: stevel@apache.org (Steve Loughran)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273227 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
6a12e3ec4f
Siwtch to strict dtd.
The escaping has been removed because this case is not adressed by the
xslt specs. Xalan 2.4D1 unescape & in the attribute while Saxon 7.1 does.
See PR 1604 for more information.
PR: 11701
Submitted by: ville.skytta@iki.fi (Ville Skytt�)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273226 13f79535-47bb-0310-9956-ffa450edef68
23 years ago