[
https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886390#action_12886390
]
Kathey Marsden commented on DERBY-4694:
---------------------------------------
If I remove the Header directory check *and* remove the *lib settings in my
local.properties it all builds ok. Hooray!
I also tried changing local.properties as follows which failed with abstract
method errors:
printCompilerProperties=true
printCompilerPropertiesVerbose=true
jdkdir=/System/Library/Frameworks/JavaVM.framework/Versions
jdk16=${jdkdir}/1.6.0
16lib=${jdk16}/Classes
j15lib=${jdkdir}/1.5/Classes
j14lib=${jdkdir}/1.4.2/Classes
e.g. [javac]
/Users/kmarsden/Derby/svn/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSetMetaData.java:59:
org.apache.derby.impl.jdbc.EmbedResultSetMetaData is not abstract and does not
override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrappe
r
I think this makes sense as if you are using the lib settings, it is an
indication that you want such checking done.
> 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: 1.6.0allfiles.txt, 1.6.0dirStructure.txt,
> antPrintCompilerPropertiesVerbose.txt, antwithlibset.txt,
> antwithpatch_diff.txt, 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.