(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
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
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
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
fileset element of Path to fake extdirs for Jikes.
This should change:
(1) It will scan for all files not only .JAR files in the extdirs
specified. Javac ignores the extension as well.
(2) If no extdirs have been specified, the system property
java.ext.dirs is consulted.
(3) JikesOutputParser has been removed, instead the return code of
jikes determines compilation failures. Expected to behave the same as
before - suggested by Matt Foemmel <mpfoemme@ThoughtWorks.com>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267893 13f79535-47bb-0310-9956-ffa450edef68
This means you can now add somedir/*.jar to the CLASSPATH by
<classpath>
<fileset dir="somedir">
<include name="**/*.jar" />
</fileset>
</classpath>
and probably adjust the pattern if you don't want to recurse the tree.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267864 13f79535-47bb-0310-9956-ffa450edef68
This new framework should ease development of tasks that need to
execute external processes.
<exec> now invokes ExecTask, a reimplementation of Exec that uses the
new framework but has some additional features.
Submitted by: Thomas Hass <thomas.haas@softwired-inc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267799 13f79535-47bb-0310-9956-ffa450edef68
I've added some minor modifications to his class
* Added a String constructor to make it usable as an attribute
* renamed the nested element from element to pathelement
* Used Conor's PathTokenizer to split the path into parts.
The Java task has been modified to use this class both for the
classpath attribute as well as for an nested classpath element -
documentation will follow.
See the runtests target in build.xml for an example of its usage.
Submitted by: Thomas Haas <thomas.haas@softwired-inc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267778 13f79535-47bb-0310-9956-ffa450edef68