Conor MacNeill
e49a5fb564
Use /nul when checkign for the existence of directories on Windows
(Although it doesn't work if the directory name is quoted - woohoo)
Check for Ant in C:\Ant for Windows 9X users
PR: 2101
Based on suggestion by eswierk@cs.stanford.edu (Ed Swierk)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269331 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
eefa2aba55
Make <apply> work really parallel and not parallel on a per fileset basis.
PR: 1763
Merge <apply> and <execon> into a single task (and keep Transform as
an empty class for backwards compatibility at the source level).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269330 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9ff2d6a1ab
Set level back to verbose - messages are too annoying as it is common
to attempt to load property files which don't exist - there for optional
override of properties.
PR: 1451
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269329 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c9affb12a2
Just find directory above script home rather than removing bin dirs which
may take out more than was intended
PR: 2082
Submitted by: Daniel.Barclay@digitalfocus.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269328 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f3d84272e2
update attribute of zip had the wrong default value (my fault).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269327 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5bb077f598
make <uptodate> search for target files in the same directory as
source files
Submitted by: Gunnlaugur Thor Briem <gthb@dimon.is>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269326 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ec2d68aa71
update attribute for <zip> and friends - update archive instead of
creating a new one.
PR: 163
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269325 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e5fcb12320
New filesonly attribute for <zip> and friends - suppresses directories.
PR: 2053
Submitted by: Peter Janes <peterj@liberate.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269324 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
30b8b73ffa
<junit> will now try to include the task-definition itself as well as
the needed support classes (Ant and JUnit itself) in the classpath if
running in forked mode - this means that you shouldn't have to use
different classpath elements for "in VM" and "fork" mode any longer.
Doesn't work for JDK 1.1 as the URL returned by Class.getResource
doesn't contain the name of the JAR file there.
PR: 1239
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269323 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
80c2ad3101
Again forgot to save some files, argh.
Part two of the mimemail task patch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269322 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
891ef62c7b
New task mimemail - this task requires JavaMail (and JAF) that's why
it is optional and doesn't replace the existing mail task. The main
improvement is that it supports attachments you can specify via a
fileset.
Submitted by: Glenn Twiggs <glenn_twiggs@bmc.com>
Steve Loughran <steve_l@iseran.com>
Erik Hatcher <erik@hatcher.net>
Paulo Gaspar <paulo.gaspar@krankikom.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269321 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
440e7a9014
Changed the logging level of invalid property files to warning
PR: 1451
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269319 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8726d0dc58
testcase for JUnitTestRunner.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269317 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
07736d7ee1
help the garbage collector by cleaning out references in
AntClassLoader and IntrospectionHelper after the build has finished.
This helps applications that run Ant in the same VM over and over
again like CruiseControl or wrappers that run Ant in incremental mode.
PR: 2568
Submitted by: robert.watkins@qsipayments.com (Robert Watkins)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269316 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ef2c9e1a3c
Make bootstrap process for JDK < 1.3 on Unix work again (bootstrap
uses the <chmod> task to make antRun executable which in turn needs an
executable antRun script ...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269315 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
230952c5a8
Log properties for JUnit tests.
Submitted by: Erik Hatcher <erik@hatcher.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4624d76d04
Give a different message if a test fails due to timeout.
Submitted by: Julian M. Savage <jsavage@fisci.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269313 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c51d45fd2c
support java.util.regex package of JDK 1.4 in regexp mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269311 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8339c7f3e8
Add debug information to the getResource methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269310 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cf3d817333
Stop using canonical paths. This will change the behavior of Ant when
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
24 years ago
Conor MacNeill
04c15d05cf
CHange most usage of the classloader so that it loads from the
system classpath first.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
glennm
b1c37b60a6
Test for the 4NT shell, which requires a
different method of slurping command line
args than cmd.exe.
Submitted by: Jim Anderson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269307 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
5826ef1968
Interim fix for Gump failure to build FOP. IN Gump's mode of operations
ensures the system loader is always used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269304 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
21a88b996a
If the package list cannot be found, the offline links are
skipped - a message is printed at verbose level
PR:` 1304
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269293 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
67252b80d7
Handle spaces in JikesPath.
Add warning not to use Longfilenames for ANT_HOME on Win9X
PR: 1957
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269292 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2cd414161e
Add noEJBC attribute to <ejbjar>'s weblogic element to skip ejbc.
PR: 1654
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269291 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Nico Seessle
168f6c9ebd
Moved conversion of ANT_HOME to after the 'try to find ANT' section as suggested in Bug# 1479 by Daniel.Barclay@digitalfocus.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269290 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
757c77d1af
Another location where invalid paths can be ignored
PR: 381
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269288 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
ed46c7920d
AntClassLoader now ignores paths which are invalid relative to the
project.
PR: 381
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269287 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
54dc62a542
Remove unnecessary use of Project.resolveFile by converting arguments to
Files from Strings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269286 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9361281f36
use Execute task instead of ExecTask , no temp file are now created.
correct finding the Borland DD.
Submitted by: MOUSSAUD Benot <benoit.moussaud@criltelecom.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269285 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
e72340e0a1
Make Ant work with spaces everywhere.
PR: 562
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269284 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9de84f88c7
Add support for delimiter type. Base don the ideas contained in
the bugzilla report suggested by johan.adelow@corustechnologies.com (Johan Adelow)
PR: 273
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269283 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
30cf43949a
Only delete the target file when it is in fact a file - don't
delete directories.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269282 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
44eb536d1a
javadoc @files do not work under JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269279 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6a50cd2269
Don't try to print out result set if the execute method returns false
PR: 1727
Submitted by: Gael_Marziou@hp.com (Gael Marziou)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269278 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
53775a646a
Improve OS related messages in Exec
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269277 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6d157f462c
Add inheritAll attribute to <ant> task
Submitted by: Craeg K Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269275 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
1dfa5ca002
Add new vmlauncher attribute to exec. This defaults to true to execute
commands using the VM's capabilities, where available. If it is set to false
the underlying OS's shell will be used, either directly, or through the
antRun scripts. Allows use of some shell features (such as associating scripts
with their interpreters under Windows
PR: 413
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269273 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
fc7cfffc89
Add encoding attribute to the zip tasks and the ZipOutputStream to
make the classes flexible enough to deal with non US-ASCII filenames
either consistent with the command line ZIP tools (it has been since
it uses the org.apache classes instead of java.util.zip) or the jar
command (which it has been up to Ant 1.3).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269272 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
218ad5fc4d
Work around a feature of the system classloader in some VMs - it
drops all classpath entries that are not present at VM start time.
PR: 2412
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269271 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
efe6a8f909
some method signatures in IntrospectionHelper have changed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269270 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
glennm
84b68cc945
Provide more descriptive error messages whenunknown attributes and elements are encountered in the build file.Bugzilla: 1722
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269269 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1c03d47380
properly recurse remote directory in <ftp>
PR: 2285
Submitted by: Jean-Francois.Morneau@ift.ulaval.ca (Jean-Francois Morneau),
Roger Vaughn <rogervaughn@yahoo.com>
make sure <ftp> disconnects from the server when it's done
Submitted by: Brian Rumple <brumple@VALUBOND.COM>,
Roger Vaughn <rogervaughn@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269268 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cc432705f2
delete existing target files before copying - this avoids overwriting
symlinks and is consistent with Unix's cp(1).
PR: 624
Submitted by: ederksen@arrow.lz.att.com (Enno Derksen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269267 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a47dcdd21f
Search for the generated file in the "right" directory in <jjtree>.
PR: 1652
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269265 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6440b64b5a
Changes to rmic based on discussion with Rob van Oostrum
<rvanoostrum@ezgov.com> and Larry V. Streepy, Jr.
<streepy@healthlanguage.com> on the ant-user mailing list:
(1) don't even try to perform uptodate checks for IDL mode or when the
-always(generate) option for IIOP mode has been specified
(2) ignore -keepgenerated in IDL mode (we don't know what to keep)
(3) use the correct target file names in IIOP mode.
PR: 1625
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269263 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aca10a1d12
make pathconvert task compile in JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269262 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
da02e1b6b8
Add in EAR task to the standard task defs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269261 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
0bd5224518
Add support for getResources to the classloader
Submitted by: David A. Herman <hermand@alumni.grinnell.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269258 13f79535-47bb-0310-9956-ffa450edef68
24 years ago