/** * 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()); }
/** * 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(); }
/** * 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(); }
/** * 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; }
/** * 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); } }