This is the mail archive of the
mailing list for the Mauve project.
Re: new Harness with compilation capabilities (FIX inline)
I have a fix for this issue ... but our servers are being funny and I
cannot do a CVS diff right now ... but for some reason I can send email.
If you want to fix it temporarily until I can commit a patch, in the
file Harness.java replace the getClasspathInstallString() method with
* Get the bootclasspath from the configuration so it can be added
* to the string passed to the compiler.
* @return the bootclasspath for the compiler, in String format
private static String getClasspathInstallString()
String temp = classpathInstallDir;
if (temp == null)
temp = config.cpInstallDir;
temp = " -bootclasspath " + temp;
temp += File.separator;
temp += "share" + File.separator + "classpath";
File f = new File (temp.substring(16) + File.separator +
temp += File.separator + "glibj.zip";
This method adds "glibj.zip" onto the end of the bootclasspath. That
wasn't necessary on my machine because I build with Eclipse and had the
unpacked directories in there, so I overlooked it. My apologies.
On Tue, 2006-04-25 at 11:58 -0400, Anthony Balkissoon wrote:
> I will look into this right away.
> On Tue, 2006-04-25 at 13:20 +0100, Gary Benson wrote:
> > Anthony Balkissoon wrote:
> > > This new version of the Harness has auto-compilation capabilities
> > > and also fixes a lot of bugs and performance issues that were
> > > present in the last one.
> > This looks really nice, but I can't get it to run. I've applied the
> > attached patch to make it build with 1.4 and I'm doing:
> > ./configure --enable-auto-compile \
> > --with-classpath-install-dir=/home/users/gary/work/classpath/install \
> > --with-vm=jamvm
> > I then do:
> > CLASSPATH=`pwd` make
> > (For some reason it doesn't find config.java without the extra bit).
> > When I go to run some tests ecj is being invoked with -bootclasspath
> > /home/users/gary/work/classpath/install/share/classpath and that
> > directory contains the following:
> > examples/ glibj.zip README tools/ tools.zip
> > Am I building Classpath in some wierd way?
> > Cheers,
> > Gary