|
|||||||||
| 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.PCTLibrary
public class PCTLibrary
Class for managing Progress library files
| Field Summary |
|---|
| 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 | |
|---|---|
PCTLibrary()
Default constructor |
|
| 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 |
setBasedir(File baseDir)
Directory from which to archive files; optional. |
void |
setDefaultexcludes(boolean useDefaultExcludes)
Sets whether default exclusions should be used or not. |
void |
setDestFile(File destFile)
Library file name to create/update |
void |
setEncoding(String encoding)
Codepage to use |
void |
setExcludes(String excludes)
Sets the set of exclude patterns. |
void |
setExcludesfile(File excludesfile)
Sets the name of the file containing the includes patterns. |
void |
setIncludes(String includes)
Sets the set of include patterns. |
void |
setIncludesfile(File includesfile)
Sets the name of the file containing the includes patterns. |
void |
setNoCompress(boolean noCompress)
Compress library at the end of the process |
void |
setSharedFile(File sharedName)
Shared library name |
| 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 PCTLibrary()
| Method Detail |
|---|
public void setSharedFile(File sharedName)
sharedName - File namepublic void addFileset(org.apache.tools.ant.types.FileSet set)
set - FileSetpublic void setDestFile(File destFile)
destFile - Filepublic void setEncoding(String encoding)
encoding - Stringpublic void setNoCompress(boolean noCompress)
noCompress - booleanpublic void setBasedir(File baseDir)
baseDir - Filepublic void setIncludes(String includes)
includes - the string containing the include patternspublic void setExcludes(String excludes)
excludes - the string containing the exclude patternspublic void setIncludesfile(File includesfile)
includesfile - A string containing the filename to fetch the include patterns from.public void setExcludesfile(File excludesfile)
excludesfile - A string containing the filename to fetch the include patterns from.public void setDefaultexcludes(boolean useDefaultExcludes)
useDefaultExcludes - "true"|"on"|"yes" when default exclusions should be used,
"false"|"off"|"no" when they shouldn't be used.
public void execute()
throws org.apache.tools.ant.BuildException
execute in class PCTorg.apache.tools.ant.BuildException - Something went wrongprotected void cleanup()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||