Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E505FE45 for ; Thu, 13 Nov 2014 22:26:48 +0000 (UTC) Received: (qmail 26135 invoked by uid 500); 13 Nov 2014 22:26:48 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 26099 invoked by uid 500); 13 Nov 2014 22:26:48 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 26087 invoked by uid 99); 13 Nov 2014 22:26:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 22:26:47 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of omuppi1@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-vc0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 22:26:43 +0000 Received: by mail-vc0-f177.google.com with SMTP id ij19so2887926vcb.8 for ; Thu, 13 Nov 2014 14:26:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=PLyfUYvsEetkECkg7uIwSHTp6U/Ok0spGWco54qP3Ec=; b=QoaLYj6dLVriqHjBDkG2BYMpxWmWa4nnYA6U565+Qx+9K7KnUgtfJ1zHoDYTc/Ccak Cn4JwsnodsI5k22TU0yhI90ZIpAAj+Y5LSYdsRYesFWnynWMntDY3sclY1g0W14q6Aqk m8Da/APGCI5YIPJCulsD4VNXr0FWgW73F0ZNKgmvQQhHIH6zlrJkI01UlYGI4hCWnz+q l2auYJP/lTPJQyA4FaRQYjXnNDFXDP0W37BU4WX0nqte/BXtkZ1BAGy28WjTOfeb16tn d5QLuqoidgdnmcTM+QaRpuG9+tLkGxCiWYvYyHOsV/ycsNXWR+1hYIAQzk3eSMyfSQNU 6/8g== X-Received: by 10.220.187.8 with SMTP id cu8mr3957683vcb.31.1415917583071; Thu, 13 Nov 2014 14:26:23 -0800 (PST) MIME-Version: 1.0 Sender: omuppi1@gmail.com Received: by 10.31.54.19 with HTTP; Thu, 13 Nov 2014 14:25:52 -0800 (PST) In-Reply-To: References: <1415891012850.15754@c-ware.de> From: OmPrakash Muppirala Date: Thu, 13 Nov 2014 14:25:52 -0800 X-Google-Sender-Auth: WKQZCz4Tw-9G-7qZZpjsS6FycSQ Message-ID: Subject: Re: [FlexJS] First successful build of a FlexJS application using Flexmojos To: "dev@flex.apache.org" Content-Type: multipart/alternative; boundary=047d7b5d2c3292191d0507c50007 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d2c3292191d0507c50007 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Nov 13, 2014 at 12:57 PM, Harbs wrote: > > The cool thing is that I am currently able to build a FlexJS applicatio= n > on a machine without any Falcon, FalconJX, ASJS, or even a FDK installed. > No need to download any libraries, setup environment variables or > whatsoever. If the Maven artifacts were publicly available, all you would > need to do is run "mvn install". Think this will make things a lot easier > for people wanting to experiment on FlexJS. > > That IS very cool! > > One of these days, I=E2=80=99m going to have to figure out what Maven is= =E2=80=A6 :-p > > Replying here, so that it benefits everyone who has this question. Maven makes building your app easy. If you have Maven installed on your machine, all you have to do is run 'mvn install' from the command line and your app gets built. You just need to have a pom.xml in your project directory. POM stands for 'Project Object Model' where you specify the build params, which plugins to use and which dependencies to download before attempting to build the app. Normally, Maven is used to build Java applications, but it supports a plugin architecture so other technologies (like Flex) can use it as well. Chris has created a plugin (much like the FlexMojos plugin) and has created a mavenized version of Apache Flex SDK (usually called artifacts) He has also worked in Adobe's licensing requirements so that users can accept the license terms for the Flash Player Global and AIR SDK. How does Maven know where to download these artifacts from? You upload it either to a public maven repository (usually http://repo1.maven.org/maven2) or to your own private installation of a maven repo. You specify the url in your local pom.xml file. Chris plans to upload the mavenized form Apache Flex SDK to this server so anyone can use it. Which means, no need for the end user to download the Installer and set things up. When you run 'mvn install' for the first time, maven locates the required artifacts from the given server using the unique artifact id and downloads it to a local cache. After that, it will use the cached version of the artifact until you change it in your pom.xml file. With this release, the barriers to create Flex and FlexJS applications will be reduced further. Some IDEs (ex. IntelliJ) support Maven out of the box. So, with this release, we will most likely get IntelliJ support for FlexJS for free. I have simplified things a bit to keep the explanation short. Please feel free to ask questions or correct me :-) Thanks, Om > Way to go! > > Harbs > > On Nov 13, 2014, at 5:03 PM, Christofer Dutz > wrote: > > > Hi, > > > > > > a few minutes ago I managed to have Flexmojos build the first ever > FlexJS application. > > > > https://www.dropbox.com/s/ab1hsaaqsyowzwr/it-lives.zip?dl=3D0 > > > > [ > https://www.dropbox.com/static/images/icons128/page_white_compressed.png]= < > https://www.dropbox.com/s/ab1hsaaqsyowzwr/it-lives.zip?dl=3D0> > > > > Dropbox - it-lives.zip > > Dropbox is a free service that lets you bring your photos, docs, and > videos anywhere and share them easily. Never email yourself a file again! > > Weitere Informationen...< > https://www.dropbox.com/s/ab1hsaaqsyowzwr/it-lives.zip?dl=3D0> > > > > > > This is a huge step for me. But I have to also report that it will > probably take quite a while until this feature will be in a releasable > state. Currently my build sort of looks like this: > > > > > > > http://www.qsl.net/sp5ddj/kit_w_zawodach_ratownictwo_gornicze_2003.jpg.JP= G > > > > > > and I will have to tweak quite a bit on Flexmojos and especially > FalconJX and FlexJS. > > > > > > But the fist big step is taken :-) > > > > > > The cool thing is that I am currently able to build a FlexJS applicatio= n > on a machine without any Falcon, FalconJX, ASJS, or even a FDK installed. > No need to download any libraries, setup environment variables or > whatsoever. If the Maven artifacts were publicly available, all you would > need to do is run "mvn install". Think this will make things a lot easier > for people wanting to experiment on FlexJS. > > > > ? > > > > Chris > > --047d7b5d2c3292191d0507c50007--