You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Michael Van Geertruy (JIRA)" <ji...@apache.org> on 2011/02/25 21:17:25 UTC

[jira] Created: (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: KARAF-486
                 URL: https://issues.apache.org/jira/browse/KARAF-486
             Project: Karaf
          Issue Type: Improvement
          Components: console
    Affects Versions: 2.2.1, 3.0.0
         Environment: All
            Reporter: Michael Van Geertruy
            Priority: Minor


Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-486:
---------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   3.1.0

> Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-486
>                 URL: https://issues.apache.org/jira/browse/KARAF-486
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>         Environment: All
>            Reporter: Michael Van Geertruy
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-486:
------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-486
>                 URL: https://issues.apache.org/jira/browse/KARAF-486
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features, karaf-kar, karaf-shell
>    Affects Versions: 2.2.1, 3.0.0
>         Environment: All
>            Reporter: Michael Van Geertruy
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

--
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: (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999900#comment-12999900 ] 

Andreas Pieber commented on KARAF-486:
--------------------------------------

I think this should be 3.x only feature (new feature, not only fix). But otherwise my +1. I really like the idea. But still there are some open questions:

1) how do we want to handle situations if more than one feature should be produced?
2) which deps belong to which feature?

But still, after some fine-tuning I think this could be quite useful

> Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-486
>                 URL: https://issues.apache.org/jira/browse/KARAF-486
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>         Environment: All
>            Reporter: Michael Van Geertruy
>            Priority: Minor
>
> Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Posted by "Michael Van Geertruy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020152#comment-13020152 ] 

Michael Van Geertruy commented on KARAF-486:
--------------------------------------------

Andreas,

Currently I use a perl script to do this, works pretty well!  In that script, I create one large features.xml file for all 140+ bundles (that aren't in the system folder).  I would suggest something similar here, at least as a start point.

Because all dependencies are in one feature, and that feature is generated from all of the bundles deployed to a karaf instance once it is stable, there aren't any dependencies between features... because there is only one feature.  This also assumes that all consumers of this features file will have the appropriate system features defined in featuresBoot.

> Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-486
>                 URL: https://issues.apache.org/jira/browse/KARAF-486
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>         Environment: All
>            Reporter: Michael Van Geertruy
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020265#comment-13020265 ] 

Andreas Pieber commented on KARAF-486:
--------------------------------------

mhm, maybe we should extend this feature to also allow creating a .kar package?

> Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-486
>                 URL: https://issues.apache.org/jira/browse/KARAF-486
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>         Environment: All
>            Reporter: Michael Van Geertruy
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-486:
------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)
    
> Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-486
>                 URL: https://issues.apache.org/jira/browse/KARAF-486
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-feature, karaf-kar, karaf-shell
>    Affects Versions: 2.2.1, 3.0.0
>         Environment: All
>            Reporter: Michael Van Geertruy
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

--
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: (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-486:
---------------------------------------

    Fix Version/s: 3.0.0

Andreas, Michael set the affected version, not the fix version :)

Anyway, I defined the fix version as 3.0.0. This kind of enhancement has to be performed only a trunk.

> Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-486
>                 URL: https://issues.apache.org/jira/browse/KARAF-486
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.2.1, 3.0.0
>         Environment: All
>            Reporter: Michael Van Geertruy
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-486) Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-486:
---------------------------------------

    Component/s: karaf-kar
                 karaf-features

> Create a console command to generate a features.xml file, and .kar file for an application once it is successfully deployed into Karaf.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-486
>                 URL: https://issues.apache.org/jira/browse/KARAF-486
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features, karaf-kar, karaf-shell
>    Affects Versions: 2.2.1, 3.0.0
>         Environment: All
>            Reporter: Michael Van Geertruy
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> Create a console command to generate a features.xml file and then a .kar file for an application once it is successfully deployed into karaf.  Because all of the information to create a features.xml file will be available once a set of application bundles has been deployed into Karaf, Karaf should be able to generate the features.xml file.  Once the features.xml file has been created, Karaf should be able to generate a .kar file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira