Stephane Bailliez
d957fa1151
Fix -jar option to be appended rather than prepended
as specified in usage command line since the parsing
for jvmtype is broken in JDK < 1.4.0.
I filled bugs 139128 and 139129 to Sun for this.
Reported by: christophe.aubry@temis-group.com (Christophe Aubry)
PR: 5307
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271071 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
dd38c61aec
two new attrs to loadfile to make it more flexible in feeding other tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271033 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
6eafb817a2
test now works on my box, maybe we will scrape through GUMP now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271032 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
8dc6be273c
SourceOffSite tasks submitted by Jesse Stockall <jesse@cryptocard.com>.
The sos.html file is slightly out of synch with the actual attributes - but Jesse will submit updated documentation soon.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271021 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
536c872b8b
part two of the patch to make Jakarta-Regexp tests pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271020 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e3b9832459
Make tests pass on Linux as well (by not expecting them to pass).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271019 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f5a525c370
filling my role as post-commit script ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271018 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e27d594005
Fixes should be in all related testcases now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271017 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e0c5a1f097
- Added some more tests. All tests that fail have
not been commented but rather modify to trigger
once they are fixed.
If Unix people could tests and make sure that they
pass on Unix that would be nice.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271015 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
37f6709df7
- Get the class from the caller classloader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270994 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2e315eb059
4 new logos
Conor, remove your if you want ;-)
Submitted by: Dylan Schiemann <dylans@yahoo.com>,
Magesh Umasankar <umagesh@apache.org>,
James Andrews <jimhole23@yahoo.com>,
Conor MacNeill <conor@cortexebusiness.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270833 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8d79b48a89
Make JDK 1.4 happier
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270820 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
c73be43653
Testcase to ensure <java> works as expected in both forked and unforked modes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270818 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
93d1a027cf
Fix test5.
- the directory was not created previous to ANTLR call (xml)
- it cannot process java.tree.g since java.g need to be processed first so an error occurs in ANTLR.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270774 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1c54377d1d
Copyright statement police catching up with latest commits 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270772 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
51b5caf9a8
lets test condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270747 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b278e5fa0b
added expect() clauses for properties being set, unset.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270746 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3b41e256ee
<fixcrlf> failed on Mac files.
Reported by: Matt McHenry <mmchenry@carnegielearning.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270662 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2fdf6b699f
missed two subdirectories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270655 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d0fd746309
License police on testcases and stylesheets:
Make sure all years in which the file has been modified are listed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270654 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7cbd5df017
Remove code that has never been used in any released version of Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270645 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e01d1142c
Move responsibility for cleanup to the test themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270623 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aa27429577
Improve the <equals> condition by adding trim and casesensitive attributes.
Inspired by: Frank Bechmann <frank.bechmann@dcw-software.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270621 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
5d79a4f5eb
Addition of destFile(File) attr to the zip/war/ear/jar tasks, fixup of docs, replacement of deprecation methods and appropriate changes to the tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270605 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
1620dd543b
Usage of SrcFile,SrcDir,DestFile,DestDir abandoned. Rolling back to
previous state.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270487 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
215ff90fee
oops, forgot the license on first pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270423 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
93092c4c72
A new mapper to allow checking <uptodate> from test cases to their XML formatter results.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f82ca6ff2d
Added additional methods to deal with strings.
This is mostly to avoid the use of regexp for
simple tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270393 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a244b2f855
using srcFile datatype
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270383 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
f4df13a3aa
stops the encoding test failing. We now test that the encoding param is supported, but there is nothing to test that the encoding actually works.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270377 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a225264f50
new loadfile task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270374 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b2519d45f5
test contents of exceptions match expectations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270371 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
bf8e21b63d
Don't assume everybody will use the login and pwd to my db.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270297 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
539077152a
This testcase might be used to test for various problems
that may arise when calling the <sql> task multiple
times. I tried to make it easy to customize the test
to run it on different databases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270296 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a623bba85d
Properly encode control characters. See XML 1.0 2.2
<http://www.w3.org/TR/1998/REC-xml-19980210#charsets >.
Submitted by: Jim White <jim@pagesmiths.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270252 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
488529801c
Update ANTLR to revert to forked-mode only.
Comments in code should be self explanatory for the
next person who have to deal with it.
Testcase is updated (working dir is no more mandatory)
and I added a note in case someone wants to run
the tests... I should probably add a mention to
this in the ANTLR docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270161 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ce90a68baa
Add a testcase that demonstrates why FOP's build fails right now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270140 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3745d5dc70
Add a new inheritRefs attribute to <ant> with a default value of false
that controls implicit copying of references - i.e. we don't copy
anything by default.
Try to copy a clone before copying the real object.
inheritRefs="true" doesn't make any sense for <antcall> as all
references of the calling project will be defined in the new project
and wouldn't be overwritten. That's why <antcall> didn't even get
this attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270136 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ddc395dffa
Add some tests for manifest task - realized that empty manifest aren't
that empty.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270133 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1318b84a90
remove exit ability from <input>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270129 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b546691d3a
Add if/unless attributes to <fail>.
PR: 1380
This is the first step to remove the fail functionality from input and
waitfor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270126 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e8f24b5abb
JDK 1.1 doesn't grok UTF16 8-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270122 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
03d2b1c05f
If running on JDK 1.3 register an exit handler that kills spawned
processes when the JVM exits.
PR: 5125
Submitted by: mnewcomb@tacintel.com (Michael Newcomb)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270117 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
05b5cb8f3d
Allow <ant> and <antcall> to pass references to the subbuilds.
Submitted by: Matthieu Bentot <mbentot@arantech.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270105 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
03e7448524
constructor has changed for filtering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270100 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
48aa9d115e
Added a test for time dependent copy -and the ability to override it.
This is long for a test (=harder to tell which assert failed), but if you are going to sleep between touches then you should make the most of the test.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270096 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
04a1688d9c
fix testcase that requires /tmp to exist (at least I hope so).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270088 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
809dcaf287
enable modified version of the awk test to demonstrate there is no problem.
PR: 4911
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270080 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b06aed6911
Update to remove warnings generated by antcall due to last immutability tightening. Did this by adding a protected constructor to property.
Made sure that operations internal to Project could not generate these warnings by adding a new setPropertyInternal method that didn't do any checks.
Also made the getUserProperties and getProperties methods return copies of maps rather than direct references.
Updated WHATSNEW to warn about these issues.
Added some unit tests to verify that property immutability is enforced - where we actually do enforce it ;)
Submitted by: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270078 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c3abf0c4cb
Remove some deprecated language features.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270077 13f79535-47bb-0310-9956-ffa450edef68
24 years ago