eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'PackageId':

Home

everywhere
www.exept.de
for:
[back]

Class: PackageId


Inheritance:

   Object
   |
   +--PackageId

Package:
stx:libbasic
Category:
System-Support-Projects
Version:
rev: 1.16 date: 2009/10/22 15:43:27
user: cg
file: PackageId.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Represents packageID's.
Knows the relationship between modules and directories in the package-organization.


Class protocol:

defaults
o  noProjectID
return the symbol used to tag classes and methods which are loose.
This means: not yet assigned to a particular project.

instance creation
o  from: aStringOrSymbol

o  module: moduleString directory: directoryString


Instance protocol:

accessing
o  module: moduleString directory: directoryString

o  packageIdString: something

o  string

comparing
o  = aPackageId
compares equal to a corresponding string

o  hash

converting
o  asPackageId

o  asString

o  asSymbol

printing
o  printOn: aStream

queries
o  directory
return the directory component. Thats the rest after the colon.
The module is typically used to define the project-path or project-id within its
sourcecode repository (which is selected via the module).

o  isModuleId
true if this is a module-id only (i.e. no directory component present).
These are not allowed to be used as real projects, but only for organization.
The reason is that this is used as selector to select the sourceCodeManager and
also the managers repository

o  libraryName
return the name of the library, when compiled to a binary (i.e. dll/so).
To avoid conflicts with the projectDefinition class
(which is named <module>_<directory_components>), we prefix the library name
with 'lib'. This has the added advantage, that under unix, linking can be done with
'-l'shortName.

o  module
return the module component. Thats the first component up to the colon.
The module is typically used to select a corresponding sourcecode repository.

o  parentPackage

o  pathRelativeToTopDirectory

o  pathRelativeToTopDirectory: aDirectory

o  projectDefinitionClass



ST/X 6.1.1; WebServer 1.620 at exept:8081; Tue, 22 May 2012 21:31:45 GMT