You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andreas Pieber (JIRA)" <ji...@apache.org> on 2011/01/10 16:10:46 UTC

[jira] Created: (KARAF-367) Install .kar files via the cmd

Install .kar files via the cmd
------------------------------

                 Key: KARAF-367
                 URL: https://issues.apache.org/jira/browse/KARAF-367
             Project: Karaf
          Issue Type: New Feature
          Components: console
            Reporter: Andreas Pieber


This feature should allow you to install .kar files into you karaf instance using mvn:... or file:.... Basically it should do the same as copying the .kar file into the deploy folder.

I'm not sure by now how we want to handle this. We can either copy the .kar to the deploy folder or execute the code of the .kar deployer directly on the .kar file. Both options seams valid to me, but I don't like the idea of installing bundles/features/.kar/... by dropping them into a deploy folder if they're already available e.g. via mvn where I can directly download and install them via one line

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


[jira] Commented: (KARAF-367) Install .kar files via the cmd

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

Jean-Baptiste Onofré commented on KARAF-367:
--------------------------------------------

Me too :)

> Install .kar files via the cmd
> ------------------------------
>
>                 Key: KARAF-367
>                 URL: https://issues.apache.org/jira/browse/KARAF-367
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> This feature should allow you to install .kar files into you karaf instance using mvn:... or file:.... Basically it should do the same as copying the .kar file into the deploy folder.
> I'm not sure by now how we want to handle this. We can either copy the .kar to the deploy folder or execute the code of the .kar deployer directly on the .kar file. Both options seams valid to me, but I don't like the idea of installing bundles/features/.kar/... by dropping them into a deploy folder if they're already available e.g. via mvn where I can directly download and install them via one line

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


[jira] Commented: (KARAF-367) Install .kar files via the cmd

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

Andreas Pieber commented on KARAF-367:
--------------------------------------

The problem is that one kar could contain more than one feature file. IMHO we have two options

1) simply unpacking the kar and add the found features files to feature index
2) handle kar files separately from features and only store which features where packed in which kar file

I personally would prefer the first option. I don't think that it is important which feature files come from which kar files.

> Install .kar files via the cmd
> ------------------------------
>
>                 Key: KARAF-367
>                 URL: https://issues.apache.org/jira/browse/KARAF-367
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> This feature should allow you to install .kar files into you karaf instance using mvn:... or file:.... Basically it should do the same as copying the .kar file into the deploy folder.
> I'm not sure by now how we want to handle this. We can either copy the .kar to the deploy folder or execute the code of the .kar deployer directly on the .kar file. Both options seams valid to me, but I don't like the idea of installing bundles/features/.kar/... by dropping them into a deploy folder if they're already available e.g. via mvn where I can directly download and install them via one line

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


[jira] [Resolved] (KARAF-367) Install .kar files via the cmd

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

Jean-Baptiste Onofré resolved KARAF-367.
----------------------------------------

    Resolution: Duplicate

Duplicate with KARAF-460

> Install .kar files via the cmd
> ------------------------------
>
>                 Key: KARAF-367
>                 URL: https://issues.apache.org/jira/browse/KARAF-367
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> This feature should allow you to install .kar files into you karaf instance using mvn:... or file:.... Basically it should do the same as copying the .kar file into the deploy folder.
> I'm not sure by now how we want to handle this. We can either copy the .kar to the deploy folder or execute the code of the .kar deployer directly on the .kar file. Both options seams valid to me, but I don't like the idea of installing bundles/features/.kar/... by dropping them into a deploy folder if they're already available e.g. via mvn where I can directly download and install them via one line

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

[jira] Commented: (KARAF-367) Install .kar files via the cmd

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

Jean-Baptiste Onofré commented on KARAF-367:
--------------------------------------------

I guess that you mean something like:

kar:install mvn:groupid/artifactid/1.0/kar
kar:install file:/path/to/my.kar

For the kar, it's an archive with a features descriptor and associated bundles.

So we need to handle that as a features and resolved the bundles from the kar (using JarEntry for instance).

WDYT ?

> Install .kar files via the cmd
> ------------------------------
>
>                 Key: KARAF-367
>                 URL: https://issues.apache.org/jira/browse/KARAF-367
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> This feature should allow you to install .kar files into you karaf instance using mvn:... or file:.... Basically it should do the same as copying the .kar file into the deploy folder.
> I'm not sure by now how we want to handle this. We can either copy the .kar to the deploy folder or execute the code of the .kar deployer directly on the .kar file. Both options seams valid to me, but I don't like the idea of installing bundles/features/.kar/... by dropping them into a deploy folder if they're already available e.g. via mvn where I can directly download and install them via one line

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


[jira] [Closed] (KARAF-367) Install .kar files via the cmd

Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-367.
--------------------------------

    
> Install .kar files via the cmd
> ------------------------------
>
>                 Key: KARAF-367
>                 URL: https://issues.apache.org/jira/browse/KARAF-367
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>            Reporter: Andreas Pieber
>
> This feature should allow you to install .kar files into you karaf instance using mvn:... or file:.... Basically it should do the same as copying the .kar file into the deploy folder.
> I'm not sure by now how we want to handle this. We can either copy the .kar to the deploy folder or execute the code of the .kar deployer directly on the .kar file. Both options seams valid to me, but I don't like the idea of installing bundles/features/.kar/... by dropping them into a deploy folder if they're already available e.g. via mvn where I can directly download and install them via one line

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