--
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-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tests run : 1
Passed : 1
Errors : 0
Failures : 0
# test ran
# queue []
[ERROR] Terminal initialization failed; falling back to unsupported
java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at jline.internal.ShutdownHooks.addHook(ShutdownHooks.java:79)
at jline.internal.ShutdownHooks.add(ShutdownHooks.java:43)
at jline.TerminalSupport.init(TerminalSupport.java:49)
at jline.UnixTerminal.init(UnixTerminal.java:78)
at jline.TerminalFactory.create(TerminalFactory.java:122)
at jline.TerminalFactory.get(TerminalFactory.java:186)
at jline.TerminalFactory.get(TerminalFactory.java:192)
at osgi.enroute.gogo.shell.provider.Shell$1.run(Shell.java:153)
at java.lang.Thread.run(Thread.java:745)
java.lang.RuntimeException: Failed to initialise terminal:
at osgi.enroute.gogo.shell.provider.Shell$1.run(Shell.java:157)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at jline.internal.ShutdownHooks.addHook(ShutdownHooks.java:79)
at jline.internal.ShutdownHooks.add(ShutdownHooks.java:43)
at jline.TerminalSupport.init(TerminalSupport.java:49)
at osgi.enroute.gogo.shell.provider.Shell$1.run(Shell.java:155)
... 1 more
Errors
Cannot find /error/org.apache.karaf.jaas:org.apache.karaf.jaas.boot;version=4.0.6 Not found in [bnd-cache, com.flairbit.example.persistence]
Cannot find /error/org.apache.karaf.features:org.apache.karaf.features.core;version=4.0.6 Not found in [bnd-cache, com.flairbit.example.persistence]
Cannot find /error/org.ops4j.pax.logging:pax-logging-api;version=1.8.5 Not found in [bnd-cache, com.flairbit.example.persistence]
...
Greg fixed that issue just before the holidays so I would update to the most recent build of bndtools from cloudbees.- Ray
On Jan 9, 2017 6:21 PM, "Matteo Rulli" <matteo...@gmail.com> wrote:
I created an integration-test project based on maven and bnd-testing-maven-plugin (v. 3.4.0-SNAPSHOT). In the project's bnd file I put theTest-Cases: ${classes;NAMED;*Test} header and in the bndrun file I used the aQute.bnd.repository.maven.pom.provider.BndPomRepository to turn the project pom into a repository to resolve the bundles that I need for my integration test.If I now run "mvn install" from the command line, the integration test starts as expected.Now I would also like to debug the integration test from eclipse: I naively tried with "Debug As/Bnd OSGi Test Launcher (JUnit)" from the bndrun file. Unfortunately I get the following error:Launch configuration itest.bndrun references non-existing project cnf.I cannot understand this message: I put the -standalone: header in my bndrun file exactly to avoid creating the cnf project. In any case, even if I create the cnf project, the error persists.What is the right way to develop integration tests with pure maven approach and to debug integration tests with eclipse at the same time? Is it possible to get rid of the error above?Thanks,matteo
--
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.
- By the way, the bnd-testing-maven-plugin apparently ignores the -Dmaven.test.skip=true possible directive. Is that normal?
aQute.bnd.repository.maven.provider.MavenBndRepository plugin: it is enough to specify those artifacts in the mvn file and then it is possible to use them in the runpath using the mavengroup:artifactId;version= syntax. Is there a way to do that with the pure maven approach? I suspect I cannot use the MavenBndRepository in pure maven projects, right?
Thank you,
matteo
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-users+unsubscribe@googlegroups.com.