mardi 1 avril 2014

Sencha Cmd won't copy symbolik links when building

Touch and Cmd version tested:

  • Touch 2.3.1

  • Sencha Cmd 4.0.2.67


Description:

  • When I run sencha app build package files and directories pointed to by symbolik links won't get copied even though they are specified in app.json. In earlier versions of Sencha Cmd (before 4.0) this worked as expected.


Steps to reproduce the problem:

  • Generate a new app with sencha generate app MyApp ../MyApp.

  • Create a symbolik link to a file in the resources directory: ln -s /some/other/directory/example.json.

  • Make sure you specify the file in app.json: "resources": ["resources/example.json"].

  • Build the application with sencha app build package.


The result that was expected:

  • The file that the symlink points to should be copied to build/package/MyApp/Resources.


The result that occurs instead:

  • The file is not copied.

  • If the symbolik link is replaced with a file with the same name that file will be copied.






Aucun commentaire:

Enregistrer un commentaire