Right Erik, i was commenting that it is right for me without doubt taking into account that this is new technology.
El martes, 25 de febrero de 2014, Erik de Bruin <e...@ixsoftware.nl> escribió: > The update to Java 7 happened - at least for the Closure Compiler - in > November of last year [1]. Any version of it before that should run fine on > Java 6. > > Tthe current Closure Library should build successfully using older > versions of the compiler. But why not just use the most recent version of > either, and keep your system up to date on prerequisites? > > EdB > > 1: https://code.google.com/p/closure-compiler/wiki/Releases > > > > > On Mon, Feb 24, 2014 at 11:37 PM, Alex Harui > <aha...@adobe.com<javascript:_e(%7B%7D,'cvml','aha...@adobe.com');> > > wrote: > >> You need an older Google library. I don't remember where erik made a note >> about 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 >> <carlos.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@codeoscopic.com');>> >> wrote: >> >> >> >> mm, I compile all in my machine with java 6, and it fails. More over, the >> error thrown: >> >> [java] Exception in thread "main" java.lang.UnsupportedClassVersionError: >> com/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 >> version all projects out there are using...so I think it's ok >> >> >> >> 2014-02-24 20:02 GMT+01:00 Alex Harui >> <aha...@adobe.com<javascript:_e(%7B%7D,'cvml','aha...@adobe.com');> >> <mailto:aha...@adobe.com<javascript:_e(%7B%7D,'cvml','aha...@adobe.com');> >> >>: >> Or compile the falcon code on 6 >> >> >> >> >> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. >> >> Carlos Rovira >> <carlos.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@codeoscopic.com');> >> <mailto:carlos.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@codeoscopic.com');>>> >> 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/MyInitialView.mxml:131 >> >> [java] Data binding will not be able to detect assignments to >> 'strings'. >> >> [java] >> dataProvider="{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 >> <aha...@adobe.com<javascript:_e(%7B%7D,'cvml','aha...@adobe.com');> >> <mailto:aha...@adobe.com<javascript:_e(%7B%7D,'cvml','aha...@adobe.com');> >> >>: >> >> > 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-debug/DataBindingTest.js >> > [java] Compiling file: >> > >> /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-debug/StockDataJSONItemConverter.js >> > [java] Compiling file: >> > >> /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-debug/models/MyModel.js >> > [java] Compiling file: >> > >> /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-debug/controllers/MyController.js >> > [java] Compiling file: >> > >> /Users/aharui/git/flex/master/flex-asjs/examples/DataBindingTest/bin/js-debug/MyInitialView.js >> > >> > -Alex >> > ________________________________________ >> > From: >> > carlos.rov...@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@gmail.com');> >> <mailto:carlos.rov...@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@gmail.com');>> >> [carlos.rov...@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@gmail.com');> >> <mailto:carlos.rov...@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@gmail.com');>>] >> on behalf of >> > Carlos Rovira >> > [carlos.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@codeoscopic.com');> >> <mailto:carlos.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@codeoscopic.com');> >> >] >> > Sent: Monday, February 24, 2014 8:58 AM >> > To: >> > dev@flex.apache.org<javascript:_e(%7B%7D,'cvml','dev@flex.apache.org');> >> <mailto:dev@flex.apache.org<javascript:_e(%7B%7D,'cvml','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 >> > <e...@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','e...@ixsoftware.nl');> >> <mailto:e...@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','e...@ixsoftware.nl');> >> >>: >> > >> > > 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 >> the >> > > 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.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@codeoscopic.com');> >> <mailto:carlos.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@codeoscopic.com');>>> >> wrote: >> > > >> > > > Hi, >> > > > >> > > > someone could respond to 3) >> > > > >> > > > 3) One of the things I like in the last months changes is the >> addittion >> > > of >> > > > "build.xml" per example, so we can make "ant" in the folder and >> quickly >> > > get >> > > > the SWF version. But I think we can't get the JS version running >> some >> > > > "ant" (maybe with params?). Or maybe is there but I can't see it? >> This >> > > > 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.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@codeoscopic.com');> >> <mailto:carlos.rov...@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rov...@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 >> > > > > <e...@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','e...@ixsoftware.nl');> >> <mailto:e...@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','e...@ixsoftware.nl');> >> >>: >> > > > > >> > > > > > >> > > > >> > 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 >> have >> > > 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 >> two >> > > > >> command line parameters: >> > > > >> >> > > > >> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar" -load-config="[ >> > > > >> 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<http://www.ixsoftware.nl> >> > > > >> >> > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > Carlos Rovira >> > > > > Director de Tecnología >> > > > > M: +34 607 22 60 05<tel:%2B34%20607%2022%2060%2005> >> > > > > F: +34 912 94 80 80<tel:%2B34%20912%2094%2080%2080> >> > > > > http://www.codeoscopic.com >> > > > > http://www.directwriter.es >> > > > > http://www.avant2.es >> > > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > Carlos Rovira >> > > > Director de Tecnología >> > > > M: +34 607 22 60 05<tel:%2B34%20607%2022%2060%2005> >> > > > F: +34 912 94 80 80<tel:%2B34%20912%2094%2080%2080> >> > > > 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<http://www.ixsoftware.nl> >> > > >> > >> > >> > >> > -- >> > Carlos Rovira >> > Director de Tecnología >> > M: +34 607 22 60 05<tel:%2B34%20607%2022%2060%2005> >> > F: +34 912 94 80 80<tel:%2B34%20912%2094%2080%2080> >> > http://www.codeoscopic.com >> > http://www.directwriter.es >> > http://www.avant2.es >> > >> >> >> >> -- >> Carlos Rovira >> Director de Tecnología >> M: +34 607 22 60 05<tel:%2B34%20607%2022%2060%2005> >> F: +34 912 94 80 80<tel:%2B34%20912%2094%2080%2080> >> http://www.codeoscopic.com >> http://www.directwriter.es >> http://www.avant2.es >> >> >> >> -- >> Carlos Rovira >> Director de Tecnología >> 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ía M: +34 607 22 60 05 F: +34 912 94 80 80 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es