Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Compiler warnings during headless build
Compiler warnings during headless build [message #47699] Fri, 20 February 2009 12:00 Go to next message
Marko Tomljenovic is currently offline Marko TomljenovicFriend
Messages: 62
Registered: July 2009
Member
Hello all,

I have the following problem:

When compiling projects locally I can influence (through workspace
preferences) how many and of which type warnings are created by Eclipse
(e.g. create warning for missing javadoc).

When building these projects in a headless build I get a different set of
warnings for the same project.

How can I transfer the compiler warning preferences to the headless build
so that I get the same warnings?

Kind regards Marko T.
Re: Compiler warnings during headless build [message #47798 is a reply to message #47699] Mon, 23 February 2009 14:47 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Individual plugins can set what compiler warnings to use with the
"javacWarnings.<library>" property. (<library> is the library being
built: javacWarnings.. or javacWarnings.library.jar)

There is some small detail here:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.pde.doc.user/reference/pde_feature_generating_build.htm

You can also set compiler options for all plugins using the
"compilerArg" property in your main build configuration.

-Andrew
Marko Tomljenovic wrote:
> Hello all,
>
> I have the following problem:
>
> When compiling projects locally I can influence (through workspace
> preferences) how many and of which type warnings are created by Eclipse
> (e.g. create warning for missing javadoc).
>
> When building these projects in a headless build I get a different set
> of warnings for the same project.
>
> How can I transfer the compiler warning preferences to the headless
> build so that I get the same warnings?
>
> Kind regards Marko T.
>
>
>
Re: Compiler warnings during headless build [message #47893 is a reply to message #47798] Tue, 24 February 2009 08:44 Go to previous message
Marko Tomljenovic is currently offline Marko TomljenovicFriend
Messages: 62
Registered: July 2009
Member
Hi,
thanks for the quick answer. This already helps me a lot.

But I can't find any fine granular settings for the javadoc warnings!
Does anybody know how the javadoc settings are handed over to the jdt
compiler (if at all)?

Because I can store the settings project specifically by I guess the PDE
build doesn't care about those settings.

Greetings Marko
Re: Compiler warnings during headless build [message #592246 is a reply to message #47699] Mon, 23 February 2009 14:47 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Individual plugins can set what compiler warnings to use with the
"javacWarnings.<library>" property. (<library> is the library being
built: javacWarnings.. or javacWarnings.library.jar)

There is some small detail here:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.pde.doc.user/reference/pde_feature_generating_build.htm

You can also set compiler options for all plugins using the
"compilerArg" property in your main build configuration.

-Andrew
Marko Tomljenovic wrote:
> Hello all,
>
> I have the following problem:
>
> When compiling projects locally I can influence (through workspace
> preferences) how many and of which type warnings are created by Eclipse
> (e.g. create warning for missing javadoc).
>
> When building these projects in a headless build I get a different set
> of warnings for the same project.
>
> How can I transfer the compiler warning preferences to the headless
> build so that I get the same warnings?
>
> Kind regards Marko T.
>
>
>
Re: Compiler warnings during headless build [message #592281 is a reply to message #47798] Tue, 24 February 2009 08:44 Go to previous message
Marko Tomljenovic is currently offline Marko TomljenovicFriend
Messages: 62
Registered: July 2009
Member
Hi,
thanks for the quick answer. This already helps me a lot.

But I can't find any fine granular settings for the javadoc warnings!
Does anybody know how the javadoc settings are handed over to the jdt
compiler (if at all)?

Because I can store the settings project specifically by I guess the PDE
build doesn't care about those settings.

Greetings Marko
Previous Topic:Custom target platform layout
Next Topic:Is there possible to programmatically change the target platform of a workspace?
Goto Forum:
  


Current Time: Fri Jun 18 07:14:02 GMT 2021

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

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

Back to the top