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] Commented: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
Date Fri, 02 Jul 2010 15:00:51 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884706#action_12884706

Kristian Waagan commented on DERBY-4694:

Thanks Kathey,

Seems your JDK installation doesn't have the "Headers" directory. I have no idea why... Note
that the JDK 1.6 installation is first detected through the 1.4 symlink (which is fine).
There are basically only two options:
 a) the verification criteria are too strict (i.e. we can remove Headers from the list of
required directories)
 b) your JDK installation is damaged

I don't have a formal description of how an Apple JDK should look like, I based my list on
existing installations.
Can you post the directory structure of your JDK 1.6 installation?
It would be nice if someone else with a recently new Mac could confirm these findings, but
if we don't get any feedback I suggest we go for option (a).

Kathey, if you set 'j16lib' (~/ant.properties or ./local.properties) explicitly, can you build

> 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: antPrintCompilerPropertiesVerbose.txt, antwithpatch_diff.txt, derby-4694-1a.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