Using cfx option --force-mobile makes jpm fail silently

RESOLVED WONTFIX

Status

P2
normal
RESOLVED WONTFIX
4 years ago
4 years ago

People

(Reporter: anaran, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:33.0) Gecko/20100101 Firefox/33.0 (Beta/Release)
Build ID: 20140714030201

Steps to reproduce:

I am using cfx's --force-mobile option with jpm, by mistake:

(addon-sdk-1.16)AichnerAd@Kuckuck:~/tmp/mozilla/JotFirefox/Jot$ cmd /c "%HOME%/tmp/mozilla/addon-sdk-1.16/bin/activate && jpm xpi -v --force-mobile -b c:/programme/nightly/firefox.exe"
Welcome to the Add-on SDK. For the docs, visit https://addons.mozilla.org/en-US/developers/docs/sdk/latest/

(addon-sdk-1.16)AichnerAd@Kuckuck:~/tmp/mozilla/JotFirefox/Jot$ 


Actual results:

All is well at first glance.

No .xpi files is generated, however!

exit status also indicates a problem:

(addon-sdk-1.16)AichnerAd@Kuckuck:~/tmp/mozilla/JotFirefox/Jot$ echo $?
1
(addon-sdk-1.16)AichnerAd@Kuckuck:~/tmp/mozilla/JotFirefox/Jot$ 



Expected results:

I would expect some kind of error message too.

A previously generated .xpi file may be taken as the output of the failed run by mistake.
Priority: -- → P2
Sorry we won't be releasing any new versions of cfx, jpm is the replacement https://www.npmjs.com/package/jpm

So I don't think it's worth spending time to support this use case, I'm sorry.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.