Flex Compiler Question
Hi,
I have several PHP Scripts that I use with my Flex App. I have the PHP files in a subdirectory 'PHP/'. However, when I compile the Application the PHP files are overwritten and are blank. I tried placing the PHP directory in the 'src' source folder so when the app compiles the PHP files will compile much like assets. This method will work for some projects but not for others. How can I configure my application to leave the PHP directory alone without changing the path?
You could create a folder outside the SRC and link this folder to a folder in the file system so your files will be localted where you want them to be.
Similar Messages
-
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!
TobiasHi 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 -
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 KHello 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 -
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 errorCompilation 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
SathishHi
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. -
Flex language questions should go in the General Discussion Forum
This forum is intended for Flex Builder questions.
Of course you can post wherever you like, but if you want
help, go where the helpers are.
Tracycan you define what goes where then?
General discussion sounds like thoughts, comments, hopes and
wishes.
Builder 2, (meaning Flex Builder 2?), seems to be the only
area for other Flex 2 questions.
I don't mean to be wise here, but I personally don't
understand what a "builder 2" question is if not those that deal
with flex 2, such as those posted here. I want to post my questions
where they should be so that I might find help, so maybe the forum
labelling should be re-considered or better defined. -
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
StefanHi
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 -
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,
NeelamThis 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.
-
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?
-
Why do you need to go about linking to services-config.xml in your flex compiler
Why do you need to go about linking to services-config.xml in
your flex compiler when you want to do remoting. It just seems like
a complicated way to do things.Yeah I find this perplexing as well. I'm guessing it has something to do with Opalis origins perhaps.
Would be good to understand why. -
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,
VinayI'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. -
Tutorial for Eclipse/Flex Compiler Development?
Hello,
I cannot find any reliable information on setting up Eclipse with all the right plugins to modify the Flex Compiler. http://www.darronschall.com/weblog/2005/08/setting-up-eclipse-for-flex.cfm is too old, and the others are just unclear.
If anyone could give me a hand that would be great.
- Eclipse version Flex SDK Developers are using.
- Required plugins (I'm on a Mac 10.5)
- How to run a sample Flex SDK Compiler project, or debug it or something, or at least just load it.
I have everything set up (eclipse installed, the flex source installed and ready according to the developer documentation). But this last step is missing. Thanks!
LanceI wouldn't switch if you want to do .NET / SQL Server
development. Most people on Macs who do SQL Server development
either use a remote server or run it in a Windows Virtual Machine.
Important programs are available for both OSes, but without
knowing which ones you use it's hard to say whether you just need
to install the "mac version" or whether you'd need to install a
brand new one. -
FORTE M2 - NT partition compilation question
Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
c:\forte/install/lib/qqDB.lib : fatal error LNK1106: invalid file or disk
cannot seek to 0x38dff853
make[2]: *** [all] Error 1
Any suggestion ? (knowing I got 300 Mo left on drive)
1) Can that offset be translated in bytes ?
2) Does this rely on Oracle Client installation (DB) ?
Thanks,
j-paul gabrielli
sema DTSThanks for the info - installed.
Btw, another point:
can I tell Microsoft that I really like their
installation paths ?
rem
rem Root of Visual Developer Studio Common files.
set VSCommonDir=C:\PROGRA~1\MI017E~1\Common
rem
rem Root of Visual Developer Studio installed files.
rem
set MSDevDir=C:\PROGRA~1\MI017E~1\Common\msdev98
I fear that I cannot consider this as something portable :-/
j-paul
-----Message d'origine-----
De: Adamek, Zenon [mailto:ZAdamekpurolator.com]
Date: mardi 30 mai 2000 15:39
À: 'Jean-Paul.Gabriellisema.fr'
Cc: kamranaminyahoo.com
Objet: RE: (forte-users) FORTE M2 - NT partition compilation question
Hi
You are using the wrong version (5.0) of MSVC++. Forte version M requires
the MSVC++ 6.0 compiler (Linker Version 6.00). See technote 12083.
Zenon Adamek
Purolator
-----Original Message-----
From: Jean-Paul Gabrielli [SMTP:Jean-Paul.Gabriellisema.fr]
Sent: Tuesday, May 30, 2000 9:34 AM
To: Forte User Group
Subject: (forte-users) FORTE M2 - NT partition compilation question
Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
c:\forte/install/lib/qqDB.lib : fatal error LNK1106: invalidfile or disk
cannot seek to 0x38dff853
make[2]: *** [all] Error 1
Any suggestion ? (knowing I got 300 Mo left on drive)
1) Can that offset be translated in bytes ?
2) Does this rely on Oracle Client installation (DB) ?
Thanks,
j-paul gabrielli
sema DTS
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe,send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
Maybe you are looking for
-
A665-s6050 will either go to sleep or shut down without any notice
I am at a lost and, of course, my warranty expired in July. Last week my laptop would just literally shut down by itself. Then when restarting it would just shut down again. The system then starting going straight through to see if it could fix why
-
I bought a video and it says i have no videos to watch on my laptop
hi i bought some videos from i tunes and it was from i tunes i logg on throught my computer and it says i have no videos but when i logg on with my phone it says there still on my account i wanna watch it through my computer thou how can i fix this
-
After ios 7 problems with cloud
Iphone keep asking me to agree with I cloud terms and conditions but I can not find where it is and how i agree on ios7 I press to go to terms and conditions they send me to Icloud account but there is no terms to agree there What i need to do to st
-
Hi, I have a JMS client running on J2EE. When I launch my application through JWS, I get a "java.lang.NoClassDefFoundError: javax/jms/Message". It seems that the J2EE classes are not found. Can anyone help me with this. Thank you very much. Need help
-
How can I get into my phone if I cant use the touch screen?
I went to go use my phone and when I attempted to get to the screen to type in my passcode, the area to swipe didnt work. The only feature that "works" is the little arrow on the bottom to get to the brightness feature, etc. I cannot turn my phone of