Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9DC2EADB for ; Sat, 23 Feb 2013 05:04:56 +0000 (UTC) Received: (qmail 59077 invoked by uid 500); 23 Feb 2013 05:04:56 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 59030 invoked by uid 500); 23 Feb 2013 05:04:55 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 59009 invoked by uid 99); 23 Feb 2013 05:04:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2013 05:04:55 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aharui@adobe.com designates 64.18.1.78 as permitted sender) Received: from [64.18.1.78] (HELO exprod6og127.obsmtp.com) (64.18.1.78) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2013 05:04:47 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob127.postini.com ([64.18.5.12]) with SMTP ID DSNKUShN2AuZMowkFfXI47EzJ/1aXrydbIZi@postini.com; Fri, 22 Feb 2013 21:04:25 PST Received: from inner-relay-1.corp.adobe.com (inner-relay-1.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r1N54MnT003553 for ; Fri, 22 Feb 2013 21:04:23 -0800 (PST) Received: from nahub02.corp.adobe.com (nahub02.corp.adobe.com [10.8.189.98]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r1N54LAV013356 for ; Fri, 22 Feb 2013 21:04:22 -0800 (PST) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nahub02.corp.adobe.com ([10.8.189.98]) with mapi; Fri, 22 Feb 2013 21:04:22 -0800 From: Alex Harui To: "users@flex.apache.org" Date: Fri, 22 Feb 2013 21:04:20 -0800 Subject: Re: Install question Thread-Topic: Install question Thread-Index: Ac4RbZFmqbrsepkWTAytOFbhfcmerwAFat7M Message-ID: In-Reply-To: <3A722DC5-3DA8-4DC6-AE66-1E9CA27CBCCD@aligned.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.15.0.121009 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Are you saying you ran the first command line and the response was a list o= f "Available Options"? I tried an equivalent command-line on Mac and it worked for me. I noticed you are not installed in the default location. Maybe there is an older version around somewhere? On 2/22/13 6:28 PM, "Joe Kryzak" wrote: > Hi Om - >=20 > The mac binary doesn't recognize the option - >=20 > $ ./Install\ Apache\ Flex\ SDK\ Installer > -config=3D/home/jk/Downloads/sdk-installer-config-2.0.xml > Available Options: -silent { -eulaAccepted ( -location ) > -desktopShortcut -programMenu -allowDownload } >=20 > I'm in >=20 > /Applications/Install Apache Flex SDK Installer.app/Contents/MacOS >=20 > I also tried to invoke with 'open', but it dies instantly: >=20 > open -a /Applications/Install\ Apache\ Flex\ SDK\ Installer.app --args > -config=3Dsdk-installer-config-2.0.xml >=20 >=20 > On Feb 22, 2013, at 11:45 AM, Om wrote: >=20 > Here are the steps: >=20 > 1. Download and install the released Installer from here: > flex.apache.org/installer > 2. Download the file from > http://flex.apache.org/sdk-installer-config-2.0.xml to your hard disk (ex= . > to: c:/sdk-installer-config-2.0.xml ) > 3. Open c:/sdk-installer-config-2.0.xml and modify the xml node for > FlashPlayer: >=20 > from: >=20 > http://fpdownload.macromedia.com/get/flashplayer/updaters/11/" file=3D"* > playerglobal11_1.swc*" version=3D"*11.1*"/> >=20 > to: >=20 > http://fpdownload.macromedia.com/get/flashplayer/updaters/11/" file=3D"* > playerglobal11_5.swc*" version=3D"*11.5*"/> >=20 > 4. Save the file: c:/sdk-installer-config-2.0.xml > 5. From the command line, invoke the Installer using an argument like th= is: >=20 > C:\Program Files (x86)\Apache Flex\Apache Flex SDK Installer>*"Apache Fle= x > SDK Installer.exe" -config=3Dc:/sdk-installer-config-2.0.xml* > * > * > This is how you tell the Installer to download flash player 11.5 instead = of > the defaults. >=20 > 6. Once the installer finishes its thing, open the SDK folder where Apac= he > Flex 4.9 is installed and open the file: frameworks/flex-config.xml > 7. Modify these two xml nodes: >=20 > from: >=20 > > *11.1* >=20 > > *14* >=20 > to: >=20 > > *11.5* >=20 > > *18* >=20 > 8. Save flex-config.xml >=20 >=20 > You should be good to go now. >=20 > Please let me know if you run into any problems. >=20 > Thanks, > Om >=20 >=20 > On Fri, Feb 22, 2013 at 11:27 AM, Joe Kryzak wrote: >=20 >> Trying to install 4.9.0 on Flash Builder 4.7 with Flash Player 11.5. >>=20 >> Joe >> On Feb 22, 2013, at 11:23 AM, Om wrote: >>=20 >> Joe, >>=20 >> I am equally confused here. We should have asked you this earlier - wha= t >> exactly is your end goal? >>=20 >> Thanks, >> Om >>=20 >> On Fri, Feb 22, 2013 at 11:16 AM, Joe Kryzak wrote: >>=20 >>> Guys - >>>=20 >>> The new version sounds good. I'll tell you step by step how I interpret= ed >>> the instructions, but I feel I have such a disconnect I don't want to >> waste >>> your time. >>>=20 >>>=20 >>> Pre-README: Installed Flash Builder 4.7.0. Added "4.9.0" directory >>> underneath Flash Builder sdks. >>> 1. Unzip the source distribution. You should see the 'installer' >>> directory and the >>> 'common' directory in the root. >>> No problem - I'm not a linux admin type, but know command line and have >>> done sudo installs. >>>=20 >>> 2. In the installer directory run: >>> ant get-as3commons.swc >>> This step downloads the required as3commons library and saves it in >>> the libs >>> directory. >>> In running this, I get a message, but the build is successful. Only lat= er >>> do I figure out from Justin that this is something that needs to be dea= lt >>> with. The reason I blow this message off is because it isn't indicated = as >>> an error, and during a typical make/make install there are a lot of >>> messages that I usually ignore. >>> $ ant get-as3commons.swc >>> Buildfile: >>>=20 >> /Users/jk/Downloads/apache-flex-sdk-installer-2.0.2-src/installer/build.= xml >>> [taskdef] Could not load definitions from resource flexTasks.tasks. It >>> could not be found. check-as3commons.swc: get-as3commons.swc: >>> [mkdir] Created dir: >>> /Users/jk/Downloads/apache-flex-sdk-installer-2.0.2-src/installer/libs >>> [get] Getting: >>>=20 >> http://projects.yoolab.org/maven/content/repositories/releases/org/as3co= mmons >> /as3commons-zip/1.0.0-alpha.1/as3commons-zip-1.0.0-alpha.1.swc >>> [get] To: >>>=20 >> /Users/jk/Downloads/apache-flex-sdk-installer-2.0.2-src/installer/libs/a= s3com >> mons-zip-1.0.0-alpha.1.swc >>> [get] .......... >>> [get] Getting: >>>=20 >> http://projects.yoolab.org/maven/content/repositories/releases/org/as3co= mmons >> /as3commons-zip/1.0.0-alpha.1/as3commons-zip-1.0.0-alpha.1.swc.md5 >>> [get] To: >>>=20 >> /Users/jk/Downloads/apache-flex-sdk-installer-2.0.2-src/installer/libs/a= s3com >> mons-zip-1.0.0-alpha.1.swc.md5 >>> [get] . >>> [delete] Deleting: >>>=20 >> /Users/jk/Downloads/apache-flex-sdk-installer-2.0.2-src/installer/libs/a= s3com >> mons-zip-1.0.0-alpha.1.swc.md5 >>> BUILD SUCCESSFUL Total time: 2 seconds >>> At first, I moved on, but later when nothing worked I went back to this >>> step and asked users@ what the message meant. >>>=20 >>> As a fix for this, Justin suggests: >>>=20 >>> Ant can't find flexTasks, add flexTask.jar to your ANT lib directory or >>> pass it to ant via -lib. You can find it in the Flex SDK >> modules/antTasks. >>>=20 >>> I really have no idea what this means, so I start searching for >>> 'flexTask.jar' and the directory 'modules' from the source directory, >> both >>> turn up nothing: >>>=20 >>> $ find . -name "modules" >>> $ find . -name "flexTask.jar" >>> $ >>> So I go to Google, and I see: >>> the flexTasks.jar file is located at >>> flash_builder_install/sdks/4.6.0/ant/lib >>> There is no flash_builder_install, and the previous search of the >>> installer directory turned up null, so I assume flash_builder_install i= s >>> the installed directory. 4.9.0 is still empty, so I go back to my old >>> 4.6.0, which does have the flexTasks.jar, but is this correct to use an >>> older version? Assuming that's correct, which I don't think it is, I'm >>> really not sure where the SDK is at this point - I only have the >> installer. >>> Or does the installer contain the SDK? A search didn't show any module >>> directories. So I try and look for a tarball within the installer sourc= e: >>>=20 >>> $ find . -name "*tar*" >>> $ >>>=20 >>> Which returns nothing. I realize at this point that I have no idea what= 's >>> going on, but unfortunately I don't have the time to clear the confusio= n >> on >>> my own. >>>=20 >>> In my original effort (before writing Justin), I had ignored the origin= al >>> message and went onto step 3. >>>=20 >>> 3. If using Adobe Flash Builder, add a linked resource called: >>> APACHE_FLEX_UTILITIES_ROOT >>> and point it to the directory path where the 'installer' and 'common' >>> directories are >>> located. >>> I am using FB 4.7, so I go into FB and figure out how to add the linked >>> resource. I believe I did that correctly, I move onto step 4. >>>=20 >>> 4. In the installer project, add >> ${APACHE_FLEX_UTILITIES_ROOT}/common/src >>> as a source path. >>> At this point, I have no idea what "installer project" refers to. I was >>> purely working command line, up until step 3. I believe the inference i= s >>> that somehow there is a project in FB which is managing the installatio= n >> of >>> the SDK, but I have really no concept how the focus changed from comman= d >>> line to FB, except in step 3, which only indicated to set a variable. S= o >> I >>> speculate, and I wonder if the variable sets up some sort of installer >>> project, so I exit and come back in, no difference. >>>=20 >>> Giving up on FB, I go back to the command line. There is a xml file >> called >>> build.xml which contains a item, and one of the attributes is >>> 'installer', so I figure I found the installer project that I was >> supposed >>> to be adding the source path to. In looking through the XML, there is n= o >>> child elements that have source path definitions of any kind, so I'm >>> assuming I am back in the weeds. I write this to users@: >>>=20 >>> I'm assuming the installer project it's referring to is in the build.xm= l, >>> but what is the mechanism to add it? Or am I misunderstanding something= ? >>>=20 >>> Justin writes back: >>> This refers to if you building the installer in Flash Builder, the >>> installer uses code form the common project >>> (/flex/untilities/trunk/common). It's in properties under Flex Build Pa= th >>> in the Source Path tab, click add folder to add it. >>> I'm entirely sure this makes sense to you guys, and the thousands of >>> people who have installed it before. As a basic user, I view the SDK >> 4.9.0 >>> as an overlay on top of FB 4.7. I view the install source that I >> downloaded >>> as a mechanism to bind that overlay. It would never occur to me that I >>> could 'build the installer in Flash Builder', I would assume the build >>> process would take place on the command line, similar to make/make >> install. >>> At this point I'm guessing I should see an installer project in Flash >>> Builder? This is a foreign idea to me, and I'm sort of giving up at thi= s >>> point, because my fundamental assumptions about the build process are >>> totally flawed. I'll leave it up to you guys to determine if you think >> I'm >>> close and can provide guidance, or if I should just wait for Lee's sing= le >>> click installer which specifies FP. >>>=20 >>> Thanks for the support though. >>>=20 >>>=20 >>> On Feb 22, 2013, at 9:21 AM, Om wrote: >>>=20 >>> On Feb 22, 2013 12:56 AM, "Joe Kryzak" wrote: >>>>=20 >>>> Yes, I was attempting to build 4.9 with flash player 11.5. >>>>=20 >>>> Is there a plan to have the binary installer select the flash player >>> version? I'm not locating the artifacts you are referencing, I might be >>> better off waiting. >>>>=20 >>>> Thanks for the response. >>>>=20 >>>=20 >>> Joe, the README in the installer directory has directions on how to do >>> this. Basically, you grab a copy of the insataller config xml, modify >> the >>> urls and version number and inject the xml into the installer as a >> command >>> line parameter. >>>=20 >>> Let me know if you run into problems. >>>=20 >>> As Lee mentioned, he is planning to make this doable via the UI. >> Hopefully >>> that would make things easier. >>>=20 >>> Thanks, >>> Om >>>=20 >>>> Joe >>>>=20 >>>> On Feb 22, 2013, at 12:10 AM, Justin Mclean wrote: >>>>=20 >>>> Hi, >>>>=20 >>>> I assume you trying the build the installer project? >>>>=20 >>>>> 4. In the installer project, add >>> ${APACHE_FLEX_UTILITIES_ROOT}/common/src as a source path. >>>> This refers to if you building the installer in Flash Builder, the >>> installer uses code form the common project >>> (/flex/untilities/trunk/common). It's in properties under Flex Build Pa= th >>> in the Source Path tab, click add folder to add it. >>>>=20 >>>>> 2. Also, In the ant command in step 2 I see the message below. >>>> Ant can't find flexTasks, add flexTask.jar to your ANT lib directory o= r >>> pass it to ant via -lib. You can find it in the Flex SDK >> modules/antTasks. >>>>=20 >>>> Thanks, >>>> Justin >>>>=20 >>>=20 >>>=20 >>=20 >>=20 >=20 --=20 Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui