Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.compilers

public Class Sj

extends DefaultCompilerAdapter
Class Inheritance
Imports
org.apache.tools.ant.BuildException, .Project, org.apache.tools.ant.types.Commandline

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

Field Summary

Inherited from org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter:
attributesbootclasspathcompileClasspathcompileListcompileSourcepathdebugdependdeprecationdestDirencodingextdirsincludeAntRuntimeincludeJavaRuntimelocationlSepmemoryInitialSizememoryMaximumSizemodulepathmoduleSourcepathoptimizeprojectreleasesrctargetupgrademodulepathverbose

Constructor Summary

AccessConstructor and Description
public
Sj()

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the compilation succeeded
execute
()

Implements org.apache.tools.ant.taskdefs.compilers.CompilerAdapter.execute.

Performs a compile using the sj compiler from Symantec.
protected String

Returns:

null.
getNoDebugArgument
()

Overrides org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.getNoDebugArgument.

Returns null since sj either has -g for debug=true or no argument at all.
Inherited from org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter:
addCurrentCompilerArgsaddExtdirsToClasspathassumeJava10PlusassumeJava11assumeJava12assumeJava13assumeJava14assumeJava15assumeJava16assumeJava17assumeJava18assumeJava19assumeJava1_1PlusassumeJava1_2PlusassumeJava1_3PlusassumeJava1_4PlusassumeJava1_5PlusassumeJava1_6PlusassumeJava1_7PlusassumeJava1_8PlusassumeJava9assumeJava9PlusexecuteExternalCompileexecuteExternalCompilegetBootClassPathgetCompileClasspathgetJavacgetModulepathgetModulesourcepathgetProjectgetSupportedFileExtensionsgetUpgrademodulepathlogAndAddFilesToCompilesetJavacsetupJavacCommandsetupJavacCommandsetupJavacCommandlineSwitchessetupJavacCommandlineSwitchessetupModernJavacCommandsetupModernJavacCommandlineSwitches

Constructor Detail

Sjback to summary
public Sj()

Method Detail

executeback to summary
public boolean execute() throws BuildException

Implements org.apache.tools.ant.taskdefs.compilers.CompilerAdapter.execute.

Performs a compile using the sj compiler from Symantec.

Returns:boolean

true if the compilation succeeded

Annotations
@Override
Exceptions
BuildException:
on error
getNoDebugArgumentback to summary
protected String getNoDebugArgument()

Overrides org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.getNoDebugArgument.

Returns null since sj either has -g for debug=true or no argument at all.

Returns:String

null.

Annotations
@Override
Since
Ant 1.6.3