5 Replies Latest reply on Oct 31, 2017 11:17 AM by Graeme Mawson-Oracle

    Deploying to windows

    1038598

      Hello,

      While deploying  to windows, my deployment failed. Below is the deployment log.

      [03:25:57 PM] ----  Deployment started.  ----

      [03:25:57 PM] Target platform is  (Windows).

      [03:25:57 PM] Beginning deployment of MAF application 'UNAPP' to Windows using profile 'Windows2'. This may take a while.

      [03:25:57 PM] Creating the file '/C:/JDeveloper/mywork/UNAPP/deploy/Windows2/application-config.json' for a deployment action of 'Archive'.

      [03:25:57 PM] Creating the file '/C:/JDeveloper/mywork/UNAPP/deploy/Windows2/build-config.json' for a deployment action of 'Archive'.

      [03:25:57 PM] Beginning deployment of MAF application 'UNAPP' to Windows using profile 'Windows2'. This may take a while.

      [03:25:57 PM] The environment being used for the Executor is:

      [03:25:57 PM] USERDOMAIN_ROAMINGPROFILE=ANYIJESUINFOTEC

      [03:25:57 PM] LOCALAPPDATA=C:\Users\IFEANYI CHIELO\AppData\Local

      [03:25:57 PM] PROCESSOR_LEVEL=6

      [03:25:57 PM] VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\

      [03:25:57 PM] USERDOMAIN=ANYIJESUINFOTEC

      [03:25:57 PM] FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer

      [03:25:57 PM] LOGONSERVER=\\ANYIJESUINFOTEC

      [03:25:57 PM] SESSIONNAME=Console

      [03:25:57 PM] ALLUSERSPROFILE=C:\ProgramData

      [03:25:57 PM] PROCESSOR_ARCHITECTURE=AMD64

      [03:25:57 PM] PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\

      [03:25:57 PM] SystemDrive=C:

      [03:25:57 PM] asl.log=Destination=file

      [03:25:57 PM] OneDrive=C:\Users\IFEANYI CHIELO\OneDrive

      [03:25:57 PM] APPDATA=C:\Users\IFEANYI CHIELO\AppData\Roaming

      [03:25:57 PM] USERNAME=IFEANYI CHIELO

      [03:25:57 PM] ProgramFiles(x86)=C:\Program Files (x86)

      [03:25:57 PM] VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\

      [03:25:57 PM] CommonProgramFiles=C:\Program Files\Common Files

      [03:25:57 PM] PATH=C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Users\IFEANYI CHIELO\AppData\Local\Microsoft\WindowsApps;

      [03:25:57 PM] FPS_BROWSER_USER_PROFILE_STRING=Default

      [03:25:57 PM] PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

      [03:25:57 PM] OS=Windows_NT

      [03:25:57 PM] COMPUTERNAME=ANYIJESUINFOTEC

      [03:25:57 PM] PROCESSOR_REVISION=4e03

      [03:25:57 PM] CommonProgramW6432=C:\Program Files\Common Files

      [03:25:57 PM] ComSpec=C:\WINDOWS\system32\cmd.exe

      [03:25:57 PM] ProgramData=C:\ProgramData

      [03:25:57 PM] ProgramW6432=C:\Program Files

      [03:25:57 PM] HOMEPATH=\Users\IFEANYI CHIELO

      [03:25:57 PM] SystemRoot=C:\WINDOWS

      [03:25:57 PM] TEMP=C:\Users\IFEANY~1\AppData\Local\Temp

      [03:25:57 PM] HOMEDRIVE=C:

      [03:25:57 PM] PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 78 Stepping 3, GenuineIntel

      [03:25:57 PM] USERPROFILE=C:\Users\IFEANYI CHIELO

      [03:25:57 PM] TMP=C:\Users\IFEANY~1\AppData\Local\Temp

      [03:25:57 PM] CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files

      [03:25:57 PM] ProgramFiles=C:\Program Files

      [03:25:57 PM] PUBLIC=C:\Users\Public

      [03:25:57 PM] NUMBER_OF_PROCESSORS=4

      [03:25:57 PM] windir=C:\WINDOWS

      [03:25:57 PM] =::=::\

      [03:25:57 PM] C_EM64T_REDIST11=C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\

      [03:25:57 PM] ANT_HOME=C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2

      [03:25:57 PM] JAVA_HOME=C:/Oracle/Middleware/Oracle_Home/oracle_common/jdk

      [03:27:26 PM] Command-line executed: [C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2\bin\ant.bat, -f, /C:/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/Build/scripts/UWP/build.xml, -Dbuild.properties=/C:/JDeveloper/mywork/UNAPP/deploy/Windows2/build.properties, build]

      [03:27:26 PM] Command-line execution failed (Return code: 1)

      [03:27:26 PM] Command-line execution failed (Return code: 1)

      Begin Standard Error content.

       

       

      BUILD FAILED

      C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Build\scripts\UWP\windows-template-build.xml:65: exec returned: 1

       

       

      Total time: 1 minute 27 seconds

      End Standard Error content.

      Begin Standard Output content.

      Buildfile: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Build\scripts\UWP\build.xml

       

       

      configureCommon.init:

           [echo] Application Manifest: /C:/JDeveloper/mywork/UNAPP/deploy/Windows2/application-config.json

           [echo] Build Manifest: /C:/JDeveloper/mywork/UNAPP/deploy/Windows2/build-config.json

           [echo] Parsing manifest file: /C:/JDeveloper/mywork/UNAPP/deploy/Windows2/build-config.json

           [echo] build.options.mode = debug

           [echo] build.options.deploy.target = Archive

           [echo] sdk.dir = C:\Program Files (x86)\MSBuild\14.0\bin\amd64

           [echo] maf.runtime.root.dir = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf

           [echo] mobile.platform = windows

           [echo] Parsing manifest file: /C:/JDeveloper/mywork/UNAPP/deploy/Windows2/application-config.json

           [echo] app.properties.bundle.id = com.company.UNAPP

           [echo] app.properties.archive.name = UNAPP

           [echo] app.properties.version.number = 1.0.0.0

           [echo] app.properties.root.dir = C:\JDeveloper\mywork\UNAPP

       

       

      globals.init:

           [echo] maf.bin.dir=C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Build\scripts\UWP

           [echo] build.tools.plugman.executable.path = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\tools/plugman/node_modules/.bin/plugman

       

       

      windowsConfig.init:

           [echo] maf.rt.template.zip = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf/windows/MafTemplateUWP.zip

           [echo] maf.rt.template.js.zip = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf/javascript/ADFmf_AmxJavascript_debug.zip

           [echo] maf.rt.template.windows.js.path.windows.zip = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf/javascript/uwp/ADFmf_AmxJavascript_debug_UWP.zip

       

       

      platformInit:

       

       

      stage.init:

           [echo] build.root.dir=C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug

       

       

      application.init:

       

       

      init:

       

       

      -createStaging:

       

       

      extractTemplate:

           [echo] Staging manifest: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Build\scripts\UWP/templates/windows-staging.json

      [build-template] {  "unzips" :  {    "expandZip" :    [      {        "zipSrc" : "$${maf.rt.template.zip}",        "zipDest" : "$${build.root.dir}"      },      {        "zipSrc" : "$${maf.rt.template.js.zip}",        "zipDest" : "$${build.root.dir}/MafTemplate/www/js",        "overwrite" : "true",        "patternSets" :        [          {            "includes" :            [              "www/js/**"            ]          }        ],        "globFrom" : "www/js/*",        "globTo" : "*"      },      {        "zipSrc" : "$${maf.rt.template.windows.js.path.windows.zip}",        "zipDest" : "$${build.root.dir}/MafTemplate/www/js",        "overwrite" : "true",        "patternSets" :        [          {            "includes" :            [              "www/js/**"            ]          }        ],        "globFrom" : "www/js/*",        "globTo" : "*"      }    ]  }};

      [build-template] Expanding: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\windows\MafTemplateUWP.zip into C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug

      [build-template] Expanding: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\javascript\ADFmf_AmxJavascript_debug.zip into C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\www\js

      [build-template] Expanding: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\javascript\uwp\ADFmf_AmxJavascript_debug_UWP.zip into C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\www\js

       

       

      -copyFilesFromTemplate:

          [unzip] Expanding: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\windows\MafTemplateUWP.zip into C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug

       

       

      windowsStageBuild.stageTemplate:

       

       

      platformStageTemplate:

       

       

      -checkPlugmanTools:

           [echo] Checking for Cordova install tools under C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\tools

       

       

      -installPlugmanTools:

       

       

      stage.build:

       

       

      buildFars:

           [echo] Processing FAR: C:\JDeveloper\mywork\UNAPP\ViewController.

           [echo] Executing javac task:

           [echo] src dir: C:\JDeveloper\mywork\UNAPP\ViewController\src

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\ViewController\classes

           [echo] Executing javac task:

           [echo] src dir: C:\JDeveloper\mywork\UNAPP\ViewController\adfmsrc

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\ViewController\classes

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController\classes

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] include patterns: **/*.class

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] include patterns: src/**

           [echo] exclude patterns: **/*.java

           [echo] globFrom: src/*

           [echo] globTo: *

           [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] include patterns: adfmsrc/**

           [echo] exclude patterns: **/*.java

           [echo] globFrom: adfmsrc/*

           [echo] globTo: *

           [copy] Copying 5 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] include patterns: public_html/**

           [copy] Copying 42 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController\classes

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] include patterns: **/*.class

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] include patterns: src/**

           [echo] exclude patterns: **/*.java

           [echo] globFrom: src/*

           [echo] globTo: *

           [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] include patterns: adfmsrc/**

           [echo] exclude patterns: **/*.java

           [echo] globFrom: adfmsrc/*

           [echo] globTo: *

           [copy] Copying 5 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] include patterns: public_html/**

           [copy] Copying 42 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ViewController

           [echo] Processing FAR: C:\JDeveloper\mywork\UNAPP\ApplicationController.

           [echo] Executing javac task:

           [echo] src dir: C:\JDeveloper\mywork\UNAPP\ApplicationController\src

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\ApplicationController\classes

           [echo] Executing javac task:

           [echo] src dir: C:\JDeveloper\mywork\UNAPP\ApplicationController\adfmsrc

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\ApplicationController\classes

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController\classes

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] include patterns: **/*.class

           [copy] Copying 1 file to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] include patterns: src/**

           [echo] exclude patterns: **/*.java

           [echo] globFrom: src/*

           [echo] globTo: *

           [copy] Copying 1 file to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] include patterns: adfmsrc/**

           [echo] exclude patterns: **/*.java

           [echo] globFrom: adfmsrc/*

           [echo] globTo: *

           [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] include patterns: public_html/**

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController\classes

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] include patterns: **/*.class

           [copy] Copying 1 file to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] include patterns: src/**

           [echo] exclude patterns: **/*.java

           [echo] globFrom: src/*

           [echo] globTo: *

           [copy] Copying 1 file to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] include patterns: adfmsrc/**

           [echo] exclude patterns: **/*.java

           [echo] globFrom: adfmsrc/*

           [echo] globTo: *

           [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\FARs\ApplicationController

           [echo] include patterns: public_html/**

       

       

      fars.build:

       

       

      copyDescriptors:

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\.adf\META-INF

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\.adf\META-INF

           [echo] include patterns: adf-config.xml,connections.xml,maf-application.xml,maf-config.xml,maf-plugins.xml,sync-config.xml,wsm-assembly.xml

           [copy] Copying 7 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\.adf\META-INF

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\src\META-INF

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\java\lib

           [echo] include patterns: jps-config.xml,logging.properties,maf.properties

           [copy] Copying 3 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\java\lib

           [echo] Updating file: C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\java\lib/maf.properties

       

       

      installPlugins:

           [exec] Plugin "com.oracle.maf.sms" already installed on windows.

       

       

      application.build:

       

       

      copyApplicationResources:

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\resources\security

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\java\lib\security

           [echo] include patterns: **/*

           [echo] exclude patterns: **/*.lck

           [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\java\lib\security

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP\resources\windows

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\images

           [echo] include patterns: SplashScreen.png,splashscreen.scale-100.png,splashscreen.scale-125.png,splashscreen.scale-150.png,splashscreen.scale-200.png,splashscreen.scale-400.png

           [copy] Copying 5 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\images

           [echo] Executing copy task:

           [echo] from dir: C:\JDeveloper\mywork\UNAPP

           [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\images

           [echo] include patterns: BadgeLogo.png,BadgeLogo.scale-400.png,BadgeLogo.scale-200.png,BadgeLogo.scale-150.png,BadgeLogo.scale-100.png,BadgeLogo.scale-125.png,Square150x150Logo.png,Square150x150Logo.scale-200.png,Square150x150Logo.scale-400.png,Square150x150Logo.scale-150.png,Square150x150Logo.scale-100.png,Square150x150Logo.scale-125.png,Square44x44Logo.png,Square44x44Logo.scale-200.png,Square44x44Logo.scale-125.png,Square44x44Logo.scale-150.png,Square44x44Logo.scale-100.png,Square44x44Logo.scale-400.png,StoreLogo.png,StoreLogo.scale-100.png,StoreLogo.scale-200.png,StoreLogo.scale-125.png,StoreLogo.scale-400.png,StoreLogo.scale-150.png,Square310x310Logo.png,Square310x310Logo.scale-125.png,Square310x310Logo.scale-200.png,Square310x310Logo.scale-100.png,Square310x310Logo.scale-150.png,Square310x310Logo.scale-400.png,Wide310x150Logo.png,Wide310x150Logo.scale-400.png,Wide310x150Logo.scale-150.png,Wide310x150Logo.scale-200.png,Wide310x150Logo.scale-125.png,Wide310x150Logo.scale-100.png,Square71x71Logo.png,Square71x71Logo.scale-125.png,Square71x71Logo.scale-400.png,Square71x71Logo.scale-200.png,Square71x71Logo.scale-100.png,Square71x71Logo.scale-150.png

       

       

      updateResources:

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\package.appxmanifest.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\en-US\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\fr-FR\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\de-DE\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\es\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\ar\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\da\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\el\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\fi\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\hu\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\he\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\iw\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\ja\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\ko\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\nl\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\nn\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\pl\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\pt\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\pt-BR\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\ro\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\ru\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\sk\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\sv\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\th\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\tr\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\zh-Hans\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\strings\zh-Hant\resources.resjson.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\MafTemplate.jsproj.

           [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\default.html.

       

       

      appArtifactsBuild.build:

       

       

      buildAppx:

           [exec] Microsoft (R) Build Engine version 14.0.25420.1

           [exec] Copyright (C) Microsoft Corporation. All rights reserved.

           [exec]

           [exec] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\JavaScript\Microsoft.VisualStudio.JavaScript.UAP.targets(82,3): error : "10.0.10240.0" is not a supported value for TargetPlatformVersion. Please change it on the Project Property page. [C:\JDeveloper\mywork\UNAPP\deploy\Windows2\debug\MafTemplate\MafTemplate.jsproj]

      End Standard Output content.

      [03:27:26 PM] Deployment cancelled.

      [03:27:26 PM] ----  Deployment incomplete  ----.

      [03:27:26 PM] Failed to build the application for a  Windows 'Windows2'.

      [03:27:26 PM] Command-line execution failed (Return code: 1)

        • 1. Re: Deploying to windows
          dvohra21

          The platform version is not supported.

           

          " error : "10.0.10240.0" is not a supported value for TargetPlatformVersion. Please change it on the Project Property page. "

          • 2. Re: Deploying to windows
            1038598

            Please can you add steps on how I can make this change

            • 3. Re: Deploying to windows
              User743424-Oracle

              Make sure you have the "Universal Windows App Development Tools" installed.  If not installed, re-run Visual Studio installer and select "Modify" and locate it under "Windows and Web Development".vs_uwp_sdk.png

              • 4. Re: Deploying to windows
                1038598

                Thanks for your response,

                I updated visual studio as instructed, after this, I felt that the issue with Universal Windows App Development Tools was resolved, I then tried to deploy the app again and encountered another error as shown below:

                 

                [10:48:56 AM] ----  Deployment started.  ----

                [10:48:56 AM] Target platform is  (Windows).

                [10:48:56 AM] Beginning deployment of MAF application 'UNAPP' to Windows using profile 'Windows3'. This may take a while.

                [10:48:57 AM] Creating the file '/C:/JDeveloper/mywork/UNAPP/deploy/Windows3/application-config.json' for a deployment action of 'Archive'.

                [10:48:57 AM] Creating the file '/C:/JDeveloper/mywork/UNAPP/deploy/Windows3/build-config.json' for a deployment action of 'Archive'.

                [10:48:57 AM] Beginning deployment of MAF application 'UNAPP' to Windows using profile 'Windows3'. This may take a while.

                [10:48:57 AM] The environment being used for the Executor is:

                [10:48:57 AM] USERDOMAIN_ROAMINGPROFILE=ANYIJESUINFOTEC

                [10:48:57 AM] LOCALAPPDATA=C:\Users\IFEANYI CHIELO\AppData\Local

                [10:48:57 AM] PROCESSOR_LEVEL=6

                [10:48:57 AM] VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\

                [10:48:57 AM] USERDOMAIN=ANYIJESUINFOTEC

                [10:48:57 AM] LOGONSERVER=\\ANYIJESUINFOTEC

                [10:48:57 AM] SESSIONNAME=Console

                [10:48:57 AM] ALLUSERSPROFILE=C:\ProgramData

                [10:48:57 AM] PROCESSOR_ARCHITECTURE=AMD64

                [10:48:57 AM] PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\

                [10:48:57 AM] SystemDrive=C:

                [10:48:57 AM] asl.log=Destination=file

                [10:48:57 AM] OneDrive=C:\Users\IFEANYI CHIELO\OneDrive

                [10:48:57 AM] APPDATA=C:\Users\IFEANYI CHIELO\AppData\Roaming

                [10:48:57 AM] USERNAME=IFEANYI CHIELO

                [10:48:57 AM] ProgramFiles(x86)=C:\Program Files (x86)

                [10:48:57 AM] VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\

                [10:48:57 AM] CommonProgramFiles=C:\Program Files\Common Files

                [10:48:57 AM] PATH=C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Users\IFEANYI CHIELO\AppData\Local\Microsoft\WindowsApps;

                [10:48:57 AM] PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

                [10:48:57 AM] OS=Windows_NT

                [10:48:57 AM] COMPUTERNAME=ANYIJESUINFOTEC

                [10:48:57 AM] PROCESSOR_REVISION=4e03

                [10:48:57 AM] CommonProgramW6432=C:\Program Files\Common Files

                [10:48:57 AM] ComSpec=C:\WINDOWS\system32\cmd.exe

                [10:48:57 AM] ProgramData=C:\ProgramData

                [10:48:57 AM] ProgramW6432=C:\Program Files

                [10:48:57 AM] HOMEPATH=\Users\IFEANYI CHIELO

                [10:48:57 AM] SystemRoot=C:\WINDOWS

                [10:48:57 AM] TEMP=C:\Users\IFEANY~1\AppData\Local\Temp

                [10:48:57 AM] HOMEDRIVE=C:

                [10:48:57 AM] PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 78 Stepping 3, GenuineIntel

                [10:48:57 AM] USERPROFILE=C:\Users\IFEANYI CHIELO

                [10:48:57 AM] TMP=C:\Users\IFEANY~1\AppData\Local\Temp

                [10:48:57 AM] CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files

                [10:48:57 AM] ProgramFiles=C:\Program Files

                [10:48:57 AM] PUBLIC=C:\Users\Public

                [10:48:57 AM] NUMBER_OF_PROCESSORS=4

                [10:48:57 AM] windir=C:\WINDOWS

                [10:48:57 AM] =::=::\

                [10:48:57 AM] C_EM64T_REDIST11=C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\

                [10:48:57 AM] ANT_HOME=C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2

                [10:48:57 AM] JAVA_HOME=C:/Oracle/Middleware/Oracle_Home/oracle_common/jdk

                [10:50:59 AM] Command-line executed: [C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2\bin\ant.bat, -f, /C:/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/Build/scripts/UWP/build.xml, -Dbuild.properties=/C:/JDeveloper/mywork/UNAPP/deploy/Windows3/build.properties, build]

                [10:50:59 AM] Command-line execution failed (Return code: 1)

                [10:50:59 AM] Command-line execution failed (Return code: 1)

                Begin Standard Error content.

                 

                 

                BUILD FAILED

                C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Build\scripts\UWP\windows-template-build.xml:65: exec returned: 1

                 

                 

                Total time: 1 minute 59 seconds

                End Standard Error content.

                Begin Standard Output content.

                Buildfile: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Build\scripts\UWP\build.xml

                 

                 

                configureCommon.init:

                     [echo] Application Manifest: /C:/JDeveloper/mywork/UNAPP/deploy/Windows3/application-config.json

                     [echo] Build Manifest: /C:/JDeveloper/mywork/UNAPP/deploy/Windows3/build-config.json

                     [echo] Parsing manifest file: /C:/JDeveloper/mywork/UNAPP/deploy/Windows3/build-config.json

                     [echo] build.options.mode = debug

                     [echo] build.options.deploy.target = Archive

                     [echo] sdk.dir = C:\Program Files (x86)\MSBuild\14.0\bin\amd64

                     [echo] maf.runtime.root.dir = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf

                     [echo] mobile.platform = windows

                     [echo] Parsing manifest file: /C:/JDeveloper/mywork/UNAPP/deploy/Windows3/application-config.json

                     [echo] app.properties.bundle.id = com.company.UNAPP

                     [echo] app.properties.archive.name = UNAPP

                     [echo] app.properties.version.number = 1.0.0.0

                     [echo] app.properties.root.dir = C:\JDeveloper\mywork\UNAPP

                 

                 

                globals.init:

                     [echo] maf.bin.dir=C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Build\scripts\UWP

                     [echo] build.tools.plugman.executable.path = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\tools/plugman/node_modules/.bin/plugman

                 

                 

                windowsConfig.init:

                     [echo] maf.rt.template.zip = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf/windows/MafTemplateUWP.zip

                     [echo] maf.rt.template.js.zip = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf/javascript/ADFmf_AmxJavascript_debug.zip

                     [echo] maf.rt.template.windows.js.path.windows.zip = C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf/javascript/uwp/ADFmf_AmxJavascript_debug_UWP.zip

                 

                 

                platformInit:

                 

                 

                stage.init:

                     [echo] build.root.dir=C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug

                 

                 

                application.init:

                 

                 

                init:

                 

                 

                -createStaging:

                    [mkdir] Created dir: C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug

                 

                 

                extractTemplate:

                     [echo] Staging manifest: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Build\scripts\UWP/templates/windows-staging.json

                [build-template] {  "unzips" :  {    "expandZip" :    [      {        "zipSrc" : "$${maf.rt.template.zip}",        "zipDest" : "$${build.root.dir}"      },      {        "zipSrc" : "$${maf.rt.template.js.zip}",        "zipDest" : "$${build.root.dir}/MafTemplate/www/js",        "overwrite" : "true",        "patternSets" :        [          {            "includes" :            [              "www/js/**"            ]          }        ],        "globFrom" : "www/js/*",        "globTo" : "*"      },      {        "zipSrc" : "$${maf.rt.template.windows.js.path.windows.zip}",        "zipDest" : "$${build.root.dir}/MafTemplate/www/js",        "overwrite" : "true",        "patternSets" :        [          {            "includes" :            [              "www/js/**"            ]          }        ],        "globFrom" : "www/js/*",        "globTo" : "*"      }    ]  }};

                [build-template] Expanding: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\windows\MafTemplateUWP.zip into C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug

                [build-template] Expanding: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\javascript\ADFmf_AmxJavascript_debug.zip into C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\www\js

                [build-template] Expanding: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\javascript\uwp\ADFmf_AmxJavascript_debug_UWP.zip into C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\www\js

                 

                 

                -copyFilesFromTemplate:

                    [unzip] Expanding: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\windows\MafTemplateUWP.zip into C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug

                 

                 

                windowsStageBuild.stageTemplate:

                 

                 

                platformStageTemplate:

                 

                 

                -checkPlugmanTools:

                     [echo] Checking for Cordova install tools under C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\tools

                 

                 

                -installPlugmanTools:

                 

                 

                stage.build:

                 

                 

                buildFars:

                     [echo] Processing FAR: C:\JDeveloper\mywork\UNAPP\ViewController.

                     [echo] Executing javac task:

                     [echo] src dir: C:\JDeveloper\mywork\UNAPP\ViewController\src

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\ViewController\classes

                     [echo] Executing javac task:

                     [echo] src dir: C:\JDeveloper\mywork\UNAPP\ViewController\adfmsrc

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\ViewController\classes

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController\classes

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] include patterns: **/*.class

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] include patterns: src/**

                     [echo] exclude patterns: **/*.java

                     [echo] globFrom: src/*

                     [echo] globTo: *

                     [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] include patterns: adfmsrc/**

                     [echo] exclude patterns: **/*.java

                     [echo] globFrom: adfmsrc/*

                     [echo] globTo: *

                     [copy] Copying 5 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] include patterns: public_html/**

                     [copy] Copying 44 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController\classes

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] include patterns: **/*.class

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] include patterns: src/**

                     [echo] exclude patterns: **/*.java

                     [echo] globFrom: src/*

                     [echo] globTo: *

                     [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] include patterns: adfmsrc/**

                     [echo] exclude patterns: **/*.java

                     [echo] globFrom: adfmsrc/*

                     [echo] globTo: *

                     [copy] Copying 5 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ViewController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] include patterns: public_html/**

                     [copy] Copying 44 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ViewController

                     [echo] Processing FAR: C:\JDeveloper\mywork\UNAPP\ApplicationController.

                     [echo] Executing javac task:

                     [echo] src dir: C:\JDeveloper\mywork\UNAPP\ApplicationController\src

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\ApplicationController\classes

                     [echo] Executing javac task:

                     [echo] src dir: C:\JDeveloper\mywork\UNAPP\ApplicationController\adfmsrc

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\ApplicationController\classes

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController\classes

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] include patterns: **/*.class

                     [copy] Copying 1 file to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] include patterns: src/**

                     [echo] exclude patterns: **/*.java

                     [echo] globFrom: src/*

                     [echo] globTo: *

                     [copy] Copying 1 file to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] include patterns: adfmsrc/**

                     [echo] exclude patterns: **/*.java

                     [echo] globFrom: adfmsrc/*

                     [echo] globTo: *

                     [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] include patterns: public_html/**

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController\classes

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] include patterns: **/*.class

                     [copy] Copying 1 file to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] include patterns: src/**

                     [echo] exclude patterns: **/*.java

                     [echo] globFrom: src/*

                     [echo] globTo: *

                     [copy] Copying 1 file to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] include patterns: adfmsrc/**

                     [echo] exclude patterns: **/*.java

                     [echo] globFrom: adfmsrc/*

                     [echo] globTo: *

                     [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\ApplicationController

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\FARs\ApplicationController

                     [echo] include patterns: public_html/**

                 

                 

                fars.build:

                 

                 

                copyDescriptors:

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\.adf\META-INF

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\.adf\META-INF

                     [echo] include patterns: adf-config.xml,connections.xml,maf-application.xml,maf-config.xml,maf-plugins.xml,sync-config.xml,wsm-assembly.xml

                     [copy] Copying 7 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\.adf\META-INF

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\src\META-INF

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\java\lib

                     [echo] include patterns: jps-config.xml,logging.properties,maf.properties

                     [copy] Copying 3 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\java\lib

                     [echo] Updating file: C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\java\lib/maf.properties

                 

                 

                installPlugins:

                     [exec] Installing "com.oracle.maf.sms" for windows

                 

                 

                application.build:

                 

                 

                copyApplicationResources:

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\resources\security

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\java\lib\security

                     [echo] include patterns: **/*

                     [echo] exclude patterns: **/*.lck

                     [copy] Copying 2 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\java\lib\security

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP\resources\windows

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\images

                     [echo] include patterns: SplashScreen.png,splashscreen.scale-200.png,splashscreen.scale-100.png,splashscreen.scale-400.png,splashscreen.scale-125.png,splashscreen.scale-150.png

                     [copy] Copying 5 files to C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\images

                     [echo] Executing copy task:

                     [echo] from dir: C:\JDeveloper\mywork\UNAPP

                     [echo] to dir:   C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\images

                     [echo] include patterns: StoreLogo.png,StoreLogo.scale-125.png,StoreLogo.scale-400.png,StoreLogo.scale-150.png,StoreLogo.scale-100.png,StoreLogo.scale-200.png,Square150x150Logo.png,Square150x150Logo.scale-200.png,Square150x150Logo.scale-100.png,Square150x150Logo.scale-400.png,Square150x150Logo.scale-125.png,Square150x150Logo.scale-150.png,Wide310x150Logo.png,Wide310x150Logo.scale-200.png,Wide310x150Logo.scale-150.png,Wide310x150Logo.scale-125.png,Wide310x150Logo.scale-100.png,Wide310x150Logo.scale-400.png,Square44x44Logo.png,Square44x44Logo.scale-200.png,Square44x44Logo.scale-100.png,Square44x44Logo.scale-150.png,Square44x44Logo.scale-125.png,Square44x44Logo.scale-400.png,Square310x310Logo.png,Square310x310Logo.scale-150.png,Square310x310Logo.scale-200.png,Square310x310Logo.scale-400.png,Square310x310Logo.scale-100.png,Square310x310Logo.scale-125.png,BadgeLogo.png,BadgeLogo.scale-100.png,BadgeLogo.scale-125.png,BadgeLogo.scale-200.png,BadgeLogo.scale-150.png,BadgeLogo.scale-400.png,Square71x71Logo.png,Square71x71Logo.scale-150.png,Square71x71Logo.scale-100.png,Square71x71Logo.scale-200.png,Square71x71Logo.scale-125.png,Square71x71Logo.scale-400.png

                 

                 

                updateResources:

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\package.appxmanifest.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\en-US\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\fr-FR\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\de-DE\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\es\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\ar\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\da\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\el\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\fi\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\hu\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\he\resources.resjson.

                     [echo] Creating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\iw\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\ja\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\ko\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\nl\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\nn\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\pl\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\pt\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\pt-BR\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\ro\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\ru\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\sk\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\sv\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\th\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\tr\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\zh-Hans\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\strings\zh-Hant\resources.resjson.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\MafTemplate.jsproj.

                     [echo] Updating file C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\default.html.

                 

                 

                appArtifactsBuild.build:

                 

                 

                buildAppx:

                     [exec] Microsoft (R) Build Engine version 14.0.25420.1

                     [exec] Copyright (C) Microsoft Corporation. All rights reserved.

                     [exec]

                     [exec] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): warning APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\MafTemplate.jsproj]

                     [exec] C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\bin\x64\Debug\AppxManifest.xml : error APPX0501: Validation error. error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 10, Column 56, Reason: 'CN=UNNMAPP,OU=ANYIJESU,O=ANYIJESU,C=NG' violates pattern constraint of '(CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|Description|PostalCode|POBox|Phone|X21Address|dnQualifier|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")(, ((CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|Description|PostalCode|POBox|Phone|X21Address|dnQualifier|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")))*'. The attribute 'Publisher' with value 'CN=UNNMAPP,OU=ANYIJESU,O=ANYIJESU,C=NG' failed to parse. [C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\MafTemplate.jsproj]

                End Standard Output content.

                [10:50:59 AM] Deployment cancelled.

                [10:50:59 AM] ----  Deployment incomplete  ----.

                [10:50:59 AM] Failed to build the application for a  Windows 'Windows3'.

                [10:50:59 AM] Command-line execution failed (Return code: 1)

                • 5. Re: Deploying to windows
                  Graeme Mawson-Oracle

                  The log explains that your signing certificate is not valid:

                   

                  C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): warning APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478.

                   

                  With the following explanation:

                   

                  C:\JDeveloper\mywork\UNAPP\deploy\Windows3\debug\MafTemplate\bin\x64\Debug\AppxManifest.xml : error APPX0501: Validation error. error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 10, Column 56, Reason: 'CN=UNNMAPP,OU=ANYIJESU,O=ANYIJESU,C=NG' violates pattern constraint of '(CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|Description|PostalCode|POBox|Phone|X21Address|dnQualifier|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")(, ((CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|Description|PostalCode|POBox|Phone|X21Address|dnQualifier|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")))*'. The attribute 'Publisher' with value 'CN=UNNMAPP,OU=ANYIJESU,O=ANYIJESU,C=NG' failed to parse.