Results 1 to 5 of 5

Thread: packages inside workspace

  1. #1
    Sencha User nmorado's Avatar
    Join Date
    Mar 2009
    Location
    New Jersey, USA
    Posts
    63
    Answers
    1

    Default Answered: packages inside workspace

    What is the purpose of "packages" folder inside workspace?

    I tried generating a package of type "code" and was expecting it inside this folder - but it seems like it is getting generated inside ext (framework) folder.

    same behavior BTW when i did generate for theme type.


    Thanks.

  2. ahhh.. try to add: " -sdk ext "

  3. #2
    Sencha Premium Member
    Join Date
    Dec 2010
    Location
    Auckland, NZ
    Posts
    58
    Answers
    3

    Default

    The workspace packages folder is usually used for your own code or theme packages, as well as any third party packages (e.g. Deft JS).

    The framework packages folder (ext/packages) is usually for Sencha packages that form part of the Ext JS framework; e.g. themes or sencha-core.

    It is unusual for Sencha Cmd to generate a package inside the framework folder.

    What specific steps do you take to get the behaviour your seeing ?

    These are the results I get:

    Code:
    $ sencha generate workspace . 
    Sencha Cmd v5.0.0.116
    
    
    $ find .
    .
    ./.sencha
    ./.sencha/workspace
    ./.sencha/workspace/plugin.xml
    ./.sencha/workspace/sencha.cfg
    ./packages
    
    $ sencha generate package -t code -n my-package 
    $ find .
    .
    ./.sencha
    ./.sencha/workspace
    ./.sencha/workspace/plugin.xml
    ./.sencha/workspace/sencha.cfg
    ./packages
    ./packages/my-package
    ./packages/my-package/.sencha
    ./packages/my-package/.sencha/package
    ./packages/my-package/.sencha/package/Boot.js
    ./packages/my-package/.sencha/package/bootstrap-impl.xml
    ./packages/my-package/.sencha/package/build-impl.xml
    ./packages/my-package/.sencha/package/build.properties
    ./packages/my-package/.sencha/package/codegen.json
    ./packages/my-package/.sencha/package/defaults.properties
    ./packages/my-package/.sencha/package/find-cmd-impl.xml
    ./packages/my-package/.sencha/package/init-impl.xml
    ./packages/my-package/.sencha/package/js-impl.xml
    ./packages/my-package/.sencha/package/Microloader.js
    ./packages/my-package/.sencha/package/plugin.xml
    ./packages/my-package/.sencha/package/refresh-impl.xml
    ./packages/my-package/.sencha/package/resources-impl.xml
    ./packages/my-package/.sencha/package/sass-impl.xml
    ./packages/my-package/.sencha/package/sencha.cfg
    ./packages/my-package/.sencha/package/slice-impl.xml
    ./packages/my-package/.sencha/package/sub-builds.xml
    ./packages/my-package/.sencha/package/testing.properties
    ./packages/my-package/build.xml
    ./packages/my-package/docs
    ./packages/my-package/docs/package.png
    ./packages/my-package/docs/screenshots
    ./packages/my-package/docs/screenshots/screenshot-1.png
    ./packages/my-package/examples
    ./packages/my-package/examples/Readme.md
    ./packages/my-package/licenses
    ./packages/my-package/licenses/Readme.md
    ./packages/my-package/overrides
    ./packages/my-package/overrides/Readme.md
    ./packages/my-package/package.json
    ./packages/my-package/Readme.md
    ./packages/my-package/resources
    ./packages/my-package/resources/Readme.md
    ./packages/my-package/sass
    ./packages/my-package/sass/config.rb
    ./packages/my-package/sass/etc
    ./packages/my-package/sass/etc/all.scss
    ./packages/my-package/sass/etc/Readme.md
    ./packages/my-package/sass/example
    ./packages/my-package/sass/example/custom.js
    ./packages/my-package/sass/example/render.js
    ./packages/my-package/sass/example/theme.html
    ./packages/my-package/sass/Readme.md
    ./packages/my-package/sass/src
    ./packages/my-package/sass/src/Readme.md
    ./packages/my-package/sass/var
    ./packages/my-package/sass/var/Readme.md
    ./packages/my-package/src
    ./packages/my-package/src/Readme.md
    Also I add the SDK to the workspace like this:

    Code:
    $ unzip ext-5.0.0.736.zip
    $ mkdir sdk
    $ mv ext-5.0.0.736 sdk/ext
    Edit .sencha/workspace/sencha.cfg and add the line ext.dir=${workspace.dir}/sdk/ext

  4. #3
    Sencha User nmorado's Avatar
    Join Date
    Mar 2009
    Location
    New Jersey, USA
    Posts
    63
    Answers
    1

    Default

    ahhh.. try to add: " -sdk ext "

  5. #4
    Sencha User dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,748
    Answers
    55

    Default

    @superstructor got it right - I suspect the "generate package" command was run from inside the "ext" folder?
    Don Griffin

    "Use the source, Luke!"

  6. #5
    Sencha User nmorado's Avatar
    Join Date
    Mar 2009
    Location
    New Jersey, USA
    Posts
    63
    Answers
    1

    Default

    thought I tried it a couple of times inside the workspace directory

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •