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

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

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

Javac.setIncludejavaruntime介绍

[英]If true, includes the Java runtime libraries in the classpath.
[中]如果为true,则在类路径中包含Java运行时库。

代码示例

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

javac.setIncludejavaruntime(includeJavaRuntime);
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);

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

compiler.setDebug(true);
compiler.setDebugLevel("lines,vars,source");
compiler.setIncludejavaruntime(true);
if (XMLTestCase._verbose) {
 compiler.setListfiles(true);

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

javac.setIncludejavaruntime(includeJavaRuntime);
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);

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

javac.setIncludejavaruntime(includeJavaRuntime);
javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);

相关文章