Stefan Bodewig
7e8bb3f17d
a little cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269906 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
356935f4c3
oops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269905 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8e37dd0ba2
Add encoding attribute to <fixcrlf>
PR: 961
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269904 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
feb1b040e9
one more test case -JSP xml format (which does work), and ran tabs-to-spaces on the jspc.xml file just to make the diff look bigger.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269894 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ba558a362e
Make <typedef> something that is useful.
PR: 4143
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269893 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e88913f66
Enable the commented out tests in TaskdefTest - they failed because
org.apache.tools.ant classes must live on the system classloader to be
loaded.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269892 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
26c2dac518
jsp testcases; not yet with matching junit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269888 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5f93102e17
Make sure the class passed into Project.addTaskDefinition is suitable
for a task, that is it is public, non-abstract, has a no-arg
constructor and a public no-arg execute method.
PR: 4163
Submitted by: Ralf Wiebicke <ralf@rw7.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269857 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3bfae8ec28
one more JDK 1.1 fix - testcase will fail as touch with and without
argument will result in the same file modification time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269856 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
32da696de4
Add testcases for the inheritall/dir attribute combinations and their
results on the new project's basedir - clarify documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269838 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
be53ecfdc2
Add testcases for the substitution methods (and make them work 8-)
Add testcase for <replaceregexp>, this task now works with ORO,
Jakarta Regexp and JDK 1.4 if you use \1 to refer to parens in the
regular expression.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269822 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ffea0a9f74
Rewritten part of the regexp stuff, adding substitution and options.
New optional replaceregexp tasks that takes advantage of it.
Submitted by: Matthew Inger <matti@sedonacorp.com>
This doesn't really work (but doesn't break anything either), but I
wanted to get the stuff committed now, I will put work into it
tomorrow. See mail to the list for details.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269820 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
09a7def3cd
Make <propertyfile>'s default attribute work as expected.
PR: 3955
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269802 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
59fcd9ab82
Add initial testcase for the optional propertyfile task.
Submitted by: Levi Cook <lcook@gr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269801 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bec2a0777e
Merge of 1.4.1 changes into Main truck for Gump testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269745 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
df14132289
Merge in 1.4 src changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269663 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
f66cab0ea7
Merge from ANT_145_BRANCH up to Beta 2
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269587 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bdf4456a77
New task dependset
Submitted by: Craeg K. Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269479 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a794b2b204
<fixcrlf> now deals with CR only line-ends and arbitrary tab lengths.
It should work independant of the size of the file as well.
Additionally it can treat tabs inside character constants in source
files differently.
Documentation will follow - also it will now update the timestamp of
files, even if the file doesn't change. This will be fixed before the
final release but shouldn't stop us from starting the beta cycle.
PR: 1053
Submitted by: Peter B. West <pbwest@powerup.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269449 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
25116b2c5b
Resolve properties within properties files by first consulting the project
properties first.
PR: 2915
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269417 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
70f7d48dbd
Make UnknownElement aware of TaskContainer so that one can taskdef a
TaskContainer at runtime.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269392 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6e2f15d42a
Add tests for property resolution in property files
Update JUnit jar to latest version (3.7)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269389 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0e650797a5
Various patches to PCVS task:
More robust parser that allows for platform independant paths.
Support for UNC names and a new updateonly attribute.
Submitted by: Thomas Christensen <tchristensen@nordija.com>
Don Jeffery <donj@apogeenet.com>
Fix for problematic file names
Submitted by: ScottCarlson@email.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269342 13f79535-47bb-0310-9956-ffa450edef68
24 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
24 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
24 years ago
Stefan Bodewig
9f4642716c
Assorted patches:
(1) make Ant JDK 1.4 aware
(2) improved <style> debugging
(3) bring DesirableFilter in line with defualt excludes
(4) use correct URL syntax in <get>'s unit test
(5) improve JavaDoc comments in Path.java
(6) description for test target in Ant's build file
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269014 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
Diane Holt
b482bf23bd
Backed out previous change that added a "dir" attribute, as this caused
backwards-compatibility issues. Added a "type" attribute instead, which
works with the "file" attribute to specify either a file or a directory.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268997 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
981af7b3bc
Added some comments, so one knows which entry in the buildfile belongs
to which test-method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268991 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
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
b00156338d
Pvcs test buildfile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268726 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
Conor MacNeill
a04d664714
Make antlr test file a little better, but it still fails to pass its
junit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268582 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
Peter Donald
b88306484d
Add ignores so cvs update output cleaner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268412 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c007edc9da
Make testcases work again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268369 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
Peter Donald
767f4f5785
Made sure file ignored command to copy over itself.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268226 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
4fcabf3892
Adding start of copy tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268225 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
47dce162e8
Allow the user to specify a classpath to <junit> even if fork="off".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268059 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
9bab4dab1a
Class.forName("") throws an IllegalArgumentException instead of
ClassNotFoundException in JDK 1.1. Make available behavior consistent
by ignoring empty classname attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268044 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