|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.phenix.pct.PCT
com.phenix.pct.PCTBgRun
com.phenix.pct.PCTBgCompile
public class PCTBgCompile
Class for compiling Progress procedures
| Nested Class Summary | |
|---|---|
class |
PCTBgCompile.CompilationBackgroundWorker
|
static class |
PCTBgCompile.RCodeMapper
|
| Field Summary |
|---|
| Fields inherited from class com.phenix.pct.PCTBgRun |
|---|
internalPropath, pctLib, plID |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
PCTBgCompile()
|
|
| Method Summary | |
|---|---|
void |
add(org.apache.tools.ant.util.FileNameMapper fileNameMapper)
Add a nested filenamemapper. |
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files to archive. |
org.apache.tools.ant.types.Mapper |
createMapper()
Define the mapper to map source to destination files. |
protected BackgroundWorker |
createOpenEdgeWorker(Socket socket)
|
void |
execute()
Do the work |
void |
setDebugListing(boolean debugListing)
Create debug list files during compilation |
void |
setDestDir(File destDir)
Location to store the .r files |
void |
setFailOnError(boolean failOnError)
Immediatly quit if a progress procedure fails to compile |
void |
setForceCompile(boolean forceCompile)
Force compilation, without xref generation |
void |
setKeepXref(boolean keepXref)
Generates a .xref in the .pct directory, result of XREF option in the COMPILE statement |
void |
setLanguages(String languages)
Identifies which language segments to include in the compiled r-code. |
void |
setListing(boolean listing)
Create listing files during compilation |
void |
setMD5(boolean md5)
Put MD5 in r-code ? |
void |
setMinSize(boolean minSize)
Reduce r-code size ? |
void |
setNoCompile(boolean noCompile)
No real compilation ; just print the files which should be recompiled |
void |
setNoXref(boolean noXref)
Deprecated. |
void |
setPreprocess(boolean preprocess)
Create preprocessing files during compilation |
void |
setRunList(boolean runList)
Generates a .run file in the .pct directory, which shows internal and external procedures calls |
void |
setTextGrowth(int growthFactor)
Specifies the factor by which ABL increases the length of strings. |
void |
setXCode(boolean xcode)
Procedures are encrypted ? |
void |
setXCodeKey(String xcodeKey)
Compile using a specific key instead of the default key |
void |
setXRefDir(File xrefDir)
Directory where to store CRC and includes files : .pct subdirectory is created there |
| Methods inherited from class com.phenix.pct.PCT |
|---|
addEnv, checkDlcHome, deleteDirectory, escapeString, extractPL, extractPL, getDlcBin, getDlcHome, getDLCMaintenanceVersion, getDLCMajorVersion, getDLCMinorVersion, getDLCPatchLevel, getDLCRevision, getEnvironment, getExecPath, getFullVersion, getIncludedPL, getJavaFileset, getJavaFileset, getProgressProcedures, getRCodeVersion, getReducedVersion, isSourceCodeUsed, nextRandomInt, setDlcBin, setDlcHome, setDlcJava, setIncludedPL |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PCTBgCompile()
| Method Detail |
|---|
public void setMinSize(boolean minSize)
minSize - "true|false|on|off|yes|no"public void setForceCompile(boolean forceCompile)
forceCompile - "true|false|on|off|yes|no"public void setListing(boolean listing)
listing - "true|false|on|off|yes|no"public void setPreprocess(boolean preprocess)
preprocess - "true|false|on|off|yes|no"public void setDebugListing(boolean debugListing)
debugListing - "true|false|on|off|yes|no"public void setFailOnError(boolean failOnError)
setFailOnError in class PCTBgRunfailOnError - "true|false|on|off|yes|no"public void setNoXref(boolean noXref)
noXref - "true|false|on|off|yes|no"public void setKeepXref(boolean keepXref)
keepXref - "true|false|on|off|yes|no"public void setXRefDir(File xrefDir)
xrefDir - Filepublic void setMD5(boolean md5)
md5 - "true|false|on|off|yes|no"public void setNoCompile(boolean noCompile)
noCompile - "true|false|on|off|yes|no"public void setRunList(boolean runList)
runList - "true|false|on|off|yes|no"public void setDestDir(File destDir)
destDir - Destination directorypublic void setXCode(boolean xcode)
xcode - booleanpublic void setXCodeKey(String xcodeKey)
xcodeKey - Stringpublic void setLanguages(String languages)
languages - Stringpublic void setTextGrowth(int growthFactor)
growthFactor - int (must be positive)public void addFileset(org.apache.tools.ant.types.FileSet set)
set - FileSetpublic void add(org.apache.tools.ant.util.FileNameMapper fileNameMapper)
fileNameMapper - the mapper to add.
public org.apache.tools.ant.types.Mapper createMapper()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - if more than one mapper is defined.
public void execute()
throws org.apache.tools.ant.BuildException
execute in class PCTBgRunorg.apache.tools.ant.BuildException - Something went wrongprotected BackgroundWorker createOpenEdgeWorker(Socket socket)
createOpenEdgeWorker in class PCTBgRun
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||