db-derby-dev mailing list archives

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

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

Kathey Marsden commented on DERBY-4694:
---------------------------------------

Unfortunately, I seem to be having some trouble applying the patch which seemed to be saved
with some garbage on my machine.   Probably more mac newbiness.   I will work on that this
evening after i get back from the office.  Below are some of the ls's.  I don't know what
the A business is. There seem to be real files under there, not just links.


Katherine-Marsdens-iMac:trunk kmarsden$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions
total 64
lrwxr-xr-x  1 root  wheel    5 Jun 20 08:54 1.3 -> 1.3.1
drwxr-xr-x  3 root  wheel  102 May 28  2009 1.3.1
lrwxr-xr-x  1 root  wheel   10 Jun 20 08:54 1.4 -> CurrentJDK
lrwxr-xr-x  1 root  wheel   10 Jun 20 08:54 1.4.2 -> CurrentJDK
lrwxr-xr-x  1 root  wheel   10 Jun 20 08:54 1.5 -> CurrentJDK
lrwxr-xr-x  1 root  wheel   10 Jun 20 08:54 1.5.0 -> CurrentJDK
lrwxr-xr-x  1 root  wheel    5 Jun 20 08:54 1.6 -> 1.6.0
drwxr-xr-x  7 root  wheel  238 Nov 19  2009 1.6.0
drwxr-xr-x  8 root  wheel  272 Jun 20 08:57 A
lrwxr-xr-x  1 root  wheel    1 Jun 20 08:54 Current -> A
lrwxr-xr-x  1 root  wheel    3 Jun 20 08:54 CurrentJDK -> 1.6

Katherine-Marsdens-iMac:patches kmarsden$ ls -l  /System/Library/Frameworks/JavaVM.framework/Versions/A
total 160
lrwxr-xr-x   1 root  wheel      28 Jun 20 08:54 CodeResources -> _CodeSignature/CodeResources
drwxr-xr-x  42 root  wheel    1428 Jun 20 08:57 Commands
drwxr-xr-x   4 root  wheel     136 May 18  2009 Frameworks
-rwxr-xr-x   1 root  wheel  209888 May  6 22:20 JavaVM
drwxr-xr-x  32 root  wheel    1088 Jun 20 08:57 Resources
drwxr-xr-x   3 root  wheel     102 Jun 20 08:57 _CodeSignature


rwxr-xr-x  1 root  wheel  74 Jun 20 08:54 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

Katherine-Marsdens-iMac:patches kmarsden$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
-rwxr-xr-x  1 root  wheel  72928 Apr 23 09:15 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java



> 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: 10.7.0.0
>         Environment: Mac OS X JDK 1.6
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.7.0.0
>
>         Attachments: derby-4694-1a.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.


Mime
View raw message