cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Naguin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4677) Cordova prepare wp8 does not copy files
Date Tue, 27 Aug 2013 11:26:51 GMT

    [ https://issues.apache.org/jira/browse/CB-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751188#comment-13751188
] 

Jonathan Naguin commented on CB-4677:
-------------------------------------

I have this working. On {{config_parser.js}} I had to replace some characters than comes from
the XML:

{code}
this.doc = new et.ElementTree(et.XML(fs.readFileSync(path, 'utf-8').replace("\ufeff", "")));
{code}

More info here: http://www.multiasking.com/blog/xml2js-sax-js-non-whitespace-before-first-tag/
                
> Cordova prepare wp8 does not copy files
> ---------------------------------------
>
>                 Key: CB-4677
>                 URL: https://issues.apache.org/jira/browse/CB-4677
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>         Environment: Parallels Desktop 8 for Mac running Windows 8 Professional
>            Reporter: Jonathan Naguin
>            Assignee: Filip Maj
>
> I have a small cordova-cli project for WP8. The problem I have is that cordova prepare
does not copy my files from {{www}}. The project under {{platforms\wp8}} is always the default
one.
> My output when I added the WP8 platform using CLI is:
> {code} 
> Y:\Demo>cordova --verbose platform add wp8
> cordova library for "wp8" already exists. No need to download. Continuing.
> Checking if platform "wp8" passes minimum requirements...
> Checking wp8 requirements...
> Running ""C:\Users\<username>\.cordova\lib\wp\cordova\3.0.0\wp8\bin\check_reqs""
(output to follow)
> Running bin/create for platform "wp8" with command: ""C:\Users\<username>\.cordova\lib\wp\cordova\3.0.0\wp8\bin\create"
 "Y:\Demo\platfo
> rms\wp8" "com.demo" "Demo"" (output to follow)
> platformRoot = C:\Users\<username>\.cordova\lib\wp\cordova\3.0.0\wp8
> repoRoot = C:\Users\<username>\.cordova\lib\wp\cordova\3.0.0
> Creating Cordova-WP8 Project:
>         App Name : Demo
>         Namespace : com.demo
>         Path : Y:\Demo\platforms\wp8
> CREATE SUCCESS : Y:\Demo\platforms\wp8
> {code} 
> I do not have any output when I run: 
> {code} 
> Y:\Demo>cordova --verbose prepare wp8
> {code} 
> NOTE:
> - Before I had to run {{chcp 65001}} because I was getting an error this error https://issues.apache.org/jira/browse/CB-4618

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message