Flex Compiler include library

Dear All,
We are developing a Flex application in which we are heavily using dynamic object creation using Action Script. For this purpose, we have referanced 2 libraries through compiler include libraries.
Now for first beta release it works fine as first time we are giving it for integration testing. Currently if we modify the referaned libraries, then always we need to build the complete main project MXML so that linking should happen. But going forward, we want to avaoid the complete build of our main application. Also while patches deliveries to client, we want to provide only newly generated SWCs which are referanced but not complete main application build.
So please let us know how to acheive this.
~SD

You could try linking your two SWCs as RSLs instead of statically including all the classes. With RSL linking the main application would not contain any of the classes in the two SWCs, those would be loaded by the main application as RSLs. If you want the ability to update your RSLs without recompiling your application you could turn off digest verification on the loaded RSLs. But be aware of the security implications of turning off digest verification.
-Darrell

Similar Messages

  • Error while compiling .css to .swf using flex-compiler-oem-3.4.0.9271

    Hi
    I am unable to compile the .css to .swf using flex-compiler-oem-3.4.0.9271.  I see the following error. This issue is specifically on the QA environment and does not reproduce locally.
    The only difference that I see between the QA and my local environment is the load balancer. I read through some posts which say to comment the line which has en_US in the flex-config.xml which did not work.
    My case is that I am trying to compile the .css at runtime using the flex-compiler-oem-3.4.0.9271.jar file
    ERROR [STDERR] Error: Unable to resolve resource bundle "styles" for locale "en_US".
    ERROR [STDERR] Error: Unable to resolve resource bundle "core" for locale "en_US".
    Any help would be greatly appreciated.
    Thank you,
    Vinay

    I'd recommend the following:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html
    and use the following for reference:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html
    or better yet on commandline:
    mxmlc -help list details
    Normally you'll have to reference this list of available options ( same for compc ), then formulate your commandline options.
    Your commandline will probably looks something like this:
    mxmlc -library-path+=path_to_lccs_sdk/libs/player10 -source-path+=src src/MyApp.mxml
    Depending on your needs you'll have to play around with "-include-libraries" and "-external-library-path" params as well.
    Hope that helps,
    Alex G.

  • Error compiling a library

    A little cross-post, please help
    Trouble compiling a library
    Thx
    Rob

    Peter Chr. Hansen (guest) wrote:
    : I'm working on a project of porting our Economy Application
    from
    : a scoopen server to a linux server but when I try to ling the
    : shared oracle library libclntsh.so (we have copied it to a file
    : called Sql.so) I get the following error:
    : /oase5.0/Shared/Sql.so: undefined reference to `slpmprodstab'
    : Where is this defined??
    : There is no problem when I compile the demos included whith
    : oracle
    : Yours,
    : Peter Chr. Hansen
    Try this link line as posted earlier:
    cc -o <executable> <filename>.c \
    -L$ORACLE_HOME/lib/ \
    -L$ORACLE_HOME/rdbms/lib \
    $ORACLE_HOME/lib/scorept.o \
    -I$ORACLE_HOME/rdbms/public \
    -lnetv2 -lnttcp -lnetwork -lncr \
    -lvsn -lcommon -lgeneric \
    -lcore4 -lnlsrtl3 -lepc -lsql \
    -lclient -lclntsh
    Maturi
    null

  • Need help on Flex JSP tag library

    I am new to Flex and currently developing portlets where I
    need to integrate Flex into JSP pages. According to various
    documents from Adobe and other online discussions, this can be done
    with Flex JSP tag library. It appears that the taglib used to be a
    separate package that you could download but no longer available (I
    was only able to find a few broken links). Instead, the library is
    now part of the LiveCycle DS product according to Adobe. However, I
    have downloaded LiveCycle DS and couldn't find the necessary taglib
    in the package. Your help will be highly appreciated.

    I'm trying to do the same thing you are. Its mentioned that
    the library is part of LifeCycle DS but I couldn't find it in there
    either.
    Here's a site I found where you can download
    FlexModule_j2ee.zip It includes some instructions too.
    http://opensource.adobe.com/wiki/display/flexsdk/Downloads
    Here are some other links which may be helpful.
    http://livedocs.adobe.com/flex/3/html/help.html?content=apache_2.html
    http://labs.adobe.com/wiki/index.php/LiveCycle_Data_Services:Setting_up_an_SDK,_Compilers, _and_Flex_Builder
    http://download.macromedia.com/pub/labs/flex_mod_apache/flex_mod_apache.pdf

  • Error getting whille compileing the Library file

    Hi,
    I have a problem that when ever i am trying to compile my Library to generate the .PLX file it showing compilation error to me.
    Like "FND_ATTACHMENT_UTIL_PKG.get_atchmt_exists" here its stucking.
    So kindely help me to understand this point.
    With regards

    "FRM 040039 Cannot attach Library APPCORE while opening th form {quote}Clearly, you are working with the Oracle Enterprise Business Suite (EBS) as the APPCORE library is an EBS library. Are you trying to configure a local installation of the EBS or is this on a server? For EBS development, you need to have the library files (.pll and .plx) included in your FORMS_PATH variable. These files are typically located in the AU_TOP (\AU\Resources) directory on the Application Server (AS). The only person that should be compiling these library files is your AS Administrator and they should only be compiled on the AS, not your workstation. You should only be using the compiled version supplied by your AS Admin.
    If the library file is not compiling correctly, it is because your Forms Builder is unable to find all of the required referenced items in the Library. This would suggest that your Forms Builder is not configured correctly. As I stated above, these library files should only be compiled on the AS, never on a developer workstation.
    If you are still having trouble with this issue, I strongly suggest you post your question in the <a href="General EBS Discussion">EBS General Discussion</A> forum. This forum is for general Oracle Forms questions. If you have a general Forms question, by all means, ask it here! ;-)
    Hope this helps,
    Craig B-)
    +If someone's response is helpful or correct, please mark it accordingly.+

  • Error in executing a process for Flex compilation ....exceeds 32K...

    Hi,
    deployin my model i get the following error-message.
    "Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
    Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
    Thanks for your help!
    Tobias

    Hi Tobias,
    You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
    Hope this helps
    Cheers,
    Scott

  • Flex compilation error

    Hi All,
    I am getting flex compilation error when i deploy the models which were developed in older version7.0, now it is 7.01.I am getting the following error in 7.01 version.
    Flex2Compiler.Build: Error in executing a process for Flex compilation: /usr/sap/BWD/DVEBMGS30/j2ee/cluster/server0/GUIMachine_Business_Packages/[KCRXK59]MyModels.SMIScoreCard/FLEX_COMPILATION_FOLDER/AAD583.mxml
    Does the older version models doesnot deploy in new versions?
    Thanks
    Srinivas K

    Hello Srinivas,
    Currently i am also facing the same issue , Can you let us know were you able to solve the problem u encountered , if yes how?
    Thanks and Regards,
    Ronniee

  • Flex compilation error 1004

    Compilation is ok, but the deployment is giving this error messages:
    Error in executing a process for Flex compilation, Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1004: Operator '%' must be followed by an operand
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1033: ')' expected
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Error 1033: ')' expected
          (D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
    Failed to compile AAD8G.mxml
    I do not succeed in finding the cause of this error

    Compilation is ok, but the deployment is giving this error messages:
    Error in compiling Flex application: Error 1004: Operator '=' must be followed by an operand
          (/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc_59929/FLEX_COMPILATION_FOLDER/AADHE1_P.mxml:374)
    Error 1142: The class 'vc.custom.SkinAssetDependency' could not be loaded.
          (/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc__59929/FLEX_COMPILATION_FOLDER/AADHDR.mxml)
    Failed to compile AADHDR.mxml
    Edited by: Rafael Ovidio on Feb 15, 2008 10:28 AM

  • Flex compilation error: line exceeds 32k span

    Hi All,
    I am trying to execute my application being developed in VC7.0 (nw04s sneak preview version) using tabbed layers. I have 3 layers and has the following UI components
    1 tab/layer: input form
    2 tab/layer: table control
    3 tab/layer: table control
    Following is the error from the source Viewer window
    <b>com.myComp.myProduct.8J.Empdetailsview</b>
    Error in executing a process for Flex compilation, Error: Branch between 8421 and 41193 around line 0 exceeds 32K span. If possible, please refactor this component.
          (E:\usr\sap\J2E\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\empModel_18608\FLEX_COMPILATION_FOLEDR\AAD8J-generated.as:2188)
    Error: Branch between 8421 and 41193 around line 0 exceeds 32K span.
    Failed to compile AAD8J.mxml
    PS: Initially I had a table and chart controls in my second layer (no 3rd layer then) and got the same error however, after removing the chart contrl, the app begun to run.
    Now I added a 3rd layer which has one table contrl only and now the app is not working. I also have eventing between my layers..
    Please help
    Thanks
    Sathish

    Hi
    The 32k issue id pretty hard to get rid of once it starts, instead of using the 3rd layer, try and create a nested iview, you can also try and use a nested iview for each layer, this is a bit more complicated to do but does seem to workaround the 32k problem.
    Jarrod

  • Flex compiler in FlexBuilder and Flex SDK

    I have downloaded Flex Builder 3.0.2 and Flex SDK 3.2. Are
    they using the same version of Flex compiler?
    Is there a way to check the version of Flex compiler?

    quote:
    Originally posted by:
    mab_bond
    And regarding the Advanced datagrid you must copy the
    dataVisualization.swc.from sdk 3.1
    It sounds like the SDK3.2 download is incomplete. I'm not
    sure if upgrade FB with this download is a good idea.

  • Trouble compiling a library

    Hi folks, I'm experiencing a trouble using forms & reports on two different platforms: Win XP Prof. SP2 for development and SuSe Ent. 9 Linux for deployment.
    I've inherited from another person an application with some forms, some reports and two libraries (one attached to the forms annd the other attacched to the reports).
    I've modified a function in the library attacched to the reports. It compiles ok on XP.
    Moved the library (.pll file) to Suse I tried to compile with:
    #!/bin/sh
    PATH_SAVE=$PWD
    ORACLE_HOME=/opt/oracle/app/oracle/product/frs10.1.2
    export ORACLE_HOME
    FORMS_PATH=/opt/csa/sw/webapp/FORMS:/opt/csa/sw/webapp/CSA_LIBS
    export FORMS_PATH
    REPORTS_PATH=/opt/csa/sw/webapp/REPORTS:/opt/csa/sw/webapp/CSA_LIBS
    export REPORTS_PATH
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    TWO_TASK=csa_v30/csa_v30@csa5i009
    export TWO_TASK
    ORACLE_SID=csa5i009
    export ORACLE_SID
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib
    export LD_LIBRARY_PATH
    ORACLE_TERM=vt220
    export ORACLE_TERM
    # COMPILE LIBRARIES
    cd /opt/csa/sw/webapp/CSA_LIBS
    $ORACLE_HOME/bin/frmcmp_batch module=LIB_CSA_FORMS.pll userid=csa_v30/csa_v30@csa5i009 module_type=LIBRARY compile_all=YES logon=YES batch=YES
    # COMPILE FORMS and MENUS
    cd /opt/csa/sw/webapp/FORMS
    for file in *.fmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=FORM compile_all=YES logon=YES batch=YES
    done
    for file in *.mmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=MENU compile_all=YES logon=YES batch=YES
    done
    cd $PATH_SAVE
    unset PATH_SAVE
    and obtained:
    PL/SQL ERROR 201 at line 58, coloumn 5
    identifier 'SRW.SET_FOREGROUND_FILL COLOR' must be declared
    FRM-30312: Failed to compile the library
    Some useful data:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    And:
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE     10.1.0.4.0     Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    Any advice will be welcome
    Thanx
    Rob

    This package currently compiles fine with the latest gcc (at least last time I checked), but still I'm having trouble making a package for it because I don't know how to get it to install to a custom location like the $startdir/pkg directory.

  • Flex compilation error after adding an additional output port to a query

    Hello,
    I need to add an additional output port to a query in order to dynamically filter some results. Our version of VC 7.0 (SP16) doesn't support filter components with access to store data.
    Just when we add an extra output port to the query and deploy it we run into a flex compilation error.
    Has somebody come along with that?
    Kind regards
    Stefan

    Hi
    Why exactly you want another output port. With same output port you can drag multiple filters & restrict the output.
    Creation of second output port is not required.
    If first way is not suitable in your case, then you add that query twice (or multiple times) & pass the same input parameters.
    If still it is not serving the purpose then please elaborate your requirement as what dynamic filter you want.
    Regards
    Sandeep

  • Flex Compiler efficiency

    Hi All,
    is Flex compiler efficient in reusing of code i.e.
    If I write following chunk of code what how these get compiled
    Y=a.y.getTime();
    X=a.y.getTime();
    Whether flex compiler will replace one statement for above two same expressions or not?
    As
    Var time= a.y.getTime();
    Y= time;
    X= time;
    Thanks & Regards,
    Neelam

    This might not be a good example because I doubt that those are  <br />equivalent statements versus calling the function three times.<br /><br />What you're saving here is looking up a, y, getTime, and then calling  <br />a function that may have side effects (which is why I say they are not  <br />equivalent). You'd have to do this three times without keeping the  <br />return value, which is obviously more expensive.<br /><br />You could save some code by using a local function, but it'd have to  <br />be saving a considerable amount of duplication to outweigh the overhead.<br /><br />Jono<br /><br /><br />On Mar 11, 2008, at 2:16 AM, Tom Chiverton <[email protected]>  <br />wrote:<br /><br />> A new message was posted by Tom Chiverton in<br />><br />> Developers --<br />>  Flex Compiler efficiency<br />><br />> On Tuesday 11 Mar 2008, neelam verma wrote:<br />>> Var time= a.y.getTime();<br />>> Y= time;<br />>> X= time;<br />><br />> I remember reading somewhere that you should minimise function calls/ <br />> array<br />> lookups in your code, by doing just this.<br />><br />> -- <br />> Tom Chiverton<br />><br />> ****************************************************<br />><br />> This email is sent for and on behalf of Halliwells LLP.<br />><br />> Halliwells LLP is a limited liability partnership registered in  <br />> England and Wales under registered number OC307980 whose registered  <br />> office address is at Halliwells LLP, 3 Hardman Square,  <br />> Spinningfields, Manchester, M3 3EB.  A list of members is available  <br />> for inspection at the registered office. Any reference to a partner  <br />> in relation to Halliwells LLP means a member of Halliwells LLP.   <br />> Regulated by The Solicitors Regulation Authority.<br />><br />> CONFIDENTIALITY<br />><br />> This email is intended only for the use of the addressee named above  <br />> and may be confidential or legally privileged.  If you are not the  <br />> addressee you must not read it and must not use any information  <br />> contained in nor copy it nor inform any person other than Halliwells  <br />> LLP or the addressee of its existence or contents.  If you have  <br />> received this email in error please delete it and notify Halliwells  <br />> LLP IT Department on 0870 365 2500.<br />><br />> For more information about Halliwells LLP visit www.halliwells.com.<br />><br />><br />> ------------------------------------------------------<br />> View/reply at <a href=http://www.adobeforums.com/webx?13@@.59b4a370/0><br />> Replies by email are OK.<br />> Use the unsubscribe form at <a href=http://www.adobeforums.com/webx?280@@.59b4a370!folder=.3c060fa3 <br />> > to cancel your email subscription.

  • Flex compiler not using GlobalOptimizer.java?

    hello:
          I dived into the source of the flex compiler and I found that in the package adobe.abc in the Flexsdk/modules/asc/src/adobe/abc.
         as I just use the asc.jar to compile an actionscript file, with the -o2 option on, I found that it optimizes my program well!!
         however, when I read the source code of the mxmlc, I found no sign that the bytecode generated was optimized?why doesn't the compiler use the GlobalOptimizer? is the optimizer not yet completed or just as It did , but I haven't fount it?
         and in the GlobalOptimizer.java, what is the Plugin?
         any suggestions or references are appreciated.
         Thanks!!   ^_^

    I figured out the problem.  You have to Export the release build for the project and use that version of the swf.  I was using the version built by default when you work on the project.  Don't quite know what the difference is, but it works now.

  • Flex Compiler Error

    If I have a project in Flash Builder 4.6 that uses a specifc (custom) SDK name, that same project will see an error when you attempt to import it into Flash Builder 4.7. The project folder will show an X, indicating the original SDK cannot be found. Furthermore, when you try to correct this issue by going to Properties > Flex Compiler it just shows an error message. It should allow you to simply select the SDK for this project but due to the SDK conflict, it improperly removes ALL options to change the SDK and, instead, gives a text error message. This means it cannot be imported at all.
    There are two solutions to resolve this:
    1. You must go back to FB 4.6, assign the project an SDK known in both FB 4.6 and FB 4.7 (such a 4.6.0), resave it in FB 4.6 then import it again in FB 4.7 (where the SDK is recognized)
    2. You must import the custom SDK in FB 4.7 BEFORE you attempt to import the FB 4.6 project that uses it.
    Again, what needs to be fixed:
    FB 4.7 needs to properly provide the Flex Compiler section where the user can change the SDK. It needs to provide this screen even if there is an SDK conflict where FB cannot find the original SDK used for the project.

    Hi Jason, I was not able to repro the issue. Does this happen with the latest beta. Can you attach the project file?

Maybe you are looking for

  • This iPod cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes and then reinstall it again

    I tried yesterday to install iTunes on a XP Services Pack 3 Pc, It said that it couldn't install it. So after much reading last night, i downloaded Revo Uninstaller Pro, and uninstalled all apple software, included Bonjour, Quicktime and Apple Suppor

  • Tutorial on ADF Faces/Toplink

    I'm in the process of evaluating JDev 10.1.3, with particular focus on ADF Faces. I'm not seeing some simple examples that combine the use of ADF Faces and Toplink, and my ignorant attempts to combine the two have resulted only in frustration. Has an

  • Playback of file causes appletv to reboot

    i converted a whole batch of tv episodes, all converted using the same program and the same preset. they are all a 4:3 ratio and were converted from DVD. now, it appears that some have a resolution of 788x576 and some are 788x592. now, for some reaso

  • ITunes eats up CPU

    My iTunes eats up CPU (95%-142%) while converting from MP3 to AAC!? 18 tracks (134 MB) is not to much I assume! Fans on my MacBook Pro 17" are working non-stop (at 5800-6000 min.Speed) during this "operation"! Is there a particular reason or there is

  • Monitoring long ops in OEM10g

    Folks We were able to monitor long SQL operations using OEM 9i. You could easily identify long op SQL and drill down to obtain the TAB which estimated the time for the query operation to complete. I have not been able to discover the same capability