db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (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 23:38:44 GMT

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

Myrna van Lunteren commented on DERBY-3988:
-------------------------------------------

That's interesting - my ibm jvm environment is missing the jdbc4 stubs after the second setting
of compilerLevel 1.5.
As an experiment, I added the hardcode path to my classes/stubs/jdbc4 to my java16compile.classpath
and it took care of most of the errors - only the java\testing\org\apache\derbyTesting\functionTests\tests\jdbc4\BlobTest.java:146:
cannot access java.util.HashMap warning was still there.
Without that addition, this is what was printed out with my env set to use sun jvms (with
some continuation markers [\] to improve the view in jira)
--------------------------------------------
printCompilerProperties:
     [echo] Before setting properties:  compilerLevel16 = 1.5
     [echo] Before setting properties:  jsr169compile.classpath = C:/jvms/weme6.1/ive/lib/jclFoundation11/classes.zip;C:/jvms/weme6.1/ive/lib/jdbc.jar
     [echo] Before setting properties:  j14lib = c:/jvms/jdk142/jre/lib
     [echo] Before setting properties:  java14compile.classpath = ${java14compile.classpath}
     [echo] Before setting properties:  j15lib = c:/jvms/jdk15/jre/lib
     [echo] Before setting properties:  java15compile.classpath = ${java15compile.classpath}
     [echo] Before setting properties:  java16compile.classpath = ${java16compile.classpath}
[setJdkProperties] Setting property java14compile.classpath to c:\jvms\jdk142\jre\lib\charsets.jar;c:\jvms\jdk142\jre\lib\jce.jar;[\]
c:\jvms\jdk142\jre\lib\jsse.jar;c:\jvms\jdk142\jre\lib\plugin.jar;c:\jvms\jdk142\jre\lib\plugin_g.jar;[\]
c:\jvms\jdk142\jre\lib\rt.jar;c:\jvms\jdk142\jre\lib\sunrsasign.jar
[setJdkProperties] Setting property java15compile.classpath to c:\jvms\jdk15\jre\lib\charsets.jar;c:\jvms\jdk15\jre\lib\deploy.jar;c:\jvms\jdk15\jre\lib\javaws.jar;c:\jvms\jdk15\jre\lib\jce.jar;c:\jvms\jdk15\jre\lib\jsse.jar;c:\jvms\jdk15\jre\lib\plugin.jar;c:\jvms\jdk15\jre\lib\rt.jar
[setJdkProperties] Setting property java14compile.classpath to c:\jvms\jdk142\jre\lib\charsets.jar;c:\jvms\jdk142\jre\lib\jce.jar;c:\jvms\jdk142\jre\lib\jsse.jar;c:\jvms\jdk142\jre\lib\plugin.jar;c:\jvms\jdk142\jre\lib\plugin_g.jar;c:\jvms\jdk142\jre\lib\rt.jar;c:\jvms\jdk142\jre\lib\sunrsasign.jar
[setJdkProperties] Setting property java15compile.classpath to c:\jvms\jdk15\jre\lib\charsets.jar;c:\jvms\jdk15\jre\lib\deploy.jar;c:\jvms\jdk15\jre\lib\javaws.jar;c:\jvms\jdk15\jre\lib\jce.jar;c:\jvms\jdk15\jre\lib\jsse.jar;c:\jvms\jdk15\jre\lib\plugin.jar;c:\jvms\jdk15\jre\lib\rt.jar

printCompilerProperties:
     [echo] After setting properties:  compilerLevel16 = 1.5
     [echo] After setting properties:  jsr169compile.classpath = C:/jvms/weme6.1/ive/lib/jclFoundation11/classes.zip;C:/jvms/weme6.1/ive/lib/jdbc.jar
     [echo] After setting properties:  j14lib = c:/jvms/jdk142/jre/lib
     [echo] After setting properties:  java14compile.classpath = c:\jvms\jdk142\jre\lib\charsets.jar;c:\jvms\jdk142\jre\lib\jce.jar;c:\jvms\jdk142\jre\lib\jsse.jar;[\]
c:\jvms\jdk142\jre\lib\plugin.jar;c:\jvms\jdk142\jre\lib\plugin_g.jar;c:\jvms\jdk142\jre\lib\rt.jar;c:\jvms\jdk142\jre\lib\sunrsasign.jar
     [echo] After setting properties:  j15lib = c:/jvms/jdk15/jre/lib
     [echo] After setting properties:  java15compile.classpath = c:\jvms\jdk15\jre\lib\charsets.jar;c:\jvms\jdk15\jre\lib\deploy.jar;[\]
c:\jvms\jdk15\jre\lib\javaws.jar;c:\jvms\jdk15\jre\lib\jce.jar;c:\jvms\jdk15\jre\lib\jsse.jar;c:\jvms\jdk15\jre\lib\plugin.jar;c:\jvms\jdk15\jre\lib\rt.jar
     [echo] After setting properties:  java16compile.classpath = C:\derbyt\svn\trunk/classes/stubs/jdbc4:c:\jvms\jdk15\jre\lib\charsets.jar;[\]
c:\jvms\jdk15\jre\lib\deploy.jar;c:\jvms\jdk15\jre\lib\javaws.jar;c:\jvms\jdk15\jre\lib\jce.jar;c:\jvms\jdk15\jre\lib\jsse.jar;[\]
c:\jvms\jdk15\jre\lib\plugin.jar;c:\jvms\jdk15\jre\lib\rt.jar
--------------------------------------------
And this is what was printed out with my env set to use ibm jvms:
--------------------------------------------
printCompilerProperties:
     [echo] Before setting properties:  compilerLevel16 = 1.5
     [echo] Before setting properties:  jsr169compile.classpath = C:/jvms/weme6.1/lib/jclFoundation11/classes.zip;C:/jvms/weme6.1/lib/jdbc.jar
     [echo] Before setting properties:  j14lib = c:/jvms/ibm142/jre/lib
     [echo] Before setting properties:  java14compile.classpath = c:/jvms/ibm142/jre/lib/core.jar;c:/jvms/ibm142/jre/lib/server.jar;[\]
c:/jvms/ibm142/jre/lib/xml.jar;c:/jvms/ibm142/jre/lib/ibmjcefw.jar;c:/jvms/ibm142/jre/lib/security.jar
     [echo] Before setting properties:  j15lib = c:/jvms/ibm15/jre/lib
     [echo] Before setting properties:  java15compile.classpath = c:/jvms/ibm15/jre/lib/vm.jar;c:/jvms/ibm15/jre/lib/core.jar;[\]
c:/jvms/ibm15/jre/lib/server.jar;c:/jvms/ibm15/jre/lib/xml.jar;c:/jvms/ibm15/jre/lib/ibmjcefw.jar;c:/jvms/ibm15/jre/lib/security.jar
     [echo] Before setting properties:  java16compile.classpath = c:/jvms/ibm16/jre/lib/sql.jar;c:/jvms/ibm16/jre/lib/xml.jar;[\]
c:/jvms/ibm16/jre/lib/ibmjcefw.jar;c:/jvms/ibm16/jre/lib/security.jar;c:/jvms/ibm16/jre/lib/rt.jar;c:/jvms/ibm16/jre/lib/security.jar;[\]
c:/jvms/ibm16/jre/lib/vm.jar;c:/jvms/ibm16/jre/lib/java.util.jar;c:/jvms/ibm16/jre/lib/jndi.jar

printCompilerProperties:
     [echo] After setting properties:  compilerLevel16 = 1.5
     [echo] After setting properties:  jsr169compile.classpath = C:/jvms/weme6.1/lib/jclFoundation11/classes.zip;C:/jvms/weme6.1/lib/jdbc.jar
     [echo] After setting properties:  j14lib = c:/jvms/ibm142/jre/lib
     [echo] After setting properties:  java14compile.classpath = c:/jvms/ibm142/jre/lib/core.jar;c:/jvms/ibm142/jre/lib/server.jar;[\]
c:/jvms/ibm142/jre/lib/xml.jar;c:/jvms/ibm142/jre/lib/ibmjcefw.jar;c:/jvms/ibm142/jre/lib/security.jar
     [echo] After setting properties:  j15lib = c:/jvms/ibm15/jre/lib
     [echo] After setting properties:  java15compile.classpath = c:/jvms/ibm15/jre/lib/vm.jar;c:/jvms/ibm15/jre/lib/core.jar;[\]
c:/jvms/ibm15/jre/lib/server.jar;c:/jvms/ibm15/jre/lib/xml.jar;c:/jvms/ibm15/jre/lib/ibmjcefw.jar;c:/jvms/ibm15/jre/lib/security.jar
     [echo] After setting properties:  java16compile.classpath = c:/jvms/ibm16/jre/lib/sql.jar;c:/jvms/ibm16/jre/lib/xml.jar;[\]
c:/jvms/ibm16/jre/lib/ibmjcefw.jar;c:/jvms/ibm16/jre/lib/security.jar;c:/jvms/ibm16/jre/lib/rt.jar;c:/jvms/ibm16/jre/lib/security.jar;[\]
c:/jvms/ibm16/jre/lib/vm.jar;c:/jvms/ibm16/jre/lib/java.util.jar;c:/jvms/ibm16/jre/lib/jndi.jar
----------------------------------------------------

> 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