You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Patrick Mueller (JIRA)" <ji...@apache.org> on 2012/12/12 18:42:19 UTC

[jira] [Comment Edited] (CB-2052) add option to pass the config file by name

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

Patrick Mueller edited comment on CB-2052 at 12/12/12 5:42 PM:
---------------------------------------------------------------

13.patch is the original patch from Corey's pull request.
                
      was (Author: pmuellr):
    This is the original patch from Corey's pull request.
                  
> add option to pass the config file by name
> ------------------------------------------
>
>                 Key: CB-2052
>                 URL: https://issues.apache.org/jira/browse/CB-2052
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: weinre
>            Reporter: Patrick Mueller
>            Assignee: Patrick Mueller
>         Attachments: 13.patch
>
>
> From Corey Gilmore via https://github.com/apache/incubator-cordova-weinre/pull/13
> Original text:
> Add the --optionsFile cli parameter to allow passing the path to an options file, which currently is hardcoded to ~/.weinre/server.properties. This makes makes it easier to run as a Windows service using something like this:
> Windows Registry Editor Version 5.00
> {noformat}
>     [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\weinre]
>     "Type"=dword:00000010
>     "Start"=dword:00000002
>     "ErrorControl"=dword:00000001
>     "ImagePath"="C:\\Path\\To\\srvany.exe"
>     "DisplayName"="weinre"
>     "WOW64"=dword:00000001
>     "ObjectName"="LocalSystem"
>     [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\weinre\Parameters]
>     "Application"="\"C:\\Path\\To\\nodejs\\node.exe\" C:\\Path\\To\\node_modules\\weinre\\weinre  --optionsFile C:\\Path\\To\\server.properties"
> {noformat}

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