You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Gokturk Gezer (Created) (JIRA)" <ji...@apache.org> on 2011/10/15 20:15:11 UTC

[jira] [Created] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Making ApacheDS generate OSGI manifests
---------------------------------------

                 Key: DIRSERVER-1668
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
             Project: Directory ApacheDS
          Issue Type: Improvement
    Affects Versions: 2.0.0-M4
            Reporter: Gokturk Gezer
             Fix For: 2.0.0-M4


Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Göktürk Gezer (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128390#comment-13128390 ] 

Göktürk Gezer commented on DIRSERVER-1668:
------------------------------------------

Shared project poms were also supposed to change but they didn't. I prepared the diff on trunk-with-dependencies. I guess you're working on some other trunk?
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Pierre-Arnaud Marcelot (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128981#comment-13128981 ] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1668:
---------------------------------------------------

About manifests, we used that approach as well at first when we OSGI-fied the LDAP API (Shared) earlier this year with Alex.
With the 'shared' keyword being duplicated twice and also to match our other existing bundle IDs on the Studio part, we then decided to match a naming convention similar to what is done in the Eclipse world.

Here's the story. ;)

Currently, Studio is broken and there are more than 2000 errors in Eclipse.

I will get back to the old naming scheme in order to bring back Studio to a suitable and running state. I'll launch a new thread on the ML about the bundle naming after, for us to all agree about it.
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Pierre-Arnaud Marcelot (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128877#comment-13128877 ] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1668:
---------------------------------------------------

On the Shared manifests, I would have preferred if we could have stayed with the previously used bundle IDs.

This is making Apache Directory Studio plugins depending on them completely broken... :(

Also, we tried to minimize the use of '-' in Bundle IDs.
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Pierre-Arnaud Marcelot (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128880#comment-13128880 ] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1668:
---------------------------------------------------

One other thing I noticed, the project 'shared-ldap-codec-standalone' should not be made a bundle.
It's there to maintain compatibility for non-osgi users, so making it a bundle seems counter-productive.

                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Göktürk Gezer (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128942#comment-13128942 ] 

Göktürk Gezer commented on DIRSERVER-1668:
------------------------------------------

For all manifests, i changed OSGI manifests to some uniform model which has been accepted by many OSGI based product. It has no beneficial use for me other than clarity, but as i see you've reasons. So i can change them back to a dotted notation if you wish.

shared-ldap-codec-standalone is now referenced by apacheds modules. That's why i had to change it too. These kind of weirdnesses will be cleaned as we go through OSGI goals.
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Pierre-Arnaud Marcelot (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128991#comment-13128991 ] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1668:
---------------------------------------------------

No problem, Göktürk. ;)
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Gokturk Gezer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gokturk Gezer updated DIRSERVER-1668:
-------------------------------------

    Attachment: mvn-bnd.diff

All necessary project poms are modified to generate OSGI headers. Diff is attached. 

Both apacheds and shared modules are changed in a way that they export all of their local packages with corresponding parent's version number. I didn't specified "Private-Package" for any at that time.
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Gokturk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] [Resolved] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Emmanuel Lecharny (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1668.
------------------------------------------

    Resolution: Fixed

Patch committed : http://svn.apache.org/viewvc?rev=1184763&view=rev

Thanks !
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Emmanuel Lecharny (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128476#comment-13128476 ] 

Emmanuel Lecharny commented on DIRSERVER-1668:
----------------------------------------------

Sorry, forgot to commit shared.
Done with http://svn.apache.org/viewvc?rev=1184895&view=rev
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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] (DIRSERVER-1668) Making ApacheDS generate OSGI manifests

Posted by "Göktürk Gezer (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128986#comment-13128986 ] 

Göktürk Gezer commented on DIRSERVER-1668:
------------------------------------------

Hmm, I see.

Sorry to broke Studio :)
                
> Making ApacheDS generate OSGI manifests
> ---------------------------------------
>
>                 Key: DIRSERVER-1668
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1668
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Göktürk Gezer
>              Labels: apacheds, maven-bundle-plugin, osgi
>             Fix For: 2.0.0-M4
>
>         Attachments: mvn-bnd.diff
>
>
> Current ApacheDS modules are jar files. POMs are need to be changed to generate OSGI manifests.

--
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