You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/10/22 23:15:42 UTC

[jira] [Commented] (CB-5139) Unable to call the version file from not the project directory

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

ASF subversion and git services commented on CB-5139:
-----------------------------------------------------

Commit 19cfe94a5a64379a4a3cd6cfaf2acaecb6d24671 in branch refs/heads/master from [~timkim]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=19cfe94 ]

CB-5139 - fix to able call bb10 version script from anywhere


> Unable to call the version file from not the project directory
> --------------------------------------------------------------
>
>                 Key: CB-5139
>                 URL: https://issues.apache.org/jira/browse/CB-5139
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 3.1.0
>            Reporter: Tim Kim
>             Fix For: 3.2.0
>
>
> The location of the version file is hard coded into the path in cordova/lib/version.js such that it only works if you are calling it from the project directory.
> Steps to reproduce:
> - ./bin/create test com.test test
> - cd test
> - ./cordova/version // should work
> - cd www
> - ../cordova/version // returns The file "www/cordova.js" does not exist.



--
This message was sent by Atlassian JIRA
(v6.1#6144)