Methods Summary |
---|
protected void | addArg(org.apache.tools.ant.types.CommandlineJava cmd, java.lang.String argument)add an argument oneple to the argument list, if the value aint null
if (argument != null && argument.length() != 0) {
cmd.createArgument().setValue(argument);
}
|
protected void | addArg(org.apache.tools.ant.types.CommandlineJava cmd, java.lang.String argument, java.lang.String value)add an argument tuple to the argument list, if the value aint null
if (value != null) {
cmd.createArgument().setValue(argument);
cmd.createArgument().setValue(value);
}
|
protected void | addArg(org.apache.tools.ant.types.CommandlineJava cmd, java.lang.String argument, java.io.File file)add an argument tuple to the arg list, if the file parameter aint null
if (file != null) {
cmd.createArgument().setValue(argument);
cmd.createArgument().setFile(file);
}
|
public org.apache.tools.ant.taskdefs.optional.jsp.JspC | getJspc()get the owner
return owner;
|
public org.apache.tools.ant.Project | getProject()get our project
return getJspc().getProject();
|
public boolean | implementsOwnDependencyChecking()ask if compiler can sort out its own dependencies
return false;
|
protected void | logAndAddFilesToCompile(org.apache.tools.ant.taskdefs.optional.jsp.JspC jspc, java.util.Vector compileList, org.apache.tools.ant.types.CommandlineJava cmd)Logs the compilation parameters, adds the files to compile and logs the
"niceSourceList"
jspc.log("Compilation " + cmd.describeJavaCommand(),
Project.MSG_VERBOSE);
StringBuffer niceSourceList = new StringBuffer("File");
if (compileList.size() != 1) {
niceSourceList.append("s");
}
niceSourceList.append(" to be compiled:");
niceSourceList.append(lSep);
Enumeration e = compileList.elements();
while (e.hasMoreElements()) {
String arg = (String) e.nextElement();
cmd.createArgument().setValue(arg);
niceSourceList.append(" ");
niceSourceList.append(arg);
niceSourceList.append(lSep);
}
jspc.log(niceSourceList.toString(), Project.MSG_VERBOSE);
|
public void | setJspc(org.apache.tools.ant.taskdefs.optional.jsp.JspC owner)set the owner
this.owner = owner;
|