org.apache.tools.ant.taskdefs.compilers

Class Sj

Implemented Interfaces:
CompilerAdapter

public class Sj
extends DefaultCompilerAdapter

The implementation of the sj compiler. Uses the defaults for DefaultCompilerAdapter
Since:
Ant 1.4

Field Summary

Fields inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

attributes, bootclasspath, compileClasspath, compileList, compileSourcepath, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, lSep, location, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose

Method Summary

boolean
execute()
Performs a compile using the sj compiler from Symantec.
protected String
getNoDebugArgument()
Returns null since sj either has -g for debug=true or no argument at all.

Methods inherited from class org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, assumeJava14, assumeJava15, executeExternalCompile, executeExternalCompile, getCompileClasspath, getJavac, getNoDebugArgument, getProject, logAndAddFilesToCompile, setJavac, setupJavacCommand, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches

Method Details

execute

public boolean execute()
            throws BuildException
Performs a compile using the sj compiler from Symantec.
Specified by:
execute in interface CompilerAdapter

getNoDebugArgument

protected String getNoDebugArgument()
Returns null since sj either has -g for debug=true or no argument at all.
Overrides:
getNoDebugArgument in interface DefaultCompilerAdapter
Since:
Ant 1.6.3

Copyright B) 2000-2008 Apache Software Foundation. All Rights Reserved.