On Feb 24, 2015, at 10:31 , Dave <dhum...@gmail.com> wrote:Is there a way to access JPM4J repository bundles by filename from something like a Gradle script?Specifically, I'm trying to create a distribution zip using Gradle and I need the Felix main JAR. The single runnable JAR created by bnd (using export) does not work for my situation.
I can get the other bundles using the runbundles task, but I need the Felix main for launching everything.Or even better, if there was something built in that would create a Felix launcher distribution.Thanks,Dave
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Feb 24, 2015, at 12:06 , Dave <dhum...@gmail.com> wrote:I need the org.apache.felix.main bundle, not the org.apache.felix.framework bundle.
On Feb 24, 2015, at 10:31 , Dave <dhum...@gmail.com> wrote:Is there a way to access JPM4J repository bundles by filename from something like a Gradle script?Specifically, I'm trying to create a distribution zip using Gradle and I need the Felix main JAR. The single runnable JAR created by bnd (using export) does not work for my situation.Why? You can unzip that jar to get the felix framework and your run bundles.
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# ignoring timeout handler because framework is already no longer active, shutdown is orderly handled
# alive thread Thread[main,5,main]
# alive thread Thread[Gogo shell,5,main]
# stopped system bundle due to leaving run body
On 2 mrt. 2015, at 16:11, Dave <dhum...@gmail.com> wrote:From what I recall, there was a problem with a signed JAR file. I'm using the Bouncy Castle encryption library which is signed.However, I'm unable to get the bundles to resolve at this point (says a bundle is importing a package that is not available, but I don't actually see that import statement in the bundle's manifest so I'm pretty confused). I would try to debug, but the Bnd launcher is killing the JVM so I can't use the shell. I'm getting this message at the end:# ignoring timeout handler because framework is already no longer active, shutdown is orderly handled
# alive thread Thread[main,5,main]
# alive thread Thread[Gogo shell,5,main]
# stopped system bundle due to leaving run bodyIs there a startup timeout that I can change? I see -runtimeout as an option. I’ll have to try that out at some point I suppose.
And at least I haven't found anything built into the bnd launcher that will:* read in OSGi framework properties from a file that is not embedded in the runnable JAR file
* load bundles from a bundle folder that is not embedded in the runnable JAR file
Are either of those possible?
Just put a sleep in the test case at the end. You can also experiment with (if you’re testing as I assume):On 2 mrt. 2015, at 16:11, Dave <dhum...@gmail.com> wrote:From what I recall, there was a problem with a signed JAR file. I'm using the Bouncy Castle encryption library which is signed.However, I'm unable to get the bundles to resolve at this point (says a bundle is importing a package that is not available, but I don't actually see that import statement in the bundle's manifest so I'm pretty confused). I would try to debug, but the Bnd launcher is killing the JVM so I can't use the shell. I'm getting this message at the end:# ignoring timeout handler because framework is already no longer active, shutdown is orderly handled
# alive thread Thread[main,5,main]
# alive thread Thread[Gogo shell,5,main]
# stopped system bundle due to leaving run bodyIs there a startup timeout that I can change? I see -runtimeout as an option. I’ll have to try that out at some point I suppose.-runproperties: tester.continuous=true
The properties come from the -runproperties in the bndrun file. You can of course set other properties with -D on the command line.And at least I haven't found anything built into the bnd launcher that will:* read in OSGi framework properties from a file that is not embedded in the runnable JAR file
Just install Apache Felix File install?* load bundles from a bundle folder that is not embedded in the runnable JAR file