Stefan Bodewig
4a834a6214
Jikes is right, the fallthrough is a problem
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277902 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
e72ab9dcb5
little pointer to note that this test seems dependent upon viewcvs.cgi working, which it wont after an SVN move.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277888 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
80593698b1
Moving isreachable to reflect on the new method. On java <=1.4; if the hostname can be resolved then we are reachable.
All tests run against localhost. This *should* work everywhere, but no doubt someone with a confused /etc/hosts or no IPv4 stack will have different opinions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277887 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
dae6ce9ace
Apt testing. We can say this works now :)
I do worry that the example Java1.5 code looks just like STL C++.
We also need to compare factorypath with classpath behaviour. But we can demo that you can add new factories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277860 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
c7e8a8e498
Removed $Id$ cvs tags
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277846 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
0fb6ce69c2
Forgot to commit testcase for doubled EOF char on the new filter-delegated
FixCRLF task. Translated test assertions from Java to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277825 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b1f75a400d
First fix the tests to fail when they should, then fix rmic to work as before, even on Java1.5, then add new tests to explicitly do version checks.
bug "rmic always compiles on Java1.5"
http://issues.apache.org/bugzilla/show_bug.cgi?id=33862
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277811 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5061e731c3
1. Add Kevin Greiner's FixCrLfFilter (slightly modified)
2. Adapt FixCRLF the task to use the filter (single set of fixcrlf code)
3. Implement ChainableReader in FixCRLF so that the existing taskdef
will be recognized as a nested element in a filterchain.
PR: 33155
Submitted by: Kevin Greiner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277787 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
015ec69fd1
Add preservelastmodified attribute to fixcrlf.
PR: 25770
Submitted by: Yuji Yamano
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277778 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
81197f555a
Get with usetimestamp did not work when local timestamp roughly >= now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277761 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
782bc21332
RedirectorElementTest stopped working on windows w/h cat on the path.
Now it passes the testcase if cat is not available.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277743 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
43cb5f9b25
get with usetimestamp did not work on Java 1.2 .
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277740 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
fc96c7e44a
cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277738 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
6c13bc7130
condition to check for parser features. Left to others to put into Ant's build.xml.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277735 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
97150b670e
fixcrlf gets a new attribute to make it easier to fix a single file. no nested filesets for <fileset file>, see.
Also put the schemavalidate in the right place in WHATSNEW.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277731 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
a317e0c69c
Remove trailing WS from blank lines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277721 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
595133b251
Pathconvert no longer requires that one of (targetos|pathsep|dirsep)
be set; platform defaults are used when this is the case.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277715 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b69245c422
those extra tests I threatened
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277711 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
6591339aa0
still had an interim attribute name here. fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277709 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
2bf7351182
<schemavalidate>. Because I can never get the settings right.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277707 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3ead8e446a
Test for PR 33412
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277684 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
6784a0918b
*Really* fix Ant-URL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277666 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a122d45da7
fix Ant-URL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277664 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
a585fa2b03
More info to see what Gump sees when this test fails. I may still remove
the clone task, but until then I'll try to keep the tests passing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277656 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
8d779414b7
Added loginputstring attribute to redirector.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277628 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
ec13cff809
convert tabs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277624 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a799f17a4e
Turn <deleteFromTarget> into <preserveInTarget> in <sync>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277591 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
13b07b313f
Make javah a facade task, support kaffeh
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277590 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1225a5a849
Added level attribute to zip & subclasses.
PR: 25513
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277577 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
1816e79c3a
Add a very tiny test for native2ascii
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277563 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5947ffd64f
Added else attribute to condition task.
PR: 33074
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277520 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
d273066a17
Missed a few...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277503 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
e1b0730f5e
Changing the verification process not to rely on isfileselected because I'm
too lazy to move it to the 1.6 branch right now when it's not even mine. :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277502 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
23a1c7d3a7
Make apply's dest attribute optional.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277464 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4c77f5ea1b
<available> returned false positives when checking a file
passed in with the current basedir leading twice.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277462 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4eefafe2bf
Make $TMP handling more consistent, add subversion support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277452 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ddb6b066ca
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277450 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
f119bd971b
Xor. Not strictly necessary, but the logical equivalent is a dog to type.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277431 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4122b8a95f
Add size to Resource info; switch length task to use Resources
instead of files so that it can report lengths for zipfilesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277427 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
38c1ea2a88
First updates to library
-default dest, repository
-override properties
-changes to tests to keep working
-enhancements to tests so they work behind a firewall if ~/.ant/proxy.properties contains the settings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277397 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
28d39b09a7
Allow <sync> to keep files in target even if they are not in any source directories, PR 21832
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277393 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ff0cfb8ee7
propertyset references did not handle nested propertyset references
Reported by: Matthew Nelson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277378 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
891ef3586b
Adding scripting support to conditions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277374 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
5fa7f18c21
Adding scripting support to selectors. No personal need for this right now, just rounding off what you can now do with mappers via filterchains
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277368 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0d08780618
Allow references to keep references to the project that
they were created in and use that project to deference the reference.
PR: 25777
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277352 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
f5d98f1e2c
Extended FileUtils with a comparison that ignores the kind of line break.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277345 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
810c2bde30
Oops, used setProperty() instead of setNewProperty().
Thanks to Jan for the example on the userlist reminding me of my error. ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277336 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
6ca8466008
Add clone task.
PR: 32631
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277320 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5451feff7d
Remove order assumption from testEach.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277307 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
f3af5a6f26
Add length task to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277277 13f79535-47bb-0310-9956-ffa450edef68
21 years ago