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-3117) Adjust master build script to require the Java 5 compiler to build Derby
Date Mon, 12 Nov 2007 21:39:50 GMT

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

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

I believe my earlier attempt failed because patch *af* wasn't applied successfully.
Now, I get this:
-------------------------------
Buildfile: build.xml

checkCompilerLevel:
    [javac] Compiling 1 source file
   [delete] Deleting: C:\derbyt\svn\trunk\z.java
   [delete] Deleting: C:\derbyt\svn\trunk\z.class

init:
    [mkdir] Created dir: C:\derbyt\svn\trunk\classes

ensuresanitystate:

evaluate.sane:

ensuresanitystate.sane:

sane:
[propertyfile] Creating new property file: C:\derbyt\svn\trunk\java\engine\state.properties

ensuresanitystate.insane:

setissane:

prebuild:

compile:
    [javac] Compiling 1 source file to C:\[...my path to trunk...]trunk\classes

build:

setCompilerProperties:
[setJdkProperties] Array index out of range: -1
[setJdkProperties] java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
[setJdkProperties] 	at org.apache.derbyPreBuild.PropertySetter.getJreLib(PropertySetter.java:325)
[setJdkProperties] 	at org.apache.derbyPreBuild.PropertySetter.setForMostJDKs(PropertySetter.java:307)
[setJdkProperties] 	at org.apache.derbyPreBuild.PropertySetter.setForIbmJDKs(PropertySetter.java:259)
[setJdkProperties] 	at org.apache.derbyPreBuild.PropertySetter.execute(PropertySetter.java:206)
[setJdkProperties] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[setJdkProperties] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[setJdkProperties] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[setJdkProperties] 	at java.lang.reflect.Method.invoke(Method.java:615)
[setJdkProperties] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[setJdkProperties] 	at org.apache.tools.ant.Task.perform(Task.java:348)
[setJdkProperties] 	at org.apache.tools.ant.Target.execute(Target.java:357)
[setJdkProperties] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
[setJdkProperties] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[setJdkProperties] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[setJdkProperties] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[setJdkProperties] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[setJdkProperties] 	at org.apache.tools.ant.Main.runBuild(Main.java:698)
[setJdkProperties] 	at org.apache.tools.ant.Main.startAnt(Main.java:199)
[setJdkProperties] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[setJdkProperties] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

BUILD FAILED
C:\[...my path to trunk...]trunk\build.xml:184: java.lang.ArrayIndexOutOfBoundsException:
Array index out of range: -1


> 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: 10.4.0.0
>            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_source.html
>
>
> Require the Java 5 compiler in order to build Derby as approved by the community recently:
http://www.nabble.com/-VOTE--Require-Java-5-%28or-later%29-compiler-to-build-Derby-tf4522491.html#a13030783

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