help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Storing local code in a local repository?


From: Rick Flower
Subject: Re: [Help-smalltalk] Storing local code in a local repository?
Date: Thu, 03 Jun 2010 08:11:53 -0700
User-agent: RoundCube Webmail/0.2.1

On Thu, 03 Jun 2010 10:01:33 +0200, Paolo Bonzini <address@hidden> 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]