Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15386775
D9417.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9417.diff
View Options
diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementBuildWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementBuildWorkflow.php
--- a/src/applications/aphlict/management/PhabricatorAphlictManagementBuildWorkflow.php
+++ b/src/applications/aphlict/management/PhabricatorAphlictManagementBuildWorkflow.php
@@ -21,8 +21,16 @@
$root = dirname(__FILE__).'/../../../..';
if (!Filesystem::binaryExists('mxmlc')) {
- $console->writeErr('`mxmlc` is not installed.');
- return 1;
+ throw new PhutilArgumentUsageException(
+ pht(
+ "The `mxmlc` binary was not found in PATH. This compiler binary ".
+ "is required to rebuild the Aphlict client.\n\n".
+ "Adjust your PATH, or install the Flex SDK from:\n\n".
+ " http://flex.apache.org\n\n".
+ "You may also be able to install it with `npm`:\n\n".
+ " $ npm install flex-sdk\n\n".
+ "(Note: you should only need to rebuild Aphlict if you are ".
+ "developing Phabricator.)"));
}
$argv = array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 1:16 AM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704881
Default Alt Text
D9417.diff (1 KB)
Attached To
Mode
D9417: Slightly improve friendliness of "no mxmlc" error
Attached
Detach File
Event Timeline
Log In to Comment