[
https://issues.apache.org/jira/browse/CB-5072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800970#comment-13800970
]
Josh Soref commented on CB-5072:
--------------------------------
This has to do w/ the lack of `call` resulting in environment variable changes
being lost by the time the calling batch file resumes execution...
> Cannot find node and blackberry tools on Windows 7+ OS
> ------------------------------------------------------
>
> Key: CB-5072
> URL: https://issues.apache.org/jira/browse/CB-5072
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry, CLI
> Affects Versions: 3.0.0, 3.1.0
> Reporter: Maxime LUCE
>
> Hi,
> When trying to call _cordova platform add blackberry10_ obtaining error :
> *node cannot be found on the path. Aborting.*
> I saw that Windows 7+ change their behavior with *Delayed Variable
> Expansion*. You can find a summary here :
> [http://www.robvanderwoude.com/ntset.php]
> I understood that CORDOVA_NODE and CORDOVA_BBTOOLS are never setted within
> the detection loop inside init.bat command.
--
This message was sent by Atlassian JIRA
(v6.1#6144)