harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <ndbe...@apache.org>
Subject Re: svn commit: r544529 - in /harmony/enhanced/buildtest/branches/2.0: buildtest.bat buildtest.sh
Date Fri, 08 Jun 2007 23:44:46 GMT
On 6/7/07, Alexander Kleymenov <kleymenov@gmail.com> wrote:
> On 6/7/07, Nathan Beyer <ndbeyer@apache.org> wrote:
> > Okay, I see the difference. Wouldn't the '%~dp0' expansion be the most
> > flexible? It would allow proper setup if executed in a different
> > folder?
>
> I've no objection against ~dp (+1).
> But to be more correct here, we should place this path not into
> CLASSPATH, but into PATCHED_ANT_CLASSES and append it to ant launcher
> by means of -lib option.

So, if we do this, then we can remove setting the CLASSPATH in
environment altogether? This seems cleaner and less like magic, which
is always good.

-Nathan
>
> > Why does the current directory (".") need to be in the classpath?
> > I couldn't figure out what's being placed in there.
>
> Some child java processes are launched without -classpath option and
> expect the classes in their cwd (default JVM behaviour). This dot in
> CLASSPATH satisfies these expectations. If we will run ant without
> changes in CLASSPATH this dot won't be needed (as and "SET CLASSPATH"
> itself).
>
> Thanks,
> Alexander
>

Mime
View raw message