Reputation: 6908
I'm trying to compile the simple AIR app from here. I get a strange error, strange in that Googling it hardly reveals three results.
mxmlc -library-path=/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc NativeProcessTestFlex.mxml
Loading configuration file /Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/flex-config.xml Adobe Flex Compiler (mxmlc) Version 4.5.0 build 17689 Copyright (c) 2004-2009 Adobe Systems, Inc. All rights reserved.
Error: only one source is allowed in the filespec
Use 'mxmlc -help' for information about using the command line.
Anyone knows what this error is all about?
Upvotes: 1
Views: 1431
Reputation: 14221
Try to place library path in quotes the following way:
mxmlc -library-path="/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc" NativeProcessTestFlex.mxml
The problem is definitely in spaces so it thinks Flash
and Builder
and Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc
are source files.
Upvotes: 4
Reputation: 12847
try this instead:
mxmlc -library-path="/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc" NativeProcessTestFlex.mxml
You had spaces in the application name, which make the command line think it was the next 'parameter'.
Upvotes: 4