  | |  | switch compiler debug on/off in Java | switch compiler debug on/off in Java 2004-09-09 - By Gunter Matella
Back Hello all,
can anybody give me a hint, how to sitwch on off the generation of debugging code using the java compiler ?
I have written a small goal to create release output (debug = on seems to be the default behavior):
<goal name="release"> <maven:set plugin="maven-java-plugin" property="maven.compile.debug" value="off" />
<ant:echo>maven.compile.debug=${maven.compile.debug}</ant:echo>
<attainGoal name="jar" /> </goal>
But it seems not having any effect on the compiled code (still with debugging information).
Any idea?
Greetings,
Gunter
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |