iirc, all you need to do is to have iPOJO on the classpath.
regards,
Karl
On Wed, Oct 19, 2011 at 5:21 AM, Göktürk Gezer gokturk.ge...@gmail.com wrote:
Hi Everyone,
We're in the middle of moving our codebase to OSGI using IPojo. Problem is,
I can not instantiate the manipulated classes
Hi Karl,
On Wed, Oct 19, 2011 at 9:38 AM, Karl Pauls karlpa...@gmail.com wrote:
iirc, all you need to do is to have iPOJO on the classpath.
That was the first thing i tried, but unfortunately it didn't save me .
regards,
Karl
On Wed, Oct 19, 2011 at 5:21 AM, Göktürk Gezer
Hi
I am currently writing a small shell script which is supposed to run
felix, install the necessary bundles with gogo, then quit and package
felix for deployment on our integration servers.
Unfortunately, felix seems to undeploy the deployed bundles when
shutting down. If I do this manually,
Hello,
I am currently writing a small shell script which is supposed to run
felix, install the necessary bundles with gogo, then quit and package
felix for deployment on our integration servers.
[snip]
If you are using Maven, and your bundles are deployed in Maven
repositories (besides being
Can you show your maven pom maybe?
regards,
Karl
On Wed, Oct 19, 2011 at 9:24 AM, Göktürk Gezer gokturk.ge...@gmail.com wrote:
Hi Karl,
On Wed, Oct 19, 2011 at 9:38 AM, Karl Pauls karlpa...@gmail.com wrote:
iirc, all you need to do is to have iPOJO on the classpath.
That was the first
Good morning, I am back!... ;-)
I am trying out Neil's large bundle option as an interim solution. I am using
the
Embed-Dependency*;scope=compile|runtime/Embed-Dependency
Instruction. When I deploy my fat bundle, it falls over with a transitive
dependency used in one of the embedded jars not
Hi Stuart,
Found my (ridiculous) problem, sorry I have bothered you. Simply forgot to set
the packaging element as bundle.
Thanks,
B.
-Original Message-
From: Stuart McCulloch [mailto:mccu...@gmail.com]
Sent: 17 October 2011 17:19
To: users@felix.apache.org
Subject: Re: Hot to
Goord morning all,
Barbara, I would suggest using a common bundle repo, OBR is its name for as
OSGi bundles arre concerned, and use that OBR repo to mutualize all your
software maven related bundles which should then split in two categories,
knowing: COMMONS libs - apache, eclipse... - and LEGACY
Thanks Pierre.
I am already using an OBR!... :-(
-Original Message-
From: Pierre Henry Perret [mailto:phper...@gmail.com]
Sent: 19 October 2011 09:33
To: users@felix.apache.org
Subject: Re: Hot to configure Maven Bundle plug-in for a mixture of OSGi and
non OSGi dependencies
Goord
Hi Lionel felix users,
Thanks for the example given, you are right, we are using Maven. I am
currently adding base depencies by using copy-dependencies as you
describe. But I am not using some of the additional maven niceties you
are demonstrating, so thanks for the pointers.
What I like about
On Wed, Oct 19, 2011 at 11:02 AM, Karl Pauls karlpa...@gmail.com wrote:
Can you show your maven pom maybe?
regards,
Karl
This pom belongs to project which exposes some of its classes using
@Component@Provides
..
..
Hi again,
Thanks for the example given, you are right, we are using Maven. I am
currently adding base depencies by using copy-dependencies as you
describe. But I am not using some of the additional maven niceties
you are demonstrating, so thanks for the pointers.
You're welcome.
What I like
Hi,
I'm also working on something in-line to what's discussed here, so I would
like to share my experience thinking it might be relevant to the topic
discussed here.
My project uses 3rd party jars wrapped as osgi bundles since the project is
on top of an OSGI runtime. I'm trying to reduce the
Hi Dileepa,
I am a little off-topic regarding your question about removing unsued jars, but
about converting third party jars to OSGi, the eclipse orbit project already
provides a number of OSGified jar files here:
http://download.eclipse.org/tools/orbit/downloads/
and the latest release:
Thanks Ben. I will sure give a look :-)
On Wed, Oct 19, 2011 at 4:19 PM, thieba...@artenum.com wrote:
Hi Dileepa,
I am a little off-topic regarding your question about removing unsued jars,
but about converting third party jars to OSGi, the eclipse orbit project
already provides a number of
Hi all,
I am new to Java and even newer to OSGi, though I have been experimenting
and reading up on both for the past few weeks. I have posted specific
questions previously regarding the project I have been tasked with (writing
a graphical, wizard based, configuration tool with pluggable
On 19 Oct 2011, at 09:15, Barbara Rosi-Schwartz wrote:
Good morning, I am back!... ;-)
I am trying out Neil's large bundle option as an interim solution. I am using
the
Embed-Dependency*;scope=compile|runtime/Embed-Dependency
Instruction. When I deploy my fat bundle, it falls over
Thanks Stuart.
Turns out I do not need to embed all transitive dependencies, which is a relief
as I was concerned about my bundle blowing up out of all proportions.
I just managed without the transitive dependencies by a slow and careful
balance of dependency elements in the pom and
On 10/19/11 07:24 , David Griffin wrote:
Hi all,
I am new to Java and even newer to OSGi, though I have been experimenting
and reading up on both for the past few weeks. I have posted specific
questions previously regarding the project I have been tasked with (writing
a graphical, wizard
Thanks Richard.
In that case, I'll modify my steps to:
1. As before.
2. Convert entire app. to an OSGi bundle.
3. Split the Mega Application bundle up into multiple bundles as per my
required modularity.
Dave
-Original Message-
From: Richard S. Hall [mailto:he...@ungoverned.org]
Sent:
Does anyone have experience using the javax.script scripting inside a
bundle?
Normally you can add the jar(s) for any script language (ruby, python, ...)
to
the class path, and the scripting is available from
new ScriptEngineManager().getEngineByExtension(extension)
(extension is rb for ruby, py
Lance:
the underlying problem is that
http://download.oracle.com/javase/6/docs/api/javax/script/ScriptEngineManager.html
is using spi
http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider
which is to be supported soon in osgi (page 145):
On 10/19/11 03:24 , Sam Spycher wrote:
Hi
I am currently writing a small shell script which is supposed to run
felix, install the necessary bundles with gogo, then quit and package
felix for deployment on our integration servers.
Unfortunately, felix seems to undeploy the deployed bundles when
On 10/19/11 11:02 , David Griffin wrote:
Thanks Richard.
In that case, I'll modify my steps to:
1. As before.
2. Convert entire app. to an OSGi bundle.
3. Split the Mega Application bundle up into multiple bundles as per my
required modularity.
Basically, that's what I'd recommend.
- richard
On Wed, Oct 19, 2011 at 5:23 PM, Richard S. Hall he...@ungoverned.org wrote:
On 10/19/11 03:24 , Sam Spycher wrote:
Hi
I am currently writing a small shell script which is supposed to run
felix, install the necessary bundles with gogo, then quit and package
felix for deployment on our
Lance:
You might also want to look at Apache Sling's scripting support. After
installing a few bundles (I'd need to test to be sure, but my guess is
its probably 3 or 4), you can get a ScriptEngineManager from the OSGi
service registry.
If you have questions about this approach, probably better
Hi Richard,
I am running a bash script which sends some gogo deployment commands to
install some bundles in felix. I then list the bundles I just deployed
with gogo with the command 'lb'. These bundles are all correctly
displayed and have their state set to active. At the end of the script
Felix
On 10/19/11 11:39 , Sam Spycher wrote:
Hi Richard,
I am running a bash script which sends some gogo deployment commands to
install some bundles in felix. I then list the bundles I just deployed
with gogo with the command 'lb'. These bundles are all correctly
displayed and have their state set
Hi Karl
It is true that I haven't done anything cache-wise at all! Do I need to
configure this in some special way?
The cache location is at default. In fact, I haven't changed anything at
all in config.properties. The working directory of the script is the
felix root directory.
Best regards,
Hmm, that is interesting.
When I deploy felix via script, I can observe the creation of a
directory called '-' in the working directory while the script is executing.
Looking at the contents of '-', I find bundleX subdirectories just as is
to be expected from the felix cache. Indeed if i cat the
P.S.
Just wanted to mention also that there is no urgency to this issue, at
least not to me personally.
Since I have proceeded in the meantime by adding our project bundles
with maven copy-dependencies per Lionel's recommendations, and
test-running felix afterwards, the only disadvantage I have
On 10/19/11 12:09 , Sam Spycher wrote:
Hmm, that is interesting.
When I deploy felix via script, I can observe the creation of a
directory called '-' in the working directory while the script is executing.
Looking at the contents of '-', I find bundleX subdirectories just as is
to be expected
Hi Clement,
On Wed, Oct 19, 2011 at 5:06 PM, Clement Escoffier
clement.escoff...@gmail.com wrote:
Hi,
On 19.10.2011, at 05:21, Göktürk Gezer wrote:
Hi Everyone,
We're in the middle of moving our codebase to OSGI using IPojo. Problem
is,
I can not instantiate the manipulated classes
Hi everybody
I'm sorry, this has really been much ado about something very small :(
My mistake was a typo. I oversaw a small dash right in front of the
heredoc marker in the script:
java -verbose -jar bin/felix.jar - -END_GOGO_SCRIPT_STARTUP
Thanks to Richard and Karl for bringing up the
On 10/19/11 13:38 , Sam Spycher wrote:
Hi everybody
I'm sorry, this has really been much ado about something very small :(
My mistake was a typo. I oversaw a small dash right in front of the
heredoc marker in the script:
java -verbose -jar bin/felix.jar --END_GOGO_SCRIPT_STARTUP
Makes
Let me understand better. GF already has OSGi Gogo shell and Felix Web
console.
It has its security layer using which user can define their security
realms, jaas providers, etc (these are all required as per Java EE spec
anyway).
What kind of provisioning does karaf provide? GlassFish uses
36 matches
Mail list logo