|
|||||||||
| 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.PCTRun
com.phenix.pct.PCTCompile
public class PCTCompile
Class for compiling Progress procedures
| Field Summary |
|---|
| Fields inherited from class com.phenix.pct.PCTRun |
|---|
dbConnList, exec, initID, initProc, internalPropath, outputParameters, outputStream, outputStreamID, pctLib, plID, procedure, propath, runParameters, status, statusID |
| 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 | |
|---|---|
PCTCompile()
Creates a new PCTCompile object |
|
| Method Summary | |
|---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files to archive. |
protected void |
cleanup()
Delete temporary files if debug not activated |
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 |
setNoParse(boolean noParse)
Disables completely XREF generation and parsing. |
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, 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 PCTCompile()
| 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 PCTRunfailOnError - "true|false|on|off|yes|no"public void setNoXref(boolean noXref)
noXref - "true|false|on|off|yes|no"public void setNoParse(boolean noParse)
noParse - "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 - FileSet
public void execute()
throws org.apache.tools.ant.BuildException
execute in class PCTRunorg.apache.tools.ant.BuildException - Something went wrongprotected void cleanup()
cleanup in class PCTRunPCTRun.cleanup()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||