You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Delos Dai (JIRA)" <ji...@apache.org> on 2010/01/11 06:59:54 UTC

[jira] Created: (GERONIMODEVTOOLS-600) Build script should detect JDK data model(32bit or 64bit) instead of OS architecture

Build script should detect JDK data model(32bit or 64bit) instead of OS architecture
------------------------------------------------------------------------------------

                 Key: GERONIMODEVTOOLS-600
                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600
             Project: Geronimo-Devtools
          Issue Type: Improvement
          Components: eclipse-plugin
    Affects Versions: 2.2.1
            Reporter: Delos Dai
            Assignee: Delos Dai
             Fix For: 2.2.1


In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture. 

After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.

 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMODEVTOOLS-600) Build script should detect JDK data model(32bit or 64bit) instead of OS architecture

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865678#action_12865678 ] 

Delos Dai commented on GERONIMODEVTOOLS-600:
--------------------------------------------

Add "sun.arch.data.model" checking before the script gets eclipse from remote site. 

Now, the script supports Windows, Linux with 64-bit JDK. 

#942675 for trunk




> Build script should detect JDK data model(32bit or 64bit) instead of OS architecture
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-600
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>          Components: eclipse-plugin
>    Affects Versions: 2.2.1
>            Reporter: Delos Dai
>            Assignee: Delos Dai
>             Fix For: 2.2.1
>
>
> In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture. 
> After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMODEVTOOLS-600) Build script should detect JDK data model(32bit or 64bit) instead of OS architecture

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Delos Dai resolved GERONIMODEVTOOLS-600.
----------------------------------------

    Resolution: Fixed

> Build script should detect JDK data model(32bit or 64bit) instead of OS architecture
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-600
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>          Components: eclipse-plugin
>    Affects Versions: 2.2.1
>            Reporter: Delos Dai
>            Assignee: Delos Dai
>             Fix For: 2.2.1
>
>
> In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture. 
> After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMODEVTOOLS-600) Build script should detect JDK data model(32bit or 64bit) instead of OS architecture

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Delos Dai resolved GERONIMODEVTOOLS-600.
----------------------------------------

    Resolution: Fixed

commit the fix for 2.1 branch in revision #964727;commit the fix for 2.2 branch in revision #964726.

> Build script should detect JDK data model(32bit or 64bit) instead of OS architecture
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-600
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>          Components: eclipse-plugin
>    Affects Versions: 2.1.6, 2.2.1, 3.0
>            Reporter: Delos Dai
>            Assignee: Delos Dai
>             Fix For: 2.1.6, 2.2.1, 3.0
>
>
> In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture. 
> After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMODEVTOOLS-600) Build script should detect JDK data model(32bit or 64bit) instead of OS architecture

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Delos Dai updated GERONIMODEVTOOLS-600:
---------------------------------------

        Fix Version/s: 2.1.6
                       3.0
    Affects Version/s: 2.1.6
                       3.0

> Build script should detect JDK data model(32bit or 64bit) instead of OS architecture
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-600
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>          Components: eclipse-plugin
>    Affects Versions: 2.1.6, 2.2.1, 3.0
>            Reporter: Delos Dai
>            Assignee: Delos Dai
>             Fix For: 2.1.6, 2.2.1, 3.0
>
>
> In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture. 
> After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (GERONIMODEVTOOLS-600) Build script should detect JDK data model(32bit or 64bit) instead of OS architecture

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Delos Dai reopened GERONIMODEVTOOLS-600:
----------------------------------------


commit the fix for 2.2.1 branch and 2.1 branch

> Build script should detect JDK data model(32bit or 64bit) instead of OS architecture
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-600
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>          Components: eclipse-plugin
>    Affects Versions: 2.2.1
>            Reporter: Delos Dai
>            Assignee: Delos Dai
>             Fix For: 2.2.1
>
>
> In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture. 
> After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMODEVTOOLS-600) Build script should detect JDK data model(32bit or 64bit) instead of OS architecture

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Delos Dai closed GERONIMODEVTOOLS-600.
--------------------------------------


> Build script should detect JDK data model(32bit or 64bit) instead of OS architecture
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-600
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-600
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>          Components: eclipse-plugin
>    Affects Versions: 2.2.1
>            Reporter: Delos Dai
>            Assignee: Delos Dai
>             Fix For: 2.2.1
>
>
> In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture. 
> After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.