From my pax construct project's top level POM, I have the following pax runner parameters defined:
When I try to add the remote debugging line:
Noticing the leading quote on -Xdebug I tried alternate single quotes and XML quotes and wrapping that param line in CDATA, all to no avail.
I tried downgrading the pax-runner using mvn pax:update -Dversion=1.3 (which incidentally slightly mangled my POM - a repository <url> tag with CDATA was removed and whitespace reformatted), running the project caused an unidentified null pointer exception so I rolled forward to 1.4 (same POM mangling occurred).
I've tried adding the params --executor=inProcess with --absoluteFilePaths, in this case I don't get the NoClassDefFoundError error but am unable to attach the debugger (and with the suspend flag set to true, it doesn't suspend so am guessing it's ignored).
I don't think this is a problem with the underlying pax-runner as I can launch the cmd line script version with the -Xdebug parameter no problem, so as a possible workaround I'd be eternally grateful if someone point me to the documentation or could tell me how (and i'll wiki it) to get the standalone pax-runner.sh to run my pax-construct project.
Ubuntu amd64 2.6.32-22-generic, sun jdk 1.6.0_20-b02, maven 2.2.1
Mhm, can you try to use exactly the following command:
this works for me