I am trying to create and use packages and something is not working for me.
This is the folders structure
...
problems with packages
This is the folders structure
.sencha
app
...
packages
PKG1
...
src
test.js
...
in package.json, the name is defined as PKG1
in app.json I have added "requires": [ "PKG1" ],
I deleted bootstrap files and let sencha watch to rebuild it.
and still a reference to PGK1.test fails (PKG1 is undefined) . What's wrong?
-------------
Second question is: in app .sencha/sencha.cfg there is a definision: workspace.packages.dir=${workspace.dir}/packages
I want that the packages will be taken from several places, may I change it to:
workspace.packages.dir=${workspace.dir}/packages; ../../../../CommonPackages/packages ?
problems with packages
Aucun commentaire:
Enregistrer un commentaire