Hi J.B.,

Yes!
https://github.com/Tcharl/pax-web-covered/blob/master/pax-web-itest/pom.xml

Reggaerds,


2014-02-09 15:18 GMT+01:00 Jean-Baptiste Onofré <[email protected]>:

> Hi Charlie,
>
> what's your Pax Exam version ? 3.4.0 ?
>
> Regards
> JB
>
>
> On 02/09/2014 03:05 PM, Charlie Mordant wrote:
>
>> Hi Karaf Team,
>>
>> I'm trying to integrate Jacoco it coverage in pax-web (and Osgiliath
>> framework).
>>
>>
>>
>>
>> On my CI server, Karaf tests are failing because apparently karaf tests
>> (via the karaf container) interprets vmOption converting slashes to dots:
>>
>> [INFO]*--- jacoco-maven-plugin:0.6.5-SNAPSHOT:prepare-agent-integration
>> (prepare-agent-integration) @ pax-web-itest-karaf ---
>> **[INFO] jcoverage.command set to "-javaagent:/var/lib/jenkins/.
>> m2/repository/org/jacoco/org.jacoco.agent/0.6.5-SNAPSHOT/
>> org.jacoco.agent-0.6.5-SNAPSHOT-runtime.jar=destfile=/var/lib/jenkins/jobs/Pax-Web
>> IT covered/workspace/target/jacoco-it.exec,append=true,
>> includes=org.ops4j.pax.web.*,excludes=org.apache.jasper:
>> org.apache.jasper.compiler:org.apache.jasper.servlet:org.
>> apache.myfaces.test:org.ops4j.pax.web.extender.samples.*:
>> org.ops4j.pax.web.itest.*:org.ops4j.pax.web.samples.*"*
>>
>> *
>> *
>>
>> *
>> *
>>
>>
>> *** The KarafVersion is 3.0.0 ***
>> *** The ProjectVersion is 4.0.0-SNAPSHOT ***
>> 14:55:40.656 [main] INFO  o.o.pax.exam.junit.impl.ProbeRunner - running
>> test class org.ops4j.pax.web.itest.karaf.FeaturesTCKarafTest
>>
>> 14:55:41.901 [main] INFO  o.o.p.e.k.c.i.KarafTestContainer - Wait for
>> test container to finish its initialization [ RelativeTimeout value =
>> 180000 ]
>> 14:55:41.902 [main] INFO  o.o.p.e.r.c.RemoteBundleContextClient -
>> Waiting for remote bundle context.. on 21414 name: 
>> 05c1c5bc-308b-4a07-b719-819760ae54fa
>> timout: [ RelativeTimeout value = 180000 ]
>> *Error: Could not find or load main class "-javaagent:.var.lib.jenkins..
>> m2.repository.org.jacoco.org.jacoco.agent.0.6.5-SNAPSHOT.
>> org.jacoco.agent-0.6.5-SNAPSHOT-runtime.jar=destfile=.var.lib.jenkins.jobs.Pax-Web
>> IT covered.workspace.target.jacoco-it.exec,append=true,
>> includes=org.ops4j.pax.web.*,excludes=org.apache.jasper:
>> org.apache.jasper.compiler:org.apache.jasper.servlet:org.
>> apache.myfaces.test:org.ops4j.pax.web.extender.samples.*:
>> org.ops4j.pax.web.itest.*:org.ops4j.pax.web.samples.*"*
>>
>>
>>
>>
>> Its not happening while testing from my workspace (and IT coverage is
>> ok), neither for other ITest (those which are based on equinox or Felix).
>>
>>
>> Can you confirm this?
>>
>>
>>
>> Best regards,
>>
>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to