You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2007/06/20 20:51:26 UTC

[jira] Created: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
---------------------------------------------------------------------------------------------------

                 Key: FELIX-310
                 URL: https://issues.apache.org/jira/browse/FELIX-310
             Project: Felix
          Issue Type: New Feature
          Components: Bundle Repository (OBR), Installer, Maven Bundle Plugin
            Reporter: james strachan


If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.

It would be great if you could run...

{code}
mvn felix:run
{code}

which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "Peter Neubauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506631 ] 

Peter Neubauer commented on FELIX-310:
--------------------------------------

There is some related work going on but being focused on portability over KF, Felix and Equinox.
http://wiki.ops4j.org/confluence/display/ops4j/Pax+Construct

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer, Maven Bundle Plugin
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "james strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508492 ] 

james strachan commented on FELIX-310:
--------------------------------------

The Pax Construct stuff looks really good btw!

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer, Maven Bundle Plugin
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507219 ] 

Richard S. Hall commented on FELIX-310:
---------------------------------------

Actually, an initial version of such a maven plugin already exists in the Felix trunk in tools/maven2/maven-felix-plugin/. Alex started this, but wasn't able to finish it due to lack of time.

Currently, the launching of bundles is pretty well taken care of, but the testing aspect still needs some work, but in reality I think the two are orthogonal...if we can get the felix plugin working well for automatically launching Felix and starting bundles and their dependencies, then we should be able to define some bundles/services that define a testing framework that can use this mechanism to auto-launch Felix with a set of bundles for testing purposes. Whether or not this should be integrated into the bundle plugin is open for debate...

It would be great if someone want to look at this plugin and get see what it would take to finish it off...then the next step is to define how to do testing with it. Any one interested in working on this?

Felix could really benefit from someone working on these two issues, since we really need to start building our own TCK...

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer, Maven Bundle Plugin
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "Hendy Irawan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722411#action_12722411 ] 

Hendy Irawan commented on FELIX-310:
------------------------------------

Additionally, OPS4J has Pax Exam which should help too in testing:

http://wiki.ops4j.org/display/paxexam/Pax+Exam

See also:

http://felix.apache.org/site/bnd-testing-harness.html

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Updated: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

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

Stuart McCulloch updated FELIX-310:
-----------------------------------

    Component/s:     (was: Maven Bundle Plugin)

I'm dropping the bundleplugin from the list of affected components because I feel this is more of a deployment issue, and should really be done in a separate plugin (like in the existing maven-felix-plugin). Therefore I can't foresee any changes for the bundleplugin... but feel free to prove me wrong!

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "Hendy Irawan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722408#action_12722408 ] 

Hendy Irawan commented on FELIX-310:
------------------------------------

For the 'felix:run' use case, I think Pax Runner & maven-pax-plugin should be used, i.e. contributed as part of Felix plugin.

For testing use case, I think it should be filed as separate ticket.

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595688#action_12595688 ] 

Richard S. Hall commented on FELIX-310:
---------------------------------------

Stefano, if using pax runner helps us get closer to having a testing framework, then I am all for it. Last I talked with Niclas, there was some movement on a testing framework on their side. I also know that there is movement from Luminis and my former lab in these areas, but so far no one is taking the lead on getting some sort of testing framework up and running. Feel free to start pushing on this issue. :-)

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596106#action_12596106 ] 

Richard S. Hall commented on FELIX-310:
---------------------------------------

I thought someone told me there was some issue with the Spring DM testing framework, but in the end if it would work, then it is fine by me. However, I do believe that there are a few community members working in this area, so it would be nice if we could fine something to unify around.

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596016#action_12596016 ] 

Carsten Ziegeler commented on FELIX-310:
----------------------------------------

At least from the docs, the Spring dynamic modules testing framework seems to be very easy to use and it supports Felix (among others) already.

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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


[jira] Commented: (FELIX-310) provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server

Posted by "Stefano Lenzi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595679#action_12595679 ] 

Stefano Lenzi commented on FELIX-310:
-------------------------------------

I would like to work on this issue, but it seems to me that maven-pax-plugin ( http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/index.html ) is going more or less in the same direction, in particular the maven-pax-plugin:run goal seems to very interesting. 
Should we extend maven-pax-plugin to provided hook for testing purpose?

> provide a maven 'felix:run' goal for running a maven created bundle inside an embedded Felix server
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-310
>                 URL: https://issues.apache.org/jira/browse/FELIX-310
>             Project: Felix
>          Issue Type: New Feature
>          Components: Bundle Repository (OBR), Installer
>            Reporter: james strachan
>
> If you've ever used the 'mvn jetty:run' plugin, you'll know how damn useful it is to boot up a web app quickly via the maven plugin for jetty.
> It would be great if you could run...
> {code}
> mvn felix:run
> {code}
> which would create the bundle in the current project (using the bundle plugin), then boot up an embedded Felix container and deploy the bundle inside the container to check things work fine. You could maybe also add dependencies of other bundles to be deployed with it for system tests?

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