Category: Language-Packaging
Superclass: Object
I am not part of a standard Smalltalk system. I store internally the information on a Smalltalk package, and can output my description in XML.

Method category index

accessing (instance)

accessing (instance)

/ fileName
Resolve the file name according to the base directories in baseDirectories, and return a FilePath for the full filename. Raise a PackageNotAvailable exception if no directory was found for fileName.

allDistFiles

Answer an OrderedCollection of all the files, both built and distributed, that are part of the package.

allFiles

Answer an OrderedCollection of all the files, both built and distributed, that are part of the package.

builtFiles

Answer a (modifiable) OrderedCollection of files that are part of the package but are not distributed.

callouts

Answer a (modifiable) Set of call-outs that are required to load the package. Their presence is checked after the libraries and modules are loaded so that you can do a kind of versioning.

createNamespace

Create the path of namespaces indicated by our namespace field in dot notation, and answer the final namespace

directory

Answer the base directory from which to load the package.

features

Answer a (modifiable) Set of features provided by the package.

fileIn

File in the given package and its dependencies.

fileIns

Answer a (modifiable) OrderedCollections of files that are to be filed-in to load the package. This is usually a subset of `files' and `builtFiles'.

files

Answer a (modifiable) OrderedCollection of files that are part of the package.

fullPathOf: fileName

This method's functionality should be implemented by subclasses of Kernel.PackageInfo

fullPathsOf: aCollection

Resolve the names in aCollection according to the base directories in baseDirectories, and return the collection with the FilePaths. Raise a PackageNotAvailable exception if no directory was found for one or more files in aCollection.

isDisabled

Answer `false'.

libraries

Answer a (modifiable) Set of shared library names that are required to load the package.

loaded

Not commented.

modules

Answer a (modifiable) Set of modules that are required to load the package.

name

Answer the name of the package.

name: aString

Set to aString the name of the package.

namespace

Answer the namespace in which the package is loaded.

prerequisites

Answer a (modifiable) Set of prerequisites.

printOn: aStream

Not commented.

printOn: aStream indent: indent

Not commented.

printOn: aStream tag: tag indent: indent

Print a representation of the receiver on aStream (it happens to be XML.

printXmlOn: aStream collection: aCollection tag: aString indent: indent

Private - Print aCollection on aStream as a sequence of aString tags.

relativeDirectory

Answer the directory from which to load the package, relative to the package file.

start

File in the receiver and evaluate its start script, passing nil as the argument.

start: anObject

File in the receiver and evaluate its start script, passing anObject's displayString as the argument.

startScript

Answer the start script for the package.

stop

Evaluate the stop script of the receiver, passing nil as the argument.

stop: anObject

Evaluate the stop script of the receiver, passing anObject's displayString as the argument.

stopScript

Answer the stop script for the package.

sunitScript

Answer a String containing a SUnit script that describes the package's test suite.

sunitScripts

Answer a (modifiable) OrderedCollection of SUnit scripts that compose the package's test suite.

url

Answer the URL at which the package repository can be found.

top