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 9B029109E6 for ; Mon, 24 Feb 2014 22:38:42 +0000 (UTC) Received: (qmail 72078 invoked by uid 500); 24 Feb 2014 22:38:33 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 72015 invoked by uid 500); 24 Feb 2014 22:38:31 -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 71965 invoked by uid 99); 24 Feb 2014 22:38:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Feb 2014 22:38:30 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of aharui@adobe.com) Received: from [207.46.163.206] (HELO na01-bl2-obe.outbound.protection.outlook.com) (207.46.163.206) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Feb 2014 22:38:25 +0000 Received: from BLUPR02MB502.namprd02.prod.outlook.com (10.141.82.18) by BLUPR02MB097.namprd02.prod.outlook.com (10.242.188.11) with Microsoft SMTP Server (TLS) id 15.0.883.10; Mon, 24 Feb 2014 22:37:45 +0000 Received: from BLUPR02MB502.namprd02.prod.outlook.com ([10.141.82.18]) by BLUPR02MB502.namprd02.prod.outlook.com ([10.141.82.18]) with mapi id 15.00.0883.010; Mon, 24 Feb 2014 22:37:44 +0000 From: Alex Harui To: Carlos Rovira CC: "dev@flex.apache.org" Subject: Re: [FLEXJS] IDE integration discussion Thread-Topic: [FLEXJS] IDE integration discussion Thread-Index: Ac7tn+A6k48Qfs41QTyN7AlZYdNtFxDLFHuAABy1jYAABvc5AAAH6TeAAAEWNQAAALKqgAAAOmz4AAEG/wAAAxDH0QAEqtiAAALZqIo= Date: Mon, 24 Feb 2014 22:37:43 +0000 Message-ID: References: <7f1bb58765e14ab6b07ef0b6cc8eeef5@BLUPR02MB502.namprd02.prod.outlook.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [198.228.208.110] x-forefront-prvs: 0132C558ED x-forefront-antispam-report: SFV:NSPM;SFS:(10019001)(377454003)(24454002)(189002)(199002)(51704005)(377424004)(41574002)(87266001)(69226001)(54316002)(56776001)(83322001)(19580405001)(19580395003)(76482001)(85306002)(53806001)(95416001)(94946001)(94316002)(86362001)(87936001)(81342001)(47736001)(47976001)(50986001)(2656002)(4396001)(49866001)(81542001)(31966008)(93136001)(74662001)(93516002)(74502001)(51856001)(16601075003)(33646001)(47446002)(80976001)(46102001)(54356001)(77982001)(59766001)(15975445006)(81816001)(79102001)(74366001)(63696002)(81686001)(16236675002)(15202345003)(63666003)(76796001)(76786001)(92726001)(65816001)(56816005)(92566001)(80022001)(66066001)(74876001)(74706001)(83072002)(85852003)(90146001)(95666003);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR02MB097;H:BLUPR02MB502.namprd02.prod.outlook.com;CLIP:198.228.208.110;FPR:9C5DF19A.97C27592.BDD3F16B.4AE84871.206EC;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Content-Type: multipart/alternative; boundary="_000_ph79hyku0xgbt9kj9iv41kcl1393281459320emailandroidcom_" MIME-Version: 1.0 X-OriginatorOrg: adobe.com X-Virus-Checked: Checked by ClamAV on apache.org --_000_ph79hyku0xgbt9kj9iv41kcl1393281459320emailandroidcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You need an older Google library. I don't remember where erik made a note a= bout the last Java 6 library. I'm not able to look right now. Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. Carlos Rovira wrote: mm, I compile all in my machine with java 6, and it fails. More over, the e= rror thrown: [java] Exception in thread "main" java.lang.UnsupportedClassVersionError: c= om/google/javascript/jscomp/ErrorManager : Unsupported major.minor version = 51.0 suggest I must use a concrete java 7 version (I'm using java version "1.7.0= _51") so it seems java 6 is not supported anymore in FlexJS due to google closure= library dependency. I think this's not a problem since it's a new technology a Java 7 is the ve= rsion all projects out there are using...so I think it's ok 2014-02-24 20:02 GMT+01:00 Alex Harui >: Or compile the falcon code on 6 Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. Carlos Rovira > wrote: Ok, now I see the problem. Mine is this: build_example.compilejs: [echo] Compiling DataBindingTest.js [echo] FLEX_HOME: /Users/carlosrovira/dev/apacheflex/flex-asjs [echo] FALCONJX_HOME: /Users/carlosrovira/dev/apacheflex/flex-falcon/compiler.jx [echo] GOOG_HOME: /Users/carlosrovira/Documents/flex_sdks/closure-library/closure/goog/ [java] outputBindingInfoAsData [java] /Users/carlosrovira/dev/apacheflex/flex-asjs/examples/DataBindingTest/src/M= yInitialView.mxml:131 [java] Data binding will not be able to detect assignments to 'strings'. [java] dataProvider=3D"{MyModel(applicationModel).strings}" /> [java] ^ [java] [java] Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/ErrorManager : Unsupported major.minor version 51.0 [java] at java.lang.ClassLoader.defineClass1(Native Method) [java] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [java] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301= ) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [java] at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:343) [java] at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:262) [java] at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:220) [java] at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:182) [java] Java Result: 1 BUILD FAILED /Users/carlosrovira/dev/apacheflex/flex-asjs/examples/build_example.xml:148= : condition satisfied Maybe this could be due to the fact I have Java6 and not 7? If is that I could try to update my machine to use java 7 Thanks Carlos 2014-02-24 18:06 GMT+01:00 Alex Harui >: > I only tried examples/DataBindingTest, but part of the ant output looks > like this: > > build_example.compilejs: > [echo] Compiling DataBindingTest.js > [echo] FLEX_HOME: /Users/aharui/git/flex/master/flex-asjs > [echo] FALCONJX_HOME: > /Users/aharui/git/flex/master/flex-falcon/compiler.jx > [echo] GOOG_HOME: /Applications/GoogleClosure/library > [java] outputBindingInfoAsData > [java] Compiling file: > /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-d= ebug/DataBindingTest.js > [java] Compiling file: > /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-d= ebug/StockDataJSONItemConverter.js > [java] Compiling file: > /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-d= ebug/models/MyModel.js > [java] Compiling file: > /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-d= ebug/controllers/MyController.js > [java] Compiling file: > /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-d= ebug/MyInitialView.js > > -Alex > ________________________________________ > From: carlos.rovira@gmail.com [carlos.rov= ira@gmail.com] on behalf of > Carlos Rovira [carlos.rovira@codeoscopic.com] > Sent: Monday, February 24, 2014 8:58 AM > To: dev@flex.apache.org > Subject: Re: [FLEXJS] IDE integration discussion > > Hi Erik, > > if Alex confirm that this's not done, I would try what you say. As he > state, it would be optimal to get by default both outputs, and could > deselect one or another by running some param > > Thanks > > > 2014-02-24 17:38 GMT+01:00 Erik de Bruin >: > > > I guess you can call the FalconJX jar from an 'exec' task (or whatever > ant > > taks that runs Java stuff) with the arguments as describe earlier in th= e > > thread and create FlexJS output that way. Haven't tried it, though. > > > > EdB > > > > > > > > > > On Mon, Feb 24, 2014 at 5:07 PM, Carlos Rovira < > > carlos.rovira@codeoscopic.com> wr= ote: > > > > > Hi, > > > > > > someone could respond to 3) > > > > > > 3) One of the things I like in the last months changes is the additti= on > > of > > > "build.xml" per example, so we can make "ant" in the folder and quick= ly > > get > > > the SWF version. But I think we can't get the JS version running som= e > > > "ant" (maybe with params?). Or maybe is there but I can't see it? Thi= s > > > could be very cool and could be another booster. > > > > > > Right now build.xml is only valid for SWF output? there's something > > similar > > > for JS output? if so could you point me? if not, there's plans to > > > make something similar? > > > > > > Thanks! > > > > > > Carlos > > > > > > > > > > > > > > > > > > 2014-02-24 13:21 GMT+01:00 Carlos Rovira < > carlos.rovira@codeoscopic.com > > >: > > > > > > > Thanks Erik, > > > > > > > > That's more clear, and I'll try to move it through IntelliJ ticket, > in > > > > parallel with my tries to get a initial environment for develop > FlexJS > > > > > > > > Thanks > > > > > > > > Carlos > > > > > > > > > > > > 2014-02-24 10:01 GMT+01:00 Erik de Bruin >: > > > > > > > > > > > > >> > 1) The thread start with some FDT points proposed to get IDE > > support. > > > As > > > >> > Erik state most of then are solved. @Erik, is this right? we hav= e > > all > > > >> the > > > >> > points covered? If not, could you point me to what point are > already > > > >> needed > > > >> > (not covered) ? > > > >> > > > > >> > > > >> Status for the original suggestion list from the FDT people (first > > email > > > >> in > > > >> this thread): > > > >> > > > >> 1 - The new installer provides the download and preparation of a > fully > > > >> function FlexJS SDK > > > >> > > > >> 2/7 - The compiler now has defaults where possible, so given a > Closure > > > lib > > > >> at the expected location, it can now compile a program with only t= wo > > > >> command line parameters: > > > >> > > > >> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar" -load-config=3D"[ > > > >> PathToFlexJSSDK]/frameworks/flex-config.xml" > "[PathToMainProjectFile]" > > > >> > > > >> 8/9 - already done > > > >> > > > >> 10/11 - not sure, I don't have an in dept knowledge of the 'inner > > > >> workings' > > > >> of Java and the compiler. But these issues don't sound too 'out > > there', > > > >> and > > > >> are probably already addressed, or easy to implement. > > > >> > > > >> That's all I can tell you ;-) > > > >> > > > >> EdB > > > >> > > > >> > > > >> > > > >> -- > > > >> Ix Multimedia Software > > > >> > > > >> Jan Luykenstraat 27 > > > >> 3521 VB Utrecht > > > >> > > > >> T. 06-51952295 > > > >> I. www.ixsoftware.nl > > > >> > > > > > > > > > > > > > > > > -- > > > > Carlos Rovira > > > > Director de Tecnolog=EDa > > > > M: +34 607 22 60 05 > > > > F: +34 912 94 80 80 > > > > http://www.codeoscopic.com > > > > http://www.directwriter.es > > > > http://www.avant2.es > > > > > > > > > > > > > > > > -- > > > Carlos Rovira > > > Director de Tecnolog=EDa > > > M: +34 607 22 60 05 > > > F: +34 912 94 80 80 > > > http://www.codeoscopic.com > > > http://www.directwriter.es > > > http://www.avant2.es > > > > > > > > > > > -- > > Ix Multimedia Software > > > > Jan Luykenstraat 27 > > 3521 VB Utrecht > > > > T. 06-51952295 > > I. www.ixsoftware.nl > > > > > > -- > Carlos Rovira > Director de Tecnolog=EDa > M: +34 607 22 60 05 > F: +34 912 94 80 80 > http://www.codeoscopic.com > http://www.directwriter.es > http://www.avant2.es > -- Carlos Rovira Director de Tecnolog=EDa M: +34 607 22 60 05 F: +34 912 94 80 80 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es -- Carlos Rovira Director de Tecnolog=EDa M: +34 607 22 60 05 F: +34 912 94 80 80 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es --_000_ph79hyku0xgbt9kj9iv41kcl1393281459320emailandroidcom_--