You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Benn Mapes (JIRA)" <ji...@apache.org> on 2013/07/15 20:40:48 UTC

[jira] [Created] (CB-4207) unable to load local platforms from the .cordova/config.json file on Windows

Benn Mapes created CB-4207:
------------------------------

             Summary: unable to load local platforms from the .cordova/config.json file on Windows
                 Key: CB-4207
                 URL: https://issues.apache.org/jira/browse/CB-4207
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
         Environment: Windows
            Reporter: Benn Mapes
            Assignee: Filip Maj


Editing the .cordova/config.json file and adding :
"lib": {"wp7": {
		"uri":"C:\\Developer\\GitHub\\cordova-wp8\\wp7",
                "version" : "",
		"id" : ""},
	"wp8": {
		"uri":"C:\\Developer\\GitHub\\cordova-wp8\\wp8",
                "version" : "",
		"id" : ""}
	}
Should result in those platforms being built using the specified uri as the root of the repository. Instead, this process gets skipped since the has_custom_path function in config.js checks the url.protocol of the incoming uri, which is undefined in windows (know node bug). We need some kind of workaround for this though.

--
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