On Thu, 03 Jun 2010 10:01:33 +0200, Paolo Bonzini <[email protected]> wrote:

> If not, something like the attached would work though.  The directory 
> would be /usr/(local/)share/smalltalk/site-packages.  You can group the 
> code into a .star file, or use a 
> /usr/(local/)share/smalltalk/site-packages/packages.xml file.

Thanks Paolo!!

I'm trying to use it but am not completely sure of the format
for the packages.xml file.. Below is the current incarnation I'm
using which is not working :

<packages>

<package>
  <name>AddOns</name>
  <file>VisualWorksExtensions.st</file>
<package>

</packages>

It gives me this when I try to use the following packageLoader
line :

PackageLoader fileInPackage: #VisualWorksExtensions.


Object: Package new "<-0x53dbde8>" error: error in packages file:
unmatched end tag package
Error(Exception)>>signal (ExcHandling.st:254)
Error(Exception)>>signal: (ExcHandling.st:264)
Package(Object)>>error: (SysExcept.st:1444)
[] in Package>>parse:tag: (PkgLoader.st:1585)
BlockClosure>>ensure: (BlkClosure.st:269)
Package>>parse:tag: (PkgLoader.st:1570)
Package class>>parse: (PkgLoader.st:1229)
Kernel.PackageDirectory(Kernel.PackageContainer)>>parse:
(PkgLoader.st:363)
optimized [] in Kernel.PackageDirectory>>refreshPackageList
(PkgLoader.st:432)

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to