Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE Build -> debugInfo
PDE Build -> debugInfo [message #23421] Wed, 24 September 2008 13:03 Go to next message
Michael Heiss is currently offline Michael HeissFriend
Messages: 25
Registered: July 2009
Junior Member
Hy,

I am running a headless build for my eclipse application and everything
works find :) For code coverage i need to include full debug info to the
compiled classes but i dont't know how to do this.

(Need the debug info for code coverage with emma)

Thanks!
Michael
Re: PDE Build -> debugInfo [message #23548 is a reply to message #23421] Wed, 24 September 2008 15:30 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Debug info is a compiler argument[1]: -g
In your top build configuration build.properties file, set "compilerArg=-g"

This property is passed in the generated javac ant calls with:
<compilerarg line="${compilerArg}" compiler="${build.compiler}"/>

This will affect all bundles being compiled.

[1] http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.jdt.doc.isv/guide/jdt_api_compile.htm

-Andrew

Michael Heiß wrote:
> Hy,
>
> I am running a headless build for my eclipse application and everything
> works find :) For code coverage i need to include full debug info to the
> compiled classes but i dont't know how to do this.
>
> (Need the debug info for code coverage with emma)
>
> Thanks!
> Michael
>
Re: PDE Build -> debugInfo [message #581155 is a reply to message #23421] Wed, 24 September 2008 15:30 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Debug info is a compiler argument[1]: -g
In your top build configuration build.properties file, set "compilerArg=-g"

This property is passed in the generated javac ant calls with:
<compilerarg line="${compilerArg}" compiler="${build.compiler}"/>

This will affect all bundles being compiled.

[1] http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.jdt.doc.isv/guide/jdt_api_compile.htm

-Andrew

Michael Heiß wrote:
> Hy,
>
> I am running a headless build for my eclipse application and everything
> works find :) For code coverage i need to include full debug info to the
> compiled classes but i dont't know how to do this.
>
> (Need the debug info for code coverage with emma)
>
> Thanks!
> Michael
>
Previous Topic:PDE Build -> debugInfo
Next Topic:Unable to create view: Plug-in was unable to load class
Goto Forum:
  


Current Time: Thu Apr 25 05:36:33 GMT 2024

Powered by FUDForum. Page generated in 0.02538 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top