'-jvm: -javaagent:'/tmp/jacoco/jacocoagent.jar=destfile=${basedir}/target/jacoco/test.exec' ignored for gradle build

38 views
Skip to first unread message

jan.winte...@gmail.com

unread,
Nov 2, 2016, 5:24:27 AM11/2/16
to bndtools-users
Hello all,

I`ll try run jacoco:
-   for "OSGi JUnit tests"
-   in IDE-Eclipse             ( SUCCESFUL )
-   as well in CLI-Gradle  ( FAIL currently )

SUCCESSFUL mean that the '${basedir}/target/jacoco/test.exec' is created.
FAIL it`s not. 

HINT: 
-   The 'gradle --debug' print out the following line
     '[aQute.bnd.build.Project] cmd line java -cp ... -javaagent:'/tmp/jacoco/jacocoagent.jar=destfile=${basedir}/target/jacoco/test.exec ... -ea aQute.launcher.Launcher' 
     
     ==> '${basedir}/target/jacoco/test.exec' file  was NOT created :(

-    If I run the 'cmd line ' afterward manual. 
     ==> '${basedir}/target/jacoco/test.exec' file is SUCCESSFUL created.

Where is my fault?
 
Thanks for any Idea.

Jan

PS: I guess thats related to https://github.com/bndtools/bndtools/issues/1434 




Reply all
Reply to author
Forward
0 new messages