You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2010/08/30 17:09:53 UTC
[jira] Created: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Export META-INF and META-INF/server folders to avoid issues under OSGi environment
----------------------------------------------------------------------------------
Key: WINK-309
URL: https://issues.apache.org/jira/browse/WINK-309
Project: Wink
Issue Type: Bug
Components: Server
Affects Versions: 1.1.1
Reporter: Luciano Resende
While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Posted by Bryant Luk <br...@gmail.com>.
Not that I'm aware of.
On Monday, August 30, 2010, Luciano Resende (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/WINK-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904350#action_12904350 ]
>
> Luciano Resende commented on WINK-309:
> --------------------------------------
>
> Stepping back, it would be good to know if there is any specific requirement to have these configurations files inside META-INF, otherwise I can come up with a new patch that would move these files as regular resources outside of the META-INF.
>
>> Export META-INF and META-INF/server folders to avoid issues under OSGi environment
>> ----------------------------------------------------------------------------------
>>
>> Key: WINK-309
>> URL: https://issues.apache.org/jira/browse/WINK-309
>> Project: Wink
>> Issue Type: Bug
>> Components: Server
>> Affects Versions: 1.1.1
>> Reporter: Luciano Resende
>> Attachments: WINK-309.patch
>>
>>
>> While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
>> This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
[jira] Updated: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Posted by "Luciano Resende (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WINK-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende updated WINK-309:
---------------------------------
Attachment: WINK-309.patch
Patch to properly generate MANIFEST.MF for wink-server
> Export META-INF and META-INF/server folders to avoid issues under OSGi environment
> ----------------------------------------------------------------------------------
>
> Key: WINK-309
> URL: https://issues.apache.org/jira/browse/WINK-309
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.1.1
> Reporter: Luciano Resende
> Attachments: WINK-309.patch
>
>
> While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
> This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WINK-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904244#action_12904244 ]
Hudson commented on WINK-309:
-----------------------------
Integrated in Wink-Trunk-JDK1.5 #379 (See [https://hudson.apache.org/hudson/job/Wink-Trunk-JDK1.5/379/])
Export the META-INF directories.
See [WINK-309].
Thanks to Luciano Resende for the patch.
> Export META-INF and META-INF/server folders to avoid issues under OSGi environment
> ----------------------------------------------------------------------------------
>
> Key: WINK-309
> URL: https://issues.apache.org/jira/browse/WINK-309
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.1.1
> Reporter: Luciano Resende
> Attachments: WINK-309.patch
>
>
> While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
> This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Posted by "Luciano Resende (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WINK-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904350#action_12904350 ]
Luciano Resende commented on WINK-309:
--------------------------------------
Stepping back, it would be good to know if there is any specific requirement to have these configurations files inside META-INF, otherwise I can come up with a new patch that would move these files as regular resources outside of the META-INF.
> Export META-INF and META-INF/server folders to avoid issues under OSGi environment
> ----------------------------------------------------------------------------------
>
> Key: WINK-309
> URL: https://issues.apache.org/jira/browse/WINK-309
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.1.1
> Reporter: Luciano Resende
> Attachments: WINK-309.patch
>
>
> While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
> This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Posted by "Bryant Luk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WINK-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904229#action_12904229 ]
Bryant Luk commented on WINK-309:
---------------------------------
Thanks. I will apply this patch, but out of curiosity how does your OSGi environment work with multiple bundles exporting META-INF?
> Export META-INF and META-INF/server folders to avoid issues under OSGi environment
> ----------------------------------------------------------------------------------
>
> Key: WINK-309
> URL: https://issues.apache.org/jira/browse/WINK-309
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.1.1
> Reporter: Luciano Resende
> Attachments: WINK-309.patch
>
>
> While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
> This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Posted by "Bryant Luk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WINK-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927957#action_12927957 ]
Bryant Luk commented on WINK-309:
---------------------------------
Reverted the fix in SVN 1030611.
> Export META-INF and META-INF/server folders to avoid issues under OSGi environment
> ----------------------------------------------------------------------------------
>
> Key: WINK-309
> URL: https://issues.apache.org/jira/browse/WINK-309
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.1.1
> Reporter: Luciano Resende
> Attachments: WINK-309.patch
>
>
> While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
> This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Posted by "Bryant Luk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WINK-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927954#action_12927954 ]
Bryant Luk commented on WINK-309:
---------------------------------
Sorry don't remember replying to the last comment on the list but I don't think there was any specific requirement for the files inside the META-INF.
I took a look at some other OSGi bundle documentation and I think it's a mistake to export META-INF here. It produces undesirable results and potential conflicts, so I'll revert that change. Might need to fix this by moving it to a different package as suggested.
> Export META-INF and META-INF/server folders to avoid issues under OSGi environment
> ----------------------------------------------------------------------------------
>
> Key: WINK-309
> URL: https://issues.apache.org/jira/browse/WINK-309
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.1.1
> Reporter: Luciano Resende
> Attachments: WINK-309.patch
>
>
> While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
> This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WINK-309) Export META-INF and META-INF/server
folders to avoid issues under OSGi environment
Posted by "Raymond Feng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WINK-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904237#action_12904237 ]
Raymond Feng commented on WINK-309:
-----------------------------------
It's not a good idea to export META-INF in OSGi as it will create split package problems.
I think we should move the property files to a different package and then export it.
> Export META-INF and META-INF/server folders to avoid issues under OSGi environment
> ----------------------------------------------------------------------------------
>
> Key: WINK-309
> URL: https://issues.apache.org/jira/browse/WINK-309
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.1.1
> Reporter: Luciano Resende
> Attachments: WINK-309.patch
>
>
> While loading wink extensions with Tuscany and OSGi environment, the OSGi fails to find properties file under META-INF and META-INF/server
> This is related to https://issues.apache.org/jira/browse/TUSCANY-3595
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.