示例#1
0
文件: Rmic.java 项目: nhojpatrick/ant
 /**
  * The classpath to use when loading the compiler implementation if it is not a built-in one.
  *
  * @since Ant 1.8.0
  */
 public Path createCompilerClasspath() {
   return facade.getImplementationClasspath(getProject());
 }
示例#2
0
文件: Rmic.java 项目: nhojpatrick/ant
 /**
  * Get the additional implementation specific command line arguments.
  *
  * @return array of command line arguments, guaranteed to be non-null.
  * @since Ant 1.5
  */
 public String[] getCurrentCompilerArgs() {
   getCompiler();
   return facade.getArgs();
 }
示例#3
0
文件: Rmic.java 项目: nhojpatrick/ant
 /**
  * get the name of the current compiler
  *
  * @return the name of the compiler
  * @since Ant 1.5
  */
 public String getCompiler() {
   facade.setMagicValue(getProject().getProperty("build.rmic"));
   return facade.getImplementation();
 }
示例#4
0
文件: Rmic.java 项目: nhojpatrick/ant
 /**
  * Adds an implementation specific command line argument.
  *
  * @return an object to be configured with a command line argument
  * @since Ant 1.5
  */
 public ImplementationSpecificArgument createCompilerArg() {
   ImplementationSpecificArgument arg = new ImplementationSpecificArgument();
   facade.addImplementationArgument(arg);
   return arg;
 }
示例#5
0
文件: Rmic.java 项目: nhojpatrick/ant
 /**
  * Sets the compiler implementation to use; optional, defaults to the value of the <code>
  * build.rmic</code> property, or failing that, default compiler for the current VM
  *
  * @param compiler the compiler implementation to use
  * @since Ant 1.5
  */
 public void setCompiler(String compiler) {
   if (compiler.length() > 0) {
     facade.setImplementation(compiler);
   }
 }