cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Paveza <Rob.Pav...@microsoft.com>
Subject Re: [VOTE] Windows 4.1.0 release
Date Sun, 23 Aug 2015 06:10:36 GMT
I'm not sure what you're seeing.  I definitely saw that with the older versions, but I'm not
seeing that on the release version.  CB-9524 is fixed, I'll update that.

I just validated it at home as well.  

Do you have the latest version of Visual Studio and Win10 tools?  The .NET Native stuff came
in really late, but this is what I get as my output:
-----
Building project: F:\cordova\mobilespec\platforms\windows\CordovaApp.Windows10.jsproj
        Configuration : release
        Platform      : x64
  Starting .NET Native compilation
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /unsafe+ /pdb:F:\cordova\mobilespec\platforms\windows\build\windows\bld\ilc\intermediate\org.apache.m
  obilespec.pdb /nostdlib+ /reference:"C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x64\ilc\lib\Private\System.Private.CoreLib.dll"
/debug:full /out:F:\cordova\
  mobilespec\platforms\windows\build\windows\bld\ilc\intermediate\org.apache.mobilespec.exe
/target:winexe F:\cordova\mobilespec\platforms\windows\build\windows\bld\il
  c\intermediate\fake.cs
  Processing application code
C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x64\ilc\IlcInternals.targets(789,5): warning
: Your application is missing a Runtime Directives (rd.xml) file. Runt
ime Directives are used to describe the dynamic behavior of your application and control the
.NET Native optimizer. It is recommended to have at least one rd.xml file
in your project. [F:\cordova\mobilespec\platforms\windows\CordovaApp.Windows10.jsproj]
  Computing application closure and generating interop code
  Compiling interop code
  Generating serialization code
  Cleaning up unreferenced code
  Running native compilers
  Generating fixups for native code
  Compilation successful.

  CordovaApp.Windows10 -> F:\cordova\mobilespec\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_x64_Test\CordovaApp.Windows10_0.0.1.0_x64.appx
 BUILD OUTPUT: F:\cordova\mobilespec\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_x64_Test\CordovaApp.Windows10_0.0.1.0_x64.appx

Deploying windows10 package to device:
F:\cordova\mobilespec\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_x64_Test\CordovaApp.Windows10_0.0.1.0_x64.appx
Attempt to uninstall previous application version...
Attempt to install application...
Found package: F:\cordova\mobilespec\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_x64_Test\CordovaApp.Windows10_0.0.1.0_x64.appx

Installing app...
Found dependency package(s):
F:\cordova\mobilespec\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_x64_Test\Dependencies\x86\Microsoft.NET.Native.Runtime.1.1.appx
F:\cordova\mobilespec\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_x64_Test\Dependencies\x86\Microsoft.VCLibs.x86.14.00.appx
F:\cordova\mobilespec\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_x64_Test\Dependencies\x64\Microsoft.NET.Native.Runtime.1.1.appx
F:\cordova\mobilespec\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_x64_Test\Dependencies\x64\Microsoft.VCLibs.x64.14.00.appx

Success: Your app was successfully installed.
Starting application...
ActivateApplication:  org.apache.mobilespec_h35559jr9hy9m!org.apache.mobilespec
-----
Mobilespec contains the globalization plugin as well and I also created a new app to validate
(I'm on a different computer too than the one than I authored the release from).  WACK passed
on all of these.

It just looks to me like you're running into a problem with the .NET Native compiler as it's
installed on your system.  If you want I can try to get someone to work with you to figure
out what's going on.

-Rob
________________________________________
From: VA <vldmrrr@gmail.com>
Sent: Saturday, August 22, 2015 1:22 PM
To: Rob Paveza; dev@cordova.apache.org
Subject: Re: [VOTE] Windows 4.1.0 release

So what's up with CB-9524, which now has a priority 'blocker' and is
still opened. It has a commit that is included in the new release
candidate, but on my system with new RC the build of test app with
globalization plugin fails altogether -- before it at least produced a
package that just failed API test in Windows App Cert Kit.

Here is what I get now:

C:\Users\vladimir>cd \dev\tmp

C:\dev\tmp>cordova create hello com.example.hello HelloWorld
Creating a new cordova project.

C:\dev\tmp>cd hello

C:\dev\tmp\hello>cordova platform add
windows@https://dist.apache.org/repos/dist/dev/cordova/CB-9447/cordova-windows-4.1.0.tgz
git cloning:
https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fdist.apache.org%2frepos%2fdist%2fdev%2fcordova%2fCB-9447%2fcordova-windows-4.1.0.tgz&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c3883a77dbc3d4b2dc8bb08d2ab2f6e9c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=lsv5h3EuVwEFWKYN%2fybJ3JFX78MhnuA5Gu9D30vDpLw%3d
Adding windows project...
Creating Cordova Windows Project:
         App Name  : HelloWorld
         Namespace : com.example.hello
         Path      : C:\dev\tmp\hello\platforms\windows
Copying template to C:\dev\tmp\hello\platforms\windows
Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing
to the project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for windows

C:\dev\tmp\hello>cordova plugin add
https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-plugin-globalization.git&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c3883a77dbc3d4b2dc8bb08d2ab2f6e9c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=F7POtz81HqjrEDynuW1Y%2fkuTFTPmk8DD8p67aS1AcwM%3d

Fetching plugin
"https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-plugin-globalization.git&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c3883a77dbc3d4b2dc8bb08d2ab2f6e9c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=F7POtz81HqjrEDynuW1Y%2fkuTFTPmk8DD8p67aS1AcwM%3d"
via git clone
Repository "https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-plugin-globalization.git&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c3883a77dbc3d4b2dc8bb08d2ab2f6e9c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=F7POtz81HqjrEDynuW1Y%2fkuTFTPmk8DD8p67aS1AcwM%3d"
checked out to git ref "master".
Installing "cordova-plugin-globalization" for windows

C:\dev\tmp\hello>cordova build --release -- --appx=uap --archs=x64
Running command: cmd "/s /c
"C:\dev\tmp\hello\platforms\windows\cordova\build.bat --release
--appx=uap --archs=x64""
MSBuildToolsPath: C:\Program Files (x86)\MSBuild\14.0\bin\amd64\
Building project:
C:\dev\tmp\hello\platforms\windows\CordovaApp.Windows10.jsproj
         Configuration : release
         Platform      : x64
C:\Program Files
(x86)\MSBuild\Microsoft\.NetNative\Microsoft.NetNative.targets
(337,5): error MSB4062: The "ComputeManagedBinaries" task could not be
loaded f
rom the assembly C:\Program Files
(x86)\MSBuild\Microsoft\.NetNative\x64\ilc\il
c.exe. Could not load file or assembly 'file:///C:\Program Files
(x86)\MSBuild\
Microsoft\.NetNative\x64\ilc\ilc.exe' or one of its dependencies. An
attempt wa
s made to load a program with an incorrect format. Confirm that the
<UsingTask>
  declaration is correct, that the assembly and all its dependencies are
availab
le, and that the task contains a public class that implements
Microsoft.Build.F
ramework.ITask.
[C:\dev\tmp\hello\platforms\windows\CordovaApp.Windows10.jsproj
]
ERROR: Error code 1 for command: C:\Program Files
(x86)\MSBuild\14.0\bin\amd64\msbuild with args:
C:\dev\tmp\hello\platforms\windows\CordovaApp.Windows10.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:Platform=x64
ERROR building one of the platforms: Error: cmd: Command failed with
exit code 2
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 2
     at ChildProcess.whenDone
(C:\Users\vladimir\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23)
     at ChildProcess.emit (events.js:110:17)
     at maybeClose (child_process.js:1015:16)
     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)



On 8/21/2015 5:46 PM, Rob Paveza wrote:
> Please review and vote on this 4.1.0 Windows Release by replying to this email (and keep
discussion on the DISCUSS thread)
>
> Release issue: https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissues.apache.org%2fjira%2fbrowse%2fCB-9447&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c3883a77dbc3d4b2dc8bb08d2ab2f6e9c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=lyyMBL0uorjTiGPh9nNSljsCd6tpgXipsVoYI3NoRA0%3d
>
> The archive has been published to dist/dev:
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fdist.apache.org%2frepos%2fdist%2fdev%2fcordova%2fCB-9447&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c3883a77dbc3d4b2dc8bb08d2ab2f6e9c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=q%2bmpMZv1QjgItN6tOJ2wCTpQ5qIhrvR7WgipxhSJP0M%3d
>
> The package was published from its corresponding git tag:
> cordova-windows: 4.1.0 (05863b2fee)
>
> Note that you can test it out via:
>
>      cordova platform add windows@https://dist.apache.org/repos/dist/dev/cordova/CB-9447/cordova-windows-4.1.0.tgz
>
> Blog post to review is here:
>
>      https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fMSOpenTech%2fapache-blog-posts%2fblob%2fCB-9447%2f2015-08-18-cordova-windows-4.1.0.md&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c3883a77dbc3d4b2dc8bb08d2ab2f6e9c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=bXm0xsiQ7Yf%2b2XKehdcWX0Gie1Bu37Qhpc%2bnNraw6ls%3d
>
> Upon a successful vote I will upload the archive to dist/, publish it to NPM, and post
the blog post.
>
> Voting guidelines: https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapache%2fcordova-coho%2fblob%2fmaster%2fdocs%2frelease-voting.md&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c3883a77dbc3d4b2dc8bb08d2ab2f6e9c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=93ofcMNU4L4Wq9Hygv0krTQNbTimLpyc2%2faXT7BHGSc%3d
>
> Voting will go on for a minimum of 48 hours.
>
> I vote +1:
> * Ran coho audit-license-headers over the relevant repos
> * Ran coho check-license to ensure all dependencies and subdependencies have Apache-compatible
licenses
> * Ensured continuous build was green when repo was tagged (except for the ones which
were red due to sharing violation; they were green otherwise).
>
>


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


Mime
View raw message