Hi Joel,
The SunSPOT requires CLDC 1.1
This is too limited for OSGi to run on 'out of the box'.
My guess would be that this would require quite some tinkering to get
this to work.
For reasons why:
http://jadabs.berlios.de/jadabs-cldc/multiproject/osgi-j2me/index.html
This could be a
It looks like the best solution is not to register the Manager, but
register the Handlers ...
This is called the whiteboard pattern and greatly simplifies your
code. Everthing seems to fall in place then. If you do not want the
code that uses the Handler services to know about OSGi, use
Hi
is there a way to build two bundle artifacts for a project? One for
the normal classes and one for the test classes.
Currently maven builds to jars for me (normal-1.0.jar,
normal-1.0-tests.jar) and both should be enhanced with OSGi metadata.
Is there a good way to do this?
Thanks
Kristian
Is there a good way to do this?
It depends on what you understand by good. I had to write a plugin that
extends the maven-bundle-plugin only to include the test classes and
dependencies (the maven-bundle-plugin clearly states that test scoped
dependencies are not included in the classpath seen
It is not clear to me how you are getting the bundle URL, but you might
look into Bundle.getEntryPaths()/Bundle.findEntries() for listing the
contents of the bundle's JAR.
- richard
On 4/28/09 5:26 AM, Triquoit Mathieu wrote:
OK but I receive something like :
Hi,
Thank you very much, I will take a look. In fact, I am migrating an existing
application and yes, there was a Classpath scanner which automatically
loads language files by example.
Thank you very much,
Mathieu
2009/4/28 Neil Bartlett njbartl...@gmail.com
Mathieu,
But where do you
We are using Nexus and I added
http://people.apache.org/repo/m2-snapshot-repository to the repository list.
But it did not work. After many hours of despair, now I know why. The
Default setting of maven is, NOT to download snapshot-artifacts. You have to
tell maven explicit, that you want to use
Thanks! Looks interesting... ;-)
Kristian
2009/4/28 clovis.seragio...@raibau.at:
Is there a good way to do this?
It depends on what you understand by good. I had to write a plugin that
extends the maven-bundle-plugin only to include the test classes and
dependencies (the maven-bundle-plugin
2009/4/28 Kristian Köhler kristian.koeh...@googlemail.com
Thanks! Looks interesting... ;-)
FYI, another option is to use something like Pax-Exam to run your OSGi
tests:
http://wiki.ops4j.org/display/paxexam/Pax+Exam
it also lets you run the same tests on a mixture of different OSGi
OK but I receive something like : bundle://140.0:1/org/mtr/resources. The
package org.mtr.resources contains properties files and I would like to load
these files. Is there a URL Converter or something like that ?
Thanks,
2009/4/27 Stuart McCulloch mccu...@gmail.com
2009/4/27 Triquoit Mathieu
Hi everyone-
I have not so much a question, but a heads-up in case someone else
runs into this.
I built the framework.security bundle, and it works fine with Felix
1.4. (Well, the PermissionAdmin service does, I haven't tried the
ConditionalPermissionAdmin service.)
But it fails with
Hi,
My first question is whether Axis2 is already support in Apache Felix. If
so, my a bit more complex question is if it is even possible to do the
following in OSGi with axis2. What I'd like to do is dynamically register
web service interfaces for services that are loaded in OSGi. To be more
Hi,
I think that much of what you're looking for is available in the
Apache CXF implementation of Distributed OSGi
(http://cxf.apache.org/distributed-osgi.html).
It dynamically exposes and creates a WSDL for OSGi services that are
registered with RFC 119 properties. See here for an example:
Hi,
I think that much of what you're looking for is available in the
Apache CXF implementation of Distributed OSGi
(http://cxf.apache.org/distributed-osgi.html).
It dynamically exposes and creates a WSDL for OSGi services that are
registered with RFC 119 properties. See here for an example:
Thanks David. Sounds interesting, I'm not familiar with CXF, so I'll have a
look.
--
View this message in context:
http://www.nabble.com/Axis2-for-OSGi-for-Creating-Web-Service-Interface-tp23278830p23279489.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
Hi ,
Sometimes ago I have tested Axis2 with Eclipse Equinox successfully
, so it's should support to Felix too , WSO2's Carbon [4] is a OSGI
based great SOA platform that use AXIS2 as it's web service engine .
So if you are familiar with Axis2 you can try out for following links
. For any issue
2009/4/23 Steve Schwartz schwa...@alum.mit.edu
Is it possible for provided dependencies to be passed as well?
the 2.0.0 bundleplugin can now embed provided dependencies
(basically it can see anything that the Maven resolver can see)
I am creating an OSGi bundle, based on an existing jar
Hi,
I have a newbie question regarding bundle lifecycle and declarative services
lifecycle : are they linked together ?
I would like the services of my bundle to be singletons and my bundle should
be activated only when services are instantiated. Is it possible to do that
by configuration ?
Can
Hi
Unfortunately everything is the other way around. The services in OSGi
are not really instantiated, but registered. Your bundle needs to
be activated, and then it registers the services in the framework.
When another bundle requests the services, they need to be published
into the
19 matches
Mail list logo