karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Smith (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-1246) add a version checker for karaf start script
Date Fri, 07 Jun 2013 12:43:22 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677996#comment-13677996
] 

Nick Smith edited comment on KARAF-1246 at 6/7/13 12:43 PM:
------------------------------------------------------------

This java version check fails on our Solaris 11 or Redhat 5.7 (2.6.18-274.el5xen) boxes.

For some reason the '\d' in the egrep pattern doesn't match the digit but replacing when replaced
with [0-9] the check works fine.

I've attached the patch.

Regards



                
      was (Author: nick.smith@techopfinance.com):
    This java version check doesn't appear to work for me on either Solaris 11 or Redhat 5.7
(2.6.18-274.el5xen) boxes.

For some reason the '\d' in the egrep pattern doesn't match the digit but replacing when replaced
with [0-9] the check works fine.

I've attached the patch.

Regards



                  
> add a version checker for karaf start script
> --------------------------------------------
>
>                 Key: KARAF-1246
>                 URL: https://issues.apache.org/jira/browse/KARAF-1246
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.0
>            Reporter: Andreas Pieber
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>         Attachments: 0001-Fix-checkJvmVersion-egrep-pattern.patch
>
>
> Since the upcoming 3.0 release of Karaf is designed to consume JRE6 as minimum version
we should make it possible to give a user who's still using JRE5 a proper message. 
> This issue is similar to SM-2135 (which also has a possible solution attached)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message