Stefan Bodewig
6de0aa0431
Make <xmlvalidate> use JAXP when the user didn't provide a classname.
This should make the tests work no matter which XML parser you used
(failed for me now as I still have Crimson on my CLASSPATH).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272540 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
422f63ab87
patches provided by Nicola Ken Barrozi. documentation added. the "[]" and indexed properties were removed as they did not work properly and were not desired.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272539 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
0b3cd9d4fe
Enable property expansion when reading MailLogger.properties.file. Also, modified so error stack trace goes to System.err.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272538 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
f43a1d0628
Patch applied from Ville Skytt�, PR#8245.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272537 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
780343856b
Remove Crimson reference, switch to Xerces.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272536 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
7fc0d42636
Improve XML parser issue reporting
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272535 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
7b1b3d1667
added test to ensure XMLCatalog *and* classpath are working as expected.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272534 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
96b8de4079
modified to internally use an XMLCatalog rather than the LocalResolver.
Note: one potential API break, I removed public Vector dtdLocationsr, but it was added after 1.4.1 release, so would only be a problem if classes written for 1.5alpha relied on it which is unlikely, and too bad for them! :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272533 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
0295790895
add support for multiple XMLCatalogs - sort of unfriendly to only allow one without giving an error if more than one was specified :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272532 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
18932bbc53
add support for classpath, and ensure that relative files are resolved properly.
the classpath appending when nesting XMLCatalogs may need to be rearranged, not sure.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272531 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
aa300fc40b
fixed XMLValidate task and test - see the kind of trouble we can get into using String for filename parameters?! :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272530 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
2b22efccb0
If default target is not specified then default to using "main"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272529 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
d7d2c3fe3e
First pass at a slight variant of Nicola Ken Barozzi's XmlProperty task from PR #7767 . More tests and probably some slight refactoring is needed to handle other cases (like the list properties) better, but works as-is pretty nicely.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272527 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2c172d974f
I've forgotten that one can set <javac>'s fork option via
build.compiler as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272526 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
23abe1b6c3
I'm in pedantic mode this morning.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272525 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
bbe68be969
new istrue/isfalse condition tests.
I stuck some contains tests in here too, not noticing that they were in ContainsTest. Well, extra tests are always good, and now we test validation too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272524 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
49a7b28ac3
new istrue/isfalse condition tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272523 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
96ee13b7c9
new istrue/isfalse conditions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272521 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6c45e6d1ae
JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272520 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
ba37491689
the handy helper class to allow tasks to take hexadecimal, octal, or decimal strings, and returns back an intValue.
test cases even! :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272518 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
169b689172
Add nested XMLCatalog support, which will make grouping them in a build file a bit more flexible. This hasn't been tested other than to try that
<xmlcatalog id="one"/>
<xmlcatalog id="two">
<xmlcatalog refid="one"/>
</xmlcatalog>
worked, but its straightforward enough that it (hopefully) won't break anything :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272517 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f4521545f9
Improve javah's error message.
PR: 8095
Submitted by: Jesse Glick <jesse.glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272513 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
55811ba73b
Decide whether javac will be invoked with -depend od -Xdepend on the
compiler attribute rather than the current JDK (falling back to
assuming the current JDK if compiler has not been specified).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272509 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
6a2d05b7a8
Add utility object to help display library specifications and extensions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272508 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
33e1144b25
Add datatype representing extension
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272506 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8013fb45f1
Add object that used to add extra attributes to manifest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272505 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
708643964e
Add warning banners
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272504 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
3029b3459f
Copy across Specification object from excalibur.extension.*
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272503 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
402fd91dd5
Add in warning banner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272502 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
ede2107cf8
Copy across Extension class from excalibur.extensions.*
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272501 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
4143285592
Add in class for dewey decimal representation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272500 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e7de779f7c
Add new showoutput attribute to <junit>.
There is no automatic testcase for this, but if your run
ant -f src/etc/testcases/taskdefs/optional/junit.xml -Dshowoutput=off
ant -f src/etc/testcases/taskdefs/optional/junit.xml -Dshowoutput=on
you'll see it in action.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272496 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
6bc9693c3c
Ongoing Javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272495 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
5398d0b2cb
and now the proper banner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272485 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
96756cffeb
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272484 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
5cada6e721
Document new methods in XMLLogger
Cleanup Javadoc errors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272483 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
2a04171e90
merged in my tests. Added a new one verifying that properties we havent heard of get included as literals.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272482 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
024a9e9667
organize imports and format code. i swear, it was IntelliJ's fault! :) I've now upped the .* limit!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272481 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
244877e68b
Make XmlLogger finally a real BuildLogger. When used as a logger it will utilize Ant's logging level (-verbose, -quiet, etc), but remember to use -logfile, otherwise the output will be written to the console. Its previous BuildListener functionality, of course, still works as it did, writing to log.xml (or the XmlLogger.file property value)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272478 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
28d74d5238
Make AntFilterreader truly referenceable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272477 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
712c6513f3
Make FilterChain truly referenceable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272476 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
6c29d0eff1
* Make FilterChain extend DataType (finally...)
* Add it and well as FilterReader to defaults.properties
* Arrange entries in defaults.properties in alphabetical order (hope nobody minds)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272475 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
25a478af38
Testfile for bugs 5377 and 7980 - this is supposed to create no output
at all, but does for the fork="no" thread case.
I tried to put this into a JUnit testcase, but either you can capture
System.out (and destroy DemuxOutputStream's magic) or you don't (and
can't assert there is no output).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272473 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d1503ea657
fix nasty NPE in <junit> when the user doesn't specify a nested <classpath>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272471 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
28b02949e7
There is no reason to expect subclasses for ZipShort and ZipLong
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272468 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
9a82620775
Javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272455 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
2fa6f80465
Fix testcase which failed due to change in single $ handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272454 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
020f9a52c4
Make tagEntry a top level class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272453 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
2d71d80dcf
Add in simple facade class that makes logging easier to do in ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272452 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
52b40a80a3
Coding standard
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272451 13f79535-47bb-0310-9956-ffa450edef68
23 years ago