db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
Date Wed, 30 Jun 2010 13:51:50 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kristian Waagan updated DERBY-4694:

    Attachment: derby-4694-2a-debugging.diff

Hi Kathey,

The patch was invalid, I had by mistake issued "svndiff" instead of "svn diff" to generate
the patch. The former generates terminal control characters (and was piped through less...)
Sorry for the hassle, I uploaded a new patch.

The layout on your Mac looks like expected (but not exactly intuitive!).
If you revert back to before patch 1a went in, your build will probably fail as it did for
Brett because 1.4 and 1.5 are symlinked to 1.6.
I do not yet understand why PropertySetter fails to pick up the JDK in 1.6.0 on your machine.
It worked on my Mac Mini and on Rick's laptop, but those OS X installations were not brand
new. Hopefully the verbose debugging info can tell us where things go wrong.

> Build breaks on Mac OS X due to JDK classpath issues
> ----------------------------------------------------
>                 Key: DERBY-4694
>                 URL: https://issues.apache.org/jira/browse/DERBY-4694
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions:
>         Environment: Mac OS X JDK 1.6
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For:
>         Attachments: derby-4694-1a.diff, derby-4694-2a-debugging.diff, derby-4694-2a-debugging.diff
> The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6  compile classpath
for JDK 1.4.
> A quick look indicates that PropertySetter is only using defaults when configuring the
classpaths, and this fails when OS X (?) creates symlinks 1.4 -> 1.6 and 1.5 -> 1.6.
> We should  investigate whether the current JAR inspection logic works on OS X with Apple
JDKs as well (it is currently used for Sun and IBM JDKs, as well as for other / unknown JDKs).
> Issue was reported on derby-dev (see http://db.markmail.org/thread/wqe73b27rknuezm7 ).
> See also this thread for a related issue that may affect OS X: http://markmail.org/thread/7w24qwmvgxfctndi

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message