GLYerofieievVladyslavIOS / frothkit

Automatically exported from code.google.com/p/frothkit
0 stars 0 forks source link

Issue with alternate roots for multiple app deployments failing. #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is both a fmtool issue for generating the .conf file as well as an issue 
with WebApplication 
class. it needs to read the bundle's [FROTH_ROOT] value and set that up 
internally so it knows 
where its at.

Original issue reported on code.google.com by allan%de...@gtempaccount.com on 15 Nov 2009 at 3:44

GoogleCodeExporter commented 8 years ago
WebApps can potentially have different froth_roots depending on which 
deployment mode they are in. 
Deployment modes are configured as xcode "configureations" under build 
settings. This allows for the quick 
build->deploy system. However this poses a problem for getting the root path at 
run time. Note because the 
app cant access it (as it can get it with [[[NSBundle mainBundle] 
infoDictionary] valueForKey:...] however with the 
current design their is no way for the app to get is mode.

Original comment by allan%de...@gtempaccount.com on 15 Nov 2009 at 3:54

GoogleCodeExporter commented 8 years ago
Actually it can as it could retrieve its parent folder name, and that is the 
'mode' it is in, then it could get the root 
via [[[NSBundle mainBundle] infoDictionary] 
valueForKey:froth_str(@"froth_root_%@", parentFolderName)]

Original comment by allan%de...@gtempaccount.com on 15 Nov 2009 at 3:56

GoogleCodeExporter commented 8 years ago
Mostly fixed, however WebApplication still has issues with urls that have no 
ending slash. Theses should be 
treated as having a slash an root access

Original comment by allan%de...@gtempaccount.com on 15 Nov 2009 at 4:11