2006/5/30, Nathan Beyer <[EMAIL PROTECTED]>:
but based on the missing tools.jar error, I would suggest getting either the Sun or BEA JDK (the JRE isn't enough) for Linux to run Ant with for the build.
This warning simply means that ant can not find tools.jar which contains javac by default. But you can use any java compiler you like. Eclipse compiler for example. Please refer ant documentation: http://ant.apache.org/manual/CoreTasks/javac.html So you do not really need SUN or BEA JDK to build Harmony.
As for running the build, I believe the best practice is to be in the classlib root folder
Harmony build works OK from make directory.
> From: Anoop kumar V [mailto:[EMAIL PROTECTED] > Sent: Monday, May 29, 2006 9:37 PM > To: [email protected] > Subject: Ant build | IOException > > Hi, > > I am a n00b wanting to contribute to Harmony. > > All I have done so far (code-wise) is checkout the harmony code (revision > 410710) from svn and run ant from ~/Harmony/make folder. > > But I am running into errors: > I am using GCJ on Ubuntu5.10. > **************************************** > [EMAIL PROTECTED]:~/Harmony/make$ ant > Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java- > 1.4.2-gcj-4.0-1.4.2.0/lib/tools.jar > Buildfile: build.xml > > clean: > > clean-bin: > [delete] /home/anoop/Harmony/build not found. > > clean: > > clean-layout: > [delete] /home/anoop/Harmony/deploy not found. > > clean: > > init: > > windows-properties: > > linux-properties: > > properties: > > clean-overlay-oss: > > make-clean: > > BUILD FAILED > /home/anoop/Harmony/make/build.xml:76: The following error occurred while > executing this line: > /home/anoop/Harmony/native-src/build.xml:121: Execute failed: > java.io.IOException: java.io.IOException: No such file or directory
Try to use ant -verbose. It will help to understand which exact command ant is trying to run. -- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
