Frequently Asked Questions

Usage

Troubleshooting

Usage

How can I remove the coverage coloring from the Java editors again?

If you remove the coverage session, also the coverage coloring will disappear. For this, hit Remove Session or Remove All Sessions in the Coverage view's toolbar.

Why can't I select source folders separately for instrumentation?

EMMA works on Java class files. If source folders have the same output location, only all or none of them can be selected for instrumentation. If you want to select them individually please specify a different output location for each source folder. This can be done in the Java Build Path settings in the project properties. Check Allow output folders on the Source tab and specify different output folders for your source folders (for example bin-src/, bin-test/ etc.).

How can I run {whateverapplication} with EclEmma?

EclEmma is designed for Java programs launched within Eclipse. Java Applications that run in a different environment may be analyzed with the EMMA library directly. There are different supported launch types, other plug-ins may define additional launch types which are not supported by EclEmma. Check user documentation for currently supported launch types.

Troubleshooting

I get the error message "No coverage data file has been written". Please help!

This may have several reasons:

Does EclEmma work with IBM Rational 6.0 products?

No, these products are based on Eclipse 3.0, EclEmma requires at least Eclipse 3.1. IBM Rational 7.0 products are based on Eclipse 3.2 and may work with EclEmma.