db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3988) Set the Java 6 complilation path based on the Java 5 compilation path so that the JDBC4 support is always built
Date Tue, 16 Dec 2008 21:42:44 GMT

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

Rick Hillegas commented on DERBY-3988:
--------------------------------------

Hi Myrna,

Thanks for running that experiment. Could you try the following:

1) Put the following line into your ant.properties

printCompilerProperties=true

2) Then do a clean build with your Sun environment

3) Then do a clean build with your IBM environment

Early on in your builds, you will see a block of diagnostics reporting what the build thinks
your classpaths and compiler levels are. Could you let us know what these blocks are for your
Sun and IBM builds? The blocks look like this:

     [echo] Before setting properties:  compilerLevel16 = 1.5
     [echo] Before setting properties:  jsr169compile.classpath = ${jsr169compile.classpath}
     [echo] Before setting properties:  j14lib = ${j14lib}
     [echo] Before setting properties:  java14compile.classpath = ${java14compile.classpath}
     [echo] Before setting properties:  j15lib = ${j15lib}
     [echo] Before setting properties:  java15compile.classpath = ${java15compile.classpath}
     [echo] Before setting properties:  java16compile.classpath = ${java16compile.classpath}
     [echo] After setting properties:  compilerLevel16 = 1.5
     [echo] After setting properties:  jsr169compile.classpath = /Users/rh161140/derby/mainline/trunk/classes/stubs/jsr169:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/ui.jar
     [echo] After setting properties:  j14lib = ${j14lib}
     [echo] After setting properties:  java14compile.classpath = /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/ui.jar
     [echo] After setting properties:  j15lib = ${j15lib}
     [echo] After setting properties:  java15compile.classpath = /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/ui.jar
     [echo] After setting properties:  java16compile.classpath = /Users/rh161140/derby/mainline/trunk/classes/stubs/jdbc4:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/ui.jar

Thanks!


> Set the Java 6 complilation path based on the Java 5 compilation path so that the JDBC4
support is always built
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3988
>                 URL: https://issues.apache.org/jira/browse/DERBY-3988
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-3988-01-aa-alwaysCompileJDBC4.diff, derby-3988-01-ab-alwaysCompileJDBC4.diff,
derby-3988-01-ac-alwaysCompileJDBC4.diff
>
>
> Now that we have checked in the JDBC4 stubs, it ought to be possible to build the JDBC4
support with just the Java 5 libraries and compiler. Set java16compile.classpath=${jdbc4stubs}:${java15compile.classpath}.

-- 
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