You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Oleg Sivokon (Created) (JIRA)" <ji...@apache.org> on 2012/04/06 01:54:21 UTC

[jira] [Created] (FLEX-41) Create binary RPM/DEB package

Create binary RPM/DEB package
-----------------------------

                 Key: FLEX-41
                 URL: https://issues.apache.org/jira/browse/FLEX-41
             Project: Apache Flex
          Issue Type: New Feature
         Environment: Linux
            Reporter: Oleg Sivokon
            Assignee: Bertrand Delacretaz


Today's distribution and installation process on Linux is lacking. It is incomplete in these areas:
- none of SDK command line utilities is being registered for the fast access on command line.
- no cooperation with package managers (such as dpkg).
- the content is offered in single piece, while it could be divided into smaller parts and downloaded / installed separately upon request.

There are (or seem to be) legal limitations, which are beyond my understanding, but I hope this ticket will help resolving them.

Structure:

Typically packages are provided as:
- binaries.
- developers edition (or source).
- documentation.

Flex SDK is relatively large download, which may be divided into several pieces:
1. - utilities required for compiling ActionScript code, generating documentation, automatic builds (Ant task).
2. - packaging for AIR and mobile devices.
3. - framework of various ActionScript components, or rather frameworks.
4. - testing / automation framework.

I propose to arrange the packages thus in the following groups:
flex (group 1).
flex-dev (group 1 + corresponding sources).
flex-air (group 2)*
flex-air-dev (group 2 + corresponding sources)*
flex-framework (group 3)
flex-framework-dev (group 3 + corresponding sources)
flex-testing (testing framework and sources)
flex-doc (documentation including both the commandline utilities, the framework components, AIR / mobile utilities and testing).

* - I'm not sure about this particular part, as AIR on Linux was discontinued.

Suggested install would be: flex-framework-dev (this roughly equals to what is being distributed currently).

The flex package would take care of installing mxmlc, compc, fdb, fcsh and asdoc (not sure about the rest) with the rest of the binaries, set FLEX_HOME and FLEX_LIB and perform other checks required for the SDK to function properly (such as ensuring proper Java version). *-dev version would need to ensure proper JDK version and Ant.
Similarly, flex-air would install adl / adt.

Some things to wish for:
Man/info pages for command line utilities

Goodies (absolutely not obligatory, but good to have):
- syntax file(s) for Vi[m]
- eLisp files for Emacs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Created] (FLEX-41) Create binary RPM/DEB package

Posted by Left Right <ol...@gmail.com>.
On Fri, Apr 6, 2012 at 2:33 AM, Abdul Sattar <sa...@gmail.com> wrote:

> Is there an ALL IN ONE package in your suggestion or it will be
> discontinued?
>
> Abdul Sattar
> (Director IT & Operations)
> 0321-6433805
> www.powersoft.com.pk
>

In a nutshell, packages declare dependencies. So, for example, if you have
bare bones install, and you want to, for example, install Ant, then, once
you do apt-get install ant, it will discover that it needs Java to run and
will also install Java, or if not possible to install will alert you, that
you need to install it.
So, for example, if you are going to run test before commit (to SDK
repository), you would need testing environment, frameworks, framework
sources, compilers and AIR sources / binaries (because you need to know
your commit won't break them too). So, if you install flex-testing, you get
all the code there is in the repository.

There is another option of only source distribution with no binaries (not
sure if it will be of much interested), but if such option existed you
could also, for example, install only sources and compile yourself - in
this way skipping the install of binaries.

Best.

Oleg

Re: [jira] [Created] (FLEX-41) Create binary RPM/DEB package

Posted by Abdul Sattar <sa...@gmail.com>.
Is there an ALL IN ONE package in your suggestion or it will be
discontinued?

Abdul Sattar
(Director IT & Operations)
0321-6433805
www.powersoft.com.pk