[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Specifying compilerArg in build.properties for plugins and product build

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