You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (Created) (JIRA)" <ji...@apache.org> on 2011/12/01 22:58:40 UTC

[jira] [Created] (SMX4-997) add a version checker for servicemix start script

add a version checker for servicemix start script
-------------------------------------------------

                 Key: SMX4-997
                 URL: https://issues.apache.org/jira/browse/SMX4-997
             Project: ServiceMix 4
          Issue Type: Improvement
            Reporter: Freeman Fang
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.4.0


as for the upcoming 4.4 release we need run with JDK 1.6, so just add a version checker for the startup script so if user still use JDK 1.5 give proper prompt.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (SM-2135) add a version checker for servicemix start script

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SM-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SM-2135:
-------------------------------------

    Fix Version/s:     (was: 3.4.1)
                   EOL-3
    
> add a version checker for servicemix start script
> -------------------------------------------------
>
>                 Key: SM-2135
>                 URL: https://issues.apache.org/jira/browse/SM-2135
>             Project: ServiceMix
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Jean-Baptiste Onofré
>             Fix For: EOL-3
>
>
> as for the upcoming 4.4 release we need run with JDK 1.6, so just add a version checker for the startup script so if user still use JDK 1.5 give proper prompt.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (SM-2135) add a version checker for servicemix start script

Posted by "Graham Little (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220849#comment-13220849 ] 

Graham Little commented on SM-2135:
-----------------------------------

Hi Jean-Baptiste, 

I use a similar mechanism for my own servicemix.bat on my windows box, maybe this will be of 
some use to you.

Thanks

Graham

@ECHO OFF

SETLOCAL ENABLEDELAYEDEXPANSION

for /f "tokens=3" %%A in ('REG Query "HKLM\SOFTWARE\JavaSoft\Java Development Kit" /F CurrentVersion /V /E 2^>NUL ^| FIND /I " CurrentVersion "') do ( SET jdkversion=%%A )

:: If version is being enforced to jdk 1.6
IF NOT %jdkversion%==1.6 ECHO Your JDK must be version 1.6

:: If version allowed is greater than jdk.15 this would suffice.
:: IF NOT %jdkversion% GTR 1.5 ECHO Your JDK must be greater than 1.5
                
> add a version checker for servicemix start script
> -------------------------------------------------
>
>                 Key: SM-2135
>                 URL: https://issues.apache.org/jira/browse/SM-2135
>             Project: ServiceMix
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.5
>
>
> as for the upcoming 4.4 release we need run with JDK 1.6, so just add a version checker for the startup script so if user still use JDK 1.5 give proper prompt.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Moved] (SM-2135) add a version checker for servicemix start script

Posted by "Gert Vanthienen (Moved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SM-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen moved SMX4-997 to SM-2135:
------------------------------------------

    Fix Version/s:     (was: 4.4.0)
                   3.5
              Key: SM-2135  (was: SMX4-997)
          Project: ServiceMix  (was: ServiceMix 4)
    
> add a version checker for servicemix start script
> -------------------------------------------------
>
>                 Key: SM-2135
>                 URL: https://issues.apache.org/jira/browse/SM-2135
>             Project: ServiceMix
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.5
>
>
> as for the upcoming 4.4 release we need run with JDK 1.6, so just add a version checker for the startup script so if user still use JDK 1.5 give proper prompt.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira