Submitted by: alan@coldsmoke.com (Alan Arvesen), greg_fenton@yahoo.com (Greg Fenton)
Reviewed by: Steve Loughran
Fixed the 4NT test as suggested, tested it by running the batch file without echoes. 4NT 4.00A actually works properly without the fix, because it understands NT CMD shell variables better. This fix should support earlier versions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270057 13f79535-47bb-0310-9956-ffa450edef68
timeout occurs.
Submitted by: Denis Hennessy <denis@network365.com>
As a side effect, <condition> gains two new conditions. This also
means we now have a way to check whether we are on a networked system
and run/omit testcases that require network to be established based on
such a condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270050 13f79535-47bb-0310-9956-ffa450edef68
Change baseclass paramater to rootclass and make it use dot notation for
the classname rather than making it a file.
Also allow multiple nested <root> elements to define more than one root
class
Example:
<classfileset dir="build/classes" id="classes">
<root classname="org.apache.tools.ant.Main"/>
<root classname="org.apache.tools.ant.taskdefs.optional.ejb.EjbJar"/>
</classfileset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270045 13f79535-47bb-0310-9956-ffa450edef68
resolveFile magic unless a filepaths has been specified.
Note that I've rewritten the checkFile() method in the filepath case
to match the comment in the sources (at least I think so).
Actually, I think we are generating too many passed checks, especially
with simple name specified == parent of parent dir + name but this is
a different issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270041 13f79535-47bb-0310-9956-ffa450edef68
I've decoupled the handler for this from failonerror to maximise backwards compatibility, there is now a failIfExecuteFails flag, set to true by default.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270036 13f79535-47bb-0310-9956-ffa450edef68
PR 4345 :Request for addition of "rcproperty" attribute to <exec>
The property is called resultproperty; implements immutability in some code that should be replaced by a standalone method in Project.
Documentation still TBD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270032 13f79535-47bb-0310-9956-ffa450edef68
with a <fileset> (oops). Changed passed-in file to be a string, so it
doesn't end up becoming a full-pathname prepended with the base dir,
which wasn't really needed and was complicating using it when a filepath
was specified. Also fixed some of the logging. (Also, hopefully the Java
is a bit better this time :)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270028 13f79535-47bb-0310-9956-ffa450edef68
transformer.setOutputProperty(OutputKeys.METHOD, type);
Background/rationalle: I'm looking into spliting Gumps gen.bat and gen.sh
scripts into a minimal bootstrap and a normal Ant "build.xml". In order
to achieve this, I need access to the functionallity that Xalan supports
from the command line via the -text parameter.
I've provided an implementation to seed the discussion on how this should
be supported. I am by no means wedded to this approach - if others see a
better way, either let me know or directly make the change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270023 13f79535-47bb-0310-9956-ffa450edef68
The reason for this is that the Xalan1 team is strongly considering
removing Xalan1Compat from cvs...
No logic changes were made in this commit...classes were merely split out
into separate files, and the instance of Xalan1Executor is now created
using reflection APIs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270007 13f79535-47bb-0310-9956-ffa450edef68
At the moment it handles the following tasks:
apply, javadoc2, deltree, copydir, copyfile, rename.
Alternatively it handles the deprecation of the attributes jarfile and zipfile of jar
and zip tasks that will be deprecated starting from Ant 1.5
As suggested by Jose Alberto Fernandez <j_a_fernandez@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269993 13f79535-47bb-0310-9956-ffa450edef68
previously added to Untar, Unjar, Unwar and Unzip, so that these tasks stay
focussed on unarchival and nothing but it.
2. If the Src attribute represents a directory, an exception is thrown, as Stefan
suggested. Nested Filesets to be used instead.
3. Testcase added to catch this exception.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269985 13f79535-47bb-0310-9956-ffa450edef68
2. Added 2 new attributes to these tasks - outfile and verbose
3. Nested Patternsets can be used to specify what files are to be extracted from within the archive.
4. Nested Filesets can be specified to select previously archived files for unarchival (PR: 3074)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269973 13f79535-47bb-0310-9956-ffa450edef68