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] Updated: (DERBY-3117) Adjust master build script to require the Java 5 compiler to build Derby
Date Tue, 13 Nov 2007 18:02:43 GMT

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

Rick Hillegas updated DERBY-3117:

    Attachment: derby-3117-04-propertySetter-ag.diff

Attaching the next rev of the property-setting patch: derby-3117-04-propertySetter-ag.diff.
This makes the automatic property setting optional. In order to get automatic setting of the
compiler properties, you need to add the following line to your ant.properties:


Once we're confident that this patch addresses the major platforms we use, we can make automatic
property setting standard.

This patch also adds another diagnostic so that the PropertySetter won't stumble on an array
bounds exception in the situation that Myrna tripped across. Hopefully, PropertySetter will
fail more gracefully and give some useful information.

I believe that PropertySetter was failing for Myrna because the program doesn't know the names
of the IBM JDKs on Windows. However, it's also possible that the PropertySetter doesn't know
where to look for the JDKs on Windows. Myrna, could you do the following:

1) add "autosetProps=on" to your ant.properties

2) then re-run the experiments. You should get some diagnostic output. Could you post that
in a comment. Also, could you give me some additional information:

 a) the directory names of the IBM JDKs on your machine
 b) where those directories live relative to $JAVA_HOME


> 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: BuildDefaults.txt, 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-3117-03-junit-aa.diff,
derby-3117-04-propertySetter-aa.diff, derby-3117-04-propertySetter-ab.diff, derby-3117-04-propertySetter-ac.diff,
derby-3117-04-propertySetter-ad.diff, derby-3117-04-propertySetter-ae.diff, derby-3117-04-propertySetter-af.diff,
derby-3117-04-propertySetter-ag.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