Happy to help but could you give us a bit more info where you are up to.
Yes the screenshots on the web-site are out of date but the overall
instructions were okay.
I did play with Spring STS a while back (over a year) and if I remember
Spring STS defines it's own type of OSGi bundle project and does not use
PDE to build bundles . However it does not stop you creating PDE bundle
projects and I think PAX-Runner needs PDE built bundles to work (any
PAX-Runner experts out there could clarify?)
A few pointers though...
Create PDE bundle (standard OSGi) projects and not Spring Bundle Project
I built several PDE bundle projects (you need to select OSGi standard in
the project wizard) - by default if you have not modified your target
platform your PDE projects will pull in plug in dependencies like
org.eclipse.osgixxxxx from the eclipse target platform which is okay for
compilation since they all implement the same OSGi standard (well there
is different versions but don't worry about that for now)
You then just create a PAX-Runner run configuration. If your bundles are
simple, which you should do to begin with to get things going (i.e. they
only depend on each other and the OSGi core framework), and you take all
the run configuration defaults you should be good to go. You will need
to select the OSGi framework you want to test in. That's it as far as I
remember. If you struggle come back to the list and I will do again step
by step in eclipse and record exactly what I do.
Cheers
Paul
On 21/04/2011 22:12, Matt Madhavan wrote:
Hi Paul,
I'm trying to install PAX-Runner plugin my self. The instructions in the
http://paxrunner.ops4j.org/display/paxrunner/Launch+Settings
and what I see in my eclipse (Spring STS) do not really match!
Is there anyway you can send me step by step instruction of how you
did it? I would like to test against both Felix and Equinox!
Thanks in advance!
Matt
On Tue, Apr 19, 2011 at 4:19 AM, Paul French <paul.fre...@kirona.com
<mailto:paul.fre...@kirona.com>> wrote:
A slight correction. Duplicate system properties are not being
added correctly to the config.ini but in general do not stop the
launch.
Howevere if I specify in my text file:
-Dorg.knopflerfish.startlevel.use=true
...then this causes the launch to fail since it is not added to
the config.ini file correctly and by default is required.
On 19/04/2011 10:01, Paul French wrote:
I've installed the latest PAX-Runner eclipse plugin. I created
a couple of bundles to test with.
If you select Knopflerfish 2.3.3 to run you always get felix.
If you select other Knopflerfish OSGi runtimes they work fine.
I need to setup various system properties that Knopflerfish
uses. I can see by default PAX-Runner creates a config.ini
file with various default values. I created a text file with
my various system properties (as below)
-Dorg.osgi.provisioning.spid=knopflerfish
-Dorg.knopflerfish.verbosity=0
-Dorg.knopflerfish.framework.debug.packages=false
-Dorg.knopflerfish.framework.debug.errors=true
-Dorg.knopflerfish.framework.debug.classloader=true
-Dorg.knopflerfish.framework.debug.startlevel=false
-Dorg.knopflerfish.framework.debug.ldap=false
-Dorg.knopflerfish.framework.debug.service_reference=false
-Dorg.knopflerfish.framework.debug.bundle_resource=false
-Dorg.knopflerfish.framework.debug.permissions=false
-Dorg.knopflerfish.framework.debug.certificates=false
-Dorg.knopflerfish.framework.system.export.all=true
-Dorg.osgi.framework.bootdelegation=*
-Dorg.knopflerfish.http.dnslookup=false
-Dorg.osgi.service.http.port=8080
-Dorg.knopflerfish.startlevel.use=true
-Dorg.knopflerfish.log.out=false
-Dorg.knopflerfish.log.level=info
-Dorg.knopflerfish.log.grabio=false
-Dorg.knopflerfish.log.file=true
-Dorg.knopflerfish.consoletelnet.user=admin
-Dorg.knopflerfish.consoletelnet.pwd=admin
-Dorg.knopflerfish.consoletelnet.port=2323
I added this text file by clicking "add file" in the
provisioning table.
I now run again as before. It fails. If you look at the
config.ini file created it is a bit of a mess in places.
What I found is if I remove properties that PAX-Runner adds by
default all is fine again. A bit of a pain but I can live with
it for now. However if I do want to set:
-Dorg.knopflerfish.framework.debug.classloader=true
How could I do this?
Thanks
Paul
_______________________________________________
general mailing list
general@lists.ops4j.org <mailto: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