You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2008/01/22 22:38:34 UTC

[jira] Created: (MATH-180) Add support for OSGi to Commons Math

Add support for OSGi to Commons Math
------------------------------------

                 Key: MATH-180
                 URL: https://issues.apache.org/jira/browse/MATH-180
             Project: Commons Math
          Issue Type: Task
    Affects Versions: 1.1
            Reporter: Niall Pemberton
            Priority: Minor
             Fix For: 1.2


I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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


[jira] Resolved: (MATH-180) Add support for OSGi to Commons Math

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

Phil Steitz resolved MATH-180.
------------------------------

    Resolution: Fixed

> Add support for OSGi to Commons Math
> ------------------------------------
>
>                 Key: MATH-180
>                 URL: https://issues.apache.org/jira/browse/MATH-180
>             Project: Commons Math
>          Issue Type: Task
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.2
>
>
> I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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


[jira] Commented: (MATH-180) Add support for OSGi to Commons Math

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561482#action_12561482 ] 

Niall Pemberton commented on MATH-180:
--------------------------------------

P.S. See http://wiki.apache.org/commons/CommonsOsgi

> Add support for OSGi to Commons Math
> ------------------------------------
>
>                 Key: MATH-180
>                 URL: https://issues.apache.org/jira/browse/MATH-180
>             Project: Commons Math
>          Issue Type: Task
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.2
>
>
> I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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


[jira] Commented: (MATH-180) Add support for OSGi to Commons Math

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564821#action_12564821 ] 

Niall Pemberton commented on MATH-180:
--------------------------------------

I have configured the m2 build to add OSGi to the jar's manifest:
    http://svn.apache.org/viewvc?view=rev&revision=617551

A few notes on this:
 - I did it manually adding manifest entries thru' the jar plugin configuration rather than the Felix bundleplugin. This was because the released bundleplugin adds alot of "uses" statements which when the next version of the bnd tool is available (Bnd 0.0.236) will not happen.
 - I did run the bundleplugin to check what it produced and used that as a basis to configure the manifest entires
 - Commons Logging is listed as a dependency, but only used thru' Commons Discovery. The bundleplugin didn't include it in the "import" statement, so I haven't either
 - Once we have a released commons parent with the bundleplugin configured we can remove the config I've added here for math

> Add support for OSGi to Commons Math
> ------------------------------------
>
>                 Key: MATH-180
>                 URL: https://issues.apache.org/jira/browse/MATH-180
>             Project: Commons Math
>          Issue Type: Task
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.2
>
>
> I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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


[jira] Commented: (MATH-180) Add support for OSGi to Commons Math

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562022#action_12562022 ] 

Niall Pemberton commented on MATH-180:
--------------------------------------

OK, once the RM and tool (m1 or m2) is decided we can then sort out OSGi. Are there any packages of Commons Math that are consider "for internal use" and not really for end-users? I ask because you can specify <Private-Package> for those parts in OSGi and AIUI these are then not available to other bundles which import Math.

> Add support for OSGi to Commons Math
> ------------------------------------
>
>                 Key: MATH-180
>                 URL: https://issues.apache.org/jira/browse/MATH-180
>             Project: Commons Math
>          Issue Type: Task
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.2
>
>
> I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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


[jira] Commented: (MATH-180) Add support for OSGi to Commons Math

Posted by "Luc Maisonobe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561800#action_12561800 ] 

Luc Maisonobe commented on MATH-180:
------------------------------------

I hope 1.2 will be released soon, and I do my best for that. I think it would be better to use Maven2 now that it is up and runs like a charm (this is what I use), but I don't decide this. I am not able to be the release manager yet.
I agree support for OSGi is definitely a good thing.

> Add support for OSGi to Commons Math
> ------------------------------------
>
>                 Key: MATH-180
>                 URL: https://issues.apache.org/jira/browse/MATH-180
>             Project: Commons Math
>          Issue Type: Task
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.2
>
>
> I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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


[jira] Commented: (MATH-180) Add support for OSGi to Commons Math

Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567476#action_12567476 ] 

Phil Steitz commented on MATH-180:
----------------------------------

Is there anything else we need to do on this before cutting math 1.2?

> Add support for OSGi to Commons Math
> ------------------------------------
>
>                 Key: MATH-180
>                 URL: https://issues.apache.org/jira/browse/MATH-180
>             Project: Commons Math
>          Issue Type: Task
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.2
>
>
> I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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


[jira] Commented: (MATH-180) Add support for OSGi to Commons Math

Posted by "Luc Maisonobe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562624#action_12562624 ] 

Luc Maisonobe commented on MATH-180:
------------------------------------

All packages can be used by end users.
The only thing that should be kept away from distribution is the "mantissa" directory in the subversion repository which is only used as a code base for [math] developers. Some packages have already been transfered for 1.2 release, other packages will follow later, and still others will probably be dropped sometimes. This directory will therefore reduce as code is transfered to o.a.c.math and finally disappear. However I think this directory will be manually discarded when the release will be cut out and that the OSGi configuration in pom will never see it. 

> Add support for OSGi to Commons Math
> ------------------------------------
>
>                 Key: MATH-180
>                 URL: https://issues.apache.org/jira/browse/MATH-180
>             Project: Commons Math
>          Issue Type: Task
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.2
>
>
> I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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


[jira] Commented: (MATH-180) Add support for OSGi to Commons Math

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567485#action_12567485 ] 

Niall Pemberton commented on MATH-180:
--------------------------------------

I don't think so, I re-built math yesteray and checked that nothing had changed OSGi wise (and none of the commits since affect it) - so looks good to go from my PoV

> Add support for OSGi to Commons Math
> ------------------------------------
>
>                 Key: MATH-180
>                 URL: https://issues.apache.org/jira/browse/MATH-180
>             Project: Commons Math
>          Issue Type: Task
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.2
>
>
> I saw mentioned that Commons Math 1.2 is on the horizon and it would be good to add support for OSGi. Is the release likely to be done using Maven1 or Maven2? I can provide a patch for either, but if its m2 then will probably hold off until nearer the release to see if we get anything done in the commons-parent pom.

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