Hi Makoto,
Please see my responses below.
On Mar 10, 2009, at 4:55 PM, Makoto wrote:
>
> Hi, Evgeny.
>
> Thank you for your info. I am now able to open the project on Xcode.
>
> Now I am trying to upgrade my sample app from 0.3 to 1.0 and hitting
> various problems.
>
> I would appreciate if you could answer the following questions as
> further debugging clue.
>
> 1. Do I run rake run:iphone:app only once, or every time I press
> "Build &Run" on xcode to compile?
I would recommend not using the "run:iphone:app" targets until our 1.0
launch. You can just use "Build & Run" in xcode for your dev cycle as
before. The only thing that's changed is that we use rho_build.conf
to set the application directory that is bundled.
> 2. Where should I put rho_build.conf. When it says "home directory",
> does it mean the root directory of Rhodes project, or under the
> directory where I put my application code (I put under apps dir where
> all examples such as BaseCamp used to be).
rho_build.conf should live in your home directory (we'll eventually
change this to a hidden directory or env variable). On mac, this
would be /Users/<username>/, on windows this is in C:\Documents and
Settings\<username>\
> 3. When I click my application page, it says "can not find file .../
> apps/Twitter/application.iseq". It is correct that the file does not
> exist on the directory, because I have my application.rb under .../
> apps/Twitter/app/application.rb (the more detailed message is at
>
http://gist.github.com/77206).
The application structure has changed a bit for 1.0, to better
organize the resources (more information available here:
http://wiki.rhomobile.com/index.php/Rhogen
). It looks like from your github repo that you've done this move
already. You might want to move your time_helper to app/helpers (this
directory exists if you do rhogen app).
>
> FYI, this is where I put my upgrade related commits.
>
http://github.com/makoto/rhodes-twitter/tree/master
>
> If you do "git clone" the project under "/apps" directory, then rename
> rhodes-twitter to Twitter, it should be exactly same setting as mine.
>
> Lastly, do you expect further directory changes prior to 1.0 release?
> If so, I will definitely wait further upgrade trial.
You no longer need to put your app in the apps folder (the
rho_build.conf file eliminates this requirement). We don't anticipate
any more destabilizing directory structure changes for this release.
We will be adding more files/directories for the next release. Hope
this helps.
Cheers!
Lars