A
andreas.h
Hello,
I'm running an automated build-server and I want that the generated
class files contain debug information (i.e. line numbers so that I can
set breakpoints in eclipse and so on). At my plain-java projects this
works very well with an option at the javac task. That's ok!
But I also have a section where eclipse plugins are built and there is
a property javacDebugInfo. I set this propterty to true and thought
that this had to work. But it didn't! I see in the generated build.xml
file of my plugin-projects that this property is set and used in the
javac task, but there are no line numbers in my class-files. One thing
I noticed is, that in the generated build.xml there is only debug="on"
set but not the debuglevel="lines,vars,source". But as this file is
generated by eclipse.generatebuild ant-task (or something like that) I
cannot manually change it, as it is recreated every build-run!
I hope someone can help me with this problem.
I think it could be helpful to give some details about my evironment:
the build runs under Windows XP with SP2, ant 1.7.0 java 1.5.0, Junit
4 and Eclipse 3.2.1 (I think that should be all relevant information).
yours
Andreas
I'm running an automated build-server and I want that the generated
class files contain debug information (i.e. line numbers so that I can
set breakpoints in eclipse and so on). At my plain-java projects this
works very well with an option at the javac task. That's ok!
But I also have a section where eclipse plugins are built and there is
a property javacDebugInfo. I set this propterty to true and thought
that this had to work. But it didn't! I see in the generated build.xml
file of my plugin-projects that this property is set and used in the
javac task, but there are no line numbers in my class-files. One thing
I noticed is, that in the generated build.xml there is only debug="on"
set but not the debuglevel="lines,vars,source". But as this file is
generated by eclipse.generatebuild ant-task (or something like that) I
cannot manually change it, as it is recreated every build-run!
I hope someone can help me with this problem.
I think it could be helpful to give some details about my evironment:
the build runs under Windows XP with SP2, ant 1.7.0 java 1.5.0, Junit
4 and Eclipse 3.2.1 (I think that should be all relevant information).
yours
Andreas