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
Matthew Jason Benson
91092b4963
Code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276098 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
499d174f02
Add several I/O related test cases to <exec> and <apply>.
PR: 26663
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276097 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
487f084e0c
Make touchtest pass on Win2
PR:
Obtained from:
Submitted by:
Reviewed by:
Make touchtest pass on Win2K / FAT
Dates earlier than 1990 seem not to work for me
as last modified dates of files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276060 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
29815cef7e
Give 2 seconds to these tests to succeed instead of 1
Avoiding gump failures
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276056 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8afdb58dd6
Allow unit tests to pass for java 1.5
Compiler name for 1.5 is javac1.5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276040 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bf736586fa
Change textname attribute in macrodef to a text element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275962 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
6ed7b543c6
followed up peter reilly's suggestion; full testing for unimplemented as well as undefined
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275958 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
a20d0ddab1
new condition: typefound
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275950 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7b5e67f539
add textname attribute to macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275948 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
eb5088c226
Fix date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275930 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
af0809b04d
macrodef element names are case insensentive due to use of DynamicConfigurator
PR: 26225
Reported by: John Sichi
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275929 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
4db617fc7d
Add two new attributes in p4submit :
needsresolveproperty and changeproperty
PR: 25711
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275924 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
4a56f455f2
Allow presetdef'ed types to be used with the ant-type attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275903 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
73d92708f6
A leading slash in a resource name is only required for
Class.getResource*, not the corresponding ClassLoader methods. Adding
the slash makes the task completely useless.
Reported by: <koji underscore sekiguchi at excite dot co dot jp>,
Jack J. Woehr <jax at purematrix dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275895 13f79535-47bb-0310-9956-ffa450edef68
22 years ago