goa/goactl.py
changeset 4023 eae23c40627a
parent 4021 280c910c8710
child 4252 6c4f109c2b03
equal deleted inserted replaced
4022:934e758a73ef 4023:eae23c40627a
    58     'cwvreg.py',
    58     'cwvreg.py',
    59     'cwconfig.py',
    59     'cwconfig.py',
    60     'entity.py',
    60     'entity.py',
    61     'interfaces.py',
    61     'interfaces.py',
    62     'i18n.py',
    62     'i18n.py',
       
    63     'mail.py',
    63     'migration.py',
    64     'migration.py',
       
    65     'mixins.py',
       
    66     'mttransforms.py',
    64     'rqlrewrite.py',
    67     'rqlrewrite.py',
    65     'rset.py',
    68     'rset.py',
    66     'schema.py',
    69     'schema.py',
    67     'schemaviewer.py',
    70     'schemaviewer.py',
    68     'selectors.py',
    71     'selectors.py',
       
    72     'uilib.py',
    69     'utils.py',
    73     'utils.py',
    70     'vregistry.py',
    74     'vregistry.py',
    71     'view.py',
    75     'view.py',
    72 
       
    73     'common/mail.py',
       
    74     'common/mixins.py',
       
    75     'common/mttransforms.py',
       
    76     'common/uilib.py',
       
    77 
    76 
    78     'ext/html4zope.py',
    77     'ext/html4zope.py',
    79     'ext/rest.py',
    78     'ext/rest.py',
    80 
    79 
    81     'server/hookhelper.py',
    80     'server/hookhelper.py',
   164     'schemas/base.py',
   163     'schemas/base.py',
   165     )
   164     )
   166 
   165 
   167 OVERRIDEN_FILES = (
   166 OVERRIDEN_FILES = (
   168     ('toolsutils.py', 'toolsutils.py'),
   167     ('toolsutils.py', 'toolsutils.py'),
   169     ('mttransforms.py', 'common/mttransforms.py'),
   168     ('mttransforms.py', 'mttransforms.py'),
   170     ('server__init__.py', 'server/__init__.py'),
   169     ('server__init__.py', 'server/__init__.py'),
   171     ('rqlannotation.py', 'server/rqlannotation.py'),
   170     ('rqlannotation.py', 'server/rqlannotation.py'),
   172     )
   171     )
   173 
   172 
   174 
   173 
   208             target = join(appldir, 'cubicweb', fpath)
   207             target = join(appldir, 'cubicweb', fpath)
   209             if not exists(split(target)[0]):
   208             if not exists(split(target)[0]):
   210                 create_dir(split(target)[0])
   209                 create_dir(split(target)[0])
   211             create_symlink(join(CW_SOFTWARE_ROOT, fpath), target)
   210             create_symlink(join(CW_SOFTWARE_ROOT, fpath), target)
   212         # overriden files
   211         # overriden files
   213         create_init_file(join(appldir, 'cubicweb/common'), 'cubicweb.common')
       
   214         for fpath, subfpath in OVERRIDEN_FILES:
   212         for fpath, subfpath in OVERRIDEN_FILES:
   215             create_symlink(join(CW_SOFTWARE_ROOT, 'goa', 'overrides', fpath),
   213             create_symlink(join(CW_SOFTWARE_ROOT, 'goa', 'overrides', fpath),
   216                            join(appldir, 'cubicweb', subfpath))
   214                            join(appldir, 'cubicweb', subfpath))
   217         # link every supported components
   215         # link every supported components
   218         packagesdir = join(appldir, 'cubes')
   216         packagesdir = join(appldir, 'cubes')