Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] Compiler warnings


Compiler warning levels can also be set per bundle in the build.properties file.
See the property javacWarnings.<library> in
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.pde.doc.user/reference/pde_feature_generating_build.htm
This is equivalent to passing "-warn:....." to the compiler.

-Andrew



Kim Moir/Ottawa/IBM@IBMCA
Sent by: platform-releng-dev-bounces@xxxxxxxxxxx

11/07/2007 05:15 PM

Please respond to
"Eclipse platform release engineering list."        <platform-releng-dev@xxxxxxxxxxx>

To
"Eclipse platform release engineering list." <platform-releng-dev@xxxxxxxxxxx>
cc
Subject
Re: [platform-releng-dev] Compiler warnings






Compiler warnings for the test plugins are disabled for discouraged and forbidden. For all other plugins, the warnings are the default that the jdt core compiler provides.

The releng build runs using pde build and it doesn't know anything about the Java Builder settings in your project.   The manifest and build.properties can be tweaked to change the compilation environment that is used by pde build in the releng build.  See

http://wiki.eclipse.org/index.php/PDEBuild#Java_source_level_problems_during_Export


http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.pde.doc.user/guide/tasks/pde_compilation_env.htm


Kim



"Walter Harley" <wharley@xxxxxxx>
Sent by: platform-releng-dev-bounces@xxxxxxxxxxx

11/06/2007 11:29 AM

Please respond to
"Eclipse platform release engineering list."        <platform-releng-dev@xxxxxxxxxxx>

To
"Eclipse platform release engineering list." <platform-releng-dev@xxxxxxxxxxx>
cc
Subject
[platform-releng-dev] Compiler warnings







With the new builder, a bunch of new compiler warnings have popped up
due to the new warning about unnecessary @SuppressWarnings.

This seems to be one of those "whack-a-mole" situations where it's hard
to make the warnings go away both on the local build and in the releng
build.  Some of the code in APT warns about unnecessary @SuppressWarning
in the releng build, but if I delete the @SuppressWarning, then it warns
about the warning I was trying to suppress in my local build.  

What are the compiler warning levels in the releng build currently
determined by?  Is it 100% default settings for workspace and no
per-project settings, or is there an override?

Thanks,
-walter
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev

_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev


Back to the top