- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想将以下编译器属性添加到我为 Lotus Notes 开发的 Eclipse 插件中,以便当发生异常时,我可以得到发生异常的行:
debug=true debuglevel=lines,vars,source
在看到 this question 后,我认为这是最好的方法。
所以我在 build.properties 文件中放入了这个新行
compilerArg ="-debug=true -debuglevel=lines,vars,source "
它不显示发生异常的行(仍然显示“未知来源”)
任何想法都值得赞赏。
编辑:我正在使用 Eclipse 从更新站点项目运行构建。
最佳答案
Eclipse 使用 Eclipse 'ecj' 编译器而不是 'javac',因此您需要指定 'ecj' 能够理解的参数(请参阅 here )。因此 -g
或 -g:lines,vars,source
设置所有调试信息。
关于java - build.properties添加: compilerArg in Eclipse plug-in,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34137344/
在 Ant 中,我可以做这样的事情吗: 即,我想同时传递 -Xlint:deprecation 和 -Xlint:unchecked 最佳答案 此页面描述了使用 compilerarg 元素的正确方
我想将以下编译器属性添加到我为 Lotus Notes 开发的 Eclipse 插件中,以便当发生异常时,我可以得到发生异常的行: debug=true debuglevel=lines,vars,s
来自documentation : Sets the arguments to be passed to the compiler if fork is set to true. 为什么需要 fork
我正在尝试将我的应用与使用此警告编译的 Firebase 消息服务链接: 信息:API“variant.getJavaCompile()”已过时,已替换为“variant.getJavaCompile
我想在控制台中看到 lint 错误,我想配置为只使用 java 7 而不是每个模块(我们有 12 个模块)。 我把它放到我的根 build.gradle 中: allprojects { ta
我正在尝试将 TrustStore 证书传递给 ant 编译器,如下所示 注意:- 由于某些原因,我无法添加环境变量并通过 _JAVA_OPTIONS 传递它。我严格来说只能通过 build.xml
我正在从 GitHub 克隆一个 android 类(class)项目,并面临一系列错误,我已经设法解决了其中一些,直到我卡在最后一个,场景如下: 1- 错误:找不到 com.android.supp
我是一名优秀的程序员,十分优秀!