Stefan Bodewig
e758ff801e
re-add support for JAVACMD environment variable to ant.bat which has
been lost in revision 1.19 of that file.
Reported by: Shorn Tolley <shorntolley at yahoo.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273459 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
47ac198ecb
Handle correctly the classpath if multiple jars are passed as arguments.
; is the right path separator.
PR: 13905
Reported by: vishy@borland.com (Vishy Kasar)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273455 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2eeb7ab48d
re-add support for ANT_ARGS environment variable to ant.bat which has
been lost in revision 1.19 of that file.
Reported by: Paul Christmann <paul at priorartisans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273417 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c5257beb08
even more missing quotes.
Add some indentation to reduce confusion on my side 8-)
Submitted by: JonL White <jonl.white at commerceone.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273326 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
aed89f6345
Add quotes when %JAVA_HOME% contains spaces
Submitted by: Patrick Luby <patrick.luby@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273262 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
435a5672f3
More batch hacking. JAVACMD was reset each time and was jumping right off without
appending tools.jar
Reported by Brian DeWeese <brd1_reuters@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273246 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
797446cd41
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273231 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
462f94f6c2
Clean up batch scripts with simplified syntax to avoid problems with some
w2k boxes and 4nt.
PR:11478, 11250
Submitted by: Patrick Luby <patrick.luby@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273230 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2ccf9c4224
Only set jikes.class.path if JIKESPATH is defined.
Submitted by: Patrick Luby <patrick.luby@sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273210 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
03bcc3e5cb
Fix a problem with HOME containing spaces on Cygwin.
PR: 10654
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273206 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
0d370d68a7
Make <available> less noisy.
Merged from the 1.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273204 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
8d673eadc0
Submited the patch from Patrick.
1. Removes the extraneous "cd `dirname $PRG`" line that causes the
script to break when Ant is invoked with from a relative path
(i.e. ../jakarta-ant/bin/ant).
2. Properly quote all environment variables that may contain paths.
The script would break if any of these environment variables
contained paths with spaces in them (a common occurrence on Windows).
3. Invoke Java using the "exec" shell command. There really is no need
to create a child process to run the JVM and by using the "exec"
command, there is less chance that killing the script will fail to
kill Ant.
PR:
Obtained from:
Submitted by: Patrick Luby <patrick.luby@sun.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273200 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4e461155a5
More quotes.
I think it has been Diane who said we could almost put the entire
script into quotes - she's been right.
PR: 9550
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273099 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
670c32326d
Fix ANT_LIB path so that it uses a valid ANT_HOME under Cygwin..
PR: 10664
Submitted by: patdtaylor2000@yahoo.com (Patrick Taylor)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273085 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
ca91f8cb7e
Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
e0281ea5e0
Set JAVA_HOME for OS/X. (PR 8503)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272594 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9517bc1a98
Help getting the wrapper scripts that ship with Ant's "normal"
distributions and the RPMs closer to each other by (1) allowing a
system wide configuration file in /etc and (2) using some environment
variables to enable RPM specific behavior.
Submitted by: Henri GOMEZ <hgomez@slib.fr>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272589 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
d29c41d16c
Add cygpath handling of JIKESPATH (PR 6943).
Also remove superfluous if on ANT_OPTS setting.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272279 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
f563831080
Fix DIRLIBS to allow for space (iow, more quoting crud -- gack!)
(PR 5178)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272276 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1d4c24c80f
regenerate HTML version of TODO list
The usual 2002 cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272156 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
a54a5e4ca6
More quoting cruft. (Maybe we should just put the entire
script inside one giant quote! :) (PR 4340)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272142 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
b8147dc0dc
Add check for "%_JAVACMD%.exe" (PR 2484).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272127 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
3d74eb98cb
Make the return code match the naughty exit.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271592 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
83dc385bd0
Switch CLASSPATH back to Windows format in Cygwin.
Submitted by: Jeppe N. Madsen <jeppenm@worldonline.dk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271452 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3f0b522896
oh my
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270778 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
15d9753a46
Make automatic detection of ANT_HOME work if ant is a symlink to the
actual ant script using a relative path as well.
Submitted by: Leon Breedt <ljb@neverborn.ORG>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270777 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f51abba170
Add some more copyright notices.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270659 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b1aff29095
PR: 3952, 3654 : "4NT not being recognised correctly"
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
24 years ago
Peter Donald
be7ecb7732
A perl script to make it easier to get Execute to run under netware.
Submitted by: "Jeff Tulley" <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269915 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0735b01b58
Add in a completiong script for nt build files.
Submitted by: Mike Williams <mikew@cortexebusiness.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269889 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
24f9888af6
Allow ant script to gracefully handle spaces in $HOME variable
PR: 4395
Submitted by: rick_price@email.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269823 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
fe05ef0ff3
Allow for an ANT_ARGS environment variable, for setting things like
using a different logger or including the -find flag.
(runant.pl, also add a check for cygwin for path separator, fix ANT_OPTS.)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269797 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
49838c297a
OK, reverting change since it was bad and the errorlevel is being
set anyway :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269370 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
13ccc6a803
Add exit code to batch files
PR: 314
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269369 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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
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
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
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
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
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
Stefan Bodewig
1f0c45897d
sync classpath creation between Unix and Windows version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269016 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b8f7af8729
Made scripts a little more consistent, they should now work with IBM's
JDK on AIX out of the box.
Ant will now prepend CLASSPATH to the jars in ANT_HOME/lib like it
always did for Windows - if this is not the correct order, change it
here and in the batch file. We need to be consistent.
Make sure :: doesn't slip into the CLASSPATH when adding the library
jars.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269015 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Scott Stevens
af81133ecc
this makes ant work with jikes on OSX
i also generalized the case statement for figuring out the OS type
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269013 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
676859791f
Added in python style runant script
Submitted By: MOUSSAUD Beno�t <benoit.moussaud@criltelecom.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268939 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Nico Seessle
113069f80d
Bug #1138
# does not work as a comment-sign in Windows Batch-files and results in errors - changed to rem.
Reported by: craig.malone@altavista.net (Craig Malone)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268894 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
926fcdcbeb
pass through the exit value from Ant
PR: 314
Submitted by: sknippenberg@unwiredexpress.com (Sigurd Knippenberg)
Remove tabs.
Change /usr/local/bin/perl to /usr/bin/perl. All other Perl scripts on
my box assumed there was at least a symlink to Perl in /usr/bin - and
Perl recommends to put one there when you install it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268851 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
239b313fa1
Update to Jaxp 1.1
Also - handle spaces in classpaths
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268755 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
7435b27b91
Merge 1.3 branch changes into MAIN
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268691 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
10bd38594c
Made sure env vars are cleaned and CLASSPATH is not decorated with extra " characters. It is expected that if CLASSPATH is set that it is valid and thus the extra "'s are uneeded.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268570 13f79535-47bb-0310-9956-ffa450edef68
25 years ago