org.apache.tools.ant.taskdefs.Javac.setDebug()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中org.apache.tools.ant.taskdefs.Javac.setDebug()方法的一些代码示例,展示了Javac.setDebug()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Javac.setDebug()方法的具体详情如下:
包路径:org.apache.tools.ant.taskdefs.Javac
类名称:Javac
方法名:setDebug

Javac.setDebug介绍

[英]Indicates whether source should be compiled with debug information; defaults to off.
[中]指示是否应使用调试信息编译源;默认为关闭。

代码示例

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

javac.setClasspath(classpath);
if (compiler != null) javac.setCompiler(compiler);
javac.setDebug(debug);
if (debugLevel != null) javac.setDebugLevel(debugLevel);
javac.setDestdir(classgendir);

代码示例来源:origin: org.tinygroup/org.tinygroup.jspengine

public void setDebug(boolean debug) {
  javac.setDebug(debug);
  javac.setOptimize(!debug);
}

代码示例来源:origin: org.codehaus.castor/castor-testsuite-xml-framework

compiler.setDestdir(destDir.getAbsoluteFile());
compiler.setOptimize(false);
compiler.setDebug(true);
compiler.setDebugLevel("lines,vars,source");
compiler.setIncludejavaruntime(true);

代码示例来源:origin: org.bluestemsoftware.open.maven.tparty/jsp-2.1

public void setDebug(boolean debug) {
  javac.setDebug(debug);
  javac.setOptimize(!debug);
}

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

javac.setClasspath(classpath);
if (compiler != null) javac.setCompiler(compiler);
javac.setDebug(debug);
if (debugLevel != null) javac.setDebugLevel(debugLevel);
javac.setDestdir(classgendir);

代码示例来源:origin: org.apache.tomcat/tomcat-jasper

javac.setDebug(ctxt.getOptions().getClassDebugInfo());
javac.setSrcdir(srcPath);
javac.setTempdir(options.getScratchDir());

代码示例来源:origin: com.github.pjfanning/xmlbeans

javac.setClasspath(classpath);
if (compiler != null) javac.setCompiler(compiler);
javac.setDebug(debug);
if (debugLevel != null) javac.setDebugLevel(debugLevel);
javac.setDestdir(classgendir);

代码示例来源:origin: org.apache.geronimo.ext.tomcat/jasper

javac.setDebug(ctxt.getOptions().getClassDebugInfo());
javac.setSrcdir(srcPath);
javac.setTempdir(options.getScratchDir());

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

javac.setDebug(ctxt.getOptions().getClassDebugInfo());
javac.setSrcdir(srcPath);
javac.setTempdir(options.getScratchDir());

代码示例来源:origin: codefollower/Tomcat-Research

javac.setDebug(ctxt.getOptions().getClassDebugInfo());
javac.setSrcdir(srcPath);
javac.setTempdir(options.getScratchDir());

代码示例来源:origin: martinpaljak/ant-javacard

j.setDebug(true);
String javaVersion = jckit.getJavaVersion();
if (java_version != null) {
  j.setDebug(true);

相关文章

微信公众号

最新文章

更多