Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ee204741ec
Pointer to PMD.
Submitted by: Tom Copeland <tom@infoether.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
5651828604
Provide messages when JUnit assertions fail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272973 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
6bd8d6e938
Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
270394a09f
Extend the range of options ANTLR task is able to deal with
Submitted by:
Stephen Chin, aphid@versionablestore.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272941 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2aad5f9f54
recursively expand filter tokens.
PR: 9378
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272867 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f40cbc60b3
Merge over a bug-fix needed to get jakarta-tomcat built by Gump.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272855 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
ca91f8cb7e
Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1a8bb2e5a5
Add ability to generate XML to <echoproperties>.
Add sourcefile attribute that can read arbitrary files to the same task.
Submitted by: Ingmar Stein <stein@xtramind.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272806 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c0ddb31137
JDK 1.2 compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272670 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
6d54725ac9
DynamicConfigurator - allows tasks themselves to handle unknown elements and attributes rather than being constrained by the IntrospectionHelper rules.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272586 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
44f9042792
Make javac testcase work on JDK 1.4
Thanks Magesh.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272566 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ccef0f8982
Implement and document a compression attribute for the tar and untar tasks.
Submitted by: Curt Arnold <carnold@houston.rr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272562 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
94fa51d8c2
make tests use JavaEnvUtils.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272555 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
73c26feb56
JDK 1.1 doesn't seem to grok spaces in the keys of a properties file,
no matter which version of escapes I have tried.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272554 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e6706b6dae
Make live easier for projects that subclass Project by setting the
input handler to a default value.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272551 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
01b5ce6c03
Inherit input handlers in <ant*>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272548 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
550607147f
merge input propsal into main tree.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272541 13f79535-47bb-0310-9956-ffa450edef68
24 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
24 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
24 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
24 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
24 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
24 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
24 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
24 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
24 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
24 years ago
Stefan Bodewig
9d16acee8e
stand-alone tests for facade stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272439 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0b602ec2cb
Factor some facade task support stuff out from <javac>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272438 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b7b1b04ab6
two tests sharing the same data set; XmlValidate fails horribly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272423 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
17279312b5
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272406 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3518a35d47
Bring all headers into line
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272404 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
74e6cd31d6
test for WSDL and NET handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272389 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7585dbdb21
Don't reencode console output.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272353 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bbc333a9be
Fix up zipfileset references to allow any fileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272352 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f1d485a8b0
make DirSetTest work again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272340 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
07a3027bb2
Add a check in depend so that if a class file is out of date and the
source file cannot be determined, the class is not deleted and a warning
is given.
PR: 7312
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c17d143ac3
swallow characters that are illegal in XML documents.
PR: 6351
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272312 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a3d6a54f95
Test depend cache
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272304 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3c96ebf5a3
<depend> task does not handle case where an inner and outer class are written at
different times since they have a mutual dependency. I have introduced a 100
millisecond tolerance to catch this situation
PR: 7529
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272303 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6638f2ac2b
Move assertion statement inside try block and make the testcase pass on Windows environments with dubious java.home
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272301 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d1549366e5
Make <java> handle exceptions gracefully if failonerror="true" in
non-forked mode as well.
PR: 6353
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272297 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1f992c596b
rework inheritance tree for DirSet and FileSet, they are not
interchangeable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272294 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9f71c862fe
New depend checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272286 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d463563bef
timeout support for <java>
PR: 5299
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272237 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
7196c156c9
Disable second half of this test for now. I'm not sure why you can't pass
a <dirset> to a <fileset> by reference.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272223 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
ac65e76ac6
Test case for <classfileset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272221 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c0a3bacdf9
Test cases for <depend> task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272217 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ea60c3f749
Make tag and date attributes of <cvs> work again as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272198 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
62a2e7a759
If package attribute has been set, <cvs> would place it in front of
the command - which is wrong.
Reported by: Ovidiu Predescu <ovidiu@apache.org>
Updated cvs example to point to something usable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272193 13f79535-47bb-0310-9956-ffa450edef68
24 years ago