You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Dominique Devienne <DD...@lgc.com> on 2004/01/16 22:02:43 UTC
Launcher issues
FWIW, I've had at least 5 users having problems with the new Ant 1.6
launcher because they had unexpanded environment variables in their
CLASSPATH. I can almost trace adoption of Ant 1.6 in this company just by
questions about the IllegalArgumentException they're all getting. I suspect
this is not the last we here of this. --DD
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: Launcher issues
Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
Dominique Devienne wrote:
>FWIW, I've had at least 5 users having problems with the new Ant 1.6
>launcher because they had unexpanded environment variables in their
>CLASSPATH. I can almost trace adoption of Ant 1.6 in this company just by
>questions about the IllegalArgumentException they're all getting. I suspect
>this is not the last we here of this. --DD
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>
Hi Dominique,
I do not understand this issue of unexpanded environment variable in
one's CLASSPATH.
How do your colleagues set their CLASSPATH ?
Are they working under Windows or UNIX ?
For me, whatever the operating system, if your profile says :
export
CLASSPATH=$APPLICATIONA_HOME/classes:$APPLICATIONB_HOME/classes:$APPLICATIONC_HOME/first_jar
or the equivalent under your operating system, by the time the CLASSPATH
environment variable reaches an application it is already expanded.
I do not set CLASSPATH under Windows, but I set PATH with the system
applet of the control panel. I set PATH to be
%ANT_HOME%\bin;%JAVA_HOME%\bin ...
but when I open a shell window, the PATH is already expanded.
How do your colleagues start ant :
- do they start one of the supplied scripts (ant.bat or ant for Unix),
- or do they start ant through an IDE, or somehow through API calls
- or do they start somehow java org.apache.tools.ant ... from the
command line ?
Antoine
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
RE: Launcher issues
Posted by Conor MacNeill <co...@thecortex.net>.
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
>
> FWIW, I've had at least 5 users having problems with the new Ant 1.6
> launcher because they had unexpanded environment variables in their
> CLASSPATH. I can almost trace adoption of Ant 1.6 in this company just by
> questions about the IllegalArgumentException they're all getting.
> I suspect
> this is not the last we here of this. --DD
>
Dominique,
Having unexpanded environment variables in the classpath was not something I
had considered. I'll have a look at how this could be handled. Interestingly
this should indicate to the users some other problem in their classpath
setup which they may have been unaware of :-)
Conor
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org