You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Oliver Deakin (JIRA)" <ji...@apache.org> on 2006/04/03 16:44:50 UTC

[jira] Created: (HARMONY-300) Harmony Eclipse plugin cant handle multiple kernel jars

Harmony Eclipse plugin cant handle multiple kernel jars
-------------------------------------------------------

         Key: HARMONY-300
         URL: http://issues.apache.org/jira/browse/HARMONY-300
     Project: Harmony
        Type: Improvement

  Components: Classlib  
    Reporter: Oliver Deakin


The current HarmonyVM Eclipse plugin can only be used with a JRE containing a single kernel jar. Currently the kernel is in the process of being split into luni-kernel.jar and security-kernel.jar, and as Tim alludes to in [1] a new IBM VME will be made available soon that has a split kernel. However, the Eclipse plugin will not understand this layout as it expects a single kernel.jar. This bug proposes to fix this by extending the properties listed in the VME <vm>.properties file from:

   bootclasspath.kernel=%LAUNCHER_HOME%/default/kernel.jar
   bootclasspath.source.kernel=%LAUNCHER_HOME%/default/kernel-src.jar
   bootclasspath.source.packageroot.kernel=/

to:

   bootclasspath.kernel.1=%LAUNCHER_HOME%/default/luni-kernel.jar
   bootclasspath.kernel.source.1=%LAUNCHER_HOME%/default/luni-kernel-src.jar
   bootclasspath.kernel.source.packageroot.1=/

   bootclasspath.kernel.2=%LAUNCHER_HOME%/default/security-kernel.jar
   bootclasspath.kernel.source.2=%LAUNCHER_HOME%/default/security-kernel-src.jar
   bootclasspath.kernel.source.packageroot.2=/

which is similar in form to the properties in bootclasspath.properties. Along with this change to the VME, the HarmonyVM plugin requires changes to understand these new properties. I will attach a patch for the required changes.
Note: I will keep the plugin backward compatible. i.e. it will work with both the above property sets.

[1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200604.mbox/%3c443033E8.7090808@gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (HARMONY-300) Harmony Eclipse plugin cant handle multiple kernel jars

Posted by "George Harley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-300?page=all ]
     
George Harley resolved HARMONY-300:
-----------------------------------

    Resolution: Fixed

Hi Oliver, 

Your second patch was committed in SVN repository revision 391956. Thanks for the fixes. 

Please could you verify that the changes have been applied as you expected. 

Best regards, 
George

> Harmony Eclipse plugin cant handle multiple kernel jars
> -------------------------------------------------------
>
>          Key: HARMONY-300
>          URL: http://issues.apache.org/jira/browse/HARMONY-300
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Oliver Deakin
>     Assignee: George Harley
>  Attachments: split.kernel.plugin.diff, split.kernel.plugin.diff.2
>
> The current HarmonyVM Eclipse plugin can only be used with a JRE containing a single kernel jar. Currently the kernel is in the process of being split into luni-kernel.jar and security-kernel.jar, and as Tim alludes to in [1] a new IBM VME will be made available soon that has a split kernel. However, the Eclipse plugin will not understand this layout as it expects a single kernel.jar. This bug proposes to fix this by extending the properties listed in the VME <vm>.properties file from:
>    bootclasspath.kernel=%LAUNCHER_HOME%/default/kernel.jar
>    bootclasspath.source.kernel=%LAUNCHER_HOME%/default/kernel-src.jar
>    bootclasspath.source.packageroot.kernel=/
> to:
>    bootclasspath.kernel.1=%LAUNCHER_HOME%/default/luni-kernel.jar
>    bootclasspath.kernel.source.1=%LAUNCHER_HOME%/default/luni-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.1=/
>    bootclasspath.kernel.2=%LAUNCHER_HOME%/default/security-kernel.jar
>    bootclasspath.kernel.source.2=%LAUNCHER_HOME%/default/security-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.2=/
> which is similar in form to the properties in bootclasspath.properties. Along with this change to the VME, the HarmonyVM plugin requires changes to understand these new properties. I will attach a patch for the required changes.
> Note: I will keep the plugin backward compatible. i.e. it will work with both the above property sets.
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200604.mbox/%3c443033E8.7090808@gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (HARMONY-300) Harmony Eclipse plugin cant handle multiple kernel jars

Posted by "George Harley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-300?page=all ]

George Harley reassigned HARMONY-300:
-------------------------------------

    Assign To: George Harley

> Harmony Eclipse plugin cant handle multiple kernel jars
> -------------------------------------------------------
>
>          Key: HARMONY-300
>          URL: http://issues.apache.org/jira/browse/HARMONY-300
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Oliver Deakin
>     Assignee: George Harley
>  Attachments: split.kernel.plugin.diff, split.kernel.plugin.diff.2
>
> The current HarmonyVM Eclipse plugin can only be used with a JRE containing a single kernel jar. Currently the kernel is in the process of being split into luni-kernel.jar and security-kernel.jar, and as Tim alludes to in [1] a new IBM VME will be made available soon that has a split kernel. However, the Eclipse plugin will not understand this layout as it expects a single kernel.jar. This bug proposes to fix this by extending the properties listed in the VME <vm>.properties file from:
>    bootclasspath.kernel=%LAUNCHER_HOME%/default/kernel.jar
>    bootclasspath.source.kernel=%LAUNCHER_HOME%/default/kernel-src.jar
>    bootclasspath.source.packageroot.kernel=/
> to:
>    bootclasspath.kernel.1=%LAUNCHER_HOME%/default/luni-kernel.jar
>    bootclasspath.kernel.source.1=%LAUNCHER_HOME%/default/luni-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.1=/
>    bootclasspath.kernel.2=%LAUNCHER_HOME%/default/security-kernel.jar
>    bootclasspath.kernel.source.2=%LAUNCHER_HOME%/default/security-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.2=/
> which is similar in form to the properties in bootclasspath.properties. Along with this change to the VME, the HarmonyVM plugin requires changes to understand these new properties. I will attach a patch for the required changes.
> Note: I will keep the plugin backward compatible. i.e. it will work with both the above property sets.
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200604.mbox/%3c443033E8.7090808@gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-300) Harmony Eclipse plugin cant handle multiple kernel jars

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-300?page=all ]

Oliver Deakin updated HARMONY-300:
----------------------------------

    Attachment: split.kernel.plugin.diff.2

I am attaching a replacement patch. This patch includes the required fix for this issue, and also HARMONY-302.
I request that HARMONY-302 is closed, and that this patch (split.kernel.plugin.diff.2) is used in place of the first on (split.kernel.plugin.diff) attached here

> Harmony Eclipse plugin cant handle multiple kernel jars
> -------------------------------------------------------
>
>          Key: HARMONY-300
>          URL: http://issues.apache.org/jira/browse/HARMONY-300
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Oliver Deakin
>  Attachments: split.kernel.plugin.diff, split.kernel.plugin.diff.2
>
> The current HarmonyVM Eclipse plugin can only be used with a JRE containing a single kernel jar. Currently the kernel is in the process of being split into luni-kernel.jar and security-kernel.jar, and as Tim alludes to in [1] a new IBM VME will be made available soon that has a split kernel. However, the Eclipse plugin will not understand this layout as it expects a single kernel.jar. This bug proposes to fix this by extending the properties listed in the VME <vm>.properties file from:
>    bootclasspath.kernel=%LAUNCHER_HOME%/default/kernel.jar
>    bootclasspath.source.kernel=%LAUNCHER_HOME%/default/kernel-src.jar
>    bootclasspath.source.packageroot.kernel=/
> to:
>    bootclasspath.kernel.1=%LAUNCHER_HOME%/default/luni-kernel.jar
>    bootclasspath.kernel.source.1=%LAUNCHER_HOME%/default/luni-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.1=/
>    bootclasspath.kernel.2=%LAUNCHER_HOME%/default/security-kernel.jar
>    bootclasspath.kernel.source.2=%LAUNCHER_HOME%/default/security-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.2=/
> which is similar in form to the properties in bootclasspath.properties. Along with this change to the VME, the HarmonyVM plugin requires changes to understand these new properties. I will attach a patch for the required changes.
> Note: I will keep the plugin backward compatible. i.e. it will work with both the above property sets.
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200604.mbox/%3c443033E8.7090808@gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (HARMONY-300) Harmony Eclipse plugin cant handle multiple kernel jars

Posted by "George Harley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-300?page=all ]
     
George Harley closed HARMONY-300:
---------------------------------


Verified by Oliver. 



> Harmony Eclipse plugin cant handle multiple kernel jars
> -------------------------------------------------------
>
>          Key: HARMONY-300
>          URL: http://issues.apache.org/jira/browse/HARMONY-300
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Oliver Deakin
>     Assignee: George Harley
>  Attachments: split.kernel.plugin.diff, split.kernel.plugin.diff.2
>
> The current HarmonyVM Eclipse plugin can only be used with a JRE containing a single kernel jar. Currently the kernel is in the process of being split into luni-kernel.jar and security-kernel.jar, and as Tim alludes to in [1] a new IBM VME will be made available soon that has a split kernel. However, the Eclipse plugin will not understand this layout as it expects a single kernel.jar. This bug proposes to fix this by extending the properties listed in the VME <vm>.properties file from:
>    bootclasspath.kernel=%LAUNCHER_HOME%/default/kernel.jar
>    bootclasspath.source.kernel=%LAUNCHER_HOME%/default/kernel-src.jar
>    bootclasspath.source.packageroot.kernel=/
> to:
>    bootclasspath.kernel.1=%LAUNCHER_HOME%/default/luni-kernel.jar
>    bootclasspath.kernel.source.1=%LAUNCHER_HOME%/default/luni-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.1=/
>    bootclasspath.kernel.2=%LAUNCHER_HOME%/default/security-kernel.jar
>    bootclasspath.kernel.source.2=%LAUNCHER_HOME%/default/security-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.2=/
> which is similar in form to the properties in bootclasspath.properties. Along with this change to the VME, the HarmonyVM plugin requires changes to understand these new properties. I will attach a patch for the required changes.
> Note: I will keep the plugin backward compatible. i.e. it will work with both the above property sets.
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200604.mbox/%3c443033E8.7090808@gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-300) Harmony Eclipse plugin cant handle multiple kernel jars

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-300?page=all ]

Oliver Deakin updated HARMONY-300:
----------------------------------

    Attachment: split.kernel.plugin.diff

Attached diff contains the necessary plugin changes to understand both single and split kernels.

> Harmony Eclipse plugin cant handle multiple kernel jars
> -------------------------------------------------------
>
>          Key: HARMONY-300
>          URL: http://issues.apache.org/jira/browse/HARMONY-300
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Oliver Deakin
>  Attachments: split.kernel.plugin.diff
>
> The current HarmonyVM Eclipse plugin can only be used with a JRE containing a single kernel jar. Currently the kernel is in the process of being split into luni-kernel.jar and security-kernel.jar, and as Tim alludes to in [1] a new IBM VME will be made available soon that has a split kernel. However, the Eclipse plugin will not understand this layout as it expects a single kernel.jar. This bug proposes to fix this by extending the properties listed in the VME <vm>.properties file from:
>    bootclasspath.kernel=%LAUNCHER_HOME%/default/kernel.jar
>    bootclasspath.source.kernel=%LAUNCHER_HOME%/default/kernel-src.jar
>    bootclasspath.source.packageroot.kernel=/
> to:
>    bootclasspath.kernel.1=%LAUNCHER_HOME%/default/luni-kernel.jar
>    bootclasspath.kernel.source.1=%LAUNCHER_HOME%/default/luni-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.1=/
>    bootclasspath.kernel.2=%LAUNCHER_HOME%/default/security-kernel.jar
>    bootclasspath.kernel.source.2=%LAUNCHER_HOME%/default/security-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.2=/
> which is similar in form to the properties in bootclasspath.properties. Along with this change to the VME, the HarmonyVM plugin requires changes to understand these new properties. I will attach a patch for the required changes.
> Note: I will keep the plugin backward compatible. i.e. it will work with both the above property sets.
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200604.mbox/%3c443033E8.7090808@gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-300) Harmony Eclipse plugin cant handle multiple kernel jars

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-300?page=comments#action_12373510 ] 

Oliver Deakin commented on HARMONY-300:
---------------------------------------

Looks good, thanks George

> Harmony Eclipse plugin cant handle multiple kernel jars
> -------------------------------------------------------
>
>          Key: HARMONY-300
>          URL: http://issues.apache.org/jira/browse/HARMONY-300
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Oliver Deakin
>     Assignee: George Harley
>  Attachments: split.kernel.plugin.diff, split.kernel.plugin.diff.2
>
> The current HarmonyVM Eclipse plugin can only be used with a JRE containing a single kernel jar. Currently the kernel is in the process of being split into luni-kernel.jar and security-kernel.jar, and as Tim alludes to in [1] a new IBM VME will be made available soon that has a split kernel. However, the Eclipse plugin will not understand this layout as it expects a single kernel.jar. This bug proposes to fix this by extending the properties listed in the VME <vm>.properties file from:
>    bootclasspath.kernel=%LAUNCHER_HOME%/default/kernel.jar
>    bootclasspath.source.kernel=%LAUNCHER_HOME%/default/kernel-src.jar
>    bootclasspath.source.packageroot.kernel=/
> to:
>    bootclasspath.kernel.1=%LAUNCHER_HOME%/default/luni-kernel.jar
>    bootclasspath.kernel.source.1=%LAUNCHER_HOME%/default/luni-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.1=/
>    bootclasspath.kernel.2=%LAUNCHER_HOME%/default/security-kernel.jar
>    bootclasspath.kernel.source.2=%LAUNCHER_HOME%/default/security-kernel-src.jar
>    bootclasspath.kernel.source.packageroot.2=/
> which is similar in form to the properties in bootclasspath.properties. Along with this change to the VME, the HarmonyVM plugin requires changes to understand these new properties. I will attach a patch for the required changes.
> Note: I will keep the plugin backward compatible. i.e. it will work with both the above property sets.
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200604.mbox/%3c443033E8.7090808@gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira