开发者

Cant get my Eclipse compiler warnings in my PDE Build

So, we have a 开发者_Python百科Eclipse product build that builds several plugins. For each of these plugins we have a settings file that defines what JDT compiler warnings we want to know about. It works fine in our Eclipse environment, but not when building.

Eclipse help that tells me to add "javacProjectSettings=true", problem is, its not really working.

I've added it to the build.properties file for the product build. I've added it to the build.properties in each plugin. But I'm not noticing any change at all. It feels like I'm missing something?

The JavaC arguments that seem relevant from the product builds build.properties file:

logExtension=.log
javacDebugInfo=true
javacFailOnError=true
javacVerbose=true
compilerArg=-enableJavadoc
javacSource=1.5
javacTarget=1.5
javacProjectSettings=true


The javacProjectSettings=true property needs to go in the build.properties for each bundle. It does not go in the top level product build build.properties.

If you don't want to change the individual bundles' build.properties files, then you could try setting something like

compilerArg=-properties .settings/org.eclipse.jdt.core.prefs

But I don't know if this relative path works or not.

Otherwise you would need to use compilerArg with -err: and -warn: which are described in the JDT help

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜