Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 65820 invoked from network); 4 May 2010 16:59:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 16:59:17 -0000 Received: (qmail 7192 invoked by uid 500); 4 May 2010 16:59:17 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 7157 invoked by uid 500); 4 May 2010 16:59:17 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 7149 invoked by uid 99); 4 May 2010 16:59:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 16:59:17 +0000 X-ASF-Spam-Status: No, hits=-1386.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 16:59:16 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o44GwtXF012953 for ; Tue, 4 May 2010 16:58:56 GMT Message-ID: <23062847.41491272992335441.JavaMail.jira@thor> Date: Tue, 4 May 2010 12:58:55 -0400 (EDT) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-2324) Support execution environment so that OBR works properly In-Reply-To: <18581683.39731272989576687.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863884#action_12863884 ] Richard S. Hall commented on FELIX-2324: ---------------------------------------- ok. Well, all I am thinking about doing is adding some property substitution magic in the default.properties file that ships with the framework so that it tries to select a default value based on the JRE. This shouldn't be problematic, since anyone will be able to override it by specifying the property explicitly in the framework configuration properties. Just like we do currently for system packages. > Support execution environment so that OBR works properly > -------------------------------------------------------- > > Key: FELIX-2324 > URL: https://issues.apache.org/jira/browse/FELIX-2324 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: framework-2.0.5 > Reporter: Christopher Blunck > Priority: Minor > Fix For: framework-3.0.0 > > > Basic use case here is that I'd like to use Jackson within OBR. Jackson expresses a requirement on ee=J2SE-1.5. Felix Karaf doesn't have a facility for supported execution environments. > I can set: > JAVA_OPTS="-Dorg.osgi.framework.executionenvironment=J2SE-1.5" > before I start karaf from the command line but this seems like a hack. It's very possible that I'll start Karaf using Sun's 1.6 JVM or an IBM JVM. > Ideally at startup time Karaf could look at the runtime and determine the JVM version (at the very least). It could then expose the execution environment somehow (presumably in a way that OBR would understand). > We should still be able to explicitly set the org.osgi.framework.executionenvironment system property but ideally it'd be additive to the ee's that Karaf senses when it starts up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.