Next: , Up: PackageLoader   [Index]


1.128.1 PackageLoader class: accessing

builtFilesFor: package

Answer a Set of Strings containing the filenames of the given package’s machine-generated files (relative to the directory answered by #directoryFor:)

calloutsFor: package

Answer a Set of Strings containing the filenames of the given package’s required callouts (relative to the directory answered by #directoryFor:)

directoryFor: package

Answer a Directory object to the given package’s files

featuresFor: package

Answer a Set of Strings containing the features provided by the given package.

fileInsFor: package

Answer a Set of Strings containing the filenames of the given package’s file-ins (relative to the directory answered by #directoryFor:)

filesFor: package

Answer a Set of Strings containing the filenames of the given package’s files (relative to the directory answered by #directoryFor:)

flush

Set to reload the ‘packages.xml’ file the next time it is needed.

ignoreCallouts

Answer whether unavailable C callouts must generate errors or not.

ignoreCallouts: aBoolean

Set whether unavailable C callouts must generate errors or not.

librariesFor: package

Answer a Set of Strings containing the filenames of the given package’s libraries (relative to the directory answered by #directoryFor:)

modulesFor: package

Answer a Set of Strings containing the filenames of the given package’s modules (relative to the directory answered by #directoryFor:)

packageAt: package

Answer a Package object for the given package

packageAt: package ifAbsent: aBlock

Answer a Package object for the given package

prerequisitesFor: package

Answer a Set of Strings containing the prerequisites for the given package

refresh

Reload the ‘packages.xml’ file in the image and kernel directories. The three possible places are 1) the kernel directory’s parent directory, 2) the ‘.st’ subdirectory of the user’s home directory, 3) the local image directory (in order of decreasing priority).

For a packages.xml found in the kernel directory’s parent directory, all three directories are searched. For a packages.xml found in the ‘.st’ subdirectory, only directories 2 and 3 are searched. For a packages.xml directory in the local image directory, finally, only directory 3 is searched.

sunitScriptFor: package

Answer a Strings containing a SUnit script that describes the package’s test suite.


Next: , Up: PackageLoader   [Index]