You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/20 13:10:58 UTC

[jira] [Commented] (CB-12042) Windows non-CLI project does not include WinJS folder

    [ https://issues.apache.org/jira/browse/CB-12042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15591777#comment-15591777 ] 

ASF GitHub Bot commented on CB-12042:
-------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-windows/pull/204

    CB-12042 Copy base.js to www directory at create

    <!--
    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    
    http://cordova.apache.org/contribute/contribute_guidelines.html
    
    Thanks!
    -->
    
    ### What does this PR do?
    Fixes missing `base.js` in `www` folder when project is created without Cordova CLI
    
    ### Checklist
    - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
    - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [-] Added automated test coverage as appropriate for this change.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vladimir-kotikov/cordova-windows CB-12042

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-windows/pull/204.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #204
    
----
commit 7d9b24cecd05cd4392824a465b8f447931d5817f
Author: Vladimir Kotikov <v-...@microsoft.com>
Date:   2016-10-20T13:03:22Z

    CB-12042 Copy base.js to www directory at create

----


> Windows non-CLI project does not include WinJS folder
> -----------------------------------------------------
>
>                 Key: CB-12042
>                 URL: https://issues.apache.org/jira/browse/CB-12042
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>            Reporter: Sergey Shakhnazarov
>              Labels: triaged, windows
>
> * npm install cordova-windows@4.4.2
> * node node_modules\cordova-windows\bin\create .\windowsTest org.apache.cordova.test windowsTest
> * cd windowsTest2 && .\cordova\build
> * Open solution in Visual Studio and observe that WinJS folder is not included into the project
> * Run the app and observe error in the JavaScript console:
> {{APPHOST9623: The app couldn’t resolve ms-appx://org.apache.cordova.test/www/WinJS/js/base.js because of this error: DATA_NOT_AVAILABLE.}}
> It prevents onWinJSReady from firing thus disabling activated, checkpoint, backbutton and resuming event handling.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org