You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by du...@starbucksoftware.com on 2015/12/22 13:07:09 UTC

Flex-sdk on linux

Hi,

I am new to the mailing list. I have read in the archives that there was
some effort to imporove support for linux. I know that the main mark on
using flex-sdk on linux is that it depends on Adobe Air which has not
been supported for linux since version 2.6. The following thread makes
it seem like there isn't a direct dependency on Adobe Air and there was
talk about how to remove the dependency:
http://apache-flex-users.2333346.n4.nabble.com/Flex-SDK-on-Linux-tc881.html#none

My ultimate goal is to build MIT scratch 2.0 for linux which depends on
flex. My preference is to build this all from source because I am trying
to write an ebuild for the gentoo linux distribution for scratch 2.0 and
dependencies.

I should note that I have never used ant. I am not a java developer, but
I am capable of learning what I need to know.

Thank you for your time in advance.

Sincerely,

Trevor Wilson

Re: AW: Flex-sdk on linux

Posted by du...@starbucksoftware.com.
Hi Christofer,

I think I can live with that. Thanks for the input.

Sincerely,

Trevor Wilson

Re: Flex-sdk on linux

Posted by Philip Keiter <ph...@gmail.com>.
I found that localization/globalization does not work when building on
Linux.

-Philip

On Tue, Dec 22, 2015 at 8:06 AM, Andrew Kerr <ak...@fluid.com> wrote:

> It *is* possible to run FlexUnit tests on Linux (or at least on Ubuntu
> 14.04, where I managed to get it working).  See
> https://github.com/ajkerr/chef-flashprojector.
>
> On Tue, Dec 22, 2015 at 8:15 AM, Christofer Dutz
> <ch...@c-ware.de> wrote:
> >
> > We also build Flex applications on Linux ... the only thing you actually
> can't do is have FlexUnit tests run in the Flashplayer or using The Air
> Debug Launcher ...
> >
> > Chris
> >
> > ________________________________________
> > Von: Tom Chiverton <tc...@extravision.com>
> > Gesendet: Dienstag, 22. Dezember 2015 13:39
> > An: users@flex.apache.org
> > Betreff: Re: Flex-sdk on linux
> >
> > If all you want to do is build a project that uses Apache Flex, then you
> > can use the binary distribution of the Apache Flex SDK :
> > http://flex.apache.org/download-binaries.html
> > and the ant (a Java based tool) install method :
> >
> https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Ant-basedinstaller
> > which does not need the AIR based installer. No need to be an ant guru !
> >
> > This will get you a functioning Apache Flex SDK on Linux.
> >
> > It would be interesting to see how you get on with Scratch.
> >
> > Tom
> >
> > On 22/12/15 12:07, dustfinger@starbucksoftware.com wrote:
> >> Hi,
> >>
> >> I am new to the mailing list. I have read in the archives that there was
> >> some effort to imporove support for linux. I know that the main mark on
> >> using flex-sdk on linux is that it depends on Adobe Air which has not
> >> been supported for linux since version 2.6. The following thread makes
> >> it seem like there isn't a direct dependency on Adobe Air and there was
> >> talk about how to remove the dependency:
> >>
> http://apache-flex-users.2333346.n4.nabble.com/Flex-SDK-on-Linux-tc881.html#none
> >>
> >> My ultimate goal is to build MIT scratch 2.0 for linux which depends on
> >> flex. My preference is to build this all from source because I am trying
> >> to write an ebuild for the gentoo linux distribution for scratch 2.0 and
> >> dependencies.
> >>
> >> I should note that I have never used ant. I am not a java developer, but
> >> I am capable of learning what I need to know.
> >>
> >> Thank you for your time in advance.
> >>
> >> Sincerely,
> >>
> >> Trevor Wilson
> >>
> >> ______________________________________________________________________
> >> This email has been scanned by the Symantec Email Security.cloud
> service.
> >> For more information please visit http://www.symanteccloud.com
> >> ______________________________________________________________________
> >>
> >
>
>
>
> --
> Andrew Kerr
>

Re: Flex-sdk on linux

Posted by Andrew Kerr <ak...@fluid.com>.
It *is* possible to run FlexUnit tests on Linux (or at least on Ubuntu
14.04, where I managed to get it working).  See
https://github.com/ajkerr/chef-flashprojector.

On Tue, Dec 22, 2015 at 8:15 AM, Christofer Dutz
<ch...@c-ware.de> wrote:
>
> We also build Flex applications on Linux ... the only thing you actually can't do is have FlexUnit tests run in the Flashplayer or using The Air Debug Launcher ...
>
> Chris
>
> ________________________________________
> Von: Tom Chiverton <tc...@extravision.com>
> Gesendet: Dienstag, 22. Dezember 2015 13:39
> An: users@flex.apache.org
> Betreff: Re: Flex-sdk on linux
>
> If all you want to do is build a project that uses Apache Flex, then you
> can use the binary distribution of the Apache Flex SDK :
> http://flex.apache.org/download-binaries.html
> and the ant (a Java based tool) install method :
> https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Ant-basedinstaller
> which does not need the AIR based installer. No need to be an ant guru !
>
> This will get you a functioning Apache Flex SDK on Linux.
>
> It would be interesting to see how you get on with Scratch.
>
> Tom
>
> On 22/12/15 12:07, dustfinger@starbucksoftware.com wrote:
>> Hi,
>>
>> I am new to the mailing list. I have read in the archives that there was
>> some effort to imporove support for linux. I know that the main mark on
>> using flex-sdk on linux is that it depends on Adobe Air which has not
>> been supported for linux since version 2.6. The following thread makes
>> it seem like there isn't a direct dependency on Adobe Air and there was
>> talk about how to remove the dependency:
>> http://apache-flex-users.2333346.n4.nabble.com/Flex-SDK-on-Linux-tc881.html#none
>>
>> My ultimate goal is to build MIT scratch 2.0 for linux which depends on
>> flex. My preference is to build this all from source because I am trying
>> to write an ebuild for the gentoo linux distribution for scratch 2.0 and
>> dependencies.
>>
>> I should note that I have never used ant. I am not a java developer, but
>> I am capable of learning what I need to know.
>>
>> Thank you for your time in advance.
>>
>> Sincerely,
>>
>> Trevor Wilson
>>
>> ______________________________________________________________________
>> This email has been scanned by the Symantec Email Security.cloud service.
>> For more information please visit http://www.symanteccloud.com
>> ______________________________________________________________________
>>
>



-- 
Andrew Kerr

AW: Flex-sdk on linux

Posted by Christofer Dutz <ch...@c-ware.de>.
We also build Flex applications on Linux ... the only thing you actually can't do is have FlexUnit tests run in the Flashplayer or using The Air Debug Launcher ... 

Chris

________________________________________
Von: Tom Chiverton <tc...@extravision.com>
Gesendet: Dienstag, 22. Dezember 2015 13:39
An: users@flex.apache.org
Betreff: Re: Flex-sdk on linux

If all you want to do is build a project that uses Apache Flex, then you
can use the binary distribution of the Apache Flex SDK :
http://flex.apache.org/download-binaries.html
and the ant (a Java based tool) install method :
https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Ant-basedinstaller
which does not need the AIR based installer. No need to be an ant guru !

This will get you a functioning Apache Flex SDK on Linux.

It would be interesting to see how you get on with Scratch.

Tom

On 22/12/15 12:07, dustfinger@starbucksoftware.com wrote:
> Hi,
>
> I am new to the mailing list. I have read in the archives that there was
> some effort to imporove support for linux. I know that the main mark on
> using flex-sdk on linux is that it depends on Adobe Air which has not
> been supported for linux since version 2.6. The following thread makes
> it seem like there isn't a direct dependency on Adobe Air and there was
> talk about how to remove the dependency:
> http://apache-flex-users.2333346.n4.nabble.com/Flex-SDK-on-Linux-tc881.html#none
>
> My ultimate goal is to build MIT scratch 2.0 for linux which depends on
> flex. My preference is to build this all from source because I am trying
> to write an ebuild for the gentoo linux distribution for scratch 2.0 and
> dependencies.
>
> I should note that I have never used ant. I am not a java developer, but
> I am capable of learning what I need to know.
>
> Thank you for your time in advance.
>
> Sincerely,
>
> Trevor Wilson
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>


Re: Flex-sdk on linux

Posted by du...@starbucksoftware.com.
Hi Tom,

Thank you for your quick response. I will create an ebuild for the
flex-sdk binary and make that a dependency of the scratch ebuild. Thank
you for your direction.

I will post back when the ebuilds are ready incase anyone is interested.

Sincerely,

Trevor Wilson

Re: Flex-sdk on linux

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Trevor,

The main question is whether you are building an AIR app or not. Is you
are, then you will not be able to use Linux as a build machine.

If you are building a web Flex app,  you can use Linux as a build machine.

In this case, what I have done is this.   Use the Installer on Windows or
Mac and create an IDE compatible Flex SDK.  Then, simply copy this
installed SDK to your Linux machine.   In your build scripts change the SDK
directory appropriately.   The builds should just work.

I have a CI server with a Jenkins instance on a Linux box that builds my
web Flex app on every checkin. Works like a charm!

Thanks,
Om
On Dec 23, 2015 7:52 AM, "Alex Harui" <ah...@adobe.com> wrote:

> IMO, there is a difference between requiring Adobe AIR runtime to run the
> installer, and having the installation download and set up the Adobe AIR
> SDK.
>
> -Alex
>
> On 12/23/15, 4:21 AM, "dustfinger@starbucksoftware.com"
> <du...@starbucksoftware.com> wrote:
>
> >Hi Tom,
> >
> >I am a little confused about the instructions from
> >
> https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Install
> >ationhelp-Ant-basedinstaller. It
> >says that the ant based installer does not require adobe air, but then a
> >few lines down it reads:
> >---
> >Now enter the unpacked directory and run the installer. You will need to
> >tell it to download the last version of the AIR SDK that ran on
> >Linux. You can leave this argument off on other platforms.
> >
> >cd apache-flex-sdk-4.12.0-bin/
> >
> >ant -f installer.xml -Dair.sdk.version=2.6
> >---
> >It appears to ask the reader to download the last version of adobe-air
> >that was
> >released for linux. At least, it looks like that is what the instructions
> >are telling
> >ant to do. Doesn't that contradict the previous statement that the ant
> >installer does not require adobe-air?
> >
> >If it is the case that the ant based installer is just downloading
> >adobe-air for me then is just as easy for me to
> >download the old adobe air src and compile everything.
> >
> >Please let me know if you think I am miss-interpreting something.
> >
> >Sincerely,
> >
> >Trevor Wilson
>
>

Re: Flex-sdk on linux

Posted by Alex Harui <ah...@adobe.com>.
IMO, there is a difference between requiring Adobe AIR runtime to run the
installer, and having the installation download and set up the Adobe AIR
SDK.

-Alex

On 12/23/15, 4:21 AM, "dustfinger@starbucksoftware.com"
<du...@starbucksoftware.com> wrote:

>Hi Tom,
>
>I am a little confused about the instructions from
>https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Install
>ationhelp-Ant-basedinstaller. It
>says that the ant based installer does not require adobe air, but then a
>few lines down it reads:
>---
>Now enter the unpacked directory and run the installer. You will need to
>tell it to download the last version of the AIR SDK that ran on
>Linux. You can leave this argument off on other platforms.
>
>cd apache-flex-sdk-4.12.0-bin/
>
>ant -f installer.xml -Dair.sdk.version=2.6
>---
>It appears to ask the reader to download the last version of adobe-air
>that was
>released for linux. At least, it looks like that is what the instructions
>are telling
>ant to do. Doesn't that contradict the previous statement that the ant
>installer does not require adobe-air?
>
>If it is the case that the ant based installer is just downloading
>adobe-air for me then is just as easy for me to
>download the old adobe air src and compile everything.
>
>Please let me know if you think I am miss-interpreting something.
>
>Sincerely,
>
>Trevor Wilson


Re: Flex-sdk on linux

Posted by Tom Chiverton <tc...@extravision.com>.
It isn't. Adobe AIR's dependencies are so old you probably wont be able 
to find them in a modern Linux distribution.

This really is the best way.

Tom

On 23/12/15 12:21, dustfinger@starbucksoftware.com wrote:
> adobe-air for me then is just as easy for me to
> download the old adobe air src and compile everything.


Re: Flex-sdk on linux

Posted by du...@starbucksoftware.com.
Hi Tom,

I am a little confused about the instructions from
https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Ant-basedinstaller. It
says that the ant based installer does not require adobe air, but then a
few lines down it reads:
---
Now enter the unpacked directory and run the installer. You will need to
tell it to download the last version of the AIR SDK that ran on
Linux. You can leave this argument off on other platforms.

cd apache-flex-sdk-4.12.0-bin/

ant -f installer.xml -Dair.sdk.version=2.6
---
It appears to ask the reader to download the last version of adobe-air that was
released for linux. At least, it looks like that is what the instructions are telling
ant to do. Doesn't that contradict the previous statement that the ant
installer does not require adobe-air?

If it is the case that the ant based installer is just downloading
adobe-air for me then is just as easy for me to
download the old adobe air src and compile everything.

Please let me know if you think I am miss-interpreting something.

Sincerely,

Trevor Wilson

Re: Flex-sdk on linux

Posted by Tom Chiverton <tc...@extravision.com>.
If all you want to do is build a project that uses Apache Flex, then you 
can use the binary distribution of the Apache Flex SDK :
http://flex.apache.org/download-binaries.html
and the ant (a Java based tool) install method :
https://cwiki.apache.org/confluence/display/FLEX/Installation+help#Installationhelp-Ant-basedinstaller
which does not need the AIR based installer. No need to be an ant guru !

This will get you a functioning Apache Flex SDK on Linux.

It would be interesting to see how you get on with Scratch.

Tom

On 22/12/15 12:07, dustfinger@starbucksoftware.com wrote:
> Hi,
>
> I am new to the mailing list. I have read in the archives that there was
> some effort to imporove support for linux. I know that the main mark on
> using flex-sdk on linux is that it depends on Adobe Air which has not
> been supported for linux since version 2.6. The following thread makes
> it seem like there isn't a direct dependency on Adobe Air and there was
> talk about how to remove the dependency:
> http://apache-flex-users.2333346.n4.nabble.com/Flex-SDK-on-Linux-tc881.html#none
>
> My ultimate goal is to build MIT scratch 2.0 for linux which depends on
> flex. My preference is to build this all from source because I am trying
> to write an ebuild for the gentoo linux distribution for scratch 2.0 and
> dependencies.
>
> I should note that I have never used ant. I am not a java developer, but
> I am capable of learning what I need to know.
>
> Thank you for your time in advance.
>
> Sincerely,
>
> Trevor Wilson
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>