[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418479#comment-15418479 ] Vladimir Kotikov commented on CB-11398: --- ??works for a clean project - as you described?? - then it probably depends either on the project configuration or system environment, or both. Unfortunately stacktrace above is not very informative because it shows only that build logic was not able to find appropriate build artifact, which is not surprising at all. Anyway it is almost impossible to find where it might be broken until you provide exact repro steps. Or please attach minimal project that has repro. Attaching full verbose output of build command probably could help as well. > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cannot-reproduce, triaged, wfc, windows > Attachments: AppPackages.png, Appxbundle_contents.png > > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418005#comment-15418005 ] Michael Schmidt commented on CB-11398: -- {code}cordova build windows -- --archs="x86 x64 arm" --bundle --win{code} works for a clean project - as you described For my specific project's error see the comment above: https://issues.apache.org/jira/browse/CB-11398?focusedCommentId=15417372&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15417372 > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cannot-reproduce, triaged, wfc, windows > Attachments: AppPackages.png, Appxbundle_contents.png > > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417372#comment-15417372 ] Michael Schmidt commented on CB-11398: -- {code} Clearing intermediates... Error: TypeError: Cannot read property 'appx' of null at C:\cordova_app\platforms\windows\cordova\lib\build.js:78:59 at _fulfilled (C:\cordova_app\platforms\windows\cordova\node_modules\q\q.js:834:54) at self.promiseDispatch.done (C:\cordova_app\platforms\windows\cordova\node_modules\q\q.js:863:30) at Promise.promise.promiseDispatch (C:\cordova_app\platforms\windows\cordova\node_modules\q\q.js:796:13) at C:\cordova_app\platforms\windows\cordova\node_modules\q\q.js:604:44 at runSingle (C:\cordova_app\platforms\windows\cordova\node_modules\q\q.js:137:13) at flush (C:\cordova_app\platforms\windows\cordova\node_modules\q\q.js:125:13) at nextTickCallbackWith0Args (node.js:420:9) at process._tickCallback (node.js:349:13) {code} > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cannot-reproduce, triaged, wfc, windows > Attachments: AppPackages.png, Appxbundle_contents.png > > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15416961#comment-15416961 ] Vladimir Kotikov commented on CB-11398: --- > what could cause this error message? Please run errored command once again with {{-d}} flag to get a stacktrace and post it here. E.g. {{cordova build windows -d -- --archs="x86 x64"}} Notice the arguments order - {{-d}} should be placed before double dash delimiting cordova args from platform args. > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cannot-reproduce, wfc, windows > Attachments: AppPackages.png, Appxbundle_contents.png > > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15416958#comment-15416958 ] Vladimir Kotikov commented on CB-11398: --- Can you reproduce this on clean app? {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} works for me and doesn't yield any errors (please notice that JIRA markup messed up double dash between 'windows' and 'archs' arguments - this is important!). {noformat} ..\cordova-dev.cmd clean windows && ..\cordova-dev.cmd build windows -- --archs="x86 x64 arm" --bundle --win Building project: D:\PROJECTS\Temp\bundle\platforms\windows\CordovaApp.Windows.jsproj Configuration : debug Platform : x86 CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\x86\win8.1\CordovaApp.Windows_0.0.1.0_x86_debug.appx CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_debug_Test\CordovaApp.Windows_0.0.1.0_x86_debug.appxbundle CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_x86_bundle_debug.appxupload Your package has been successfully created. Building project: D:\PROJECTS\Temp\bundle\platforms\windows\CordovaApp.Windows.jsproj Configuration : debug Platform : x64 CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\x64\win8.1\CordovaApp.Windows_0.0.1.0_x64_debug.appx CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_debug_Test\CordovaApp.Windows_0.0.1.0_x64_debug.appxbundle CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_x64_bundle_debug.appxupload Your package has been successfully created. Building project: D:\PROJECTS\Temp\bundle\platforms\windows\CordovaApp.Windows.jsproj Configuration : debug Platform : arm CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\arm\win8.1\CordovaApp.Windows_0.0.1.0_arm_debug.appx CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\x86\win8.1\CordovaApp.Windows_0.0.1.0_x86_debug.appx CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\x64\win8.1\CordovaApp.Windows_0.0.1.0_x64_debug.appx CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_debug_Test\CordovaApp.Windows_0.0.1.0_x86_x64_arm_debug.appxbundle CordovaApp.Windows -> D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_x86_x64_arm_bundle_debug.appxupload Your package has been successfully created. {noformat} ({{../cordova-dev.cmd}} is my local cordova@6.1.1 installation) Looking at the AppxPackages folder i can see that final .appxupload for arm, x86 and x64 architectures is present: !AppPackages.png! {{AppPackages/CordovaApp.Windows_0.0.1.0_debug_Test/CordovaApp.Windows_0.0.1.0_x86_x64_arm_debug.appxbundle}} is also present and contains 3 appx files - one for each architecture: !Appxbundle_contents.png! Could you please try these steps on clean project? I suspect that there might be something wrong with your Windows project. If you're still seeing this - please post *exact* repro steps, so finally could reproduce the problem. > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cannot-reproduce, wfc, windows > Attachments: AppPackages.png, Appxbundle_contents.png > > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mai
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415969#comment-15415969 ] Michael Schmidt commented on CB-11398: -- adding "--win" or "--appx=uap" builds only the intermediate bundles - the ".appxupload" files are still missing completely. Both commands complete with the following error message: {code} Error: Cannot read property 'appx' of null {code} what could cause this error message? the resulting folders are: (on a sidenote: while looking into each of the folders I even see that the ARM .appx file is missing whereas the X86 and X64 .appx files are present) {code} CordovaApp.Windows10_1.0.0.0_arm_debug_Test CordovaApp.Windows10_1.0.0.0_x64_debug_Test CordovaApp.Windows10_1.0.0.0_x86_debug_Test {code} building the project manually from visual studio (Visual Studio 14.0.25123.00 Update 2) works as expected and creates the ".appxupload" files > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Assignee: Vladimir Kotikov >Priority: Critical > Labels: wfc, windows > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415309#comment-15415309 ] Vladimir Kotikov commented on CB-11398: --- Here is my observations: 1. {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} or {{cordova build windows -- --archs="x86 x64 arm" --bundle --phone}} work for me. Both commands produce multi-architecture bundles as expected. 2. {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} also succeeds and yields corresponding win10 bundle w/ 3 packages inside for each architecture. 3. The first command you mentioned - {{cordova build windows -- --archs="x86 x64 arm" --bundle}} fails w/ the error {{error APPX3102: You cannot create an app bundle containing more than one pack age per architecture. Value of AppxBundlePlatforms property is 'x86|x64|x86|x64'}}. AppPackages directory contains only intermediate bundles (each contains only one architecture). Is that what you are seeing? If yes, then the workaround is to use {{--win}}, {{--phone}} or {{--appx uap}} options to generate bundles for Win8.1, WinPhone 8.1 and Win10 correspondingly. Also this would mean that i would decrease priority to High rather than Critical, as there are existing workarounds. > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Assignee: Vladimir Kotikov >Priority: Critical > Labels: triaged, wfc, windows > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415282#comment-15415282 ] Vladimir Kotikov commented on CB-11398: --- [~mobidev3], please elaborate what do you mean under ??problem: .appxbundle file is not generated??. Does this mean that build fails. Or it succeeds but appxbundle file is missing? > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Assignee: Vladimir Kotikov >Priority: Critical > Labels: triaged, windows > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405447#comment-15405447 ] Michael Schmidt commented on CB-11398: -- [~vladimir.kotikov] can you please check as well the "--bundle" option - it seems to have no effect. probably this got better due to the --archs parsing in CB-11478 > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Priority: Critical > Labels: windows > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11398) .appxbundle file is not generated with '--bundle' command
[ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371762#comment-15371762 ] Michael Schmidt commented on CB-11398: -- [~nikhilkh] [~alsorokin][~daserge] can you reproduce this? any other workarounds? > .appxbundle file is not generated with '--bundle' command > - > > Key: CB-11398 > URL: https://issues.apache.org/jira/browse/CB-11398 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.1 > Environment: cordova 6.1.1 > windows 4.3.2 >Reporter: Michael Schmidt >Priority: Critical > Labels: windows > > *situation* > - build.json built up as described in > http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app > - windows 10 universal app > - goal: create an .appxbundle file as described in > https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0 > *problem: .appxbundle file is not generated* > the command > {code} > cordova build windows -- --archs="x86 x64 arm" --bundle > {code} > doesn't create an .appxbundle file > same problem exists with release command > {code} > cordova build windows --release -- --archs="x86 x64 arm" > --buildConfig="build.json" --bundle > {code} > I want to upload to the store - what alternatives are there from the CLI? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org