Stefan Bodewig
e758ff801e
re-add support for JAVACMD environment variable to ant.bat which has
been lost in revision 1.19 of that file.
Reported by: Shorn Tolley <shorntolley at yahoo.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273459 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
47ac198ecb
Handle correctly the classpath if multiple jars are passed as arguments.
; is the right path separator.
PR: 13905
Reported by: vishy@borland.com (Vishy Kasar)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273455 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a9fbed2171
Swallow warning about filesetManifest as long as its value cannot be
altered.
Merge from 1.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273454 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
6467f9fa27
Added a small comment on the test ( it is one of the failings for embed )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273451 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6739d29020
Avoid hanging listcab on large filesets (because writing the filelist
blocks before listcab's output is being read).
PR: 13546
Submitted by: Jim Newsham <newsham at hotu.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273450 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ea4a6f2985
Provide more meaningfull message if source doesn't exist in <.+zip>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273447 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a444dadc1c
explicitly check whether destFile exists in <copy file="..."/>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273444 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8616937cde
Typo reported by Bob Summerwill <bobsummerwill at yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273442 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
83a9fbc0bf
<delete> doesn't catch all cases where the implicit fileset gets used
(and may thus ignore some attributes or nested selectors).
On a side-note. I found it amusing to read
* <p>Currently Delete extends MatchingTask. This is intend <i>only</i>
* to provide backwards compatibility for a release. The future position
* is to use nested filesets exclusively.</p>
in Delete.java. This is sticking in there since almost exactly two
years ago. Revision 1.8 2000-10-04. Revision 1.9 went into Ant 1.2. 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273428 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8fd187b9f6
* Create separate jars for all those optional tasks that have external
dependencies.
* <patternset> --> <selector> for most stuff.
I've kept optional.jar for now as I'm not sure whether I've really
covered all classes (and no class appears twice).
Feel free to change names or optimize my "mutiple nested selectors"
constructs. ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273426 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
60528537f2
"plain" result formatter could throw NPE if an exception occured in
the test's setUp method.
PR: 13465
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273422 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
114e8b961d
move WeakishReference1.2 to optional, fix copyright, fix string ref to classname
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273419 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2eeb7ab48d
re-add support for ANT_ARGS environment variable to ant.bat which has
been lost in revision 1.19 of that file.
Reported by: Paul Christmann <paul at priorartisans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273417 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ab8c553cfc
initial JDK 1.1 fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273416 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
b15937e237
and the new task declaration
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273415 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
d8d8b2a5a5
Brian's new tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273414 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
620b8828e3
Refactoring and extension of the .net compiler tasks
This stuff is unfinished. The tests are passing, but the new stuff is not tested yet and I want to do references better. But I wanted to put this in so Brian Felden and others can play with it,
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273413 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
e5a85d7265
This is the reflection based fixup for weak refs on 1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273412 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
653d3ebc75
doc correct
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273410 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4e687594a1
<manifest> could miss situations in which an update was necessary.
PR: 12440
Submitted by: Thomas Zimber <tzimber at e2e.ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273405 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
61bbc457fe
Add pathref attribute to <arg>.
PR: 13137
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273404 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5698e6e909
Suppress "ignoring compiler setting" warning in javac if the user
hasn't set the compiler.
PR: 13246
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273402 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
41feb573c0
Make use of nested <manifest> for ant-bootstrap.jar instead of using
separate files that need to be kept in sync.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273401 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d303ffde27
Remove Class-Path from Ant's manifest and provide an ant-bootstrap.jar
for people who'd like to run Ant via java -jar.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273393 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6a012bdb4c
Fix <linecontains> filter.
PR: 13048
Submitted by: Eric Pugh <epugh at upstate.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273385 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e42bd46a51
Throw BuildException in <xmlvalidate> if a requested feature is not
supported.
Make <xmlvalidate>'s unit tests handle parsers without knowledge about
XML Schema gracefully, passes with Crimson and Xerces on my box now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273384 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6650efb105
Next try for PR: 12844 (Stochern im Nebel)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273383 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
967ec861a2
filtersets that are nested into filersets don't work as the code tries
to access nested elements before they have been configured.
PR: 9056
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273381 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8e67850ad6
Add <os> and <exec> support for OS/400.
PR: 13047
Submitted by: Brian Farrar <brian_farrar at countrywide.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273380 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7abf6af621
Make jjtree as verbose as javacc.
PR: 12589
Submitted by: Kimbo Mundy <kmundy at denovis.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273372 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d7e86a8f8c
forgot to save some files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273367 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
04408cb596
Remove magic that prepends a $ to vsspath and projectpath in VSS and
SOS tasks.
PR: 10201
Submitted by: Jesse Stockall <jesse at cryptocard.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273365 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ddece83ca0
<junitreport> would create an empty junit-noframes.html if format was
not defined.
PR: 12390
Testcase submitted by: Martijn Kruithof <martijn at kruithof.xs4all.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273360 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1e75ac7d0d
Make HTML generated by <junitreport> look more like valid HTML.
PR: 12604
Submitted by: Ville Skytt� <ville.skytta at iki.fi>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273358 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1e760c7354
Make <cab> use the not deprecated methods of ExecTask.
PR: 12468
Submitted by: Jesse Stockall <jesse at cryptocard.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273356 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f1fd5e5e8a
<tstamp>'s prefix attribute didn't apply to nested <format>s.
The code tries to use the prefix but fails because setPrefix() gets
called after createFormat().
PR: 12829
Submitted by: gjfdh at yahoo.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273354 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
aea068074e
Go on if a non-JSP has been found in <wljspc>.
PR: 12844
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273353 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
387d93e6ec
Make <ftp>'s MKDIR action work recursively (if necessary).
PR: 12576
Submitted by: Kyle Adams <kadams at gfs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273352 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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