Peter Reilly
d4ebf04094
Try to get the correct task/type name for an unsupported attribute/element
exception thrown by IntrospectionHelper
PR: 31389 and 29499
Reported by: Tamas Szeredi and Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276882 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
f94d46e400
fix sizeselector testcase
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276860 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ac747c8ca7
allow testcase to compile under jdk1.2.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276856 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1ddab2c141
add xmlcatalog nested element to the xmlproperty task
PR: 27053
Obtained from: David Crossley and Dave Brondsema
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276840 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
0f723fa82a
Support different output formats in checksum, PR 16539, based on a patch by Mark R. Diggory
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276838 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
84bfc9dabe
Allow <move>'s file attribute to rename a directory.
PR: 22863
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276806 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
12f1e22e1f
Zip task did not create tasks when there are only empty directories in the selection
I have simply added a testcase, the code was already fixed by Matt Benson in Zip.java
revision 1.128
PR: 30365
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276804 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d0fe01180d
Provide access to extension points and attribute/element/extensions/text methods in
IntrospectionHelper
PR: 30794
Obtained from: Dominique Devienne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276796 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
73bea8d87b
test fixup, I still think the csc tests are broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276762 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
ea016c9845
fixed the test failure, added a proper self contained test.
I have commented out the test that asserts that sourceTime==destTime implies up-to-dateness. This is an interesting problem. Filesys granularity gets in the way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276761 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
85f05e8b8d
more tests; 'default' compiler and "" has a well defined behaviour.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276757 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
18aa085b70
IDE stuck in a GPL license, thinking this was day-job code :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276756 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fdf4bba148
rmic gets a fork option.
Most of the changes here are actually adding tests, which was surprisingly hard work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276755 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
45a286b046
sneak in an explicit test of the new file utils timestamp comparison stuff
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276753 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
803fb00df9
These changes will break Stefan's and my work builds, but they are for the better.
1. pull file/url stuff from the main class into another instance of the schema class.
2. added a makeURL flag that turns a file ref in a schema into a URL. v. useful for .net.
3. added a compiler enum and attr that lets you choose compiler. Compilers are microsoft|mono|microsoft-on-mono.
4. renamed parseableerrors to ideErrors.
5. dependency logic uses filesys granularity.
No tests for the compiler stuff, we need to think about how to do that.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276749 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
72252a9148
Now support for nested schemas as add ons. Will probably break mono, but the tests have been written so as not to expose that break.
Also: protocol, parseableErrors. These are WSE2.0 options.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276740 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
0f6f477310
Mono's wsdl.exe uses a different return code (2) than Microsoft's
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276730 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
cc1d22cffa
new tests fail if the tests themselves live on the system classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276724 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
8fdf272627
Impossible to use implicit classpath for <taskdef> when Ant core loader != Java application loader and Path.systemClassPath taken from ${java.class.path}
PR: 30161
Submitted by: Jesse Glick (jglick at netbeans dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276721 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c692a67a30
Try to get the dependency analysis right this time while preserving BC.
PR: 29977
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276715 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jan Materne
b10dc1232b
Let Gump pass in Headless-mode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276693 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jan Materne
04d73d1565
No more -lib needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276691 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jan Materne
590844e775
Small redesign of ModifiedSelector. Integrating BugIDs 29742+29743. Adding support of custom classes. Checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276688 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1450134702
Remove commented import.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276630 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c672e8778e
Added multiple targets to <ant> and <antcall> using nested <target> elements.
PR: 5270, 8148, 17071, 6368, 29623
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276629 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
9238ee8865
NPE in cleanup on Windows (all non-Unix?).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276626 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5f9698fab4
Add ignoremissing attribute to <apply>.
PR: 29585
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276587 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
dd33138003
Test for 22865
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276539 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
c012d33f03
Tests for bug 25181
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276536 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Magesh Umasankar
9f1eefd3a2
Tasks extending from abstract DispatchTask may have multiple action methods that will get invoked depending upon the action attribute of the task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276533 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
d8361ec47a
Addition of a nested property element to the XMLValidateTask to
support string parser properties
PR: 23395
Submitted by: Matthew Hawthorne (mhawthorne at alumni dot pitt dot edu)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276506 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
278074659b
add implicit element to macrodef
PR: 25633
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276490 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
c7165c227d
Make tests pass on MacOS X.
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276450 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
39b58c5739
test1 failed unless it was the first test to run.
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276449 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
7665bc264e
Restore Task inheritance to Exit/<fail>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276428 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
64556cb111
<fail> accepts nested conditions.
PR: 19220
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276425 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1cac66df9a
File paths to imported build files should not be canonicalized
PR: 28505
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276422 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
c00d5a6977
Implement jar index for referenced jars, PR: 14255
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276389 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
2ead66e52c
Make ContainerMapper abstract; move chained/composite behaviors to
subclasses ChainedMapper and CompositeMapper, respectively.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276384 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fb77359665
Purge of many (but not all) the if-java-1.1 tests in the ant code. I left those in the tests in, and I left the javac and javadoc tests in, as they are more complex. This is the simple set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276382 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
122c6ddd9e
A new uptodate test that includes granularity. the
intent is to move all date tests to this single place, to eliminate inconsistencies.
The only place I use it is signjar, which, by virtue of the fact there is no signjar test, means I know it wont break the tests.
Also, cleaned up the reflection hacks for 1.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276381 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b6298168c9
Add resource support to <loadproperties>.
PR: 28340
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276365 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e8f55deaa7
<assertions> inside <java> or <junit> didn't work, PR: 27218
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276346 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
14d5a4009a
This is a test that demonstrates that assert checks dont get through properly. Fix in progress.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276341 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6dbabcb776
Add nested mappers to xslt, PR: 11249
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276322 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
46e87d8cdb
Try to make Gump happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276265 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
1b510286c2
Whitespace changes only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276264 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
a86e533136
Forgot the default typedef and type unit tests initially. ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276259 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
b0507d4451
Add <redirector>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276257 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
d15ef9e13c
Reduce level of skip message to VERBOSE.
PR: 27784
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276249 13f79535-47bb-0310-9956-ffa450edef68
22 years ago