Faculty of Information Technology
Software Engineering Group

#98 closed todo (fixed)

Cleanup and document package path initialization

Reported by: Jan Vrany Owned by:
Priority: major Milestone:
Component: default Keywords:
Cc: Also affects CVS HEAD (eXept version): no

Description (last modified by Jan Vrany)

Initialization of Smalltalk packagePath is bit unclear and magic. Clean it up and document better.

  • Add directories always, not of if they exist (so one see what's there ans where she may add new stuff)
  • Prune unused ones to make it simpler. One may always add more.
  • Get rid of STX_TOPDIR environment
  • Remove package path fiddling from smalltalk.rc and other scripts
  • Add --package-path parameter (like Java's -classpath

Change History (2)

comment:1 Changed 16 months ago by Jan Vrany

Description: modified (diff)
Summary: Cleanuo and document package path initializationCleanup and document package path initialization
Type: defecttodo

comment:2 Changed 16 months ago by Jan Vrany

Resolution: fixed
Status: newclosed

Fixed in:

17bf4a096c2e/stx.libbasic - Issue #98: Refactored package path initialization to #initPackagePath.
cc0f87f520a9/stx.libbasic - Issue #94: Cleanup #initPackagePath
7f62aabd8dbf/stx.libbasic - Issue #94: Cleaned up Smalltalk >> packageDirectoryForPackageId:
ea1059c10bba/stx.libbasic - Issue #94: Cleaned up Win32OperatingSystem>>defaultPackagePath

88a4f36a6912/stx.projects.smallalk - Issue #98: Removed use of STX_PACKAGEDIR from startup scripts
67fb3c4db3a4/stx.projects.smallalk - Issue #98: Removed code that fiddles about packagePath from smalltalk.rc
0b149293564f/stx.projects.smallalk - Issue #98: Added -P / --package-path command line option
92159a804e50/stx.projects.smallalk - Issue #94: Nuked h_win32.rc

Sigh, I mistyped issue number in commit logs.

Note: See TracTickets for help on using tickets.