|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.antcontrib.cpptasks.compiler.AbstractProcessor net.sf.antcontrib.cpptasks.compiler.AbstractLinker net.sf.antcontrib.cpptasks.compiler.CommandLineLinker net.sf.antcontrib.cpptasks.os400.IccLinker
public final class IccLinker
Adapter for the IBM (R) OS/390 (tm) Linker
Field Summary |
---|
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor |
---|
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID |
Method Summary | |
---|---|
protected void |
addBase(long base,
java.util.Vector args)
|
protected void |
addEntry(java.lang.String entry,
java.util.Vector args)
|
protected void |
addFixed(java.lang.Boolean fixed,
java.util.Vector args)
|
protected void |
addImpliedArgs(boolean debug,
LinkType linkType,
java.util.Vector args)
|
protected void |
addIncremental(boolean incremental,
java.util.Vector args)
|
protected java.lang.String[] |
addLibrarySets(CCTask task,
LibrarySet[] libsets,
java.util.Vector preargs,
java.util.Vector midargs,
java.util.Vector endargs)
|
protected void |
addMap(boolean map,
java.util.Vector args)
|
protected void |
addStack(int stack,
java.util.Vector args)
|
java.lang.String |
getCommandFileSwitch(java.lang.String commandFile)
|
static IccLinker |
getDataSetInstance()
|
static IccLinker |
getInstance()
|
java.io.File[] |
getLibraryPath()
returns the library path for the linker |
java.lang.String[] |
getLibraryPatterns(java.lang.String[] libnames,
LibraryTypeEnum libType)
Returns a set of filename patterns corresponding to library names. |
Linker |
getLinker(LinkType linkType)
Gets the linker for the specified link type. |
int |
getMaximumCommandLength()
|
java.lang.String[] |
getOutputFileNames(java.lang.String baseName,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file |
protected java.lang.String[] |
getOutputFileSwitch(CCTask task,
java.lang.String outputFile)
|
java.lang.String[] |
getOutputFileSwitch(java.lang.String outputFile)
|
boolean |
isCaseSensitive()
Returns true if the linker is case-sensitive |
void |
link(CCTask task,
java.io.File outputFile,
java.lang.String[] sourceFiles,
CommandLineLinkerConfiguration config)
Performs a link using a command line linker |
protected int |
runCommand(CCTask task,
java.io.File workingDir,
java.lang.String[] cmdline)
This method is exposed so test classes can overload and test the arguments without actually spawning the compiler |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineLinker |
---|
createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getStartupObject, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, setCommand |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractLinker |
---|
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor |
---|
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static IccLinker getDataSetInstance()
public static IccLinker getInstance()
protected void addBase(long base, java.util.Vector args)
addBase
in class CommandLineLinker
protected void addFixed(java.lang.Boolean fixed, java.util.Vector args)
addFixed
in class CommandLineLinker
protected void addImpliedArgs(boolean debug, LinkType linkType, java.util.Vector args)
addImpliedArgs
in class CommandLineLinker
protected void addIncremental(boolean incremental, java.util.Vector args)
addIncremental
in class CommandLineLinker
protected java.lang.String[] addLibrarySets(CCTask task, LibrarySet[] libsets, java.util.Vector preargs, java.util.Vector midargs, java.util.Vector endargs)
addLibrarySets
in class CommandLineLinker
protected void addMap(boolean map, java.util.Vector args)
addMap
in class CommandLineLinker
protected void addStack(int stack, java.util.Vector args)
addStack
in class CommandLineLinker
protected void addEntry(java.lang.String entry, java.util.Vector args)
addEntry
in class CommandLineLinker
public java.lang.String getCommandFileSwitch(java.lang.String commandFile)
getCommandFileSwitch
in class CommandLineLinker
public java.io.File[] getLibraryPath()
Linker
public java.lang.String[] getLibraryPatterns(java.lang.String[] libnames, LibraryTypeEnum libType)
Linker
libnames
- array of library namespublic Linker getLinker(LinkType linkType)
Linker
public int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineLinker
protected java.lang.String[] getOutputFileSwitch(CCTask task, java.lang.String outputFile)
getOutputFileSwitch
in class CommandLineLinker
public java.lang.String[] getOutputFileSwitch(java.lang.String outputFile)
getOutputFileSwitch
in class CommandLineLinker
public boolean isCaseSensitive()
Linker
public void link(CCTask task, java.io.File outputFile, java.lang.String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException
CommandLineLinker
link
in class CommandLineLinker
org.apache.tools.ant.BuildException
protected int runCommand(CCTask task, java.io.File workingDir, java.lang.String[] cmdline) throws org.apache.tools.ant.BuildException
CommandLineLinker
runCommand
in class CommandLineLinker
org.apache.tools.ant.BuildException
public java.lang.String[] getOutputFileNames(java.lang.String baseName, VersionInfo versionInfo)
Processor
getOutputFileNames
in interface Processor
getOutputFileNames
in class CommandLineLinker
baseName
- input file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |