Компиляю SWC следующей командой
Цитата:
D:\Dropbox\MyDropbox\Projects\my\library>compc -output "bin/terbooter.swc" -incl
ude-sources src/com -include-libraries lib/as3base64.swc
Loading configuration file C:\flex\sdk_3_4\frameworks\flex-config.xml
D:\Dropbox\MyDropbox\Projects\my\library\bin\terbooter.swc (3860 bytes)
|
Как видно все происходит на ура.
Теперь я хочу чтобы SWC скомпилялась, но чтобы код из библиотеки lib/as3base64.swc не вкомпиливался в полученную SWCшку.
Использую ключ -el (Полное название ключа -compiler.external-library-path)
Цитата:
D:\Dropbox\MyDropbox\Projects\my\library>compc -output "bin/terbooter.swc" -incl
ude-sources src/com -compiler.external-library-path lib/as3base64.swc
Loading configuration file C:\flex\sdk_3_4\frameworks\flex-config.xml
Error: 'flash.utils:ByteArray' is undefined.
Error: 'encodeURI' is undefined.
Error: 'flash.utils:escapeMultiByte' is undefined.
Error: 'EvalError' is undefined.
Error: 'Math' is undefined.
Error: 'flash.media:SoundTransform' is undefined.
Error: 'Array' is undefined.
Error: 'RegExp' is undefined.
Error: 'flash.system:ApplicationDomain' is undefined.
Error: 'flash.text:TextSnapshot' is undefined.
Error: 'flash.ui:ContextMenuBuiltInItems' is undefined.
Error: 'flash.system:SecurityDomain' is undefined.
Error: 'flash.display:IBitmapDrawable' is undefined.
Error: 'flash.geom:Matrix' is undefined.
Error: 'flash.geom:ColorTransform' is undefined.
Error: 'isXMLName' is undefined.
Error: 'URIError' is undefined.
Error: 'ReferenceError' is undefined.
Error: 'flash.errors:IllegalOperationError' is undefined.
Error: 'XMLList' is undefined.
Error: 'flash.events:ProgressEvent' is undefined.
Error: 'flash.events:ContextMenuEvent' is undefined.
Error: 'Class' is undefined.
Error: 'isNaN' is undefined.
Error: 'flash.display isplayObject' is undefined.
Error: 'flash.events:ActivityEvent' is undefined.
Error: 'decodeURIComponent' is undefined.
Error: 'flash.events:Event' is undefined.
Error: 'flash.display:BitmapData' is undefined.
Error: 'flash.errors:ScriptTimeoutError' is undefined.
Error: 'decodeURI' is undefined.
Error: 'escape' is undefined.
Error: 'flash.accessibility:AccessibilityImplementation' is undefined.
Error: 'flash.accessibility:AccessibilityProperties' is undefined.
Error: 'AS3' is undefined.
Error: 'Object' is undefined.
Error: 'flash.utils:unescapeMultiByte' is undefined.
Error: 'SecurityError' is undefined.
Error: 'flash.utils:describeType' is undefined.
Error: 'UninitializedError' is undefined.
Error: 'flash.net:URLRequest' is undefined.
Error: 'Function' is undefined.
Error: 'DefinitionError' is undefined.
Error: 'flash.utils:IDataOutput' is undefined.
Error: 'SyntaxError' is undefined.
Error: 'flash.events:IOErrorEvent' is undefined.
Error: 'flash.utils:IDataInput' is undefined.
Error: 'flash.errors:StackOverflowError' is undefined.
Error: 'Namespace' is undefined.
Error: 'flash.events:FocusEvent' is undefined.
Error: 'XML' is undefined.
Error: 'VerifyError' is undefined.
Error: 'flash.display isplayObjectContainer' is undefined.
Error: 'flash.display:InteractiveObject' is undefined.
Error: 'flash.ui:ContextMenu' is undefined.
Error: 'flash.display:LoaderInfo' is undefined.
Error: 'flash.events:FullScreenEvent' is undefined.
Error: 'flash.filters:BitmapFilter' is undefined.
Error: 'flash.display:Graphics' is undefined.
Error: 'flash.errors:MemoryError' is undefined.
Error: 'flash.errors:IOError' is undefined.
Error: 'flash.display:Sprite' is undefined.
Error: 'flash.errors:InvalidSWFError' is undefined.
Error: 'flash.events:WeakFunctionClosure' is undefined.
Error: 'flash.events:IEventDispatcher' is undefined.
Error: 'flash.events:WeakMethodClosure' is undefined.
Error: 'NaN' is undefined.
Error: 'Number' is undefined.
Error: 'int' is undefined.
Error: 'flash.geom:Rectangle' is undefined.
Error: 'flash.display:Loader' is undefined.
Error: 'flash.geom:Point' is undefined.
Error: 'TypeError' is undefined.
Error: 'isFinite' is undefined.
Error: 'flash.events:MouseEvent' is undefined.
Error: 'String' is undefined.
Error: 'flash.errors:EOFError' is undefined.
Error: 'flash.display:Stage' is undefined.
Error: 'flash.system:LoaderContext' is undefined.
Error: 'parseFloat' is undefined.
Error: 'flash.geom:Transform' is undefined.
Error: 'parseInt' is undefined.
Error: 'ArgumentError' is undefined.
Error: 'flash.system:Security' is undefined.
Error: 'QName' is undefined.
Error: 'flash.events:KeyboardEvent' is undefined.
Error: 'encodeURIComponent' is undefined.
Error: 'flash.events:TextEvent' is undefined.
Error: 'flash.utils:getQualifiedClassName' is undefined.
Error: 'undefined' is undefined.
Error: 'flash.utils:getDefinitionByName' is undefined.
Error: 'flash.utils:getQualifiedSuperclassName' is undefined.
Error: 'unescape' is undefined.
Error: 'flash.events:ErrorEvent' is undefined.
Error: 'RangeError' is undefined.
Error: 'trace' is undefined.
Error: 'flash.utils:getTimer' is undefined.
Error: 'Boolean' is undefined.
Error: 'flash.events:HTTPStatusEvent' is undefined.
Error: 'Error' is undefined.
Error: 'flash.events:EventDispatcher' is undefined.
Error: 'Infinity' is undefined.
Error: 'uint' is undefined.
|
Как с этим бороться?
Добавлено через 4 минуты
Проблема решилась.
Нужно было добавлять, а я перезаписывал.
Цитата:
|
-compiler.external-library-path+="lib/as3base64.swc"
|