Sergey Grebnov created CB-6684:
----------------------------------

             Summary: [3.5.0rc][Windows8] Splash screen setting breaks the build
                 Key: CB-6684
                 URL: https://issues.apache.org/jira/browse/CB-6684
             Project: Apache Cordova
          Issue Type: Bug
          Components: Windows 8
            Reporter: Sergey Grebnov
            Assignee: Sergey Grebnov


Add dummy splash screen settings to config.xml
<preference name="SplashScreen" value="screen" />

Run build

C:\temp\_rc3_5_0\app
λ cordova build windows8
Running command: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat

Building Cordova Windows 8 Project:
        Configuration : Debug
        Directory : C:\temp\_rc3_5_0\app\platforms\windows8
        MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
cmd /c ""C:\Program Files (x86)\MSBuild\12.0\bin\msbuild" 
"C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.sln" 
/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
/p:Configuration=Debug"
Building the projects in this solution one at a time. To enable parallel build, 
please add the "/m" switch.
  Applying Platform Config ...
  Setting SplashScreen = screen
package.appxmanifest(20,31): error APPX1617: App manifest references the splash 
screen image 'screen' which has
 an unsupported extension. Extension must be JPG, JPEG, or PNG. 
[C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.jsproj]
Error: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat: Command 
failed with exit code 2
    at ChildProcess.whenDone 
(C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Process.ChildProcess._handle.onexit (child_process.js:810:5)

We should check that file exists and if not then echo warning message instead 
of fail



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to