I'm trying something else. I added Java.tools which returns the
tools.jardependency, if found, otherwise an empty dependency.

So the line now reads:
compile.with Java.tools

Let me know how it works on the Mac.

Assaf

On 3/26/07, Paul R Brown <[EMAIL PROTECTED]> wrote:


All --

There's a dependency on tools.jar in the current Rakefile, but
tools.jar doesn't really exist.  It's a figment of SUN's JDK
structure, and it's not present in Apple, IBM, or potentially other
JDKs.  As is, Ode builds via rake  on MacOS without issue if line 375
is commented out.

Implementing JDK detection magic in Ode's build file doesn't make
sense, so this is more of an enhancement suggestion for buildr.  For
the moment, wrapping it with if !PLATFORM.index('darwin') is enough
to keep me happy.

Any objections?

-- Paul




--
CTO, Intalio
http://www.intalio.com

Reply via email to