On Thursday, 3 October 2013 12:47:15 UTC+5:30, Henrik Horneber wrote: > Hi, > > how do you start / run your unit tests? > Do you have any configuration for maven-surefire-plugin, for example > something like <argLine>-XmX1024M</argLine>? > > > Do the tests run in the same VM you are attaching the jacoco agent to, or > does the actual code run in a different VM? > > > regards, > Henrik > > > > > > > > > > > > On Wed, Oct 2, 2013 at 10:18 PM, Nihar Kurapati <[email protected]> wrote: > > > > Hi, > > > I couldn't see any jacoco.exec file generated in 'target' folder after > running "mvn jacoco:prepare-agent", but the build is success and during the > build process I see message like below > > "[INFO] argLine set to > -javaagent:E:\workdir\unit\out\repository\org\jacoco\org.jacoco > .agent\0.6.3.201306030806\org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=E:\workdir\unit\src\<project>\src\<package>\target\jacoco.exec" > > > > But when I check at the location after the build is success, I don't see any > .exec file in the specified location. > > > Please help me out on resolving this issue. For reference please see my > pom.xml below and I'm using GwtMockito for unit tests. > > > <plugin> > <groupId>org.jacoco</groupId> > <artifactId>jacoco-maven-plugin</artifactId> > > <version>0.6.3.201306030806</version> > <executions> > > <execution> > <id>jacoco-initialize</id> > <phase>initialize</phase> > > <goals> > <goal>prepare-agent</goal> > </goals> > > </execution> > <execution> > <id>jacoco-site</id> > > <phase>verify</phase> > <goals> > <goal>report</goal> > > </goals> > </execution> > </executions> > > </plugin> > > > Thanks, > Nihar > > > > > -- > > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > "I find many of the machines of violence very attractive. Tanks, airplanes, > warships, especially aircraft carriers." > - 14th Dalai Lama
how to attach agent to JVM -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/bfa1e526-b8ef-4ea6-a327-e5f38115d8d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
