That's cool but we should look to resolve the rc file or env variables
in the image then it doesn't rely on correctly configuring the command
line invocation. shouldn't be too hard. I appreciate I hijacked this
thread somewhat....

Cheers mike

On Wednesday, April 21, 2010, Stéphane Ducasse
<[email protected]> wrote:
> Cool I will do that too.
> Can you create a book entry with that because this is cool :)
>
> Stef
>
> On Apr 21, 2010, at 8:40 AM, laurent laffont wrote:
>
>>
>>
>> On Tue, Apr 20, 2010 at 11:21 PM, Michael Roberts <[email protected]> wrote:
>> i'm not sure what either of you mean. I want there to be no UI choice
>> and the system just looks higher up in the file system hierarchy.
>>
>> certainly environment variables or a .pharorc style file would solve this.
>>
>>
>> On my machine I've written these files:
>> ~/.pharorc.st
>>
>> Author fullName: 'LaurentLaffont'.
>>
>> MCRepositoryGroup default addRepository:
>>               (MCDirectoryRepository new directory:
>>                                (FileDirectory on: 
>> '/home/laurent/pharo/repository')).
>>
>> Then
>>
>> ~/bin/pharo:
>>
>> #!/bin/sh
>> squeak $1 ~/.pharorc.st
>>
>>
>> Then I launch my image with:
>> pharo /path/to/my.image
>>
>> Author and repository always set for every image. Very emacs-like :)
>>
>> Cheers,
>>
>> Laurent Laffont
>>
>>
>>
>> thanks,
>> Mike
>>
>> On Tue, Apr 20, 2010 at 6:33 PM, Chris Muller <[email protected]> wrote:
>> > Whether the user is required to specify a "default directory" or a
>> > directory to a repository, it's the same task isn't it?
>> >
>> > Once you add it once to MC, it can be "added" to any other package.
>> > So this defaultDirectory would seem to be a feature not worth its
>> > weight..
>> >
>> >
>> > On Mon, Apr 19, 2010 at 6:00 PM, Sean P. DeNigris <[email protected]> 
>> > wrote:
>> >>
>> >> http://code.google.com/p/pharo/issues/detail?id=2329
>> >>
>> >> Pharo image: Pharo 1.0
>> >>
>> >> In Monticello Browser, when I click "+Repository" and select "directory,"
>> >> I'd love to be taken right to the directory where I keep my local
>> >> repositories, instead of having to click to the same place over and over.
>> >>
>> >> I changed the following method:
>> >> MCDirectoryRepository class>>morphicConfigure
>> >>        ^ (UIManager default chooseDirectoryFrom: (FileDirectory on:
>> >> '/path/to/my/Repositories')) ifNotNil:
>> >>                [:directory |
>> >>                self new directory: directory]
>> >>
>> >> How should I store the default repository directory?  Would anyone else 
>> >> find
>> >> this helpful?
>> >>
>> >> Sean DeNigris
>> >> --
>> >> View this message in context: 
>> >> http://n4.nabble.com/FEATURE-User-chooses-preferred-location-for-MC-directory-repositories-tp2016684p2016684.html
>> >> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>> >>
>> >> _______________________________________________
>> >> Pharo-project mailing list
>> >> [email protected]
>> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >>
>> >
>> > _______________________________________________
>> > Pharo-project mailing list
>> > [email protected]
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> ______________________________________________

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to