db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3117) Adjust master build script to require the Java 5 compiler to build Derby
Date Thu, 18 Oct 2007 08:42:50 GMT

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

Knut Anders Hatlen commented on DERBY-3117:

I don't think we should disallow building Derby with newer JDKs. I like the flexibility we
get from saying that we require the ant process to use JDK 5 or higher, since that means I
know that if I use the most recent JDK as system default and have ant.properties correctly
set up, it'll just work when I type 'ant'. If we require exact version, that means I need
to write scripts to change the environment when I move between different projects.

Let me suggest a slightly different approach. What about changing the check in the build script
so that it uses java15compile.classpath and tries to compile a file which uses JDK 6 features?
Then we would detect if someone had mistakenly set the compile classpath to Java 6. Is that
foolproof enough? :)

> Adjust master build script to require the Java 5 compiler to build Derby
> ------------------------------------------------------------------------
>                 Key: DERBY-3117
>                 URL: https://issues.apache.org/jira/browse/DERBY-3117
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions:
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-3117-01-enforceJava5-aa.diff, derby-3117-01-enforceJava5-ab.diff,
derby-3117-01-enforceJava5-ac.diff, derby-3117-02-website-aa.diff, derby_source.html
> Require the Java 5 compiler in order to build Derby as approved by the community recently:

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

View raw message