Renaming error in symlink creation for GOA.
authorSandrine Ribeau <sandrine.ribeau@logilab.fr>
Wed, 05 Nov 2008 13:26:27 -0800
changeset 3 512e9bd0685a
parent 2 3847ffe2f86c
child 4 8a607bdc11dc
Renaming error in symlink creation for GOA. Yaml template error in path to access data now shared between cubes.
goa/goactl.py
goa/skel/app.yaml.tmpl
--- a/goa/goactl.py	Wed Nov 05 13:02:09 2008 -0800
+++ b/goa/goactl.py	Wed Nov 05 13:26:27 2008 -0800
@@ -207,13 +207,13 @@
             create_symlink(join(CW_SOFTWARE_ROOT, 'goa', 'overrides', fpath),
                            join(appldir, 'cubicweb', subfpath))
         # link every supported components
-        cubesdir = join(appldir, 'cubes')
+        packagesdir = join(appldir, 'cubes')
         cubesdir = CubicWebConfiguration.cubes_dir()
-        for include in ('eaddressbook','ebasket', 'eblog','eclassfolders',
-                        'eclasstags', 'ecomment', 'efile', 'elink',
-                        'emailinglist', 'eperson', 'etask', 'ezone',
+        for include in ('addressbook','basket', 'blog','classfolders',
+                        'classtags', 'comment', 'file', 'link',
+                        'mailinglist', 'person', 'task', 'zone',
                         ):
-            create_symlink(join(cubesdir, include), join(cubesdir, include))
+            create_symlink(join(cubesdir, include), join(packagesdir, include))
         # generate sample config
         from cubicweb.goa.goaconfig import GAEConfiguration
         from cubicweb.common.migration import MigrationHelper
--- a/goa/skel/app.yaml.tmpl	Wed Nov 05 13:02:09 2008 -0800
+++ b/goa/skel/app.yaml.tmpl	Wed Nov 05 13:26:27 2008 -0800
@@ -8,7 +8,7 @@
   script: $PYTHON_LIB/google/appengine/ext/admin
   login: admin
 - url: /data
-  static_dir: data
+  static_dir: cubes/shared/data
 - url: /fckeditor
   static_dir: fckeditor
 - url: /_load