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 35A22DCAD for ; Sun, 18 Nov 2012 18:55:00 +0000 (UTC) Received: (qmail 59379 invoked by uid 500); 18 Nov 2012 18:54:59 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 59337 invoked by uid 500); 18 Nov 2012 18:54:59 -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 59325 invoked by uid 99); 18 Nov 2012 18:54:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Nov 2012 18:54:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Nov 2012 18:54:54 +0000 Received: by mail-ie0-f175.google.com with SMTP id qd14so295358ieb.6 for ; Sun, 18 Nov 2012 10:54:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=KS2MmGv8OyoGz8IY2dah+71AIAmTV7JdjZ9tKUy2H58=; b=RoAQBEJaIdztcwrF4DjSVo64BJjEr7T09A/2oovsk4JQdVQsrCxEfxqiuGBMJof1rn 0AYjjLE9aO7K81blp4W8eqklIg+ruOvqMM9U/lu26F9zB8SPRibSKrZj8jV0wnv/5ES9 xkyTObtHiMirrx0sT77JwLyEvptGlI831B/xMOtFOc5tp1itAcyCebLT8w2w38JXlxMo l0p0lWnuido6yQcmcuNcqvFCmNi74+1WMkIfnennfgv+QCzFtDQMGJc2fVbVK1Ahh3Nb f8i96MCIdJ9bp/Zar/IlwK2gRhcg/mkeTl2Tsm7R6vTWkiFcw5tk5YoW2r2at32wUFLb IL4A== MIME-Version: 1.0 Received: by 10.50.157.162 with SMTP id wn2mr4784839igb.27.1353264874284; Sun, 18 Nov 2012 10:54:34 -0800 (PST) Received: by 10.64.31.229 with HTTP; Sun, 18 Nov 2012 10:54:34 -0800 (PST) In-Reply-To: References: <20121118131946.17874y8okkvmcr7m@www.teotigraphix.com> <20121118133221.12583spoz2e2lrqt@www.teotigraphix.com> Date: Sun, 18 Nov 2012 19:54:34 +0100 Message-ID: Subject: Re: Falcon compiler(.tests) building From: Erik de Bruin To: "flex-dev@incubator.apache.org" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQm9QQbGNJxGuNGU6tSLazQhm+fqXU1k6YI/tJptLMLFN+P+pcLSTwv5WHiiHEBQT/bATJ1n X-Virus-Checked: Checked by ClamAV on apache.org Cyrill, Yes, an empty 'temp' folder exists in the root of compile.tests. So, I reverted the compile.tests back to it's original state and run the 'download' target. That indeed also cleared up the missing library issue. But didn't solve the Failed tests thing :-( EdB On Sun, Nov 18, 2012 at 7:49 PM, Cyrill Zadra wrot= e: > Hi Erik > >> [javac] /Users/erik/Documents/ApacheFlex/svn/apacheFlex-falcon/compiler/= build.xml:415: warning: 'includeantruntime' was not set, defaulting to buil= d.sysclasspath=3Dlast; set to false for repeatable builds >> Warning: /Users/erik/Documents/ApacheFlex/svn/apacheFlex-sdk/ant/lib doe= s not exist. > > I have those errors to.. but shouldn't be the problem. > >> on 'compiler.tests' I got "missing required library > 'lib/junit-4.10.jar'". Editing the entry in the 'build path/Libraries' > fixed that. > > Instead of fixing the entry you could also execute the download target > of the build.xml. > > Do you have a temp folder in compile.tests projects? > > > > cyrill > > On Sun, Nov 18, 2012 at 10:32 AM, Michael Schmalle > wrote: >> Usually Eclipse doesn't refresh folders immediately( the results folder = is >> created by junit build), press F5 on the compiler.tests project folder. >> >> Hmm, you need the stack trace in the JUnit view in Eclipse to show you w= here >> exactly the null pointer was. >> >> But let me say this again, I have the same code as you and my tests are = all >> green except the one functional test that has like 4 warnings it fails o= n. >> >> >> Mike >> >> Quoting Erik de Bruin : >> >>> Ha, I just found the 'result' directory, must be 'hidden' in the >>> Eclipse project=85 >>> >>> Here is another snippet: >>> >>> >> classname=3D"org.apache.flex.compiler.internal.tree.mxml.MXMLArrayNodeT= ests" >>> name=3D"MXMLArrayNode_empty1" time=3D"0.206"> >>> >> type=3D"java.lang.NullPointerException">java.lang.NullPointerException >>> at >>> org.apache.flex.compiler.internal.tree.mxml.MXMLArrayNodeTests.getMXMLA= rrayNode(Unknown >>> Source) >>> at >>> org.apache.flex.compiler.internal.tree.mxml.MXMLArrayNodeTests.MXMLArra= yNode_empty1(Unknown >>> Source) >>> >>> >>> >>> Doesn't look good ;-) >>> >>> EdB >>> >>> >>> On Sun, Nov 18, 2012 at 7:19 PM, Michael Schmalle >>> wrote: >>>> >>>> Yeah, that is not right, there is something failing in your setup. >>>> >>>> Look at the stack traces of the errors. >>>> >>>> >>>> Mike >>>> >>>> >>>> Quoting Erik de Bruin : >>>> >>>>> When running 'compiler.tests', this is a snippet of a failed test: >>>>> >>>>> [junit] Running >>>>> org.apache.flex.compiler.internal.tree.mxml.MXMLArrayNodeTests >>>>> >>>>> [junit] Tests run: 7, Failures: 0, Errors: 6, Time elapsed: 0.26 = sec >>>>> >>>>> [junit] TEST >>>>> org.apache.flex.compiler.internal.tree.mxml.MXMLArrayNodeTests FAILED >>>>> >>>>> Does that point to something I need to change before my local >>>>> environment is 'fit to test'? >>>>> >>>>> EdB >>>>> >>>>> >>>>> On Sun, Nov 18, 2012 at 7:10 PM, Erik de Bruin >>>>> wrote: >>>>>> >>>>>> >>>>>> I do see some warnings on the 'compiler' build: >>>>>> >>>>>> "[javac] >>>>>> >>>>>> /Users/erik/Documents/ApacheFlex/svn/apacheFlex-falcon/compiler/buil= d.xml:415: >>>>>> warning: 'includeantruntime' was not set, defaulting to >>>>>> build.sysclasspath=3Dlast; set to false for repeatable builds" >>>>>> >>>>>> When I do a 'wipe' and build again, I see one specific warning (othe= r >>>>>> than a couple of the above): >>>>>> >>>>>> "Warning: /Users/erik/Documents/ApacheFlex/svn/apacheFlex-sdk/ant/li= b >>>>>> does not exist." >>>>>> >>>>>> Help? >>>>>> >>>>>> EdB >>>>>> >>>>>> >>>>>> On Sun, Nov 18, 2012 at 6:55 PM, Erik de Bruin >>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I have followed the various instructions and was able to successful= ly >>>>>>> build the Falcon compiler. Along the way I encountered several issu= es >>>>>>> that are not yet documented (I'm on OS X 10.8): >>>>>>> >>>>>>> - I needed to edit the 'build.xml' file on line 50, to point the >>>>>>> 'sdk.branch' property to the correct location of the SDK on my syst= em; >>>>>>> - when trying to use the mxmlc on a project, I got 'permission >>>>>>> denied'. Setting the executable bit on the file corrected that; >>>>>>> >>>>>>> After that I was able to run from the command line and successfully >>>>>>> build "Hello.as", which ran fine in the standalone Flash debugger. >>>>>>> >>>>>>> So I proceed to get the projects 'compiler' and 'compiler.tests' to >>>>>>> work in in Eclipse. After importing them, I get a 'problem' on each >>>>>>> one: >>>>>>> - on 'compiler', I got a message about 'ANT_JAR', which after I >>>>>>> re-created that variable in the project build path and pointed it t= o >>>>>>> 'ant.jar' on my system, went away; >>>>>>> - on 'compiler.tests' I got "missing required library >>>>>>> 'lib/junit-4.10.jar'". Editing the entry in the 'build path/Librari= es' >>>>>>> fixed that. >>>>>>> >>>>>>> I got 'build.xml' on 'compiler' working in Eclipse after adding: >>>>>>> >>>>>>> >>>>>> value=3D"/usr/share/java/jflex-1.4.3/lib/JFlex.jar"/> >>>>>>> >>>>>>> Then I ran 'build.xml' on 'compiler.tests' and that completed, but >>>>>>> with plenty of FAILED tests (which I guess is expected?). >>>>>>> >>>>>>> So, my environment seems to be set up. Now: how can I help? >>>>>>> >>>>>>> Note: I'm a noob on the topic of compilers, but I can copy-paste li= ke >>>>>>> a Boss, so I'm sure you can use me ;-) Point me to the code and put= me >>>>>>> to work! >>>>>>> >>>>>>> EdB >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Ix Multimedia Software >>>>>>> >>>>>>> Jan Luykenstraat 27 >>>>>>> 3521 VB Utrecht >>>>>>> >>>>>>> T. 06-51952295 >>>>>>> I. www.ixsoftware.nl >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ix Multimedia Software >>>>>> >>>>>> Jan Luykenstraat 27 >>>>>> 3521 VB Utrecht >>>>>> >>>>>> T. 06-51952295 >>>>>> I. www.ixsoftware.nl >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Ix Multimedia Software >>>>> >>>>> Jan Luykenstraat 27 >>>>> 3521 VB Utrecht >>>>> >>>>> T. 06-51952295 >>>>> I. www.ixsoftware.nl >>>>> >>>> >>>> -- >>>> Michael Schmalle - Teoti Graphix, LLC >>>> http://www.teotigraphix.com >>>> http://blog.teotigraphix.com >>>> >>> >>> >>> >>> -- >>> Ix Multimedia Software >>> >>> Jan Luykenstraat 27 >>> 3521 VB Utrecht >>> >>> T. 06-51952295 >>> I. www.ixsoftware.nl >>> >> >> -- >> Michael Schmalle - Teoti Graphix, LLC >> http://www.teotigraphix.com >> http://blog.teotigraphix.com >> --=20 Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl