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
Conor MacNeill
bd1810c953
Some simple Javadocs - also reduce scope of Javadoc work to public
for now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272450 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
08874f01e9
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272449 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
54d745c6c2
add rule that"$"->"$"; retaining "$$"->"$"
Fundamental changes like this scare me. I wonder what the gump is going to show up here. If all is well; nothing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272447 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
84db1e8e16
pulled from the sandbox, added the NoProxyHosts attr, including with java1.4 support (the ftp version), and tweaked behavior s.t. <setproxy/> does nothing. but <setproxy proxyHost=""/> resets the proxy settings to no proxy.
No docs (stil in the sandbox) or test (I need to be at work to test it)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272446 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
afc4cfd1c3
Remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272445 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
a3cce7d41d
Remove tabs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272444 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
80080d456c
Reduce a small number of long lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272443 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
03d0b81deb
Order of modifiers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272442 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
c4266e9250
Coding Standard
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272441 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e79b77b82b
Add compiler attribute and nested <compilerarg> element to <rmic>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272440 13f79535-47bb-0310-9956-ffa450edef68
23 years ago