[jbosstools-issues] [JBoss JIRA] (JBTIS-475) Build of Drools/jBPM tools for Eclipse Mars fails with Java 7

Nick Boldt (JIRA) issues at jboss.org
Thu Aug 20 17:10:26 EDT 2015


    [ https://issues.jboss.org/browse/JBTIS-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100419#comment-13100419 ] 

Nick Boldt commented on JBTIS-475:
----------------------------------

>From your 60M uberlog:

{quote}
{code}Bundle-SymbolicName: org.jboss.tools.foundation.core; bundle-version="1.2.0.Beta2-v20150724-1456-B25"; singleton:="true"
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"{code}
{quote}

Translation: if you depend on *org.jboss.tools.foundation.core*, you must build with JavaSE 1.8.

So, I've checked out the whole project [1], and I'm building it locally w/ JDK 8.

Meanwhile, I checked to see how many MANIFEST.MF files there are in the project. There are 9.
{code}$➔ find . -name MANIFEST.MF
./drools-eclipse/org.kie.eclipse.navigator/META-INF/MANIFEST.MF
./drools-eclipse/org.jbpm.eclipse/META-INF/MANIFEST.MF
./drools-eclipse/org.drools.eclipse/META-INF/MANIFEST.MF
./drools-eclipse/org.drools.eclipse.test/META-INF/MANIFEST.MF
./drools-eclipse/org.guvnor.eclipse.webdav/META-INF/MANIFEST.MF
./drools-eclipse/org.guvnor.tools/META-INF/MANIFEST.MF
./drools-eclipse/org.kie.eclipse/META-INF/MANIFEST.MF
./drools-eclipse/org.guvnor.tools.test/META-INF/MANIFEST.MF
./drools-eclipse/org.jboss.tools.runtime.drools.detector/META-INF/MANIFEST.MF
{code}

Then I checked to see if all of those set a Bundle-RequiredExecutionEnvironment. Nine plugins set a BREE of JavaSE-1.6:
{code}Bundle-RequiredExecutionEnvironment: JavaSE-1.6{code}

So... I think you need to ask [~mbiarnes] why he feels we need to build w/ 1.7 when all the plugins declare a 1.6 execution environment. Surely 1.8 would work just as well, since Maven and Java both respect those BREEs and will compile down to that level when it's set explicitly in the plugins.




> Build of Drools/jBPM tools for Eclipse Mars fails with Java 7
> -------------------------------------------------------------
>
>                 Key: JBTIS-475
>                 URL: https://issues.jboss.org/browse/JBTIS-475
>             Project: JBoss Tools Integration Stack
>          Issue Type: Bug
>          Components: drools/ jBPM
>    Affects Versions: 4.3.0.Beta1f-TP
>            Reporter: Robert (Bob) Brodt
>            Assignee: Paul Leacu
>
> Drools/jBPM requires building with Java 7, while apparently the Mars JBTIS requires a Java 8 runtime. This is causing a problem in the tycho surefire plugin when I try to build the droolsjbpm-tools project against the Mars JBTIS (currently 4.3.0.Beta1e)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jbosstools-issues mailing list