FileDocCategorySizeDatePackage
Sj.javaAPI DocApache Ant 1.702002Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.compilers

Sj

public class Sj extends DefaultCompilerAdapter
The implementation of the sj compiler. Uses the defaults for DefaultCompilerAdapter
since
Ant 1.4

Fields Summary
Constructors Summary
Methods Summary
public booleanexecute()
Performs a compile using the sj compiler from Symantec.

return
true if the compilation succeeded
throws
BuildException on error

        attributes.log("Using symantec java compiler", Project.MSG_VERBOSE);

        Commandline cmd = setupJavacCommand();
        String exec = getJavac().getExecutable();
        cmd.setExecutable(exec == null ? "sj" : exec);

        int firstFileName = cmd.size() - compileList.length;

        return
            executeExternalCompile(cmd.getCommandline(), firstFileName) == 0;
    
protected java.lang.StringgetNoDebugArgument()
Returns null since sj either has -g for debug=true or no argument at all.

return
null.
since
Ant 1.6.3

        return null;