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
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
singleline mode.
Note 1: doStartTest1 fails with ORO 2.0 but works with 2.0.4, better
use the latest release 8-)
Note 2: doEndTest2 fails with Jakarta Regexp 1.2, I've disabled it for
the time being, but may look into it later (file a bug report,
and so on).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269821 13f79535-47bb-0310-9956-ffa450edef68
Make sure Ant normalizes whatever it takes as its basedir - since
we've dropped canonicalPath
ant -f foo.xml
and
ant -f ./foo.xml
would have given different results (the . needed to be stripped).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269522 13f79535-47bb-0310-9956-ffa450edef68
that was redundant, remove some tabs, add testcase that checks that
files don't get overwritten if they'd be identical to the new version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269474 13f79535-47bb-0310-9956-ffa450edef68
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
thus allowing for more than one file of each type.
Submitted by: Mark Womack <mwomack@bevocal.com>
Add pointer to "Directory Based Tasks" in the documentation of
patternsets where patterns are actually defined.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269419 13f79535-47bb-0310-9956-ffa450edef68
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
- 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
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
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