Antoine Levy-Lambert
aaa422b004
ant.bat exit strategy improvements and issues, Bugzilla 41039, patch supplied by Mark DeLaFranier
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1024417 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Antoine Levy-Lambert
0bd1b3f1da
fix for Bug 48876, ANT_CMD_LINE_ARGS are rippling through lower level Ant usage
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@921184 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
c16ac4046a
fix for bug 48186 ant.bat file ignores -noclasspath if it is the first parameter supplied by Ken Southerland.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@903337 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
5edb2be598
Syntax error. PR 47911
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@819556 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
6e51529a56
ant.bat now looks in %USERPROFILE% and %HOMEDRIVE%%HOMEPATH% in addition to
%HOME% for pre/post batch files. Bugzilla report 39298.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454805 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
8c784483b5
support %HOMEDRIVE%%HOMEPATH% on XP. Bugzilla 39298.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454794 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
a1a3ac5d3d
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439448 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
8ceb9e7020
strip trailing backslashes from ANT_HOME, CLASSPATH, JIKESPATH. PR# 39300.
fix reversed gotos bypassing run-with-classpath options. PR# 39475.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@399386 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
41a3cbc6ad
Patch for PR28914 / similar (maybe even identical) to the proposed patch of Benjamin Burgess
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@385653 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
9503e68fba
bug ID 32069: resetting an undefined env variable changes the errorlevel.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@382808 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
596831cb7f
Fix for Bugzilla 13655. Thanks to Simon Law. Proper return code for ant.bat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@354209 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
dd6f6417d1
ant.bat was missing runAntNoClasspath label for goto
PR: 34510
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278146 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
d84de6b846
-noclasspath option
Added -noclasspath option to allow running ant WITHOUT using CLASSPATH env
variable. Modified ant.bat to do this so that %CLASSPATH% is not looked at.
Modified build.sh and build.bat to use the option.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276912 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
543344b839
add a -cp option to Launcher.java to cause it to
treat CLASSPATH different from -lib options.
PR: 28046
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276820 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
d7858c284e
Wrapper scripts did not detect WINNT value of dynamic OS environment
variable when logged into workstations using Novell authentication.
PR: 30366
Obtained from: Dave Brondsema
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276732 13f79535-47bb-0310-9956-ffa450edef68
21 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Conor MacNeill
8a40113487
Further tuning of the build scripts. The bootstrap now goes into
the bootstrap directory to minimise interference with the CVS lib
directory.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268545 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
8911539f3b
Allow ant to handle parameters with spaces under Win systems
I added a few other things to Bill's patch, such as setlocal and
endlocal calls.
Submitted by: Bill Burton [billb@progress.com ]
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268527 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
9ef45a287d
removed debug echoing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268512 13f79535-47bb-0310-9956-ffa450edef68
25 years ago