Have you checked out the classlib page here: http://incubator.apache.org/harmony/subcomponents/classlibrary/index.html
There is an article about building the classlib and another about doing development with Eclipse. I personally don't do development on a Linux distro, 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. As for running the build, I believe the best practice is to be in the classlib root folder (the relative sub folders will be 'make', 'modules', 'native-src' and others) and run "ant -f make/build.xml". Then, if you want to run all of the tests try "ant -f make/build.xml test". Make sure you have everything from the 'classlib' trunk checked out; see the 'building' document for the exact SVN path. Another source for information is the Wiki (http://wiki.apache.org/harmony/FrontPage). -Nathan > -----Original Message----- > 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 > > **************************************** > The line 121 in the error above is this: > > **************************************** > dir="${target.platform}"> > **************************************** > in the block: > **************************************** > <!-- ================================= > target: make-clean > ================================= --> > <target name="make-clean" depends="properties"> > <exec failonerror="true" > executable="${make.command}" > dir="${target.platform}"> > <arg line="clean" /> > </exec> > > </target> > > **************************************** > > Can someone please point me what is the obvious-wrong I am doing? > Should I use Sun / Bea java for the build? And can I do development for > Harmony using some IDE like IntelliJ IDEA? And Should I not run the > default > ant target if I am just going to do java work? > > -- > Thanks and best regards, > Anoop --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
