Couple of newbie questions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Couple of newbie questions

Thomas Worthington
Hi everyone,

Two questions:

1) How do I get my Pharo 1.0 to "upgrade" to the 1.1 image?
2) How do I make a "one-click" image that will start my app when clicked?

Sorry if these are FAQs, but I couldn't find answers via Google.

TW

_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Couple of newbie questions

Mariano Martinez Peck


On Sat, Jul 24, 2010 at 2:29 PM, Thomas Worthington <[hidden email]> wrote:
Hi everyone,


Hi and welcome!
 
Two questions:

1) How do I get my Pharo 1.0 to "upgrade" to the 1.1 image?


The system update is disabled in purpose. The Pharo image cannot be updated anymore. Only PharoCore images can be updated. So..what you have to do is to just download a Pharo 1.1 image :)

If you are curious why updates were disable, read:  http://forum.world.st/update-1-1-11371-tp2229126p2231195.html

Just FYI the latest 1.1 release is here: https://gforge.inria.fr/frs/download.php/27254/Pharo-1.1-11409-rc4dev10.07.2.zip

as you can see in http://www.pharo-project.org/pharo-download
 
2) How do I make a "one-click" image that will start my app when clicked?


Very easy. Two options:

- Take your new image (both .image and .changes), put exactly the same file names, and override the original files that can be found in /Contents/Resources . I think they are named Pharo-1.0.image and Pharo-1.0.changes

- This option is the proper one. It depends on the OS you are using. If you are in Linux, just edit the Pharo.sh file so that it points to your new image (where it says "$RES/Pharo-1.0.image"). If you are in Windows, edit the Pharo.ini file where it says "ImageFile=Contents\Resources\Pharo-1.0.image".
 
Sorry if these are FAQs, but I couldn't find answers via Google.


We should add it to FAQ or book.

Where you aware of http://book.pharo-project.org/  and  http://pharobyexample.org/   ?

Cheers

Mariano
 
TW

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


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Couple of newbie questions

Miguel Cobá
El sáb, 24-07-2010 a las 20:09 +0200, Mariano Martinez Peck escribió:

Maybe this question should go to the faq on the page or section on the
book.

>
>
> On Sat, Jul 24, 2010 at 2:29 PM, Thomas Worthington
> <[hidden email]> wrote:
>         Hi everyone,
>        
>
> Hi and welcome!
>  
>         Two questions:
>        
>         1) How do I get my Pharo 1.0 to "upgrade" to the 1.1 image?
>
>
> The system update is disabled in purpose. The Pharo image cannot be
> updated anymore. Only PharoCore images can be updated. So..what you
> have to do is to just download a Pharo 1.1 image :)
>
> If you are curious why updates were disable, read:
> http://forum.world.st/update-1-1-11371-tp2229126p2231195.html
>
> Just FYI the latest 1.1 release is here:
> https://gforge.inria.fr/frs/download.php/27254/Pharo-1.1-11409-rc4dev10.07.2.zip
>
> as you can see in http://www.pharo-project.org/pharo-download
>  
>         2) How do I make a "one-click" image that will start my app
>         when clicked?
>        
>
> Very easy. Two options:
>
> - Take your new image (both .image and .changes), put exactly the same
> file names, and override the original files that can be found
> in /Contents/Resources . I think they are named Pharo-1.0.image and
> Pharo-1.0.changes
>
> - This option is the proper one. It depends on the OS you are using.
> If you are in Linux, just edit the Pharo.sh file so that it points to
> your new image (where it says "$RES/Pharo-1.0.image"). If you are in
> Windows, edit the Pharo.ini file where it says "ImageFile=Contents
> \Resources\Pharo-1.0.image".
>  
>         Sorry if these are FAQs, but I couldn't find answers via
>         Google.
>        
>
> We should add it to FAQ or book.
>
> Where you aware of http://book.pharo-project.org/  and
> http://pharobyexample.org/   ?
>
> Cheers
>
> Mariano
>  
>         TW
>        
>         _______________________________________________
>         Pharo-users mailing list
>         [hidden email]
>         http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users

--
Miguel Cobá
http://miguel.leugim.com.mx


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Couple of newbie questions

Marcus Denker-4
In reply to this post by Thomas Worthington

On Jul 24, 2010, at 2:29 PM, Thomas Worthington wrote:

> Hi everyone,
>
> Two questions:
>
> 1) How do I get my Pharo 1.0 to "upgrade" to the 1.1 image?

I would not try... in theory it would work with a core image, but loading 411 updates
is far too slow.

The idea is that one loads the code in a new image. People learned over the years that
this is good to do anyway, as this tests that you actually *can* load your code. e.g. you
don't realy on objects in the image that you created years ago but that you lost the setup code
for. This is important even independend of updating from 1.0 to 1.1

> 2) How do I make a "one-click" image that will start my app when clicked?
>

You can just exchange the image file in the directory Contents/Resources
On the mac, you need to use "show package contents" to open the browser on the .app directory.

        Marcus

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Couple of newbie questions

Stéphane Ducasse
In reply to this post by Mariano Martinez Peck
mariano

we should turn that into an FAQ and add it to the collabactive book?

Stef

On Jul 24, 2010, at 8:09 PM, Mariano Martinez Peck wrote:

>
>
> On Sat, Jul 24, 2010 at 2:29 PM, Thomas Worthington <[hidden email]> wrote:
> Hi everyone,
>
>
> Hi and welcome!
>  
> Two questions:
>
> 1) How do I get my Pharo 1.0 to "upgrade" to the 1.1 image?
>
>
> The system update is disabled in purpose. The Pharo image cannot be updated anymore. Only PharoCore images can be updated. So..what you have to do is to just download a Pharo 1.1 image :)
>
> If you are curious why updates were disable, read:  http://forum.world.st/update-1-1-11371-tp2229126p2231195.html
>
> Just FYI the latest 1.1 release is here: https://gforge.inria.fr/frs/download.php/27254/Pharo-1.1-11409-rc4dev10.07.2.zip
>
> as you can see in http://www.pharo-project.org/pharo-download
>  
> 2) How do I make a "one-click" image that will start my app when clicked?
>
>
> Very easy. Two options:
>
> - Take your new image (both .image and .changes), put exactly the same file names, and override the original files that can be found in /Contents/Resources . I think they are named Pharo-1.0.image and Pharo-1.0.changes
>
> - This option is the proper one. It depends on the OS you are using. If you are in Linux, just edit the Pharo.sh file so that it points to your new image (where it says "$RES/Pharo-1.0.image"). If you are in Windows, edit the Pharo.ini file where it says "ImageFile=Contents\Resources\Pharo-1.0.image".
>  
> Sorry if these are FAQs, but I couldn't find answers via Google.
>
>
> We should add it to FAQ or book.
>
> Where you aware of http://book.pharo-project.org/  and  http://pharobyexample.org/   ?
>
> Cheers
>
> Mariano
>  
> TW
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Couple of newbie questions

Mariano Martinez Peck
Grrrr I know you were going to bother with that ;)   I couldn't scape jahahaha

ok...here it is:  http://book.pharo-project.org/book/FAQ/

BUT I HATE MY STYLE. I cannot put a nice CSS or display of the page. If someone can help me, please....it is ugly.

In addition, I didn't add it to http://www.pharo-project.org/documentation/faq

because I think they are different kinds of FAQ.

what do you think?

I still hope someone has time to migrate the techincal stufff from SCG to the new book. It would be awesome.

http://scg.unibe.ch/wiki/faq/pharo

Cheers

Mariano



On Sat, Jul 31, 2010 at 6:35 PM, Stéphane Ducasse <[hidden email]> wrote:
mariano

we should turn that into an FAQ and add it to the collabactive book?

Stef

On Jul 24, 2010, at 8:09 PM, Mariano Martinez Peck wrote:

>
>
> On Sat, Jul 24, 2010 at 2:29 PM, Thomas Worthington <[hidden email]> wrote:
> Hi everyone,
>
>
> Hi and welcome!
>
> Two questions:
>
> 1) How do I get my Pharo 1.0 to "upgrade" to the 1.1 image?
>
>
> The system update is disabled in purpose. The Pharo image cannot be updated anymore. Only PharoCore images can be updated. So..what you have to do is to just download a Pharo 1.1 image :)
>
> If you are curious why updates were disable, read:  http://forum.world.st/update-1-1-11371-tp2229126p2231195.html
>
> Just FYI the latest 1.1 release is here: https://gforge.inria.fr/frs/download.php/27254/Pharo-1.1-11409-rc4dev10.07.2.zip
>
> as you can see in http://www.pharo-project.org/pharo-download
>
> 2) How do I make a "one-click" image that will start my app when clicked?
>
>
> Very easy. Two options:
>
> - Take your new image (both .image and .changes), put exactly the same file names, and override the original files that can be found in /Contents/Resources . I think they are named Pharo-1.0.image and Pharo-1.0.changes
>
> - This option is the proper one. It depends on the OS you are using. If you are in Linux, just edit the Pharo.sh file so that it points to your new image (where it says "$RES/Pharo-1.0.image"). If you are in Windows, edit the Pharo.ini file where it says "ImageFile=Contents\Resources\Pharo-1.0.image".
>
> Sorry if these are FAQs, but I couldn't find answers via Google.
>
>
> We should add it to FAQ or book.
>
> Where you aware of http://book.pharo-project.org/  and  http://pharobyexample.org/   ?
>
> Cheers
>
> Mariano
>
> TW
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users


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


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Couple of newbie questions

hernanmd
In reply to this post by Marcus Denker-4
Hi Markus

2010/7/25 Marcus Denker <[hidden email]>:

>
> On Jul 24, 2010, at 2:29 PM, Thomas Worthington wrote:
>
>> Hi everyone,
>>
>> Two questions:
>>
>> 1) How do I get my Pharo 1.0 to "upgrade" to the 1.1 image?
>
> I would not try... in theory it would work with a core image, but loading 411 updates
> is far too slow.
>

Just a comment, maybe would be nice to download the updates in
background (via setting) and then loading all at once. Another thing I
don't understand is why loading packages couldn't be done in
background too.

Hernán

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