Attempting to work with potomac and flex 4.5.1
Hi,
I know that the Potomac framework isn't working yet with 4.5.1, but
I was hoping to work with it myself to attempt to investigate if I
could help out with getting it to work. Right now I keep
encountering errors where it's looking for
sdk/4.5.1/frameworks/libs/flex.swc, which doesn't exist. Is there a
different SDK I should obtain from Adobe? Or is there some way to
make it not need flex.swc?
2 Posted by Ken on 30 Aug, 2011 02:47 PM
I've found that it needs to be looking for core.swc, as the name was changed between Flex 4 and 4.5. What I can't find is where it's getting the flex.swc name from to change it.
Support Staff 3 Posted by Chris on 30 Aug, 2011 05:03 PM
Hi Ken,
That is hardcoded in the Potomac plugins for FB. You'll need to be
comfortable with Eclipse plugin development to change that. Once you
do you will start running into other issues that all are caused by a
change in how styles are being compiled in. Potomac relies on the keep-
all-typeselectors compiler arg and from what we've gathered... It
doesnt work in 4.5. We believe its an Adobe bug or oversight.
Regards
Chris
4 Posted by jlispan on 01 Sep, 2011 03:06 PM
Hi Ken,
I update the plugin in FB 4.5 and recompile the potomac source code.
Every project depend on new potomac library complied with no errors but run the application.
I got the error message "VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory", then many others error message.
I didn't know how to get it, so I ended the work.
Regards
Jlispan
5 Posted by Marcelo on 01 Nov, 2011 02:46 PM
I've just copy the core.swc and rename it with flex.swc. It's working fine now.
It's necessary that the potomac developers correct this problem, or someone else with the source access.
Support Staff 6 Posted by Chris on 01 Nov, 2011 10:41 PM
Hi Marcelo,
Please confirm that everything is working. We had investigating this deeply and that wasn't sufficient in our testing. Perhaps recent builds of the SDK have resolved the main blocking issue.
Regards,
-Chris
7 Posted by Ken on 02 Nov, 2011 01:37 PM
After making the changes to the swc file name in August I wasn't able to get the plugin to rebuild, there's been major structural changes to the AbcClass interface and As3Class class in 4.5.1, and unfortunately Adobe made the As3Class final and the data that the plugin needs private to that class. I wasn't able to pursue it further than that, didn't have the time to keep working on a task that we didn't know how long it would take to complete.
8 Posted by dnl.guerrero on 16 Feb, 2012 02:48 AM
Hi.
Is anyone working on this issue or can provide some more info that can help to estimate the its complexity.
Reards,
Daniel