Dumb Question...Is the problem because we can't find out what the
bootclasspath in current VM is? How about this let's check
System.getProperty("sun.boot.class.path") and see if it is empty and
take a decision based on that? if that is NOT empty and compiler is
JIKES then use "-bootclasspath" command line. In xalan's case, we need
to add the other jars that needs to be in bootclasspath.

thanks,
dims


On Fri, 10 Dec 2004 12:22:12 +0100, Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> On Wed, 8 Dec 2004, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> 
> > Can we please fix ant?
> 
> I can't ATM, since I'm with a customer and without SSH/CVS access.
> 
> > http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java?annotate=1.22.2.6
> >
> > "-bootclasspath" seems to have been added a while back in jikes.
> 
> Won't be enough, probably, since we wouldn't pass the bootclasspath of
> the current VM to Jikes at all, even if we supported -bootclasspath.
> 
> This is true for all compiles that don't happen in the same VM as Ant,
> i.e. it applies to forked javac or running gcj as well.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to