Conor MacNeill
0a60a74c8c
Initial tests for Import including a test to highlight issue importing
unnamed projects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273802 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0132faa5c6
Check if loaderrefs are valid before casting them.
Reported By: Jeroen Breedveld
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273762 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
4edeb27347
Use classpath instead of path.
Allow more convenient specification of the classpath.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273694 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
f507f5134e
A small build test for <classloader>
I don't know how this can be included in the junit tests
( at least the part that loads optional tasks ) since the
test env already includes most classes.
In order to test - you need to run this without junit.jar
in ant/lib and to pass the path to junit.jar
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273686 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
3920c91b46
Add 2 (small) test files for import.
I still need to add the .java file and add tests for the
more advanced features.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273685 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
2e83cb6a0d
Add maxmemory option to control memory of the jarsigner VM
revert sigfile to a String - does not make sense to be a File
Added a testcase with keystore for signjar
PR: 1284, 10754
Submitted by: Jonathan Keller
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273684 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
1cdcdc63b4
cut and paste error fixup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273682 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
35eaa950b8
Add test cases for class fileset to pick up new dependency types
PR: 13273
Obtained from: Jesse
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273677 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
6aa8641eaf
Testcase to test conformance to case sesnitivity rules for tasks
and nested elements
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273670 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ef9539bad9
remove catalogfiles from xmlcatalog
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273638 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
972b069add
Actually test the resolver stuff of xmlcatalog
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273605 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4193003d23
Add <catalogpath> to <xmlcatalog>.
PR: 14978
Submitted by: Jeff Turner <jefft at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273599 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
0378839169
<xmlvalidate> ignored the encoding declaration of files it should
validate.
PR: 11279
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273582 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a984179d1f
Add a test that shows that <script> can use beanshell.
... and disable it as Apache BSF now supports beanshell, but beanshell
doesn't seem to support Apache BSF yet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273568 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ad49e2a62d
Add tests for <script>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273564 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
de06c1b597
Don't add newlines in <concat> that haven't been in the files
originally - no matter what encoding.
PR: 12511
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273553 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6b5c48061a
Don't stop with encoding # when creating URIs for the XML parser.
Code heavily inspired by Xerces-J code. This version is extremely
simplified as it doesn't deal with non-ASCII characters for now.
PR: 13679
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273552 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ec3031196a
Print a warning and don't create an output file if there is no input
to <concat>.
PR: 14310
Submitted by: Gus Heck <gus.heck at olin.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273539 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
bc25c08b87
Clean up on concat test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273528 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
abd749ac59
Fix NPE in <concat>.
PR: 14310
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273518 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1cd74f2546
help XML parsers that think an URI was a java.net.URL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273513 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc85d47dc
Normalize build file location for symlink test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273510 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
991d9d6870
New optional task <symlink>.
PR: 9808
Submitted by: Gus Heck <gus.heck at olin.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273502 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8ff0a12291
Doc patches and additional tests for <xmlproperty>.
Submitted by: Paul Christmann <paul at priorartisans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273487 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ceeb6bff93
Make <xmlcatalog> support the OASIS "Open Catalog" standard with
Norman Walsh resolver code from xml-commons.
Submitted by: Craeg K Strong <cstrong at arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273486 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
524a7831a7
Enhancements for <xmlproperty>: you can now expand ${properties},
define ids or paths and use Ant's location magic for filename
resolutions in the XML file.
PR: 11321, 12045
Submitted by: Paul Christmann <paul at priorartisans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273484 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Stephane Bailliez
5090cd936d
Fix the xsl to produce a valid html
(I changed the font size since it was not that readable for me, switched to a
loose dtd otherwise we have to work more on the html and I encoded
the entity '&' so that it is correct in the html attribute.)
PR: 11701
Submitted by: ville.skytta@iki.fi (Ville Skytt�)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273223 13f79535-47bb-0310-9956-ffa450edef68
23 years ago