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
Antcall was broken since the ProjectComponent check is too agressive
Now only applies to data types. The Ant task is perhaps a little special
in that it returns a task for one of its nested elements.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269463 13f79535-47bb-0310-9956-ffa450edef68
It introduces the concept of a TaskContainer to allow a task to contain
other tasks. This allows Task composition
It introduces a <parallel> task for multithreading support. There is
also a <sequential> task.
It reworks System.out management to handle all task generated output
and route it through the Ant event system. This handles multithreaded
output.
This is a major rework to the patch originally submitted by Thomas. I
have taken a different route for the output management, in particular.
Based on patch by Thomas Christen <chr@active.ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269371 13f79535-47bb-0310-9956-ffa450edef68
of the current ant launcher scripts. Also allows many of the classes
necessary for Ant to be hidden from Java tasks run in VM.
Changes to the classloader to allow the parent loader to be specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269347 13f79535-47bb-0310-9956-ffa450edef68
symbolic links are present (but in a way that is probably closer to
what the user expects) and remove some problems on platforms that use
"uncommon" native file names like OS/390 or VMS.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269309 13f79535-47bb-0310-9956-ffa450edef68
detect generated files properly) - doesn't quite work ATM.
Add some extra warning and debugging info to Project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269231 13f79535-47bb-0310-9956-ffa450edef68
(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
on JDK 1.1 as well.
Added org.apache.tools.ant to the list of packages that need to be
loaded via the system class loader as the loaded class wouldn't be an
instance of Task (loaded by default loader) otherwise.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268038 13f79535-47bb-0310-9956-ffa450edef68
as well.
Added -debug and Project.MSG_DEBUG to make -verbose less verbose. Many
messages really rather belong into a DEBUG category.
Submitted by: Jason Dillon <jason@planet57.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268009 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
I've modified Glenn's initial patch to defer the copying of taskdefs
as well and save the initial p1.init call - this even makes the ant
task faster.
Should be suited for situations where a single instance of the task is
executed more than once as well.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267816 13f79535-47bb-0310-9956-ffa450edef68
I have changed the Project.translatePath method to use the PathTokenizer. This
adds support for paths of the format C:/blah. These used to translate to C;\blah
but this will now be C:\blah.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267749 13f79535-47bb-0310-9956-ffa450edef68
Javadoc now can be used with a doclet like this
<javadoc ...>
<doclet name="blah"
path="path/to/blah">
<param name="-foo" value="blah"/>
<param name="-bar" value="blahblah"/>
</doclet>
</javadoc>
param value's are just strings no path translations, etc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267747 13f79535-47bb-0310-9956-ffa450edef68
This patch removes the concept of currentTarget and currentTask from the
BuildEvents code. To facilitate this I have moved logging to the task
level which now passes a task pointer to the project's log method.
Task level logging may also allow for more fine grained control of logging
in the future.
I have left the Project's log methods public to allow people's custom
tasks to continue to work. In the future these can become private.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267740 13f79535-47bb-0310-9956-ffa450edef68