cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benn Mapes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-4207) unable to load local platforms from the .cordova/config.json file on Windows
Date Mon, 15 Jul 2013 18:40:48 GMT
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

Mime
View raw message