Hey Filippo, I'm not
On Wed, Nov 14, 2012 at 9:33 PM, Filippo Balicchia <[email protected]> wrote: > Hi, > > I'd like to debug karaf itests from eclipse, and i try with > > -> export KARAF_DEBUG = true > -> mvnDebug test > > but nothing... > > To do this I have add KarafDistributionOption.debugConfiguration to > KarafTestContainer. > > I don't use static import cause was a simple test > > +++ > tooling/exam/container/src/main/java/org/apache/karaf/tooling/exam/container/internal/KarafTestContainer.java > @@ -101,7 +101,8 @@ > systemProperty(RMI_NAME_PROPERTY).value(name), > invokerConfiguration, > > systemProperty(EXAM_INJECT_PROPERTY).value("true"), > - > editConfigurationFileExtend("etc/system.properties", > "jline.shutdownhook", "true") > + > editConfigurationFileExtend("etc/system.properties", > "jline.shutdownhook", "true"), > + KarafDistributionOption.debugConfiguration() > )); > target = new RBCRemoteTarget(name, registry.getPort(), > subsystem.getTimeout()); > > > > with this change i can debug it from eclipse but > Could you tell me please if there is a smarter or a better way ? > > Thanks for help > > Regards > > --Filippo
