cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martincgg <>
Subject [GitHub] cordova-mobile-spec pull request: CB-6669 Fix blackberry10 path
Date Mon, 12 May 2014 16:51:37 GMT
Github user martincgg commented on the pull request:
    @shazron it's the same problem.
    I've contributed with createmobilespec.js and I've faced this problem with blackberry10.
    This is what happens when this path (this fix):
    "blackberry10" : { "uri" : top_dir + "cordova-blackberry" + path.sep + "blackberry10"
    it's set in config.json.
    Adding Platform: blackberry10
    Checking if platform "blackberry10" passes minimum requirements...
    Creating blackberry10 project...
    Running command: cmd /s /c C:\Users\Administrator\testMB\cordova-blackberry\blackberry10\blackberry10\bin\create
C:\Users\Administrator\testMB\mobilespec\platforms\blackberry10 org.apache.mobilespec mobilespec
    The system cannot find the path specified.
    Command finished with error code 1: cmd /s,/c,C:\Users\Administrator\testMB\cordova-blackberry\blackberry10\blackberry10\bin\create,C:\Users\Administrator\testMB\mobilespec\platforms\blackberry10,org.apache.mobilespec,mobilespec
    Error: cmd: Command failed with exit code 1
        at ChildProcess.whenDone (C:\Users\Administrator\testMB\cordova-cli\src\supe
        at ChildProcess.EventEmitter.emit (events.js:98:17)
        at maybeClose (child_process.js:753:16)
        at Process.ChildProcess._handle.onexit (child_process.js:820:5)
    The problem is that the blackberry10_parser.js it doesn't look for the subdirectory 'blackberry10'
under cordova-blackberry.
    Then later when it tries to create the project it's not gonna pass through here:
    Because lazy_loads.js it looks for the subdirectory under cordova-blackberry
    Result if you set this path: "blackberry10" : { "uri" : top_dir + "cordova-blackberry"
+ path.sep + "blackberry10" }
    At project creation lazy_loads.js it will try to set the custom library as: cordova-blackberry\blackberry10\blackberry10\
    The blackberry10_parser.js it makes fail the requirements check because it doesn't look
for 'blackberry10' folder under cordova-blackberry.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message