I assume that some or all of those SWCs were compiled with an older version of the Flex SDK. That's not necessarily going to break things on its own. However, if the Flex framework was accidentally specified on the library-path instead of the external-library-path, that would cause parts of the Flex framework to be included in the SWC, which could conflict with the newer SDK.
- Josh On Wed, Feb 8, 2017 at 10:29 AM, olegkon <[email protected]> wrote: > Clint, > > Here is an exerpt of the last few lines of ant -d: > > [mxmlc] FlexTask.execute: -compiler.keep-generated-actionscript=true > -compiler.incremental=true "+flexlib=C:\Program Files\Adobe\Adobe Flash > Builder 4.7 (64 Bit)\sdks\4.15/frameworks" > -compiler.actionscript-file-encoding=UTF-8 -load-externs=report.xml > "-load-config=C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 > Bit)\sdks\4.15/frameworks/flex-config.xml" > -compiler.keep-as3-metadata=Inject -compiler.keep-as3-metadata= > PostConstruct > -compiler.debug=true "-compiler.source-path=C:\Program Files\Adobe\Adobe > Flash Builder 4.7 (64 Bit)\sdks\4.15/frameworks" > -compiler.source-path=../ui/flex/main/ > -compiler.source-path=../ui/flex/assets/ -use-network=true > -compiler.include-libraries+=C:\myapp\flex\libs\AlivePDF.swc > -compiler.include-libraries+=C:\myapp\flex\libs\SwiftSuspenders-v1.6.0.swc > -compiler.include-libraries+=C:\myapp\flex\libs\fds.swc > -compiler.include-libraries+=C:\myapp\flex\libs\fds_rb.swc > -compiler.include-libraries+=C:\web\cre\ui\flex\libs\fiber.swc > -compiler.include-libraries+=C:\myapp\flex\libs\fiber_rb.swc > -compiler.include-libraries+=C:\myapp\flex\libs\flex-iframe-1.4.6.swc > -compiler.include-libraries+=C:\myapp\flex\libs\juicekit-flex-core.swc > -compiler.include-libraries+=C:\myapp\flex\libs\juicekit-flex-data.swc > -compiler.include-libraries+=C:\myapp\flex\libs\juicekit- > flex-visualizations.swc > -compiler.include-libraries+=C:\myapp\flex\libs\playerfds.swc > -compiler.include-libraries+=C:\myapp\flex\libs\robotlegs- > framework-v1.5.2.swc > -compiler.include-libraries+=C:\myapp\flex\libs\robotlegs- > utilities-Modular-v0.5.3.swc > -compiler.include-libraries+=C:\myapp\flex\libs\robotlegs- > utilities-StateMachine.swc > -compiler.include-libraries+=C:\myapp\flex\libs\serializers.swc > -compiler.include-libraries+=C:\myapp\flex\libs\serializers_rb.swc > -output=C:\myapp\map\Map.swf -- ../myapp/map/Map.mxml > [mxmlc] Loading configuration file C:\Program Files\Adobe\Adobe Flash > Builder 4.7 (64 Bit)\sdks\4.15\frameworks\flex-config.xml > [mxmlc] C:\myapp\map\Map.swf.cache (The system cannot find the file > specified) > [mxmlc] C:\myapp\OptgroupDropDownList\OptgroupDropDownList.as(22): > col: > 21 Error: Overriding a function that is not marked for override. > [mxmlc] > [mxmlc] public function setSelectedIndex(value:int, > dispatchChangeEvent:Boolean = false, > [mxmlc] ^ > [mxmlc] > > BUILD FAILED > > We have old SWCs for libraries we are using. > > > > -- > View this message in context: http://apache-flex-users. > 2333346.n4.nabble.com/Upgrading-web-app-to-Flex-4-15-tp14603p14653.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. >
