db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-1983) Change build system so that base level is JDK 1.4
Date Fri, 09 Mar 2007 21:15:09 GMT

    [ https://issues.apache.org/jira/browse/DERBY-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479720

Daniel John Debrunner commented on DERBY-1983:

[this was posted to derby-dev today - also putting it here for reference]

Revision 516518 changes the default base compile level to JDK 1.4 (for DERBY-1983). Basically
two changes:

 compile.classpath now defaults to java14compile.classpath
 compiler target/source flags now use 1.4 instead of 1.3

I think this change will be transparent to everyone, i.e. nothing need change in your setup.
You can remove the setting j13lib from your ant.properties if you want though.

I think some more changes are required before the instructions can be changed to not require
jdk 1.3 and the various optional downloads, I just need to go through the build.xml files
again and see which are still referenced & why.

Note that compile.classpath is not the same value logically as java14compile.classpath even
though the default setup makes them the same. compile.classpath is used to compile classes
that need to work in JDK 1.4 and J2ME, whereas java14compile.classpath is used for classes
that cannot run in J2ME. I hopefully improved the comments around this in tools/ant/properties/compilepath.properties.
Ideally one should be able to set compile.classpath to J2ME/CDC/Foundation 1.1 + JSR 169 libraries
and compile successfully. This is to allow greater confidence that the base code will work
on JSR169 and not rely on any JDK 1.4 features. I'm not sure it that actually works at the
moment though, will be checking that later. 

> Change build system so that base level is JDK 1.4
> -------------------------------------------------
>                 Key: DERBY-1983
>                 URL: https://issues.apache.org/jira/browse/DERBY-1983
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Build tools
>            Reporter: Daniel John Debrunner
>         Assigned To: Daniel John Debrunner

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message