Specifying compilerArg in build.properties for plugins and product build [message #328443] |
Sun, 25 May 2008 06:05  |
Eclipse User |
|
|
|
Hi,
My product consists of serveral eclipse plugins and RCP applications,
I want to build my product using eclipse compiler (I was able to
configure the compiler), but problem is that I want to pass additional
compiler arguments to the compiler for configured warnings in eclipse
IDE, some of them I want suppress and some I want to see in the
automated build.
I pass the warning levels as per below as compilerArg in build.properties :
compilerArg=-warn:+indirectStatic +constructorName +serial
+noEffectAssign +finally +charConcat +maskedCatchBlock +varargsCast
+nullDereference +typeHiding -discouraged +deprecation +forbidden
+unusedLocal +unusedImport +unusedPrivate +unnecessaryElse
+uselessTypeCheck fallthrough +unchecked +raw +finalBound +over-ann
+dep-ann +intfAnnotation +warningToken +suppress +allJavadoc
but it does not work, other compiler arguments works fine, like
javacTarget=1.6 and javacSource=1.6.
Can somebody give a clue if I am doing something wrong ? or how it can
be configured..
Thanks for pointers in advance.
Regards,
Ravi
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26763 seconds