SamplingVsInstrumentation icon indicating copy to clipboard operation
SamplingVsInstrumentation copied to clipboard

Launch configurations for Eclipse

Open chkpnt opened this issue 10 years ago • 2 comments

Particularly, the InstrumentedDemoRunner should be launchable out of the box.

chkpnt avatar Mar 04 '15 14:03 chkpnt

I would not like to include such launch configurations. they break all the time. Also please use separate branches for PRs, otherwise subsequent PRs will contain older commits.

CodingFabian avatar Mar 04 '15 15:03 CodingFabian

It's your decision to include something or not, as it's your repository :-)

As an alternative to commit launch configurations, it is possible to generate them (InstrumentedDemoRunner is the only relevent one) by having a corresponding pom.xml-entry, so everything is in one place, and the launch configuration is generated only when using Eclipse.

An other alternative would be to go without the runner classes at all, and instead using JUnit. In this case, the AspectJ-agent can be set through the surefire-plugin. Drawback: The "tests" have to be run via Maven.

chkpnt avatar Mar 04 '15 16:03 chkpnt