Hey, it's pretty cool...
I wrote the file names in the additionalFiles, they're in the archive, I see the preamble is going to extract them, but one thing bothers me - their path in the archive seems to be absolute, instead of relative. Why is that?
BTW, the code for extracting refers to them only by name, without path.
The base file Refactory.st is relative.
Ideas?
Daniel
Ned Konz ned@bike-nomad.com wrote:
On Saturday 02 November 2002 03:45 am, danielv@netvision.net.il wrote:
Hehe, I just installed this (having the installable filter turned on), and when SMLoader refreshed, Connectors suddenly appeared.
Somedays, it's the little things that look like magic...
How do I specify that I want my RB package to use the SARDumper instead of the regular DVS dumper?
It's manual, actually. Sorry, but you'll have to use a workspace for it.
It takes a PackageInfo instance:
SARPackageDumper fileOutPackage: (ConnectorsInfo someInstance) as: 'Connectors.sar'
-- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE
On Saturday 02 November 2002 08:40 am, danielv@netvision.net.il wrote:
Hey, it's pretty cool...
I wrote the file names in the additionalFiles, they're in the archive, I see the preamble is going to extract them, but one thing bothers me - their path in the archive seems to be absolute, instead of relative. Why is that?
Do you mean that it gave them names starting with '/'? Did you have absolute names in additionalFiles?
BTW, the code for extracting refers to them only by name, without path.
The names in the archive should be whatever ones you gave in additionalFiles.
When you open the SAR using the ArchiveViewer, what are the names you see there? I'm assuming you're not using WinZip or something to look at these archives...
The base file Refactory.st is relative.
Ideas?
What do you have in additionalFiles? These should be relative names. From ConnectorsInfo (which you should have if you've loaded Connectors from SqueakMap):
additionalFiles ^#( 'icons/broom.gif' 'icons/colorize.gif' 'icons/contents.gif' 'icons/exit.gif' 'icons/fileimport.gif' 'icons/filenew.gif' 'icons/fileopen.gif' 'icons/fileprint.gif' 'icons/filesave.gif' 'icons/folder_new.gif' 'icons/mail_generic.gif' 'icons/mail_send.gif' )
And the members have the same names.
squeak-dev@lists.squeakfoundation.org