You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/06/07 12:46:22 UTC

[jira] [Created] (IO-333) Export packages at version 1.x in addition to 2.x

Felix Meschberger created IO-333:
------------------------------------

             Summary: Export packages at version 1.x in addition to 2.x
                 Key: IO-333
                 URL: https://issues.apache.org/jira/browse/IO-333
             Project: Commons IO
          Issue Type: Improvement
    Affects Versions: 2.3
            Reporter: Felix Meschberger


As discussed on the list [1], I propose to export the provided packages twice, once with the default version being the project version and once with a
version complying more with OSGi semantic versioning [2].

I will attach proposed patch.

There seems to be one single problematic change since the 1.4 release: IO-318.
Strictly speaking this is an incompatible change because consumers would
catch a different exception and thus would fail to handle exceptions correctly. But according to IO-318, this is rare.

[1] http://markmail.org/message/x3bpi2qsudskqu2l
[2] http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf

--
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] (IO-333) Export packages at version 1.x in addition to 2.x

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

Felix Meschberger updated IO-333:
---------------------------------

    Attachment: IO-333.patch

Proposed patch adding export at version 1.5 in addition to current project version.

We have to explicitly list the packages due to how the BND library (used by the bundle plugin) creates the list of packages exported.

So, this patch lists all packages already existing in the 1.4 release and exports it at 1.5. This accounts for new functionality built into those packages since 1.4.

The list is duplicated for the regular export at the library version. In addition there is a pattern export to add all new packages in.

This patch assumes the 2.x export is more correct and the 1.x export version is for backwards compatibility.

Anyway going forward, proper semantic versioning should probably be applied to the exported packages and update the export version according to the changes.
                
> Export packages at version 1.x in addition to 2.x
> -------------------------------------------------
>
>                 Key: IO-333
>                 URL: https://issues.apache.org/jira/browse/IO-333
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Felix Meschberger
>         Attachments: IO-333.patch
>
>
> As discussed on the list [1], I propose to export the provided packages twice, once with the default version being the project version and once with a
> version complying more with OSGi semantic versioning [2].
> I will attach proposed patch.
> There seems to be one single problematic change since the 1.4 release: IO-318.
> Strictly speaking this is an incompatible change because consumers would
> catch a different exception and thus would fail to handle exceptions correctly. But according to IO-318, this is rare.
> [1] http://markmail.org/message/x3bpi2qsudskqu2l
> [2] http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf

--
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] (IO-333) Export OSGi packages at version 1.x in addition to 2.x

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291267#comment-13291267 ] 

Gary D. Gregory commented on IO-333:
------------------------------------

Committed revision 1347766 using version 1.4.9999 for the first OSGi version.
                
> Export OSGi packages at version 1.x in addition to 2.x
> ------------------------------------------------------
>
>                 Key: IO-333
>                 URL: https://issues.apache.org/jira/browse/IO-333
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Felix Meschberger
>             Fix For: 2.4
>
>         Attachments: IO-333.patch
>
>
> As discussed on the list [1], I propose to export the provided packages twice, once with the default version being the project version and once with a
> version complying more with OSGi semantic versioning [2].
> I will attach proposed patch.
> There seems to be one single problematic change since the 1.4 release: IO-318.
> Strictly speaking this is an incompatible change because consumers would
> catch a different exception and thus would fail to handle exceptions correctly. But according to IO-318, this is rare.
> [1] http://markmail.org/message/x3bpi2qsudskqu2l
> [2] http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf

--
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] (IO-333) Export OSGi packages at version 1.x in addition to 2.x

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved IO-333.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4

Committed revision 1347766.
                
> Export OSGi packages at version 1.x in addition to 2.x
> ------------------------------------------------------
>
>                 Key: IO-333
>                 URL: https://issues.apache.org/jira/browse/IO-333
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Felix Meschberger
>             Fix For: 2.4
>
>         Attachments: IO-333.patch
>
>
> As discussed on the list [1], I propose to export the provided packages twice, once with the default version being the project version and once with a
> version complying more with OSGi semantic versioning [2].
> I will attach proposed patch.
> There seems to be one single problematic change since the 1.4 release: IO-318.
> Strictly speaking this is an incompatible change because consumers would
> catch a different exception and thus would fail to handle exceptions correctly. But according to IO-318, this is rare.
> [1] http://markmail.org/message/x3bpi2qsudskqu2l
> [2] http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf

--
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] (IO-333) Export OSGi packages at version 1.x in addition to 2.x

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated IO-333:
-------------------------------

    Summary: Export OSGi packages at version 1.x in addition to 2.x  (was: Export packages at version 1.x in addition to 2.x)
    
> Export OSGi packages at version 1.x in addition to 2.x
> ------------------------------------------------------
>
>                 Key: IO-333
>                 URL: https://issues.apache.org/jira/browse/IO-333
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Felix Meschberger
>         Attachments: IO-333.patch
>
>
> As discussed on the list [1], I propose to export the provided packages twice, once with the default version being the project version and once with a
> version complying more with OSGi semantic versioning [2].
> I will attach proposed patch.
> There seems to be one single problematic change since the 1.4 release: IO-318.
> Strictly speaking this is an incompatible change because consumers would
> catch a different exception and thus would fail to handle exceptions correctly. But according to IO-318, this is rare.
> [1] http://markmail.org/message/x3bpi2qsudskqu2l
> [2] http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf

--
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] (IO-333) Export OSGi packages at version 1.x in addition to 2.x

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292284#comment-13292284 ] 

Felix Meschberger commented on IO-333:
--------------------------------------

Thanks for the quick turnaround. Tested and works.
                
> Export OSGi packages at version 1.x in addition to 2.x
> ------------------------------------------------------
>
>                 Key: IO-333
>                 URL: https://issues.apache.org/jira/browse/IO-333
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Felix Meschberger
>             Fix For: 2.4
>
>         Attachments: IO-333.patch
>
>
> As discussed on the list [1], I propose to export the provided packages twice, once with the default version being the project version and once with a
> version complying more with OSGi semantic versioning [2].
> I will attach proposed patch.
> There seems to be one single problematic change since the 1.4 release: IO-318.
> Strictly speaking this is an incompatible change because consumers would
> catch a different exception and thus would fail to handle exceptions correctly. But according to IO-318, this is rare.
> [1] http://markmail.org/message/x3bpi2qsudskqu2l
> [2] http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf

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