Error In Compiling Swc For Flex 2 Application
your application converts your application files and assets into a single SWF file. During compilation, you set compiler options to enable accessibility, enable debug information in the output, set library paths, and set other options. You can configure the compiler as part of configuring your project in Flash Builder, by using command-line arguments to the compiler, or by setting options in a configuration file. For more information on compiling applications, see Flex compilers. About case sensitivity during a compileThe Flex compilers use a case-sensitive file lookup on all file systems. On case-insensitive file systems, such as the Macintosh and Windows file systems, the Flex compiler generates a case-mismatch error when you use a component with the incorrect case. On case-sensitive file systems, such as the UNIX file system, the Flex compiler generates a component-not-found error when you use a component with the incorrect case. Compiling a Flex SDK applicationFlex SDK includes two compilers, mxmlc and compc. You use mxmlc to compile MXML files, ActionScript files, SWC files, and RSLs into a single SWF file. After your application is compiled and deployed on your web or application server, a user can make an HTTP request to download and play the SWF file on their computer. You use the compc compiler to compile components, classes, and other files into SWC files or RSLs. To compile an application with Flex SDK, you use the mxmlc compiler in the bin directory of your Flex SDK directory. The most basic mxmlc example is one in which the MXML file for your application has no external dependencies (such as components in a SWC file or ActionScript classes). In this case, you open mxmlc from the command line and point it to your MXML file, as the following example shows: $ mxmlc c:/myFiles/app.mxml The mxmlc compiler has many options that you can specify on the command line, or that you can set in the flex-config.xml file. For example, to disable warning messages, you set the warnings options to false, as the following example shows: $ mxmlc -warnings=false c:/myFiles/app.mxml You only specify the main application file, the file that contains the
happens very often on 64bit Eclipse JunoAgile Board ExportXMLWordPrintableJSON Details Type: Bug Status: Resolved Priority: Major Resolution: Duplicate Affects Version/s: Apache Flex 4.10.0 Fix Version/s: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf614b9-7ff3.html None Component/s: Compiler API Labels: None Environment: Eclipse Java EE IDE for Web Developers. Version: Juno Service Release 2 Build id: 20130225-0426 JDK : 1.7.0_13 Flash Builder https://issues.apache.org/jira/browse/FLEX-33744 4.7 (64bit) (build 349722) Description !ENTRY com.adobe.flexbuilder.project 4 43 2013-09-19 15:39:01.571 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeHi(Unknown Source) at java.util.TimSort.mergeAt(Unknown Source) at java.util.TimSort.mergeCollapse(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at flex2.compiler.swc.SwcGroup.updateMaps(SwcGroup.java:281) at flex2.compiler.swc.SwcGroup.
error https://issues.apache.org/jira/browse/FLEX-33380 on new Mobile Air App ProjectAgile Board ExportXMLWordPrintableJSON Details Type: Bug Status: Resolved Priority: https://forums.manning.com/posts/list/21882.page Major Resolution: Not A Problem Affects Version/s: Apache Flex 4.9.0 Fix Version/s: None Component/s: Compiler error in API Labels: None Environment: Flash Builder 4.6 on Windows 7 64 bit Description When I create a new Flex Mobile project in Flash builder with all default options selected error in compiling I get an internal build error. When I look at the logs I get: Uncaught exception in compiler java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeHi(Unknown Source) at java.util.TimSort.mergeAt(Unknown Source) at java.util.TimSort.mergeCollapse(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at flex2.compiler.swc.SwcGroup.updateMaps(SwcGroup.java:281) at flex2.compiler.swc.SwcGroup.
code I get following error: Missing: ---------- 1) com.adobe.flex.framework:flex-framework:pom:4.0.0.7219 Path to dependency: 1) org.foj:flex-bugs-lib:swc:1.0-SNAPSHOT 2) com.adobe.flex.framework:flex-framework:pom:4.0.0.7219 2) com.adobe.flex.framework:playerglobal:swc:10:4.0.0.7219 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.adobe.flex.framework -DartifactId=p layerglobal -Dversion=4.0.0.7219 -Dclassifier=10 -Dpackaging=swc -Dfile=/path/to /file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.adobe.flex.framework -DartifactId=pla yerglobal -Dversion=4.0.0.7219 -Dclassifier=10 -Dpackaging=swc -Dfile=/path/to/f ile -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.foj:flex-bugs-lib:swc:1.0-SNAPSHOT 2) com.adobe.flex.framework:playerglobal:swc:10:4.0.0.7219 ---------- 2 required artifacts are missing. for artifact: org.foj:flex-bugs-lib:swc:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), flexonjava-repository (http://flexonjava.googlecode.com/svn/repository), flexmojos-repository (http://repository.sonatype.org/content/groups/public/) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21 seconds [INFO] Finished at: Sat May 29 22:14:08 IDT 2010 [INFO] Final Memory: 19M/34M [INFO] ------------------------------------------------------------------------ C:datastudies2010flexflex-bugs> Please your help “„ JGF1 (322) Offline May 30, 2010 @ 3:38 AM #2 Re: Problem with mvn install from exported source code I think I'm having similar problems: You're talking about P 8 & 9 of chapter 3 right? Section 3.5, when you create the hello world app? If so, I've been exchanging emails with Bernerd about this. He suggested do a mvn clean first. I'm not entirely sure if this will solve issue, since I'd have thought if you run the install for the first time there would be nothing to clear down... Anyway: 1) I did notice that the pom.xml in the flex_bugs_ria folder has a load of extra repository nodes, some of the nodes are sequenced differently too. 2) Not sure if the sequencing is a problem. Just a heads up. 3) Also trying to interpret the addition of the plugin node, and whether it should co-exist with one that got created inititally? 4) If so, once again is sequence a problem? 5) Or should I delete the initial plug-in node? 6) The code in book show