Alex Chapman | 8 May 09:42

deployment not working?

Hi Slava,


I've tried to deploy Tetris on mac, but it doesn't seem to work. It creates Tetris.app, which crashes straight away. Is there anything obvious I'm missing? I've put my generated Tetris.app in my home dir on factorcode.org if it's useful.

Also, I found a small bug in the deployment docs:

In extra/tools/deploy/config/config-docs.factor, on line 99 it says the default value is 1, but it should say 2. Also, it says "advanced features such are not available.".

Alex
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
Factor-talk@...
https://lists.sourceforge.net/lists/listinfo/factor-talk
Slava Pestov | 9 May 08:45

Re: deployment not working?

This should be fixed now.

Slava

On May 8, 2008, at 2:44 AM, Alex Chapman wrote:

Hi Slava,

I've tried to deploy Tetris on mac, but it doesn't seem to work. It creates Tetris.app, which crashes straight away. Is there anything obvious I'm missing? I've put my generated Tetris.app in my home dir on factorcode.org if it's useful.

Also, I found a small bug in the deployment docs:

In extra/tools/deploy/config/config-docs.factor, on line 99 it says the default value is 1, but it should say 2. Also, it says "advanced features such are not available.".

Alex
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
Factor-talk@...
https://lists.sourceforge.net/lists/listinfo/factor-talk
Alex Chapman | 9 May 10:28

Re: deployment not working?

Thanks Slava, it worked after I added 'ui' to the USING: clause of strip-cocoa.factor. Deploying jamshred  worked too, except that it crashes as soon as you hit a wall, maybe because it's using openal?

Alex

---------- Forwarded message ----------
From: Slava Pestov <slava-ZiOttN0IXrP2JYTphGNI2Q@public.gmane.org>
Date: 2008/5/9
Subject: Re: [Factor-talk] deployment not working?
To: factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org


This should be fixed now.

Slava

On May 8, 2008, at 2:44 AM, Alex Chapman wrote:

Hi Slava,

I've tried to deploy Tetris on mac, but it doesn't seem to work. It creates Tetris.app, which crashes straight away. Is there anything obvious I'm missing? I've put my generated Tetris.app in my home dir on factorcode.org if it's useful.

Also, I found a small bug in the deployment docs:

In extra/tools/deploy/config/config-docs.factor, on line 99 it says the default value is 1, but it should say 2. Also, it says "advanced features such are not available.".

Alex
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
Factor-talk@...
https://lists.sourceforge.net/lists/listinfo/factor-talk
Alex Chapman | 9 May 10:50

Re: deployment not working?

Never mind, I found the problem. I just had to copy extra/jamshred/sound/bang.wav to Jamshred.app/Contents/Resources/extra/jamshred/sound/

2008/5/9 Alex Chapman <chapman.alex-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
Thanks Slava, it worked after I added 'ui' to the USING: clause of strip-cocoa.factor. Deploying jamshred  worked too, except that it crashes as soon as you hit a wall, maybe because it's using openal?

Alex

---------- Forwarded message ----------
From: Slava Pestov <slava-ZiOttN0IXrP2JYTphGNI2Q@public.gmane.org>
Date: 2008/5/9
Subject: Re: [Factor-talk] deployment not working?
To: factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org


This should be fixed now.

Slava

On May 8, 2008, at 2:44 AM, Alex Chapman wrote:

Hi Slava,

I've tried to deploy Tetris on mac, but it doesn't seem to work. It creates Tetris.app, which crashes straight away. Is there anything obvious I'm missing? I've put my generated Tetris.app in my home dir on factorcode.org if it's useful.

Also, I found a small bug in the deployment docs:

In extra/tools/deploy/config/config-docs.factor, on line 99 it says the default value is 1, but it should say 2. Also, it says "advanced features such are not available.".

Alex
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
Factor-talk-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/factor-talk



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
Factor-talk@...
https://lists.sourceforge.net/lists/listinfo/factor-talk
Slava Pestov | 10 May 08:20

Re: deployment not working?


On May 9, 2008, at 3:50 AM, Alex Chapman wrote:

> Never mind, I found the problem. I just had to copy extra/jamshred/ 
> sound/bang.wav to Jamshred.app/Contents/Resources/extra/jamshred/ 
> sound/

Soon I'll add a feature to deployment where it can copy resources into  
the new bundle. This will allow Jamshred to be deployed without  
additional work.

Slava

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

Gmane