You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2008/01/17 16:04:34 UTC

[jira] Created: (IVY-706) The bundle packaging of Ivy is incorrect

The bundle packaging of Ivy is incorrect
----------------------------------------

                 Key: IVY-706
                 URL: https://issues.apache.org/jira/browse/IVY-706
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.0.0-beta-2
            Reporter: Nicolas Lalevée
            Priority: Minor


Ivy has recently been packaged as an OSGI bundle by adding a MANIFEST.MF. But it is not correct since the runtime jars are not declared in the manifest.



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


[jira] Commented: (IVY-706) The bundle packaging of Ivy is incorrect

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560519#action_12560519 ] 

Nicolas Lalevée commented on IVY-706:
-------------------------------------

ha, yes ! of course.

> The bundle packaging of Ivy is incorrect
> ----------------------------------------
>
>                 Key: IVY-706
>                 URL: https://issues.apache.org/jira/browse/IVY-706
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Nicolas Lalevée
>            Priority: Minor
>         Attachments: IVY-706-r612799.patch
>
>
> Ivy has recently been packaged as an OSGI bundle by adding a MANIFEST.MF. But it is not correct since the runtime jars are not declared in the manifest.

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


[jira] Commented: (IVY-706) The bundle packaging of Ivy is incorrect

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560453#action_12560453 ] 

Nicolas Lalevée commented on IVY-706:
-------------------------------------

I have no strong opinion about dependencies management with OSGI bundle. I just know that having the jar embedded evict the library version management issues, especially with xerces. On the other side we loose the flexibility.

In fact I did this patch to make easier for Eclipse beginner to start playing with IvyDE with the sources. Probably it is IvyDE that should embed these jars. So people who wants to build IvyDE trunk can do it directly without configuration editing. And keep Ivy as a light bundle.

But this bug could not be closed as invalid because the {{Import-Package}} declarations are need, aren't they ? (I am more an Eclipse player than an OSGI-spec reader)


> The bundle packaging of Ivy is incorrect
> ----------------------------------------
>
>                 Key: IVY-706
>                 URL: https://issues.apache.org/jira/browse/IVY-706
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Nicolas Lalevée
>            Priority: Minor
>         Attachments: IVY-706-r612799.patch
>
>
> Ivy has recently been packaged as an OSGI bundle by adding a MANIFEST.MF. But it is not correct since the runtime jars are not declared in the manifest.

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


[jira] Resolved: (IVY-706) The bundle packaging of Ivy is incorrect

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVY-706.
---------------------------------

    Resolution: Invalid

> The bundle packaging of Ivy is incorrect
> ----------------------------------------
>
>                 Key: IVY-706
>                 URL: https://issues.apache.org/jira/browse/IVY-706
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Nicolas Lalevée
>            Priority: Minor
>         Attachments: IVY-706-r612799.patch
>
>
> Ivy has recently been packaged as an OSGI bundle by adding a MANIFEST.MF. But it is not correct since the runtime jars are not declared in the manifest.

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


[jira] Commented: (IVY-706) The bundle packaging of Ivy is incorrect

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560446#action_12560446 ] 

Xavier Hanin commented on IVY-706:
----------------------------------

Mmm, I'm not sure how to deal with that. Ivy is now packaged as an OSGi bundle, meaning that the jar provided and used by many users outside any OSGi runtime. In this jar, we cannot afford packaging the dependencies inside the bundle/jar as OSGi allows to.

Now in an OSGi environment like eclipse equinox, the dependencies are missing... is it a problem? I'd say it follows OSGi philosophy as I understand it: the Ivy bundle declares dependencies on a set of packages using the Import-Package directive, but specifying them as optional. And this is the case, Ivy can run without any dependency. So if you need one of these dependencies in an OSGi environment you need to provide them as OSGi bundles too.

Now comes the IvyDE case. To be simple to use, I guess we should provide an update site with all the necessary bundles: Ivy, IvyDE and also optional dependencies as OSGi bundles. We should be able to find some of them if not all in the OSGi community, maybe from Oscar or equinox.

Hence I'm in favor of closing this bug as Invalid. WDYT?

> The bundle packaging of Ivy is incorrect
> ----------------------------------------
>
>                 Key: IVY-706
>                 URL: https://issues.apache.org/jira/browse/IVY-706
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Nicolas Lalevée
>            Priority: Minor
>         Attachments: IVY-706-r612799.patch
>
>
> Ivy has recently been packaged as an OSGI bundle by adding a MANIFEST.MF. But it is not correct since the runtime jars are not declared in the manifest.

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


[jira] Commented: (IVY-706) The bundle packaging of Ivy is incorrect

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560464#action_12560464 ] 

Xavier Hanin commented on IVY-706:
----------------------------------

They are needed, but they are there :-) 

> The bundle packaging of Ivy is incorrect
> ----------------------------------------
>
>                 Key: IVY-706
>                 URL: https://issues.apache.org/jira/browse/IVY-706
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Nicolas Lalevée
>            Priority: Minor
>         Attachments: IVY-706-r612799.patch
>
>
> Ivy has recently been packaged as an OSGI bundle by adding a MANIFEST.MF. But it is not correct since the runtime jars are not declared in the manifest.

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


[jira] Updated: (IVY-706) The bundle packaging of Ivy is incorrect

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée updated IVY-706:
--------------------------------

    Attachment: IVY-706-r612799.patch

I have added the jars declaration in the MANIFEST.
I have (well Eclipse automatically did it) also added the jars declaration into the build.properties so Eclipse can build it.
And I have change the .classpath.default to reflect this change. I didn't change to the .classpath.ivyde as I don't know how to configure eclipse correctly, it seems that using IvyDE within a Eclipse plugin is a bad idea.

> The bundle packaging of Ivy is incorrect
> ----------------------------------------
>
>                 Key: IVY-706
>                 URL: https://issues.apache.org/jira/browse/IVY-706
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Nicolas Lalevée
>            Priority: Minor
>         Attachments: IVY-706-r612799.patch
>
>
> Ivy has recently been packaged as an OSGI bundle by adding a MANIFEST.MF. But it is not correct since the runtime jars are not declared in the manifest.

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