cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wade Dorrell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7652) widget id containing underscore causes windows build error
Date Sun, 28 Sep 2014 18:19:34 GMT

     [ https://issues.apache.org/jira/browse/CB-7652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wade Dorrell updated CB-7652:
-----------------------------
    Description: 
A Cordova project has widget id "com.rational_agents.xyz". When the project's built for android
platform the resulting AndroidManifest.xml manifest package becomes "com.rational_agents.xyz".
Due to publishing policies at Android app stores it's undesirable to change package name,
and so it's undesirable to change the widget id.

Expected to be able to "cordova platform add windows" then "cordova build windows" on this
project. But the build step fails with this error:

APPX1404: File content does not conform to specified schema. The 'Name' attribute is invalid
- The value 'com.rational_agents.xyz' is invalid according to its datatype 'http://schemas.microsoft.com/appx/2010/manifest:ST_PackageName'
- The Pattern constraint failed.

It seems like cordova should filter the widget ID as necessary to produce a valid AppxManifest.xml
Name value.

  was:
A Cordova project has widget id "com.rational_agents.xyz". When the project's built for android
platform the resulting AndroidManifest.xml manifest package becomes "com.rational_agents.xyz".
Due to publishing policies at Android app stores it's undesirable to change package name,
and so it's undesirable to change the widget id.

Expected to be able to "cordova add platform windows" then "cordova build windows" on this
project. But the build step fails with this error:

APPX1404: File content does not conform to specified schema. The 'Name' attribute is invalid
- The value 'com.rational_agents.xyz' is invalid according to its datatype 'http://schemas.microsoft.com/appx/2010/manifest:ST_PackageName'
- The Pattern constraint failed.

It seems like cordova should filter the widget ID as necessary to produce a valid AppxManifest.xml
Name value.


> widget id containing underscore causes windows build error
> ----------------------------------------------------------
>
>                 Key: CB-7652
>                 URL: https://issues.apache.org/jira/browse/CB-7652
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 3.6.3
>            Reporter: Wade Dorrell
>
> A Cordova project has widget id "com.rational_agents.xyz". When the project's built for
android platform the resulting AndroidManifest.xml manifest package becomes "com.rational_agents.xyz".
Due to publishing policies at Android app stores it's undesirable to change package name,
and so it's undesirable to change the widget id.
> Expected to be able to "cordova platform add windows" then "cordova build windows" on
this project. But the build step fails with this error:
> APPX1404: File content does not conform to specified schema. The 'Name' attribute is
invalid - The value 'com.rational_agents.xyz' is invalid according to its datatype 'http://schemas.microsoft.com/appx/2010/manifest:ST_PackageName'
- The Pattern constraint failed.
> It seems like cordova should filter the widget ID as necessary to produce a valid AppxManifest.xml
Name value.



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

Mime
View raw message