jax
jax

Reputation: 840

Netbeans Profiler for a Maven project

When I try to attach a Profiler to my project, Netbeans prompts me to choose bewtween my main class and org.codehaus.plexus.classworlds.launcher.Launcher. I was wondering if someone knows which one I should use and why.

Thanks,

Upvotes: 1

Views: 466

Answers (1)

mkleint
mkleint

Reputation: 2331

org.codehaus.plexus.classworlds.launcher.Launcher is the main class for the maven build. netbeans executes the maven build jvm which in turn via exec-maven-plugin starts the jvm that your main class executes in.

So if you want to profile the build you choose the classworld's Launcher, otherwise you choose your your main class.

Upvotes: 1

Related Questions