ErikPettersson / moonshineproject

Automatically exported from code.google.com/p/moonshineproject
0 stars 0 forks source link

What about Linux? #167

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What about Linux version :)

Original issue reported on code.google.com by sindneymail on 2 Jan 2011 at 1:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Compiled in Windows and run in Linux works, but you have to do something.

You need a AdobeFlexSDK and AdobeAIRSDK, fists unpack Flex to /opt, next unpack 
Air to /tmp and copy all files to Flex directory.
You must override all Flex files because Flex have mess up with Linux Air 
binaries.

Now we need a flash player.

cd /opt/flex*/
mkdir flashplayer
tar -xzvOf runtimes/player/10.1/lnx/flashplayerdebugger.tar.gz > 
flashplayer/flashplayerdebugger
chmod +x flashplayer/flashplayerdebugger
sudo ln -s `pwd`/flashplayer/flashplayerdebugger /usr/bin/flashplayerdebugger

You must also associate swf files with flashplayerdebugger.

Now time to MoonShineProject.

Copy directories moonshine_logo and templates from ide/src/assets to 
ide/bin/assets.
And simply run it:

cd path_to_moonshineproject/ide
/opt/flex*/bin/adl -profile extendedDesktop src/Moonshine-app.xml bin

Now you must only set flex path in MoonShineProject, file->setting->MXMLC 
Compiler Plugin and click save.

Thats all, now u can compile and run AS3 project.

I attach a screenshot.

Original comment by skynet1...@gmail.com on 7 Jan 2011 at 6:51

Attachments:

GoogleCodeExporter commented 8 years ago
thanks!

Original comment by sindneymail on 7 Jan 2011 at 11:37

GoogleCodeExporter commented 8 years ago
Should be possible to put out a proper Linux build as well, so you'd only have 
to download & run it.

I assume some fiddling would be required to make AIR run (at least one would 
have to install it).

skynet1, you are more than welcome to maintain a Linux binary if you'd want to.

Original comment by petterson.erik@gmail.com on 30 May 2011 at 10:45

GoogleCodeExporter commented 8 years ago
hi. I try to do above instruction. but not do well.
Which version is used? 

I test:

air2.0.3sdk and flex_sdk_4.5.1.21328.zip
air2.6sdk and flex_sdk_4.5.1.21328.zip

both result:
$ /opt/flex/bin/adl -profile extendedDesktop src/Moonshine-app.xml bin
initial content not found

ummm...adobe air for linux support is deperecated
when relese 2.7 since 2011 june. Is it now difficult building in linux?

Thanks for any helps.

Original comment by hoisa...@gmail.com on 24 Oct 2011 at 2:43

GoogleCodeExporter commented 8 years ago
@petterson
Strange but have not received an Email with notification of your reply. :(

I do not work as a programmer as3/flex, so sorry but I can not take support for 
linux moonshineproject.

@hoisa
You have to compile the project using FlashDevelop, unfortunately, is only 
available on windows.

Instructions that I wrote, concerns run moonshineproject on linux.

In theory, you can compile moonshineproject on Linux, but you have to add paths 
to all libraries.

My copy of project was located in /tmp/moonshineproject-read-only
Copy the attached file to /tmp/moonshineproject-read-only/ide/obj, and 
optionally correct path.

compile:
cd /tmp/moonshineproject-read-only/ide
path_to_flex/bin/amxmlc -load-config obj/MoonshineConfig.xml -- 
src/Moonshine.mxml

But I receives error:
/tmp/moonshineproject-read-only/ide/src/Moonshine.mxml(10): Error: Could not 
resolve <mx:WindowedApplication> to a component implementation.

I probably forgot to add a library, now I do not use flex so I can not remember 
what there missing.

Original comment by skynet1...@gmail.com on 24 Oct 2011 at 5:28

Attachments:

GoogleCodeExporter commented 8 years ago
Which Flashdevelop version is used?
I try to do 4.00RC, but I met ambigious error...

col: 1 Error: Overriding a function that is not marked for override. 
package com.moonshineproject.plugin.findreplace.view 
^

Original comment by hoisa...@gmail.com on 24 Oct 2011 at 5:49

GoogleCodeExporter commented 8 years ago
Version of FlashDevelop does not matter.

Try with Flex 4.1 should compile.

Original comment by skynet1...@gmail.com on 24 Oct 2011 at 10:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks for response.
I'm confirm too same error in xubuntu 11.10 and osx 10.6.

osx error:

$ ../../flex_sdk_4.1.0.16076/bin/amxmlc -load-config obj/MoonshineConfig.xml -- 
src/Moonshine.mxml
Loading configuration file /Users/toddw/moonshine/ide/obj/MoonshineConfig.xml
Initial setup: 16ms
start loading swcs 11ms Running Total: 27ms
Loaded 6 SWCs: 460ms
precompile: 736ms
/Users/toddw/moonshine/ide/src/Moonshine.mxml(10): Error: 
Could not resolve <mx:WindowedApplication> to a component implementation.

    >

Original comment by hoisa...@gmail.com on 25 Oct 2011 at 2:07

Attachments: