cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John M. Wargo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7492) Plugman does not return error
Date Mon, 08 Sep 2014 12:53:28 GMT
John M. Wargo created CB-7492:
---------------------------------

             Summary: Plugman does not return error
                 Key: CB-7492
                 URL: https://issues.apache.org/jira/browse/CB-7492
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugman
    Affects Versions: 3.5.0
         Environment: Microsoft Windows 7 64-bit, Node 0.10.30
            Reporter: John M. Wargo


I'm trying to use plugman for the first time and when I enter the command I'm experimenting
with, no matter what I try on the command line, all plugman does is bring up the help file.
For example, I'm using the following command:

plugman --platform android --project plug1 --plugin
 org.apache.cordova.console

Instead of telling me that there's an error with the command I've entered, it simply displays
nothing except for the help file.

This is not behavior I'm expecting - what I expect is an error message letting me know that
I've done something wrong. Showing the help file should happen when no parameters are passed
to the command or when help is requested.

C:\Users\jwargo\dev\plugtest>plugman -v
0.22.4

C:\Users\jwargo\dev\plugtest>npm uninstall -g plugman
unbuild plugman@0.22.4

C:\Users\jwargo\dev\plugtest>npm install -g plugman
C:\Users\jwargo\AppData\Roaming\npm\plugman -> C:\Users\jwargo\AppData\Roaming\n
pm\node_modules\plugman\main.js
plugman@0.22.4 C:\Users\jwargo\AppData\Roaming\npm\node_modules\plugman
+-- q@0.9.7
+-- underscore@1.4.4
+-- nopt@1.0.10 (abbrev@1.0.5)
+-- rc@0.3.0 (ini@1.1.0, deep-extend@0.2.11, optimist@0.3.7)
+-- cordova-lib@0.21.6 (osenv@0.0.3, properties-parser@0.2.3, bplist-parser@0.0.
5, mime@1.2.11, semver@2.0.11, dep-graph@1.1.0, plist-with-patches@0.5.1, npmcon
f@0.1.16, shelljs@0.1.4, glob@3.2.11, xcode@0.6.6, elementtree@0.1.5, tar@0.1.19
, request@2.22.0, cordova-js@3.6.2)
+-- npm@1.3.4

As you can see, plugman is reporting it's version 0.22.4, but JIRA won't let me select this
as the version on this ticket.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message