[
https://issues.apache.org/jira/browse/CB-7234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085426#comment-14085426
]
ASF subversion and git services commented on CB-7234:
-----------------------------------------------------
Commit a6d23ed4baf4fa49dff56ed9d8e39698d418f2fb in cordova-lib's branch
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=a6d23ed ]
CB-7234 added better outputs for plugin registry workflows
> Plugin registration isn't friendly
> ----------------------------------
>
> Key: CB-7234
> URL: https://issues.apache.org/jira/browse/CB-7234
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugman
> Reporter: Jesse MacFadyen
> Assignee: Steve Gill
>
> Tried to publish a plugin and ...
> {code}
> $ plugman publish BarcodeScanner
> Unexpected token <
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>400 Bad Request</title>
> </head><body>
> <h1>Bad Request</h1>
> <p>Your browser sent a request that this server could not understand.<br />
> </p>
> <hr>
> <address>Apache/2.2.22 (Ubuntu) Server at registry.cordova.io Port
> 80</address>
> </body></html>
> SyntaxError: Unexpected token <
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>400 Bad Request</title>
> </head><body>
> <h1>Bad Request</h1>
> <p>Your browser sent a request that this server could not understand.<br />
> </p>
> <hr>
> <address>Apache/2.2.22 (Ubuntu) Server at registry.cordova.io Port
> 80</address>
> </body></html>
> {code}
> The reason it failed was that the 'id' was already in use, though I only
> found this out by changing the id in plugin.xml and trying again. It would
> be nice if this were made usable. Also, there is no indication that anything
> is happening after using the publish command, how about a simple 'attempting
> to publish com.phonegap.plugins.barcodescanner' or something?
--
This message was sent by Atlassian JIRA
(v6.2#6252)