Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF45FD67E for ; Tue, 20 Nov 2012 21:16:44 +0000 (UTC) Received: (qmail 96430 invoked by uid 500); 20 Nov 2012 21:16:44 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 96391 invoked by uid 500); 20 Nov 2012 21:16:44 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 96383 invoked by uid 99); 20 Nov 2012 21:16:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 21:16:44 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,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.25 as permitted sender) Received: from [64.18.1.25] (HELO exprod6og110.obsmtp.com) (64.18.1.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 21:16:36 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob110.postini.com ([64.18.5.12]) with SMTP ID DSNKUKvzHjK9fMCTdpb62O13kZ1Xe1/eAF78@postini.com; Tue, 20 Nov 2012 13:16:15 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qAKLGDHP029494 for ; Tue, 20 Nov 2012 13:16:13 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qAKLFRXr002065 for ; Tue, 20 Nov 2012 13:16:12 -0800 (PST) Received: from SJ1SWM219.corp.adobe.com (10.5.77.61) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.279.1; Tue, 20 Nov 2012 13:15:55 -0800 Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by SJ1SWM219.corp.adobe.com ([fe80::d55c:7209:7a34:fcf7%11]) with mapi; Tue, 20 Nov 2012 13:15:54 -0800 From: Alex Harui To: "flex-dev@incubator.apache.org" Date: Tue, 20 Nov 2012 13:15:53 -0800 Subject: Re: Falcon compiler(.tests) building Thread-Topic: Falcon compiler(.tests) building Thread-Index: Ac3HY67BsM6+1EmZTTSC83yO5qr1JAAAIo37 Message-ID: In-Reply-To: <20121120161124.113815r04xjop6nw@www.teotigraphix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.13.0.120411 acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Looks like Carol fixed. I get all tests passing now on Mac. Yay! On 11/20/12 1:11 PM, "Michael Schmalle" wrote: > Carol, >=20 > I can fix these, how would you suggest? Just using + concatenation? or > StringBuffer? >=20 > Mike >=20 > Quoting Carol Frampton : >=20 >> File.separatorChar >>=20 >>=20 >> On 11/20/12 4 :01PM, "Alex Harui" wrote: >>=20 >>> Gordon uses a Windows machine and the tests have some backslashes in th= e >>> paths so the fail on Mac. >>>=20 >>> What is the proper way to deal with slashes on different platforms in >>> Java? >>> If you know, you can fix the code in >>> compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/M= XML >>> No >>> deBaseTests.java >>>=20 >>> And maybe elsewhere. >>>=20 >>> -Alex >>>=20 >>> On 11/20/12 8:34 AM, "Erik de Bruin" wrote: >>>=20 >>>> Well, at least I know I'm not crazy, since you see the same failures ;= -) >>>>=20 >>>> I'll wait for Gordon and meanwhile do a bit of the new website. >>>>=20 >>>> EdB >>>>=20 >>>>=20 >>>> On Tue, Nov 20, 2012 at 5:15 PM, Carol Frampton >>>> wrote: >>>>> Erik, >>>>>=20 >>>>> I sent just email to Gordon and got back an "out of office" until >>>>> Monday >>>>> email so you'll either have to wait or debug it. >>>>>=20 >>>>> Carol >>>>>=20 >>>>> On 11/20/12 7 :17AM, "Erik de Bruin" wrote: >>>>>=20 >>>>>> Just guessing now, but: the MXML is read from a file in the 'temp' >>>>>> dir, right? If I put a breakpoint somewhere, I can see those files a= re >>>>>> created and the contents that I can see seem to be correct. But what >>>>>> about the contents that are not immediately visible? There was a lot >>>>>> to do about line endings and such on the list=A9 might this be affec= ted >>>>>> by something like that? >>>>>>=20 >>>>>> EdB >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> On Tue, Nov 20, 2012 at 1:09 PM, Michael Schmalle >>>>>> wrote: >>>>>>> I did exactly what you now tried; checkout the whole Apache project= , >>>>>>> build >>>>>>> framework and build compiler. >>>>>>>=20 >>>>>>> The only difference I see here is you are on OSX, but I think Carol >>>>>>> is >>>>>>> to. >>>>>>>=20 >>>>>>> I just ran my tests from the compiler.tests/build.xml and all passe= d. >>>>>>>=20 >>>>>>> Unfortunately, without sitting next to you and looking, I have no >>>>>>> idea >>>>>>> what >>>>>>> is going wrong. I bet it is something small and ridiculous though. >>>>>>>=20 >>>>>>>=20 >>>>>>> Mike >>>>>>>=20 >>>>>>> Quoting Erik de Bruin : >>>>>>>=20 >>>>>>>> Latest news: >>>>>>>>=20 >>>>>>>> - I got myself a new working copy of the entire Flex SVN repo, so = I >>>>>>>> don't need to mess with paths etc. anymore. >>>>>>>> - I did a build of the SDK in 'branches/develop' without problems. >>>>>>>> - I did a build of the Falcon compiler ('ant main' in trunk) and g= ot >>>>>>>> the EXACT SAME results as before, i.e. jUnit test fail and I get >>>>>>>> some >>>>>>>> warnings! >>>>>>>> - switching from ant 1.8 to 1.7.1 made the "includeantruntime" >>>>>>>> warning >>>>>>>> go >>>>>>>> away >>>>>>>> - the build file in 'compiler' is looking for 'flexTasks.jar' in t= he >>>>>>>> "ant/lib" directory of the SDK which, on my machine at least, does >>>>>>>> not >>>>>>>> exist; changing all references to "ant/lib" to "lib" (3x), where >>>>>>>> that >>>>>>>> jar does exist, makes the last warning go away; >>>>>>>> - I created a JIRA ticket [1] and attached the output of 'ant main= ' >>>>>>>> (after an 'ant wipe') to it. >>>>>>>>=20 >>>>>>>> Now, if these tests need to pass on my system before I can start >>>>>>>> contributing, I need some input. If solving the reason why they fa= il >>>>>>>> is some sort of initiation rite, it's going to take me a bit more >>>>>>>> time >>>>>>>> to get into the 'inner circle' ;-) >>>>>>>>=20 >>>>>>>> EdB >>>>>>>>=20 >>>>>>>> 1: https://issues.apache.org/jira/browse/FLEX-33271 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> On Mon, Nov 19, 2012 at 6:08 PM, Erik de Bruin >>>>>>>> wrote: >>>>>>>>>=20 >>>>>>>>> Ok, >>>>>>>>>=20 >>>>>>>>> I did a super-clean and main on the SDK, was successful. >>>>>>>>>=20 >>>>>>>>> Did a wipe and main on the compiler and compiler.tests, no luck. >>>>>>>>>=20 >>>>>>>>> I've piped the results of the compiler main to a text file. If >>>>>>>>> anyone >>>>>>>>> is interested, I'll create a JIRA ticket and attache that file to >>>>>>>>> it. >>>>>>>>>=20 >>>>>>>>> EdB >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>> On Mon, Nov 19, 2012 at 5:02 PM, Erik de Bruin >>>>>>>>> wrote: >>>>>>>>>>=20 >>>>>>>>>> Thank you! I already figured out the first 3, but not the >>>>>>>>>> 'sdk.branch', good suggestion. >>>>>>>>>>=20 >>>>>>>>>> EdB >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>> On Mon, Nov 19, 2012 at 4:53 PM, Carol Frampton >>>>>>>>>> >>>>>>>>>> wrote: >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> On 11/18/12 12 :55PM, "Erik de Bruin" wrot= e: >>>>>>>>>>>=20 >>>>>>>>>>>> Hi, >>>>>>>>>>>>=20 >>>>>>>>>>>> I have followed the various instructions and was able to >>>>>>>>>>>> successfully >>>>>>>>>>>> build the Falcon compiler. Along the way I encountered several >>>>>>>>>>>> issues >>>>>>>>>>>> that are not yet documented (I'm on OS X 10.8): >>>>>>>>>>>>=20 >>>>>>>>>>>> - I needed to edit the 'build.xml' file on line 50, to point t= he >>>>>>>>>>>> 'sdk.branch' property to the correct location of the SDK on my >>>>>>>>>>>> system; >>>>>>>>>>>> - when trying to use the mxmlc on a project, I got 'permission >>>>>>>>>>>> denied'. Setting the executable bit on the file corrected that= ; >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> I'm running on OS X 10.7. If you follow the instructions in th= e >>>>>>>>>>> falcon/trunk/README you should not have to make any edits to >>>>>>>>>>> build.xml >>>>>>>>>>> assuming your directory tree looks like it does in svn. >>>>>>>>>>>=20 >>>>>>>>>>> Before trying to build Falcon, you must: >>>>>>>>>>>=20 >>>>>>>>>>> 1. Build the the "develop" branch of the SDK at >>>>>>>>>>> incubator/flex/sdk/branches/develop by doing 'ant main'. >>>>>>>>>>> See the README there for instructions. >>>>>>>>>>>=20 >>>>>>>>>>> 2. Set the environment variables JAVA_HOME, ANT_HOME, and >>>>>>>>>>> PLAYERGLOBAL_HOME as when building the SDK. >>>>>>>>>>>=20 >>>>>>>>>>> 3. Set the environment variable JFLEX_JAR to point to the JAR >>>>>>>>>>> file >>>>>>>>>>> for >>>>>>>>>>> JFlex 1.4.3. >>>>>>>>>>>=20 >>>>>>>>>>> sdk.branch is set to >>>>>>>>>> value=3D"${compiler}/../../../sdk/branches/develop"/>. If this = is >>>>>>>>>>> not >>>>>>>>>>> the >>>>>>>>>>> case for you, rather than edit build.xml invoke it with >>>>>>>>>>> ant -Dsdk.branch=3D/path/to/sdk >>>>>>>>>>>=20 >>>>>>>>>>> or add falcon/complier/local.properties and set sdk.branch in >>>>>>>>>>> there. >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> Carol >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>> -- >>>>>>>>>> Ix Multimedia Software >>>>>>>>>>=20 >>>>>>>>>> Jan Luykenstraat 27 >>>>>>>>>> 3521 VB Utrecht >>>>>>>>>>=20 >>>>>>>>>> T. 06-51952295 >>>>>>>>>> I. www.ixsoftware.nl >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>> -- >>>>>>>>> Ix Multimedia Software >>>>>>>>>=20 >>>>>>>>> Jan Luykenstraat 27 >>>>>>>>> 3521 VB Utrecht >>>>>>>>>=20 >>>>>>>>> T. 06-51952295 >>>>>>>>> I. www.ixsoftware.nl >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> -- >>>>>>>> Ix Multimedia Software >>>>>>>>=20 >>>>>>>> Jan Luykenstraat 27 >>>>>>>> 3521 VB Utrecht >>>>>>>>=20 >>>>>>>> T. 06-51952295 >>>>>>>> I. www.ixsoftware.nl >>>>>>>>=20 >>>>>>>=20 >>>>>>> -- >>>>>>> Michael Schmalle - Teoti Graphix, LLC >>>>>>> http://www.teotigraphix.com >>>>>>> http://blog.teotigraphix.com >>>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> -- >>>>>> Ix Multimedia Software >>>>>>=20 >>>>>> Jan Luykenstraat 27 >>>>>> 3521 VB Utrecht >>>>>>=20 >>>>>> T. 06-51952295 >>>>>> I. www.ixsoftware.nl >>>>>=20 >>>>=20 >>>>=20 >>>=20 >>> -- >>> Alex Harui >>> Flex SDK Team >>> Adobe Systems, Inc. >>> http://blogs.adobe.com/aharui >>>=20 >>=20 >>=20 >=20 >=20 >=20 --=20 Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui