Hi Nathan,

[EMAIL PROTECTED] wrote on 07/24/2008 10:04:38 PM:

> On Thu, Jul 24, 2008 at 8:52 PM, Michael Glavassevich
<[EMAIL PROTECTED]
> > wrote:
> Hi Nathan,
>
> [EMAIL PROTECTED] wrote on 07/23/2008 10:34:54 PM:
>
>
> > I'm attempting to run the build scripts with Harmony. What's the
> > expected building convention? What JDK is normally used, is the
> > build.bat/sh script used, or is Ant invoked directly?
>
>
> build.bat/sh is used when building the official releases. Ant gets
> invoked directly for the Gump builds and when I'm working in Eclipse
> I usually invoke it directly too.
>
>
> > What version of Ant is known to work.

> Should work with Ant 1.6.5 and above though might work with earlier
> versions. I upgraded the copy in the repository from 1.6.5 to 1.7.l
recently.
>
>
> > In looking at the build.bat script, it seems like it won't work for
> > Sun's JDK 6, as there isn't a 'classes.zip' in the JDK_HOME/lib folder.

> I recall 'classes.zip' being in earlier JDKs. 1.2 perhaps. If it no
> longer exists in recent JDKs it will be ignored.
>
> I've tested it with Sun JDK 6 before. It should still work.
>
> A better question would be - what's the intent of the classpath
> that's assembled in this script? Is it to just get the additional
> libraries available for Ant? It's not for properly setting up the
> build classpath, correct? That's taken care of in the custom compiler
task.

It's just for setting up the invocation of Ant. It points to the copy of
Ant included with Xerces. A user only needs to set JAVA_HOME in order to
use the scripts.

The classpath for compilation is defined in build.xml and also managed by
the custom Javac task.

> -Nathan
>
> > -Nathan
>
> Thanks.
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: [EMAIL PROTECTED]
> E-mail: [EMAIL PROTECTED]

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

Reply via email to