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
21 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
Matthew Jason Benson
996e16066a
Add "negate" attribute to <propertyset>s.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276224 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
ce89090b46
Nested file mappers; container mapper.
PR: 26364
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276223 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
90a2a192dc
This test has been randomly failing on Unix systems ever since their
file system is considered to have a granularity of a second. Give it
the same treatment as Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276189 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
fbb67ce4ec
Make test pass in Gumpy - at least I hope it does
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276188 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
7cb8da420e
Testcases for <pathconvert>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276174 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
3e7907c855
Fix for duplicate targets in the build file.
In ant 1.5 these were not allowed.
In ant 1.6, with import file's targets being allowed to
be overridden, duplicate targets where incorrectly allowed
in normal build files.
The fix just checks if the duplicate target is defined
in an imported file or in a "main" file.
Reported by: Dominique Devienne
See: http://marc.theaimsgroup.com/?t=107705039100004&r=1&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276165 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a0c2e2864e
MacroDef did not allow attributes named 'description'.
PR: 27175
Reported by: Jayson Raymond
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276144 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
dd0d33bb30
Add nested file element to file list to allow filenames to
contain white space and commas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276138 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
caf0645f58
Another testcase for double target-definition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276126 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
f6c034b007
TokenFilter.ReplaceString only replaced the first occurrence.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276118 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bbd6a3bd9e
fix for macrodef broken @@ escape handling
PR: 27069
Reported by: Daniel Spilker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276111 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
7e562b5843
If initialization determines that the corresponding target could not run,
bail out of the test (pass).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276110 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
c97b81b64e
Testcase for duplicate targets. Reported by Dominique Devienne.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276107 13f79535-47bb-0310-9956-ffa450edef68
22 years ago