Hi Stefan,
how do you create the report for Project2? If you use Maven you can set
the "dataFile" property of the report goal in Project2 to the location
of your *.exec file (probably located in Project1).
Cheers,
-marc
http://www.eclemma.org/jacoco/trunk/doc/report-mojo.html#dataFile
> integration tests are contained in _Project1_. This project has a
> dependency to the JAR of _Project2_, which contains the source code
> of
> my swing application.
>
> By running my integration tests, which are contained in _Project1_, I
> would like to generate code coverage for the sources contained in
> _Project2_.
>
> Is there a way generate a _Project2.jar_ that contains the required
> jacoco.exec to generate code coverage for Project2 or are there other
> options to implement this requirement ?
>
> Regards, Stefan Lecho.
>
> --