[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems compiling CVS ozone under Windows
On Sat, 09 Sep 2000, Don Berendsen wrote:
> Can anyone who has compiled the current CVS version of ozone on Win98 or NT
> please provide me with some guidance or a set of scripts which worked for
> them?
>
> I've compiled ozone 0.5.5 on Win98 & NT with SUN JDK1.3 after playing with
> the scripts but am having difficulty with the version of ozone that is on
> CVS.
>
> An 'Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Main' error occurs when the line after ':runAnt' in
> Ant.bat executes.
>
> To start 'build.bat' from the ozone root directory as described in the
> Install file I had to change 'call bin/Ant.bat' to 'call bin\Ant.bat' in
> build.bat and 'call ozoneEnv.bat' to 'call bin\ozoneEnv.bat' in Ant.bat. I
> made no other changes.
>
> OZONE_HOME is set 'D:\ozone' which the location of the ozone installation.
> Executing an unchanged version of 'ant.bat' from D:\ozone\bin gives the same
> error.
>
> Any help would be greatly appreciated.
I've just checked-in your patches and a small fix that adds OZONE_CLASSPATH to
the VM's CLASSPATH, which probably caused your problems. Please check it out and
thanks for the report, Don.
Falko
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com