Send to Printer

BottomFeeder

About Building BottomFeeder...

May 21, 2007 9:52:20.189

I see there's some confusion over the BottomFeeder build script I posted - centered around the reference to "repositories.xml" in it. Since I'm not about to post my own Store connection info, here's how to create that file. Open an existing VW image - a non-commercial image will be fine, since it has read-access to Store. In the launcher, save the repository info as shown below:

Now you might need to go into the file and modify the connection name - see this line:


"load from Store - connect to public store first"
profile := Store.RepositoryManager repositories 
	detect: [:each | 'cincomsmalltalk' = each name] 
	ifNone: [nil].
profile ifNil: [^self].
Store.DbRegistry connectTo: profile.

I used the name 'cincomsmalltalk' - change that to match the name you use to connect to the public repository.

Technorati Tags:

Comments

Use the guest login for your scripts

[Bob Westergaard] May 21, 2007 14:16:30.431

The public repository has a guest login, which allows anyone to connect and load packages or bundles. However, they can not publish with this login. Maybe you could just tweak the script you provide for building BottomFeeder to connect with that login instead of relying on your repostories.xml?

profile :=
        (Store.ConnectionProfile new)
                name: 'Cincom Public Repository';
                environment: 'store.cincomsmalltalk.com:5432_store_public';
                userName: 'guest';
                password: 'guest';
                driverClassName: 'PostgreSQLEXDIConnection'
                yourself.
Store.RepositoryManager repositories add: profile.
Store.DbRegistry connectTo: profile.

now that's odd

[Troy Brumley] May 23, 2007 22:07:01.096

Why do I have to be connected to a repository to save my repositories.xml file? The save is local to the image directory, and in VWNC there is already a default profile for guest loaded in the image.

 Share Tweet This