Closed GoogleCodeExporter closed 9 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
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
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
Original issue reported on code.google.com by
allan%de...@gtempaccount.com
on 15 Nov 2009 at 3:44