Hi folks: I am making a new package in squeaksource for Glorp (compatibility for Pharo) and I want Glorp to be easily loaded.
I would love someone could dowload pharo and do ScriptLoader loadGlorp :) Now, the question is, can I commit such method? Or ScriptLoader is only for internal development? Thanks! Mariano _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
It would be better to have a GlorpLoader package and
GlorpLoader load (couple) it is more OO in the spirit. ScriptLoader is not for public consumption. stef On Jun 9, 2009, at 11:25 PM, Mariano Martinez Peck wrote: > Hi folks: I am making a new package in squeaksource for Glorp > (compatibility for Pharo) and I want Glorp to be easily loaded. > > I would love someone could dowload pharo and do ScriptLoader > loadGlorp :) > > Now, the question is, can I commit such method? Or ScriptLoader is > only for internal development? > > Thanks! > > Mariano > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Ok. I did something like that. I will then send an email with the ANN.
Thanks! Mariano On Tue, Jun 9, 2009 at 6:36 PM, Stéphane Ducasse <[hidden email]> wrote: It would be better to have a GlorpLoader package and _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
2009/6/10 Mariano Martinez Peck <[hidden email]>:
> Ok. I did something like that. I will then send an email with the ANN. What about using Installer which is present in all Pharo. For example: instClass ss project: 'OCompletion'; install: 'OCLoader'. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On Wed, Jun 10, 2009 at 9:53 AM, Damien Cassou<[hidden email]> wrote:
> What about using Installer which is present in all Pharo. For example: > > instClass ss > project: 'OCompletion'; > install: 'OCLoader'. instClass being Installer, sorry. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On Wed, Jun 10, 2009 at 6:53 AM, Damien Cassou <[hidden email]> wrote:
Yes yes. I do this: "GlorpPharoLoader loadGlorp". But loadGlorp, inside, uses installer as you said :) Thanks! Mariano
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Mariano Martinez Peck
Hi Mariano,
Best is to have a GlorpLoader. People can then doit in a workspace: Installer ss project: 'Glorp'; install: 'GlopLoader'. MondrianLoader in the Mondrian package may be a good example. Cheers, Alexandre On 9 Jun 2009, at 17:25, Mariano Martinez Peck wrote: > Hi folks: I am making a new package in squeaksource for Glorp > (compatibility for Pharo) and I want Glorp to be easily loaded. > > I would love someone could dowload pharo and do ScriptLoader > loadGlorp :) > > Now, the question is, can I commit such method? Or ScriptLoader is > only for internal development? > > Thanks! > > Mariano > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On Wed, Jun 10, 2009 at 3:09 PM, Alexandre Bergel <[hidden email]> wrote: Hi Mariano, That's what I did :)
Thanks for the example. But I don't understand who and when send the message "load" to MondrianLoader. Monticello does that when loading a package? I tried load was never call :( What I did is to my GlorpLoader is to implement the class side method: initialize super initialize. self loadGlorp. loadGlor Installer ss... .... Thanks!!! Mariano
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |