== Eclipse ¿¡¼­ Flex »ç¿ëÇϱâ == * http://www.brighthub.com/hubfolio/matthew-casperson/articles/78818.aspx * step1 * /home/tcheun/Downloads/FB4, /home/tcheun/Downloads/AFB4 * step2 * /home/tcheun/Downloads/eclipse/matthew/plugins.zip * cd eclipse/plugins * cp /home/tcheun/Downloads/matthew/*.jar . * ÀÌ¹Ì plugins ¿¡ ´Ù¸¥ ¹öÀüÀÌ ÀÖÀ½. * http://www.ibm.com/developerworks/library/os-ecl-manage/ * help -> software updates ¾øÀ½ * window -> preferences -> general - appearence - capabilities -> classic updates check * apply -> ok * cd .. * ./eclipse * step 12 * make flash project * http://tboxmy.blogspot.com/2011/03/flex-4-on-eclipse-galileo-for-linux.html * step 4 * flex4 ÀÇ ¹®Á¦? * flash player ÀÇ ¹®Á¦? {{{ tcheun@enk:~/Downloads/eclipse-flex$ ./eclipse **** Error logged by plugin: org.eclipse.ui.workbench **** Unable to create view ID com.adobe.flexbuilder.mxml.editor.AppearanceView: (class: com/adobe/flexbuilder/mxml/editor/views/appearance/ApplicationPropertiesModel, method: getEditor signature: ()Lcom/adobe/flexbuilder/editorcore/editor/CodeAndDesignEditor;) Wrong return type in function Throwable: java.lang.VerifyError: (class: com/adobe/flexbuilder/mxml/editor/views/appearance/ApplicationPropertiesModel, method: getEditor signature: ()Lcom/adobe/flexbuilder/editorcore/editor/CodeAndDesignEditor;) Wrong return type in function java.lang.VerifyError: (class: com/adobe/flexbuilder/mxml/editor/views/appearance/ApplicationPropertiesModel, method: getEditor signature: ()Lcom/adobe/flexbuilder/editorcore/editor/CodeAndDesignEditor;) Wrong return type in function at com.adobe.flexbuilder.mxml.editor.views.appearance.AppearanceView.getDefaultApplicationPropertiesModel(AppearanceView.java:323) at com.adobe.flexbuilder.mxml.editor.views.appearance.AppearanceView.createStyleContent(AppearanceView.java:298) at com.adobe.flexbuilder.mxml.editor.views.appearance.AppearanceView.createStyleGroup(AppearanceView.java:283) at com.adobe.flexbuilder.mxml.editor.views.appearance.AppearanceView.createMainControl(AppearanceView.java:466) at com.adobe.flexbuilder.mxml.editor.views.AbstractDesignOnlyView.createPartControl(AbstractDesignOnlyView.java:125) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:529) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207) at org.eclipse.ui.internal.PartStack.updateContainerVisibleTab(PartStack.java:1657) at org.eclipse.ui.internal.PartStack.remove(PartStack.java:875) at org.eclipse.ui.internal.PartStack.replace(PartStack.java:920) at org.eclipse.ui.internal.PerspectiveHelper.removePart(PerspectiveHelper.java:1231) at org.eclipse.ui.internal.Perspective.hideView(Perspective.java:602) at org.eclipse.ui.internal.WorkbenchPage.hideView(WorkbenchPage.java:2387) at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.showViews(CodeAndDesignViewManager.java:679) at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.access$4(CodeAndDesignViewManager.java:632) at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener$1.run(CodeAndDesignViewManager.java:607) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) ******************************************* }}} * mx:lebel ¿¡ / Ãß°¡ * ¿À·ù ¾ø¾îÁü. * flash player À» ¼³Ä¡ Ãß°¡ ÇÑ ÈÄÀÇ »óÅ Á¡°Ë * flash pyer ¼³Ä¡ * http://www.brighthub.com/hubfolio/matthew-casperson/articles/78818.aspx * step 12-13 * http://kb2.adobe.com/cps/142/tn_14266.html * Flash Player 10.1 (81.7 MB) * Flash Player 10.1 (debugger versions) (65.4 MB) * tar zxvf flashplayer_10_1r82_76_linux.tar.gz * tar zxvf flashplayer_10_1r82_76_linux_sa.tar * tar zxvf flashplayer_10_1r82_76_linux_debug.tar.gz * tar zxvf flashplayer_10_1r82_76_linux_sa_debug.tar.gz * mkdir flashplayer {{{ tcheun@debian:~/Download/flashplayer$ ls -l ÇÕ°è 21668 -rwxr-xr-x 1 tcheun tcheun 10199436 2010-07-28 16:57 flashplayer -rwxr-xr-x 1 tcheun tcheun 11950976 2010-07-28 16:56 libflashplayer.so }}} * mkdir flashplayer_debug {{{ tcheun@debian:~/Download/flashplayer_debug$ ls -l ÇÕ°è 23732 -rwxr-xr-x 1 tcheun tcheun 11195240 2010-07-28 16:57 flashplayerdebugger -rwxr-xr-x 1 tcheun tcheun 13063388 2010-07-28 16:57 libflashplayer.so }}} * after step 13 * run ½ÃŲ ÈÄ X icon À¸·Î ³¡³»¸é ÀÌ»ó ¾øÀ½. * run ½ÃŲ ÈÄ file -> Á¾·á·Î ³¡³»¸é error {{{ (flashplayerdebugger:12274): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (flashplayerdebugger:12274): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed }}} * http://tboxmy.blogspot.com/2011/03/flex-4-on-eclipse-galileo-for-linux.html * step 4 * http://www.jasoft.fi/?page=frontpage&entry=Flash-development-on-Linux-%B7-Setting-up-the-environment * http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html {{{ }}} * adobe air À» ¼³Ä¡ÈÄ ¼º°ø * eclipse * file -> new -> project... -> Flash Builder -> Flex Project -> next * click Configure Flex SDKs... * add -> browse -> /home/tcheun/Downloads/Flex -> ok * check Flex 4.1 -> apply -> ok * Project name: HelloFlex * check Desktop (runs in Adobe AIR) * finish * Switch to the flash perspective -> yes * add À§ÀÇ mxml * File -> save * debug as * Desktop application -> ok === adobe air === * http://www.selikoff.net/2010/06/28/installing-the-adobe-air-2-sdk-in-eclipse/ * download from http://get.adobe.com/kr/air/ * dpkg -i adobeair.deb * download from http://www.adobe.com/products/air/sdk/ * AdobeAIRSDK.tbz2 * bunzip2 AdobeAIRSDK.tbz2 * tar xvf AdobeAIRSDK.tar {{{ root@enk:/home/tcheun/Downloads/air# ls AIR SDK Readme.txt AdobeAIRSDK.tar frameworks lib samples AIR SDK license.pdf bin include runtimes templates }}} === flash player in epiphany === * http://www.debian-administration.org/article/Flashplayer_for_epiphany * download from http://get.adobe.com/kr/flashplayer/ * fp10.1_archive.zip * cd /usr/lib/mozilla/plugins * cp /home/tcheun/Download/flashplayerzip/fp10.1_archive/10_1r82_76/libflashplayer.so .