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've modified Matt's patch a little to kick in only if we are actually
running on Windows and want to compile a lot of files.
Unfortunately File.createTempFile is not available on JDK 1.1. I use
java.util.Random to create a hopefully unique filename for a temporary
file. Hope this works - don't have a Windows box to check.
Submitted by: mpfoemme@ThoughtWorks.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267810 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
This class loader allows a Java task to be run with a separate classpath
without requiring a new java instance to be created.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267798 13f79535-47bb-0310-9956-ffa450edef68
This is by no means a final solution, just a hack to avoid a delay of
the release.
Submitted by: Scott Sutherland <suthsc@ncs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267794 13f79535-47bb-0310-9956-ffa450edef68
This should allow the exec task to execute on Win9x. I have changed Glen's
patch to test for platfrom != NT rather than == 98 so it will
support 95.
NOTE: There is an important limitation. Only 9 arguments can be
passed to the command being exec'ed when the antRun.bat file is used. This
should only occur when the directory is not . and the platform is not NT.
This was the original reason this was changed (and antRun.bat) deleted.
Submitted by: Glen Stampoultzis <trinexus@one.net.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267789 13f79535-47bb-0310-9956-ffa450edef68
1. handle package statements that use tabs.
2. Fix minor bug in comment parsing.
The parsing bug was pointed out by Johan Granstrom <johan.granstrom@itec.se> but
I have not used his patch directly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267787 13f79535-47bb-0310-9956-ffa450edef68
Allow the bootclasspath attribute to be used for a Jikes compile.
it is currently ignored if build.compiler == jikes.
Submitted by: Phil Hanna <author@philhanna.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267786 13f79535-47bb-0310-9956-ffa450edef68
server but it is envisaged that it can be expanded to cover other app
servers.
Note that to build this task you need to define the property ejb.build.
You can do that with
ant -Dejb.build=1
Submitted by: Tim Fennell <TFennell@sapient.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267785 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
This is the update for the Unix based build scripts. The changes are the
following
Automatic bootstrapping if lib/ant.jar is mising or the bin files
are not present
Removed inclusion of the $HOME/.antrc in the bootstrap.sh although
it is still used in the ant shell script.
Lined up Windows and Unix scripts, including echo statements so it is easier
to make changes affecting both envionments in the future.
Added chmod calls to the install targets so the ant shell scripts are
executable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267777 13f79535-47bb-0310-9956-ffa450edef68
Change so that
build.bat is used just to build ant itself.
ant.bat should be used to run ant for other projects.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267770 13f79535-47bb-0310-9956-ffa450edef68