ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis N. Antonioli <antoni...@ifi.unizh.ch>
Subject Re: [PATCH] Bug 5178: ant's shell script doesn't grok space(s) in path!
Date Fri, 30 Nov 2001 08:12:39 GMT
On Vendredi, novembre 30, 2001, at 01:49 , Tim Vernum wrote:

> From: Denis N. Antonioli [mailto:antonioli@ifi.unizh.ch]
>
>> This patch fixes bug 5178. it has been tested on MacOSX and cygwin.
>
> I believe your patch will break the script when the lib directory is 
> empty.


I tested (macos x, tcsh) following configurations:

$ANT_HOME/bin/ant
-> ant runs

mv $ANT_HOME/lib $ANT_HOME/old.lib
LOCALCLASSPATH, CLASSPATH empty
$ANT_HOME/bin/ant
-> Exception in thread "main" java.lang.NoClassDefFoundError

setenv LOCALCLASSPATH $ANT_HOME/old.lib/ant.jar
$ANT_HOME/bin/ant
-> ant runs

mkdir $ANT_HOME/lib
$ANT_HOME/bin/ant
-> ant runs


What other tests should I perform?


> (BTW: Is there a reason why you decided to remove the '{' '}' around 
> the variables?)

Well, the braces are optional in most of the cases... but no, there is 
no reason here.

	dna

--
Die Philosopher haben die Welt nur verschieden interpretiert,
es kommt aber darauf an, sie zu verändern.
   -- K. Marx, 11. Feuerbachthese


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message