Hi,
I use the following order in my config.properties file:
felix.auto.start.1=\
"file:/D:/EclipseWorkspace/rundir/runner/bundles/org.apache.felix.shell_1.0.2.jar"
\
"file:/D:/EclipseWorkspace/rundir/runner/bundles/org.apache.felix.shell.tui_1.0.2.jar"
\
"file:/C:/pax-url-mvn-1.3.2.jar"
felix.auto.start.2=\
"mvn:myGroupId/myArtifactId"
that means that the bundle
"mvn:myGroupId/myArtifactId"
will be installed after the installation of pax-url-mvn-1.3.2.jar, but I
get the "Unknown protocol: mvn" error.
The strange is that if I enter the following command in the felix
command line:
install mvn:myGroupId/myArtifactId
the artifact is installed successfully.
Is there any synchronization issue with the auto start levels?
In pax runner plugin for eclipse, there is no need to install
pax-url-mvn bundle.. it is somehow pre-installed and the mvn protocol
registered. Can I do it also in my code before executing Felix?
Thank you,
Kostas
On 3/6/2011 4:32 μμ, Richard S. Hall wrote:
The important thing is that you will have to have it active before
anyone tries to use a mvn: URL...I'm not sure when you are trying to
use the URL relative to when you start the Pax bundle, but that is
likely the issue.
-> richard
On 6/3/11 4:18, Konstantinos Giannoutakis wrote:
Hi to all,
I am trying to run Felix with eclipse (as described in
http://felix.apache.org/site/integrating-felix-with-eclipse.html),
but I want my bundles to be loaded from my local Maven repository.
How should I register for example pax mvn to the felix framework?
If I load pax mvn in level 1 of my container, I still get:
Caused by: java.net.MalformedURLException: Unknown protocol: mvn
Can anyone help me with this?
Thank you very much,
Kostas
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general