Stefan Bodewig
ea21f122ab
Add vssver.scc to default excludes
PR: 2015
In some cases DirectoryScanner could miss included files/directories.
PR: 1415
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269333 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8726d0dc58
testcase for JUnitTestRunner.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269317 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ef2c9e1a3c
Make bootstrap process for JDK < 1.3 on Unix work again (bootstrap
uses the <chmod> task to make antRun executable which in turn needs an
executable antRun script ...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269315 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c51d45fd2c
support java.util.regex package of JDK 1.4 in regexp mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269311 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
30cf43949a
Only delete the target file when it is in fact a file - don't
delete directories.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269282 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
efe6a8f909
some method signatures in IntrospectionHelper have changed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269270 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a26511e231
new files for new <sleep> task.
Submitted by: Steve Loughran <steve_l@iseran.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269211 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c31e31c52a
Make usage of my email address consistent (probably going to change
home provider).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269046 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c2c9a383f2
Update for JUnit 3.7.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269037 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e412f31526
fix testcase 13 for available.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269001 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
ab5f1efaf3
- Added new tests for the dir-attribute
- Adjusted expected result for test13 - empty string is not a file
- Corrected all the tests - seems I have got the arguments in the wrong
order on first submission :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268993 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
a04e11dde3
The file was not correctly closed after validating it's contents, so the tests
failed on Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268992 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f7fdd6f367
Make port and password file configurable in <cvs>.
Add new task to insert a password into the CVS password file (only
recommended for anonymous access to repositories).
Submitted by: Jeff Martin <jeff@custommonkey.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268979 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c3714c50a1
More JDK 1.1 issues. Culprits have been <pvcs>, <record> and the new
zip package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268962 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
bb58f9a943
Reimplementation of ZipOutputStream along with a subclass of ZipEntry
to allow Ant generated zip/jar/war/ear files to be extracted on Unix
boxes without permission problems for directories.
This one uses external file attributes like InfoZip's zip does, this
is a rough cut - the infrastructure to set arbitrary permissions and
add user/group IDs via Zip's external fields is there, but not used
ATM. Directories will always get 755 permissions right now.
The testcases work on my box, and I can extract Ant created archives
without any trouble - can't await tomorrows Gump run.
package documentation for org.apache.tools.zip will follow.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268959 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d6e5c9e816
Make <tar> handle empty directories.
PR: 552
Submitted by: William Webber <william@live.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268862 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
635c56e2db
Make testcases independent of current working directory - add one for <copy>.
Submitted by: David Rees <d.rees.l@usa.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268778 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
832fe98aea
Make sure zip files, that <zip> is reading from, will be closed.
Submitted by: David Rees <d.rees.l@usa.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268772 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
068f734884
Merge after 1.3 release
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268748 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
d12dd915de
Bleh - I really should test that it compiles no ? ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268727 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
5b5fda422d
Pvcs test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268725 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a6e0d48578
Increase timeout in ExecuteWatchdog test to improve its chance to
pass. The race condition is still there, this only masks the problem
that a Thread that sleeps for TIME_OUT/2 might not terminate within
TIME_OUT.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268698 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
45524b0010
Disabled the testcases which really try to access a webserver. Not everyone
has one.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268695 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
7435b27b91
Merge 1.3 branch changes into MAIN
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268691 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
41f7afa119
Merge in my patches from the 1.3 branch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268676 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
5337488612
Merge of 1.3 branch changes into the main branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268652 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
da10e54de9
* Added <sysproperty> to <junit>
* fixed a bug that prevented <junit> from logging to logfiles with a
comma in its name in fork mode
* fixed some problems within ExecuteWatchdog
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268543 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7d24473197
Forgot to add a testcase for replace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268483 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9f05cd3fd9
And token attribute of <replacefilter> must not be empty either.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268482 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
113e9e7644
Fix some testcases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268416 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6c287080d4
Make licence statements mention Ant in place of Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268392 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d886d50323
Moved the common code from XmlLogger and XMLJUnitResultLogger into a
new class.
Wrap nested text into <![CDATA[ ]]> and replace special characters in
attribute values correctly.
PR: 413
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268330 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c8b92216b3
Implementation of the regexp interface for Jakarta-ORO.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268258 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e4f0795f1f
New Mapper type for regular expression replacements. Currently only
jakarta-regexp is supported, at least an ORO implementation will follow.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268257 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4fefc6bcdd
Make <jar> fail early if a specified manifest file doesn't exist.
Submitted by: Erik Meade <emeade@geekfarm.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268255 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
3dfcfba7e5
Fix up test cases due to recent changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268218 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d0bbd2ece4
New DataType mapper, will be used to define a FileNameMapper for tasks
that can support different implementations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268202 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8355b21de2
New FileNameMapper that does wildcard replacements like DOS's
ren *.foo *.bar. Use it in javac (more to come).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268194 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a18fbb4649
New task antlr. See www.antlr.org.
Submitted by: Erik Meade <emeade@geekfarm.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268151 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
dfb50d12f7
Extended testcase for <filter> to show that Bug #38 (report #184 ) has
already been fixed.
Submitted by: Erik Meade <emeade@geekfarm.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268056 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
918b40a4f8
Fixed some testcases:
(1) make the Path tests work on Windows even if not working on C:
Submitted by: Erik Meade <emeade@geekfarm.org>
(2) Take care of deprecation warnings and added functionality for some
of the file handling tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268054 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ad48a0d392
Make the handling of nested #PCDATA more predictable by not stripping
anything. The older version depended upon the parser (does it invoke
characters once per #PCDATA section or once per line).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268024 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7c231e500f
Added unittests for a bunch of tasks.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268018 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8c59db7895
Allow tasks to be added at runtime and only fail if they cannot be
found at runtime.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268005 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
505d4a8c1d
Removed <filesetref> and <patternsetref> everywhere, <fileset> and
<patternset> support the refid attribute directly instead.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267973 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e8d2007cff
Add a nested <path> element to <path>. This means one path can include
another path (by reference as well as literally, although I doubt the
latter is of any use). Circular references should be caught.
Suggested by: Barrie Treloar <Barrie.Treloar@camtech.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267962 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefan Bodewig
46b4505bc0
Added infrastructure to create data types independent of tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267950 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefan Bodewig
7db9027588
Avoid NullPointerException in FileSet.
Submitted by: Jeff Martin <jeff.martin@synamic.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267915 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefan Bodewig
a252eb8543
\ is no special character for Commandline anymore.
Also made Project.resolveFile more consistent. /a would have been an
absolute filename on all platform while \a would be considered a
relative filename on Unix like systems.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267913 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefan Bodewig
00ecf29ec1
Still to Unix centric.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267894 13f79535-47bb-0310-9956-ffa450edef68
26 years ago