[Pharo-project] ScriptLoader policies
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
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 Pharo-project@lists.gforge.inria.fr 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 <stephane.ducasse@inria.fr>wrote:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2009/6/10 Mariano Martinez Peck <marianopeck@gmail.com>:
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
On Wed, Jun 10, 2009 at 9:53 AM, Damien Cassou<damien.cassou@gmail.com> 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
On Wed, Jun 10, 2009 at 6:53 AM, Damien Cassou <damien.cassou@gmail.com>wrote:
On Wed, Jun 10, 2009 at 9:53 AM, Damien Cassou<damien.cassou@gmail.com> wrote:
What about using Installer which is present in all Pharo. For example:
instClass ss project: 'OCompletion'; install: 'OCLoader'.
instClass being Installer, sorry.
Yes yes. I do this: "GlorpPharoLoader loadGlorp". But loadGlorp, inside, uses installer as you said :) Thanks! Mariano
-- 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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Wed, Jun 10, 2009 at 3:09 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
Hi Mariano,
Best is to have a GlorpLoader. People can then doit in a workspace:
Installer ss project: 'Glorp'; install: 'GlopLoader'.
That's what I did :)
MondrianLoader in the Mondrian package may be a good example.
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
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (4)
-
Alexandre Bergel -
Damien Cassou -
Mariano Martinez Peck -
Stéphane Ducasse