Conor MacNeill
7ddc352a56
Use language neutral variable, %ProgramFiles%, to locate Program Files dir
PR: 17308
Submitted by: Dennis M�ller
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274802 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
2b3ae7a244
Remove warning about JAVA_HOME as it isn't required anymore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274801 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
453d5532fa
Make launcher work on Win2K
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274799 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
d1c81b1a62
Rollback - not tested yet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274795 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
fb9fb495e7
Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274794 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
f3939727d9
Refactor some code into the Launcher.
Update ant script to use new launcher.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274793 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
078e8aaeaa
Improve OS/2 support:
* Apparently the vmlauncher in OS/2's JDK 1.3 doesn't work properly,
disable it.
* Add REXX scripts to run Ant.
* Add OS/2 specific notes to the docs.
Submitted by: Zdenek Wagner <wagner at cesnet dot cz>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274507 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
dbb7a9ccfb
One ANT_OPTS should be enough
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274349 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5af1ce76d2
Make wrapper script work if ant is a relative symlink and ANT_HOME
isn't set.
PR: 17721
Submitted by: Martin Frost <martin at macrospace dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274318 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8eb5f371e2
Make JIKESPATH construction on Mac OS X take JAVA_HOME into account.
This won't change anything if the user doesn't set JAVA_HOME.
PR: 17458
Submitted by: Dwayne Schultz <dwayne at schultz dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274202 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
db007c442e
Remove incorrect --path arguments to cygpath
PR: 17212
Submitted by: Shankar Unni
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274164 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
371863034c
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274151 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
b8ba224581
Merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274144 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0a382d41fa
Handle spaces in JAVA_HOME
PR: 15351
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274095 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
aaffd607a9
Minor tweak to which usage
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273955 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
cfdc772479
Add info about JAVA_HOME possibly being set but not exported
PR: 14181
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273954 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
f0de7d0c4b
Allow JAVA_HOME to be unset by finding java if it is in the path.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273953 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
cc402c7558
Fix ant.bat for Win95/98/ME users - check for existence of ant.jar
PR: 13582
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273951 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
ade88beec3
Quick, before Stefan finds out ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273877 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
bb9355b33d
Move ANT_OPTS to front of Java command line to supprot JDKs with position
sensitive command line options
PR: 16260
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273876 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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