Stefan Bodewig
2a225a1ba2
More tweaks to the RPM specific section, submitted by Randy Watler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276170 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9a63708727
changes following tests under cygwin
adding a second backslash to variables terminated with a backslash to ensure
also prevent problem with evaluation of test expressions where -f is compared to something else
this error message was happening
+ [ -f = --h -o -f = --help ]
[: --h: unknown operand
+ [ -f = -h -o -f = -help ]
[: -h: unknown operand
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276072 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
74124d7525
Shebang line had been lost in the copyright update
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276058 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
be8c8a8bde
License version 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276031 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
1ba91e4855
Changes to make Ant installed in JPackage's RPM environment behave a
little bit more friendly.
* a new system property ant.lib.dir that if set will be used instead
of the location of ant-launcher.jar to slurp in the jars for Ant.
* a --noconfig switch that suppresses sourcing of additional
configuration files.
* various changes to the $rpm_mode specific parts of the file.
Submitted by: Randy Watler <rwatler at finali dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276021 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
8942302ce8
first test to move to the Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276005 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
99ac2c7d14
Remove badly placed quotes, Submitted by Knut Wannheden
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275637 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f14808b93c
Remove last-modified line
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275527 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3e4dcc0c43
merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275404 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d3122c5681
change in runant.py to work with new Launcher
Submitted by: Knut Wannheden <knut dot wannheden at paranor dot ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275344 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
c12912c52b
merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275330 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
24a5f03a90
adding a new supported command line argument -lib
this command line argument is eaten by Launcher
shell scripts reworked to pass the classpath in the right location
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275286 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
446a11fca8
Add cygwin support in runant.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275161 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ef842caeee
Sync runant.pl with the other scripts to use new Launcher
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275160 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d18b0ee1d9
Add Copyright lines, PR 22807
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275158 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
792476f03b
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275136 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d85bd5cccf
make the script to start ant from python use the new launcher
Submitted by: Knut Wannheden (knut dot wannheden at paranor dot ch)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275131 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
23 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
23 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