You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Erik de Bruin <er...@ixsoftware.nl> on 2013/11/29 12:07:47 UTC

[FLEXJS] IDE integration discussion

Ok, the FDT people raised some interesting targets; I'd like to
discuss them one by one, to get a better understanding where we are
and what we're aiming for.

1. The user can get the FULLY functional Flex JS SDK by unzipping a
downloaded file(best soultion) or a downloaded installer if it is
executed does every step to create fully functional Flex JS SDK.

This is what the Installer will do once the 'ant' stuff is checked in?

2. Java should be the only extern dependency of the Flex JS SDK.
Everything else should be contained in the SDK. Also the compiler
should not refer to the SDK by using environment variables.

If we include the Closure Library download in the Installer, this is true?

3. The compiler can be started by calling a java class in some jar file.

Looking at 'mxmlc', this is already the case (java -jar "../lib/mxmlc.jar")?

4. The settings needed to compile a Action Script project with the
Flex JS Compiler should be the reference to the main class, to the
source folders, to the swcs, to the used Flex JS SDK and the output
folder. The rest like references to Google Closure library should have
default values refering into the Flex JS SDK via relative paths. All
other settings should have usefull default values which do not block
compilation.

Besides what's already discussed in 2., I think all we need to do is
give '-closure-lib' a proper (relative) default?

5. The compiler output should be a directory or file containing
everything necessary to start the project.

Already the case.

6. The compiler output should be launchable by sending some file like
index.html to the browser.

Already the case.

7. The hello world example should only need the reference to one main
class, one source folder, a few swcs, the sdk, and an output folder
and should be successfully compiled with no other settings given to
the compiler.

Given 4., this is the case?

8. The compiler interface should be stable over time. We are not
willing to adjust the transfered settings each new version.

Seems logical to have a stable API... Nothing here, moving along.

9. The necessary jars of the compiler should be placed all in one
folder of the sdk.

Already the case?

10. The compiler jars should have the ability to be unloaded from the
jvm if the classloader of these jars is dropped.

I have no idea what that means...

11. The compiler interface should be simple like: Instantiaton of a
class. Then using some setters to set main class, source files, swc
files, sdk location, output location, and a progress listener with the
possibility to interrupt the compilation if the user wish that. The
main build method should return the result as a list of
errors/warnings or simply success.

Not sure about the first part (interrupting compilation), but I'm
pretty sure we've got the basics for the return values.

Thoughts, ideas?

EdB



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
It would be great to have a intellij user use the new installer rc to install flexjs and see if it works. The overlay is soon to be obsolete. The ant scripts should be cross compiling and leaving results in the bin folder




Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.

Carlos Rovira <ca...@codeoscopic.com> wrote:


Hi,

as I'm a IntelliJ IDEA user (and no longer a FB user), I'm interested in
this thread and have some question, hope @Erik, @Alex or @Om could know
something about it:

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) ?

2) The new ApacheFlexJSOverlay.zip confuses me, since The most of the above
is already done, but we already need this for FB (and it seems that it's
only for FB and not for FDT, IntelliJ and others...). @Alex: Could you
throw some light about this overlay and how is constructed, and why is
needed at this time of development? What we need to remove that .zip from
the process of IDE Integration? There's plans for deprecation of this zip?

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.

In my opinion if we try to get a smooth way to integrate in some way with
any IDE, we could get more people on the FlexJS vagon.

In the other hand, maybe stand only with Flash Builder partial support is
not very good, taking into account that this Apache (we should be more
generic) and FB seems a dead IDE (maybe not, but I don't know too much
about it in a long time). What do you think?

Thanks for any help with this issues

Carlos







2013-11-30 8:43 GMT+01:00 Alex Harui <ah...@adobe.com>:

>
>
> On 11/29/13 11:31 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>
> >On Nov 29, 2013 10:40 PM, "Alex Harui" <ah...@adobe.com> wrote:
> >>
> >> FB has some expectations that we probably can't change.  If you look at
> >> the deploy scripts, some of them just don't seem necessary.  Each of
> >>those
> >> expectations, especially the ones assuming that third-party code is in
> >>the
> >> same folder tree, makes us do more work in the installer and makes the
> >> customer wait longer to get up and running on a new SDK.  If the other
> >> IDEs have fewer expectations or are willing to change their
> >>expectations,
> >> then those IDE vendors could say they have easier and quicker FlexJS
> >> integration.
> >>
> >> But for now, I think we have to meet FB's expectations, try to generate
> >>a
> >> lot of interest in Apache Flex SDKs of any flavor, and then see if any
> >>IDE
> >> vendors are more willing to be Flex-ible.
> >>
> >> -Alex
> >
> >I don't think I follow.  Can you please elaborate what expectations that
> >other IDEs need to relax?
> I haven't tried any other IDEs.  Someone should take a FlexJS "SDK" and
> try it and see if there are other funky assumptions (like FB expects an
> mx.filters package).
>
> But if the IDE vendors insist on co-location of AIR, FP and now GOOG,
> instead of also providing more flexibility like Apache Flex SDKs do today,
> then folks will never get out of having to run an installer to co-locate
> those dependencies.
>
> For example, FB has an Installed AIR SDKs section already.  It could add
> an Installed GOOG and Installed FP section and project properties allow
> you to choose one, not assume that the one you want is co-located.
>
>
> >
> >I would rather we target our efforts towards supporting IDEs that have
> >some
> >level of active development in the future.  I am not sure if that is the
> >case with Flash Builder.
> I think FB has a significant enough user base that we have to keep it in
> play.  But there is a great opportunity for the other IDE vendors to show
> that they work better.
> -Alex
>
>


--
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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi Alex,

it was that, I installed Java 7 and had to change google closure lib path
(it was a bit old and was pointinig to a subfolder) and all worked ok

Thanks for the help, I feel more near to get IntelliJ with FlexJS running!
:)





2014-02-24 18:34 GMT+01:00 Carlos Rovira <ca...@codeoscopic.com>:

> 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 <ah...@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.rovira@gmail.com [carlos.rovira@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 <er...@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.rovira@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.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 <er...@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
>> > > >>
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > 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
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > 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
>>
>
>
>
> --
> 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
>



-- 
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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi Joao,

I was thinking in making an IntelliJ IDEA tutorial setup in Made In Flex
this days. I planned it some weeks ago but I get busy and can't make it.
I'll try to get some time this weekend to make the write.


2014-05-07 11:47 GMT+02:00 João Fernandes <
joaopedromartinsfernandes@gmail.com>:

> Hey guys, I want to give FlexJS a try and I was looking for any info to get
> it running under intellij, is there any documentation on how to achieve it?
>
>
> On 7 March 2014 17:21, Alex Harui <ah...@adobe.com> wrote:
>
> > I guess for now you'll have to recompile for Java 6 or switch to Java 7.
> > I wonder if there is a way we can get around this in future builds.
>  Maybe
> > set the language level to 1.6?  I don't think the Falcon code itself uses
> > Java 7 APIs.  Then you could switch to an older Google library and it
> > would probably work.
> >
> > -Alex
> >
> > On 3/7/14 9:17 AM, "Maurice Amsellem" <ma...@systar.com>
> wrote:
> >
> > >Full stack trace.
> > > Seems to be the compiler.
> > >
> > >java.lang.UnsupportedClassVersionError:
> > >org/apache/flex/compiler/clients/COMPC : Unsupported major.minor version
> > >51.0
> > >       at java.lang.ClassLoader.defineClass1(Native Method)
> > >       at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> > >       at
> > >java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> > >       at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> > >       at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
> > >       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> > >       at java.security.AccessController.doPrivileged(Native Method)
> > >       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > >       at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
> > >       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> > >       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> > >       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
> > >Could not find the main class: org.apache.flex.compiler.clients.COMPC.
> > >Program will exit.
> > >Exception in thread "main"
> > >
> > >-----Message d'origine-----
> > >De : Alex Harui [mailto:aharui@adobe.com]
> > >Envoyé : vendredi 7 mars 2014 18:14
> > >À : dev@flex.apache.org; Erik de Bruin
> > >Objet : Re: [FLEXJS] IDE integration discussion
> > >
> > >Good question.  What was the stack trace?  Was it Google Closure that
> was
> > >complaining?
> > >
> > >On 3/7/14 8:15 AM, "Maurice Amsellem" <ma...@systar.com>
> > wrote:
> > >
> > >>I have installed FlexSK SDK nightly with the installer, and got the
> > >>error " Unsupported major.minor version 51.0".
> > >>
> > >>So does this mean that the SDK installed binaries require Java 7, and
> > >>that we have to build manually to use with Java 6?
> > >>Or is there a way to use the SDK with Java 6 without recompiling ?
> > >>
> > >>Maurice
> > >>
> > >>-----Message d'origine-----
> > >>De : carlos.rovira@gmail.com [mailto:carlos.rovira@gmail.com] De la
> > >>part de Carlos Rovira Envoyé : mardi 25 février 2014 08:25 À : Erik de
> > >>Bruin Cc : dev@flex.apache.org Objet : Re: [FLEXJS] IDE integration
> > >>discussion
> > >>
> > >>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 <er...@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
> > >>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@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.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','carlos.r
> > >>>> o
> > >>>> vira@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
> > >>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
> > >>>> <mailto:aharui@adobe.com
> <javascript:_e(%7B%7D,'cvml','aharui@adobe.c
> > >>>> o
> > >>>> m');>
> > >>>> >>:
> > >>>> Or compile the falcon code on 6
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
> > >>>>
> > >>>> Carlos Rovira
> > >>>> <carlos.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','carlos.r
> > >>>> o
> > >>>> vira@codeoscopic.com');>
> > >>>> <mailto:carlos.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','c
> > >>>> a
> > >>>> rlos.rovira@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/DataBindingTes
> > >>>> t
> > >>>> /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:1
> > >>>> 4
> > >>>> 1)
> > >>>>
> > >>>>      [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:26
> > >>>> 2
> > >>>> )
> > >>>>
> > >>>>      [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
> > >>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
> > >>>> <mailto:aharui@adobe.com
> <javascript:_e(%7B%7D,'cvml','aharui@adobe.c
> > >>>> o
> > >>>> m');>
> > >>>> >>:
> > >>>>
> > >>>> > 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.rovira@gmail.com
> <javascript:_e(%7B%7D,'cvml','carlos.rovira
> > >>>> > @
> > >>>> > gmail.com');>
> > >>>> <mailto:carlos.rovira@gmail.com
> <javascript:_e(%7B%7D,'cvml','carlos.
> > >>>> r
> > >>>> ovira@gmail.com');>>
> > >>>> [carlos.rovira@gmail.com
> <javascript:_e(%7B%7D,'cvml','carlos.rovira@
> > >>>> g
> > >>>> mail.com');>
> > >>>> <mailto:carlos.rovira@gmail.com
> <javascript:_e(%7B%7D,'cvml','carlos.
> > >>>> r
> > >>>> ovira@gmail.com');>>]
> > >>>> on behalf of
> > >>>> > Carlos Rovira
> > >>>> > [carlos.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','carlos.
> > >>>> > rovira@codeoscopic.com');>
> > >>>> <mailto:carlos.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','c
> > >>>> a
> > >>>> rlos.rovira@codeoscopic.com');>
> > >>>> >]
> > >>>> > Sent: Monday, February 24, 2014 8:58 AM
> > >>>> > To:
> > >>>> >dev@flex.apache.org
> <javascript:_e(%7B%7D,'cvml','dev@flex.apache.or
> > >>>> >g
> > >>>> >');>
> > >>>> <mailto:dev@flex.apache.org
> <javascript:_e(%7B%7D,'cvml','dev@flex.ap
> > >>>> a
> > >>>> che.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
> > >>>> > <erik@ixsoftware.nl
> <javascript:_e(%7B%7D,'cvml','erik@ixsoftware.n
> > >>>> > l
> > >>>> > ');>
> > >>>> <mailto:erik@ixsoftware.nl
> <javascript:_e(%7B%7D,'cvml','erik@ixsoftw
> > >>>> a
> > >>>> re.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.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','carlo
> > >>>> > > s
> > >>>> > > .rovira@codeoscopic.com');>
> > >>>> <mailto:carlos.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','c
> > >>>> a
> > >>>> rlos.rovira@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.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','carlos.
> > >>>> > r
> > >>>> > ovira@codeoscopic.com');>
> > >>>> <mailto:carlos.rovira@codeoscopic.com
> <javascript:_e(%7B%7D,'cvml','c
> > >>>> a
> > >>>> rlos.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
> > >>>> > > > > <erik@ixsoftware.nl
> <javascript:_e(%7B%7D,'cvml','erik@ixsoft
> > >>>> > > > > w
> > >>>> > > > > are.nl');>
> > >>>> <mailto:erik@ixsoftware.nl
> <javascript:_e(%7B%7D,'cvml','erik@ixsoftw
> > >>>> a
> > >>>> re.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
> > >
> >
> >
>
>
> --
>
> João Fernandes
>



-- 
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

Re: [FLEXJS] IDE integration discussion

Posted by João Fernandes <jo...@gmail.com>.
Hey guys, I want to give FlexJS a try and I was looking for any info to get
it running under intellij, is there any documentation on how to achieve it?


On 7 March 2014 17:21, Alex Harui <ah...@adobe.com> wrote:

> I guess for now you'll have to recompile for Java 6 or switch to Java 7.
> I wonder if there is a way we can get around this in future builds.  Maybe
> set the language level to 1.6?  I don't think the Falcon code itself uses
> Java 7 APIs.  Then you could switch to an older Google library and it
> would probably work.
>
> -Alex
>
> On 3/7/14 9:17 AM, "Maurice Amsellem" <ma...@systar.com> wrote:
>
> >Full stack trace.
> > Seems to be the compiler.
> >
> >java.lang.UnsupportedClassVersionError:
> >org/apache/flex/compiler/clients/COMPC : Unsupported major.minor version
> >51.0
> >       at java.lang.ClassLoader.defineClass1(Native Method)
> >       at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> >       at
> >java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> >       at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> >       at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
> >       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> >       at java.security.AccessController.doPrivileged(Native Method)
> >       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >       at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
> >       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> >       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
> >Could not find the main class: org.apache.flex.compiler.clients.COMPC.
> >Program will exit.
> >Exception in thread "main"
> >
> >-----Message d'origine-----
> >De : Alex Harui [mailto:aharui@adobe.com]
> >Envoyé : vendredi 7 mars 2014 18:14
> >À : dev@flex.apache.org; Erik de Bruin
> >Objet : Re: [FLEXJS] IDE integration discussion
> >
> >Good question.  What was the stack trace?  Was it Google Closure that was
> >complaining?
> >
> >On 3/7/14 8:15 AM, "Maurice Amsellem" <ma...@systar.com>
> wrote:
> >
> >>I have installed FlexSK SDK nightly with the installer, and got the
> >>error " Unsupported major.minor version 51.0".
> >>
> >>So does this mean that the SDK installed binaries require Java 7, and
> >>that we have to build manually to use with Java 6?
> >>Or is there a way to use the SDK with Java 6 without recompiling ?
> >>
> >>Maurice
> >>
> >>-----Message d'origine-----
> >>De : carlos.rovira@gmail.com [mailto:carlos.rovira@gmail.com] De la
> >>part de Carlos Rovira Envoyé : mardi 25 février 2014 08:25 À : Erik de
> >>Bruin Cc : dev@flex.apache.org Objet : Re: [FLEXJS] IDE integration
> >>discussion
> >>
> >>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 <er...@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
> >>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.r
> >>>> o
> >>>> vira@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
> >>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
> >>>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.c
> >>>> o
> >>>> m');>
> >>>> >>:
> >>>> Or compile the falcon code on 6
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
> >>>>
> >>>> Carlos Rovira
> >>>> <carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.r
> >>>> o
> >>>> vira@codeoscopic.com');>
> >>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
> >>>> a
> >>>> rlos.rovira@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/DataBindingTes
> >>>> t
> >>>> /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:1
> >>>> 4
> >>>> 1)
> >>>>
> >>>>      [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:26
> >>>> 2
> >>>> )
> >>>>
> >>>>      [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
> >>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
> >>>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.c
> >>>> o
> >>>> m');>
> >>>> >>:
> >>>>
> >>>> > 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.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira
> >>>> > @
> >>>> > gmail.com');>
> >>>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.
> >>>> r
> >>>> ovira@gmail.com');>>
> >>>> [carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@
> >>>> g
> >>>> mail.com');>
> >>>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.
> >>>> r
> >>>> ovira@gmail.com');>>]
> >>>> on behalf of
> >>>> > Carlos Rovira
> >>>> > [carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.
> >>>> > rovira@codeoscopic.com');>
> >>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
> >>>> a
> >>>> rlos.rovira@codeoscopic.com');>
> >>>> >]
> >>>> > Sent: Monday, February 24, 2014 8:58 AM
> >>>> > To:
> >>>> >dev@flex.apache.org<javascript:_e(%7B%7D,'cvml','dev@flex.apache.or
> >>>> >g
> >>>> >');>
> >>>> <mailto:dev@flex.apache.org<javascript:_e(%7B%7D,'cvml','dev@flex.ap
> >>>> a
> >>>> che.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
> >>>> > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftware.n
> >>>> > l
> >>>> > ');>
> >>>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftw
> >>>> a
> >>>> re.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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlo
> >>>> > > s
> >>>> > > .rovira@codeoscopic.com');>
> >>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
> >>>> a
> >>>> rlos.rovira@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.
> >>>> > r
> >>>> > ovira@codeoscopic.com');>
> >>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
> >>>> a
> >>>> rlos.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
> >>>> > > > > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoft
> >>>> > > > > w
> >>>> > > > > are.nl');>
> >>>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftw
> >>>> a
> >>>> re.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
> >
>
>


-- 

João Fernandes

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
I guess for now you'll have to recompile for Java 6 or switch to Java 7.
I wonder if there is a way we can get around this in future builds.  Maybe
set the language level to 1.6?  I don't think the Falcon code itself uses
Java 7 APIs.  Then you could switch to an older Google library and it
would probably work.

-Alex

On 3/7/14 9:17 AM, "Maurice Amsellem" <ma...@systar.com> wrote:

>Full stack trace. 
> Seems to be the compiler.
>
>java.lang.UnsupportedClassVersionError:
>org/apache/flex/compiler/clients/COMPC : Unsupported major.minor version
>51.0
>	at java.lang.ClassLoader.defineClass1(Native Method)
>	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>	at 
>java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>	at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>	at java.security.AccessController.doPrivileged(Native Method)
>	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>	at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>Could not find the main class: org.apache.flex.compiler.clients.COMPC.
>Program will exit.
>Exception in thread "main"
>
>-----Message d'origine-----
>De : Alex Harui [mailto:aharui@adobe.com]
>Envoyé : vendredi 7 mars 2014 18:14
>À : dev@flex.apache.org; Erik de Bruin
>Objet : Re: [FLEXJS] IDE integration discussion
>
>Good question.  What was the stack trace?  Was it Google Closure that was
>complaining?
>
>On 3/7/14 8:15 AM, "Maurice Amsellem" <ma...@systar.com> wrote:
>
>>I have installed FlexSK SDK nightly with the installer, and got the
>>error " Unsupported major.minor version 51.0".
>>
>>So does this mean that the SDK installed binaries require Java 7, and
>>that we have to build manually to use with Java 6?
>>Or is there a way to use the SDK with Java 6 without recompiling ?
>>
>>Maurice
>>
>>-----Message d'origine-----
>>De : carlos.rovira@gmail.com [mailto:carlos.rovira@gmail.com] De la
>>part de Carlos Rovira Envoyé : mardi 25 février 2014 08:25 À : Erik de
>>Bruin Cc : dev@flex.apache.org Objet : Re: [FLEXJS] IDE integration
>>discussion
>>
>>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 <er...@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
>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.r
>>>> o
>>>> vira@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
>>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>>>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.c
>>>> o
>>>> m');>
>>>> >>:
>>>> Or compile the falcon code on 6
>>>>
>>>>
>>>>
>>>>
>>>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
>>>>
>>>> Carlos Rovira
>>>> <carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.r
>>>> o
>>>> vira@codeoscopic.com');>
>>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
>>>> a
>>>> rlos.rovira@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/DataBindingTes
>>>> t
>>>> /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:1
>>>> 4
>>>> 1)
>>>>
>>>>      [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:26
>>>> 2
>>>> )
>>>>
>>>>      [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
>>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>>>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.c
>>>> o
>>>> m');>
>>>> >>:
>>>>
>>>> > 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.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira
>>>> > @
>>>> > gmail.com');>
>>>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.
>>>> r
>>>> ovira@gmail.com');>>
>>>> [carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@
>>>> g
>>>> mail.com');>
>>>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.
>>>> r
>>>> ovira@gmail.com');>>]
>>>> on behalf of
>>>> > Carlos Rovira
>>>> > [carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.
>>>> > rovira@codeoscopic.com');>
>>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
>>>> a
>>>> rlos.rovira@codeoscopic.com');>
>>>> >]
>>>> > Sent: Monday, February 24, 2014 8:58 AM
>>>> > To: 
>>>> >dev@flex.apache.org<javascript:_e(%7B%7D,'cvml','dev@flex.apache.or
>>>> >g
>>>> >');>
>>>> <mailto:dev@flex.apache.org<javascript:_e(%7B%7D,'cvml','dev@flex.ap
>>>> a
>>>> che.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
>>>> > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftware.n
>>>> > l
>>>> > ');>
>>>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftw
>>>> a
>>>> re.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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlo
>>>> > > s
>>>> > > .rovira@codeoscopic.com');>
>>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
>>>> a
>>>> rlos.rovira@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.
>>>> > r
>>>> > ovira@codeoscopic.com');>
>>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
>>>> a
>>>> rlos.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
>>>> > > > > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoft
>>>> > > > > w
>>>> > > > > are.nl');>
>>>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftw
>>>> a
>>>> re.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
>


RE: [FLEXJS] IDE integration discussion

Posted by Maurice Amsellem <ma...@systar.com>.
Full stack trace. 
 Seems to be the compiler.

java.lang.UnsupportedClassVersionError: org/apache/flex/compiler/clients/COMPC : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
Could not find the main class: org.apache.flex.compiler.clients.COMPC. Program will exit.
Exception in thread "main"

-----Message d'origine-----
De : Alex Harui [mailto:aharui@adobe.com] 
Envoyé : vendredi 7 mars 2014 18:14
À : dev@flex.apache.org; Erik de Bruin
Objet : Re: [FLEXJS] IDE integration discussion

Good question.  What was the stack trace?  Was it Google Closure that was complaining?

On 3/7/14 8:15 AM, "Maurice Amsellem" <ma...@systar.com> wrote:

>I have installed FlexSK SDK nightly with the installer, and got the 
>error " Unsupported major.minor version 51.0".
>
>So does this mean that the SDK installed binaries require Java 7, and 
>that we have to build manually to use with Java 6?
>Or is there a way to use the SDK with Java 6 without recompiling ?
>
>Maurice
>
>-----Message d'origine-----
>De : carlos.rovira@gmail.com [mailto:carlos.rovira@gmail.com] De la 
>part de Carlos Rovira Envoyé : mardi 25 février 2014 08:25 À : Erik de 
>Bruin Cc : dev@flex.apache.org Objet : Re: [FLEXJS] IDE integration 
>discussion
>
>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 <er...@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 
>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.r
>>> o
>>> vira@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 
>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.c
>>> o
>>> m');>
>>> >>:
>>> Or compile the falcon code on 6
>>>
>>>
>>>
>>>
>>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
>>>
>>> Carlos Rovira
>>> <carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.r
>>> o
>>> vira@codeoscopic.com');>
>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
>>> a
>>> rlos.rovira@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/DataBindingTes
>>> t
>>> /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:1
>>> 4
>>> 1)
>>>
>>>      [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:26
>>> 2
>>> )
>>>
>>>      [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 
>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.c
>>> o
>>> m');>
>>> >>:
>>>
>>> > 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.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira
>>> > @
>>> > gmail.com');>
>>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.
>>> r
>>> ovira@gmail.com');>>
>>> [carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@
>>> g
>>> mail.com');>
>>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.
>>> r
>>> ovira@gmail.com');>>]
>>> on behalf of
>>> > Carlos Rovira
>>> > [carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.
>>> > rovira@codeoscopic.com');>
>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
>>> a
>>> rlos.rovira@codeoscopic.com');>
>>> >]
>>> > Sent: Monday, February 24, 2014 8:58 AM
>>> > To: 
>>> >dev@flex.apache.org<javascript:_e(%7B%7D,'cvml','dev@flex.apache.or
>>> >g
>>> >');>
>>> <mailto:dev@flex.apache.org<javascript:_e(%7B%7D,'cvml','dev@flex.ap
>>> a
>>> che.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 
>>> > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftware.n
>>> > l
>>> > ');>
>>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftw
>>> a
>>> re.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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlo
>>> > > s
>>> > > .rovira@codeoscopic.com');>
>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
>>> a
>>> rlos.rovira@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.
>>> > r
>>> > ovira@codeoscopic.com');>
>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','c
>>> a
>>> rlos.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 
>>> > > > > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoft
>>> > > > > w
>>> > > > > are.nl');>
>>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftw
>>> a
>>> re.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


Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
Good question.  What was the stack trace?  Was it Google Closure that was
complaining?

On 3/7/14 8:15 AM, "Maurice Amsellem" <ma...@systar.com> wrote:

>I have installed FlexSK SDK nightly with the installer, and got the error
>" Unsupported major.minor version 51.0".
>
>So does this mean that the SDK installed binaries require Java 7, and
>that we have to build manually to use with Java 6?
>Or is there a way to use the SDK with Java 6 without recompiling ?
>
>Maurice 
>
>-----Message d'origine-----
>De : carlos.rovira@gmail.com [mailto:carlos.rovira@gmail.com] De la part
>de Carlos Rovira
>Envoyé : mardi 25 février 2014 08:25
>À : Erik de Bruin
>Cc : dev@flex.apache.org
>Objet : Re: [FLEXJS] IDE integration discussion
>
>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 <er...@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
>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.ro
>>> vira@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
>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.co
>>> m');>
>>> >>:
>>> Or compile the falcon code on 6
>>>
>>>
>>>
>>>
>>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
>>>
>>> Carlos Rovira 
>>> <carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.ro
>>> vira@codeoscopic.com');>
>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','ca
>>> rlos.rovira@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:14
>>> 1)
>>>
>>>      [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
>>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.co
>>> m');>
>>> >>:
>>>
>>> > 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.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@
>>> > gmail.com');>
>>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.r
>>> ovira@gmail.com');>>
>>> [carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@g
>>> mail.com');> 
>>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.r
>>> ovira@gmail.com');>>]
>>> on behalf of
>>> > Carlos Rovira
>>> > [carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.
>>> > rovira@codeoscopic.com');>
>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','ca
>>> rlos.rovira@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.apa
>>> che.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
>>> > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftware.nl
>>> > ');>
>>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftwa
>>> re.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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos
>>> > > .rovira@codeoscopic.com');>
>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','ca
>>> rlos.rovira@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.r
>>> > ovira@codeoscopic.com');>
>>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','ca
>>> rlos.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
>>> > > > > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftw
>>> > > > > are.nl');>
>>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftwa
>>> re.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


RE: [FLEXJS] IDE integration discussion

Posted by Maurice Amsellem <ma...@systar.com>.
I have installed FlexSK SDK nightly with the installer, and got the error " Unsupported major.minor version 51.0".

So does this mean that the SDK installed binaries require Java 7, and that we have to build manually to use with Java 6?
Or is there a way to use the SDK with Java 6 without recompiling ?

Maurice 

-----Message d'origine-----
De : carlos.rovira@gmail.com [mailto:carlos.rovira@gmail.com] De la part de Carlos Rovira
Envoyé : mardi 25 février 2014 08:25
À : Erik de Bruin
Cc : dev@flex.apache.org
Objet : Re: [FLEXJS] IDE integration discussion

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 <er...@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 
> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.ro
>> vira@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 
>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.co
>> m');>
>> >>:
>> Or compile the falcon code on 6
>>
>>
>>
>>
>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
>>
>> Carlos Rovira 
>> <carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.ro
>> vira@codeoscopic.com');> 
>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','ca
>> rlos.rovira@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:14
>> 1)
>>
>>      [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 
>> <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.co
>> m');>
>> >>:
>>
>> > 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.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@
>> > gmail.com');>
>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.r
>> ovira@gmail.com');>> 
>> [carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@g
>> mail.com');> 
>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.r
>> ovira@gmail.com');>>]
>> on behalf of
>> > Carlos Rovira 
>> > [carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.
>> > rovira@codeoscopic.com');>
>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','ca
>> rlos.rovira@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.apa
>> che.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 
>> > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftware.nl
>> > ');>
>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftwa
>> re.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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos
>> > > .rovira@codeoscopic.com');>
>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','ca
>> rlos.rovira@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.r
>> > ovira@codeoscopic.com');>
>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','ca
>> rlos.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 
>> > > > > <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftw
>> > > > > are.nl');>
>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftwa
>> re.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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@codeoscopic.com>.
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 <er...@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 <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@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 <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>> >>:
>> Or compile the falcon code on 6
>>
>>
>>
>>
>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
>>
>> Carlos Rovira <carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@codeoscopic.com');>
>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@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 <aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@adobe.com');>
>> <mailto:aharui@adobe.com<javascript:_e(%7B%7D,'cvml','aharui@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.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@gmail.com');>
>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@gmail.com');>>
>> [carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@gmail.com');>
>> <mailto:carlos.rovira@gmail.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@gmail.com');>>]
>> on behalf of
>> > Carlos Rovira [carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@codeoscopic.com');>
>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@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 <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftware.nl');>
>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@codeoscopic.com');>
>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@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.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','carlos.rovira@codeoscopic.com');>
>> <mailto:carlos.rovira@codeoscopic.com<javascript:_e(%7B%7D,'cvml','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 <erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@ixsoftware.nl');>
>> <mailto:erik@ixsoftware.nl<javascript:_e(%7B%7D,'cvml','erik@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

Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@ixsoftware.nl>.
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 <ah...@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 <ca...@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 <aharui@adobe.com<mailto:
> aharui@adobe.com>>:
> Or compile the falcon code on 6
>
>
>
>
> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
>
> Carlos Rovira <carlos.rovira@codeoscopic.com<mailto:
> carlos.rovira@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 <aharui@adobe.com<mailto:
> aharui@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.rovira@gmail.com<ma...@gmail.com> [
> carlos.rovira@gmail.com<ma...@gmail.com>] on behalf of
> > Carlos Rovira [carlos.rovira@codeoscopic.com<mailto:
> carlos.rovira@codeoscopic.com>]
> > Sent: Monday, February 24, 2014 8:58 AM
> > To: dev@flex.apache.org<ma...@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 <erik@ixsoftware.nl<mailto:
> erik@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.rovira@codeoscopic.com<ma...@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.rovira@codeoscopic.com<ma...@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 <erik@ixsoftware.nl
> <ma...@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

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
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 <ca...@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 <ah...@adobe.com>>:
Or compile the falcon code on 6




Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.

Carlos Rovira <ca...@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 <ah...@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.rovira@gmail.com<ma...@gmail.com> [carlos.rovira@gmail.com<ma...@gmail.com>] on behalf of
> Carlos Rovira [carlos.rovira@codeoscopic.com<ma...@codeoscopic.com>]
> Sent: Monday, February 24, 2014 8:58 AM
> To: dev@flex.apache.org<ma...@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 <er...@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.rovira@codeoscopic.com<ma...@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.rovira@codeoscopic.com<ma...@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 <er...@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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@codeoscopic.com>.
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 <ah...@adobe.com>:

> Or compile the falcon code on 6
>
>
>
>
> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
>
> Carlos Rovira <ca...@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 <ah...@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.rovira@gmail.com [carlos.rovira@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 <er...@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.rovira@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.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 <er...@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
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > 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
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> >
>
>
>
> --
> 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
>



-- 
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

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
Or compile the falcon code on 6




Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.

Carlos Rovira <ca...@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 <ah...@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.rovira@gmail.com [carlos.rovira@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 <er...@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.rovira@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.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 <er...@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
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > >
> > >
> > >
> > > --
> > > 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
>



--
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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@codeoscopic.com>.
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 <ah...@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.rovira@gmail.com [carlos.rovira@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 <er...@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.rovira@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.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 <er...@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
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > >
> > >
> > >
> > > --
> > > 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
>



-- 
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

RE: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@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.rovira@gmail.com [carlos.rovira@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 <er...@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.rovira@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.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 <er...@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
> > >>
> > >
> > >
> > >
> > > --
> > > 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
> > >
> >
> >
> >
> > --
> > 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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@codeoscopic.com>.
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 <er...@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.rovira@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.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 <er...@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
> > >>
> > >
> > >
> > >
> > > --
> > > 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
> > >
> >
> >
> >
> > --
> > 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

Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@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.rovira@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 <ca...@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 <er...@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
> >>
> >
> >
> >
> > --
> > 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
> >
>
>
>
> --
> 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

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
You don't get a bin folder?




Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.

Carlos Rovira <ca...@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 <ca...@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 <er...@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
>>
>
>
>
> --
> 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
>



--
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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@codeoscopic.com>.
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 <ca...@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 <er...@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
>>
>
>
>
> --
> 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
>



-- 
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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@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 <er...@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
>



-- 
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

Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@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

Re: [FLEXJS] IDE integration discussion

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi,

as I'm a IntelliJ IDEA user (and no longer a FB user), I'm interested in
this thread and have some question, hope @Erik, @Alex or @Om could know
something about it:

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) ?

2) The new ApacheFlexJSOverlay.zip confuses me, since The most of the above
is already done, but we already need this for FB (and it seems that it's
only for FB and not for FDT, IntelliJ and others...). @Alex: Could you
throw some light about this overlay and how is constructed, and why is
needed at this time of development? What we need to remove that .zip from
the process of IDE Integration? There's plans for deprecation of this zip?

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.

In my opinion if we try to get a smooth way to integrate in some way with
any IDE, we could get more people on the FlexJS vagon.

In the other hand, maybe stand only with Flash Builder partial support is
not very good, taking into account that this Apache (we should be more
generic) and FB seems a dead IDE (maybe not, but I don't know too much
about it in a long time). What do you think?

Thanks for any help with this issues

Carlos







2013-11-30 8:43 GMT+01:00 Alex Harui <ah...@adobe.com>:

>
>
> On 11/29/13 11:31 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>
> >On Nov 29, 2013 10:40 PM, "Alex Harui" <ah...@adobe.com> wrote:
> >>
> >> FB has some expectations that we probably can't change.  If you look at
> >> the deploy scripts, some of them just don't seem necessary.  Each of
> >>those
> >> expectations, especially the ones assuming that third-party code is in
> >>the
> >> same folder tree, makes us do more work in the installer and makes the
> >> customer wait longer to get up and running on a new SDK.  If the other
> >> IDEs have fewer expectations or are willing to change their
> >>expectations,
> >> then those IDE vendors could say they have easier and quicker FlexJS
> >> integration.
> >>
> >> But for now, I think we have to meet FB's expectations, try to generate
> >>a
> >> lot of interest in Apache Flex SDKs of any flavor, and then see if any
> >>IDE
> >> vendors are more willing to be Flex-ible.
> >>
> >> -Alex
> >
> >I don't think I follow.  Can you please elaborate what expectations that
> >other IDEs need to relax?
> I haven't tried any other IDEs.  Someone should take a FlexJS "SDK" and
> try it and see if there are other funky assumptions (like FB expects an
> mx.filters package).
>
> But if the IDE vendors insist on co-location of AIR, FP and now GOOG,
> instead of also providing more flexibility like Apache Flex SDKs do today,
> then folks will never get out of having to run an installer to co-locate
> those dependencies.
>
> For example, FB has an Installed AIR SDKs section already.  It could add
> an Installed GOOG and Installed FP section and project properties allow
> you to choose one, not assume that the one you want is co-located.
>
>
> >
> >I would rather we target our efforts towards supporting IDEs that have
> >some
> >level of active development in the future.  I am not sure if that is the
> >case with Flash Builder.
> I think FB has a significant enough user base that we have to keep it in
> play.  But there is a great opportunity for the other IDE vendors to show
> that they work better.
> -Alex
>
>


-- 
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

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.

On 11/29/13 11:31 PM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

>On Nov 29, 2013 10:40 PM, "Alex Harui" <ah...@adobe.com> wrote:
>>
>> FB has some expectations that we probably can't change.  If you look at
>> the deploy scripts, some of them just don't seem necessary.  Each of
>>those
>> expectations, especially the ones assuming that third-party code is in
>>the
>> same folder tree, makes us do more work in the installer and makes the
>> customer wait longer to get up and running on a new SDK.  If the other
>> IDEs have fewer expectations or are willing to change their
>>expectations,
>> then those IDE vendors could say they have easier and quicker FlexJS
>> integration.
>>
>> But for now, I think we have to meet FB's expectations, try to generate
>>a
>> lot of interest in Apache Flex SDKs of any flavor, and then see if any
>>IDE
>> vendors are more willing to be Flex-ible.
>>
>> -Alex
>
>I don't think I follow.  Can you please elaborate what expectations that
>other IDEs need to relax?
I haven't tried any other IDEs.  Someone should take a FlexJS "SDK" and
try it and see if there are other funky assumptions (like FB expects an
mx.filters package).

But if the IDE vendors insist on co-location of AIR, FP and now GOOG,
instead of also providing more flexibility like Apache Flex SDKs do today,
then folks will never get out of having to run an installer to co-locate
those dependencies.

For example, FB has an Installed AIR SDKs section already.  It could add
an Installed GOOG and Installed FP section and project properties allow
you to choose one, not assume that the one you want is co-located.


>
>I would rather we target our efforts towards supporting IDEs that have
>some
>level of active development in the future.  I am not sure if that is the
>case with Flash Builder.
I think FB has a significant enough user base that we have to keep it in
play.  But there is a great opportunity for the other IDE vendors to show
that they work better.
-Alex


Re: [FLEXJS] IDE integration discussion

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Nov 29, 2013 10:40 PM, "Alex Harui" <ah...@adobe.com> wrote:
>
> FB has some expectations that we probably can't change.  If you look at
> the deploy scripts, some of them just don't seem necessary.  Each of those
> expectations, especially the ones assuming that third-party code is in the
> same folder tree, makes us do more work in the installer and makes the
> customer wait longer to get up and running on a new SDK.  If the other
> IDEs have fewer expectations or are willing to change their expectations,
> then those IDE vendors could say they have easier and quicker FlexJS
> integration.
>
> But for now, I think we have to meet FB's expectations, try to generate a
> lot of interest in Apache Flex SDKs of any flavor, and then see if any IDE
> vendors are more willing to be Flex-ible.
>
> -Alex

I don't think I follow.  Can you please elaborate what expectations that
other IDEs need to relax?

I would rather we target our efforts towards supporting IDEs that have some
level of active development in the future.  I am not sure if that is the
case with Flash Builder.

Thanks,
Om

>
> On 11/29/13 10:21 PM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>
> >The FlexJS SDK will be a 'regular' SDK in all aspects but for the
> >framework code, correct?
> >
> >EdB
> >
> >
> >
> >On Sat, Nov 30, 2013 at 6:21 AM, Alex Harui <ah...@adobe.com> wrote:
> >> I think we'll be downloading FP and AIR SDKs for quite some time.
> >>
> >> -Alex
> >>
> >> On 11/29/13 10:31 AM, "OmPrakash Muppirala" <bi...@gmail.com>
> >>wrote:
> >>
> >>>What about FlashPlayer swc?  Even though it is optional for production
> >>>use,
> >>>they see required during development i.e. compilation time right?
> >>>
> >>>Also, what if the user wants to target the AIR runtime?   Could that be
> >>>an
> >>>optional download?
> >>>
> >>>Thanks,
> >>>Om
> >>>On Nov 29, 2013 8:13 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
> >>>
> >>>> I would very much prefer to download the latest version... but I
think
> >>>> it's more realistic to download a specific version.
> >>>>
> >>>> I do hate that decisions like this (however logical at the moment)
> >>>> always come back to bite you. Some of the libraries (the closure
> >>>> compiler chief among them) will become so outdated that updating to
> >>>> the latest version (as we needed to do recently) will no longer be
> >>>> trivial.
> >>>>
> >>>> But for now, a fixed version will mean one less thing to worry about.
> >>>> Our best bets going forward are:
> >>>>
> >>>> Closure compiler:
> >>>> https://closure-compiler.googlecode.com/files/compiler-20131014.zip
> >>>>
> >>>> Closure Library:
> >>>>
> >>>>
> >>>>
https://closure-library.googlecode.com/files/closure-library-20130212-9
> >>>>5c
> >>>>19e7f0f5f.zip
> >>>>
> >>>> For the compiler, it is the release before the update to Java 7; for
> >>>> the library, it is the 'latest' packaged release (you're actually
> >>>> supposed to get the latest and greatest from their git repo).
> >>>>
> >>>> EdB
> >>>>
> >>>>
> >>>>
> >>>> On Fri, Nov 29, 2013 at 4:28 PM, Alex Harui <ah...@adobe.com> wrote:
> >>>> > Excellent.  Sounds right to me.
> >>>> >
> >>>> > And yes, AUIC, the Installer will have to download the closure
> >>>>library.
> >>>> > We cannot bundle it in the binary artifacts even though it has an
> >>>>Apache
> >>>> > License.  That's because an official Apache release must only
> >>>>contain
> >>>> > source and the convenience binary package must only contained
> >>>>compiled
> >>>> > results of that source.  It isn't clear whether the binary package
> >>>>can
> >>>> > contain jars, etc downloaded in order to compile that source, but
> >>>>the
> >>>> > closure library isn't needed to compile our source (unless you
count
> >>>> > tests).
> >>>> >
> >>>> > One thing to decide:  Should the installer grab the latest closure
> >>>> library
> >>>> > and compiler or should we hit a particular known version?  I assume
> >>>>we'll
> >>>> > do the latter?  At least by default?
> >>>> >
> >>>> > -Alex
> >>>> >
> >>>> > On 11/29/13 5:48 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
> >>>> >
> >>>> >>Ok, that is given the assumption that there is a Closure Library in
> >>>> >>the SDK (copied there by the Installer - soon?), in the location
> >>>> >>'[FlexJSSDKRoot]/js/lib/google/closure-library'.
> >>>> >>
> >>>> >>EdB
> >>>> >>
> >>>> >>
> >>>> >>On Fri, Nov 29, 2013 at 2:44 PM, Erik de Bruin <er...@ixsoftware.nl>
> >>>> wrote:
> >>>> >>> And finally: I committed a change that resolves relative paths
> >>>> >>> correctly when the compiler is called from outside the root of
the
> >>>> >>> SDK. A 'Hello World' app will now compile successfully with only
> >>>>this
> >>>> >>> command line call:
> >>>> >>>
> >>>> >>> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
> >>>> >>> -load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
> >>>> >>> "[PathToMainProjectFile]"
> >>>> >>>
> >>>> >>> Couldn't be much easier, now can it?
> >>>> >>>
> >>>> >>> EdB
> >>>> >>>
> >>>> >>>
> >>>> >>>
> >>>> >>> On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin
> >>>><er...@ixsoftware.nl>
> >>>> >>>wrote:
> >>>> >>>> To continue this monologue: I've committed a change to the
config
> >>>> >>>> class that adds default relative paths (to FlexJS SDK) for the
> >>>>above
> >>>> >>>> mentioned remaining command line arguments.
> >>>> >>>>
> >>>> >>>> EdB
> >>>> >>>>
> >>>> >>>>
> >>>> >>>>
> >>>> >>>> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin
> >>>><er...@ixsoftware.nl>
> >>>> >>>>wrote:
> >>>> >>>>> Never mind, a liberal application of quotes solved the error.
> >>>>This
> >>>> >>>>> seems to be the current minimum command line:
> >>>> >>>>>
> >>>> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
> >>>> >>>>>
> >>>> >>>>> java -jar "./js/lib/mxmlc.jar"
> >>>> >>>>> -load-config="./frameworks/flex-config.xml"
> >>>> >>>>>
> >>>>
> >>>>
>
>>>>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/Google
> >>>>>>>>>Cl
> >>>>>>>>>osu
> >>>> >>>>>re/library"
> >>>> >>>>> -sdk-js-lib="./frameworks/js/FlexJS/src"
> >>>>"$LOC_PROJECT_ROOT_INPUT"
> >>>> >>>>>
> >>>> >>>>> So, if we give '-sdk-js-lib' and '-closure-lib' default values
> >>>>of
> >>>> >>>>> './frameworks/js/FlexJS/src' and
> >>>>'./js/lib/google/closure-library'
> >>>> >>>>> respectively - and have the installer download the Closure
> >>>>Library to
> >>>> >>>>> that location - we should be pretty close to the FDT people's
> >>>>ideal
> >>>> >>>>> situation. We would be able to compile a 'Hello World' into a
> >>>> >>>>> JavaScript application with:
> >>>> >>>>>
> >>>> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
> >>>> >>>>>
> >>>> >>>>> java -jar "./js/lib/mxmlc.jar"
> >>>> >>>>> -load-config="./frameworks/flex-config.xml"
> >>>> >>>>> "/Users/user/Documents/hWorld/HelloWorld.as"
> >>>> >>>>>
> >>>> >>>>> Close enough?
> >>>> >>>>>
> >>>> >>>>> EdB
> >>>> >>>>>
> >>>> >>>>>
> >>>> >>>>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin
> >>>><er...@ixsoftware.nl>
> >>>> >>>>>wrote:
> >>>> >>>>>> Trying to cut the launch commands down to bare metal I came up
> >>>>with
> >>>> >>>>>>this:
> >>>> >>>>>>
> >>>> >>>>>> SCRIPT_HOME="/Applications/Adobe Flash Builder
> >>>> >>>>>>4.7/sdks/4.11.0_overlay"
> >>>> >>>>>>
> >>>> >>>>>> java -Xmx384m -Dfile.encoding=UTF8
> >>>>-Dsun.io.useCanonCaches=false
> >>>> >>>>>> -Dflexcompiler=${SCRIPT_HOME}
> >>>>-Dflexlib=${SCRIPT_HOME}/frameworks
> >>>> >>>>>>-jar
> >>>> >>>>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
> >>>> >>>>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
> >>>> >>>>>>
> >>>>
> >>>>
>
>>>>>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/Googl
> >>>>>>>>>>eC
> >>>>>>>>>>los
> >>>> >>>>>>ure/library"
> >>>> >>>>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
> >>>> >>>>>> ${LOC_PROJECT_ROOT_INPUT}
> >>>> >>>>>>
> >>>> >>>>>> Which "seems" to be what both 'mxmlc' and the FB launch files
> >>>>need.
> >>>> >>>>>> However, when I run above from the command line, I get:
> >>>> >>>>>>
> >>>> >>>>>> Error: Could not find or load main class Flash
> >>>> >>>>>>
> >>>> >>>>>> What is missing/am I doing wrong?
> >>>> >>>>>>
> >>>> >>>>>> EdB
> >>>> >>>>>>
> >>>> >>>>>>
> >>>> >>>>>>
> >>>> >>>>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin
> >>>><erik@ixsoftware.nl
> >>>> >
> >>>> >>>>>>wrote:
> >>>> >>>>>>> Ok, the FDT people raised some interesting targets; I'd like
> >>>>to
> >>>> >>>>>>> discuss them one by one, to get a better understanding where
> >>>>we
> >>>>are
> >>>> >>>>>>> and what we're aiming for.
> >>>> >>>>>>>
> >>>> >>>>>>> 1. The user can get the FULLY functional Flex JS SDK by
> >>>>unzipping a
> >>>> >>>>>>> downloaded file(best soultion) or a downloaded installer if
it
> >>>>is
> >>>> >>>>>>> executed does every step to create fully functional Flex JS
> >>>>SDK.
> >>>> >>>>>>>
> >>>> >>>>>>> This is what the Installer will do once the 'ant' stuff is
> >>>>checked
> >>>> >>>>>>>in?
> >>>> >>>>>>>
> >>>> >>>>>>> 2. Java should be the only extern dependency of the Flex JS
> >>>>SDK.
> >>>> >>>>>>> Everything else should be contained in the SDK. Also the
> >>>>compiler
> >>>> >>>>>>> should not refer to the SDK by using environment variables.
> >>>> >>>>>>>
> >>>> >>>>>>> If we include the Closure Library download in the Installer,
> >>>>this
> >>>> >>>>>>>is true?
> >>>> >>>>>>>
> >>>> >>>>>>> 3. The compiler can be started by calling a java class in
some
> >>>>jar
> >>>> >>>>>>>file.
> >>>> >>>>>>>
> >>>> >>>>>>> Looking at 'mxmlc', this is already the case (java -jar
> >>>> >>>>>>>"../lib/mxmlc.jar")?
> >>>> >>>>>>>
> >>>> >>>>>>> 4. The settings needed to compile a Action Script project
with
> >>>>the
> >>>> >>>>>>> Flex JS Compiler should be the reference to the main class,
to
> >>>>the
> >>>> >>>>>>> source folders, to the swcs, to the used Flex JS SDK and the
> >>>>output
> >>>> >>>>>>> folder. The rest like references to Google Closure library
> >>>>should
> >>>> >>>>>>>have
> >>>> >>>>>>> default values refering into the Flex JS SDK via relative
> >>>>paths.
> >>>> All
> >>>> >>>>>>> other settings should have usefull default values which do
not
> >>>> block
> >>>> >>>>>>> compilation.
> >>>> >>>>>>>
> >>>> >>>>>>> Besides what's already discussed in 2., I think all we need
to
> >>>>do
> >>>> is
> >>>> >>>>>>> give '-closure-lib' a proper (relative) default?
> >>>> >>>>>>>
> >>>> >>>>>>> 5. The compiler output should be a directory or file
> >>>>containing
> >>>> >>>>>>> everything necessary to start the project.
> >>>> >>>>>>>
> >>>> >>>>>>> Already the case.
> >>>> >>>>>>>
> >>>> >>>>>>> 6. The compiler output should be launchable by sending some
> >>>>file
> >>>> >>>>>>>like
> >>>> >>>>>>> index.html to the browser.
> >>>> >>>>>>>
> >>>> >>>>>>> Already the case.
> >>>> >>>>>>>
> >>>> >>>>>>> 7. The hello world example should only need the reference to
> >>>>one
> >>>> >>>>>>>main
> >>>> >>>>>>> class, one source folder, a few swcs, the sdk, and an output
> >>>>folder
> >>>> >>>>>>> and should be successfully compiled with no other settings
> >>>>given to
> >>>> >>>>>>> the compiler.
> >>>> >>>>>>>
> >>>> >>>>>>> Given 4., this is the case?
> >>>> >>>>>>>
> >>>> >>>>>>> 8. The compiler interface should be stable over time. We are
> >>>>not
> >>>> >>>>>>> willing to adjust the transfered settings each new version.
> >>>> >>>>>>>
> >>>> >>>>>>> Seems logical to have a stable API... Nothing here, moving
> >>>>along.
> >>>> >>>>>>>
> >>>> >>>>>>> 9. The necessary jars of the compiler should be placed all in
> >>>>one
> >>>> >>>>>>> folder of the sdk.
> >>>> >>>>>>>
> >>>> >>>>>>> Already the case?
> >>>> >>>>>>>
> >>>> >>>>>>> 10. The compiler jars should have the ability to be unloaded
> >>>>from
> >>>> >>>>>>>the
> >>>> >>>>>>> jvm if the classloader of these jars is dropped.
> >>>> >>>>>>>
> >>>> >>>>>>> I have no idea what that means...
> >>>> >>>>>>>
> >>>> >>>>>>> 11. The compiler interface should be simple like:
Instantiaton
> >>>>of a
> >>>> >>>>>>> class. Then using some setters to set main class, source
> >>>>files,
> >>>>swc
> >>>> >>>>>>> files, sdk location, output location, and a progress listener
> >>>>with
> >>>> >>>>>>>the
> >>>> >>>>>>> possibility to interrupt the compilation if the user wish
> >>>>that.
> >>>>The
> >>>> >>>>>>> main build method should return the result as a list of
> >>>> >>>>>>> errors/warnings or simply success.
> >>>> >>>>>>>
> >>>> >>>>>>> Not sure about the first part (interrupting compilation), but
> >>>>I'm
> >>>> >>>>>>> pretty sure we've got the basics for the return values.
> >>>> >>>>>>>
> >>>> >>>>>>> Thoughts, ideas?
> >>>> >>>>>>>
> >>>> >>>>>>> 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
> >>>> >>>>
> >>>> >>>>
> >>>> >>>>
> >>>> >>>> --
> >>>> >>>> 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
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> 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
>

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
FB has some expectations that we probably can't change.  If you look at
the deploy scripts, some of them just don't seem necessary.  Each of those
expectations, especially the ones assuming that third-party code is in the
same folder tree, makes us do more work in the installer and makes the
customer wait longer to get up and running on a new SDK.  If the other
IDEs have fewer expectations or are willing to change their expectations,
then those IDE vendors could say they have easier and quicker FlexJS
integration.

But for now, I think we have to meet FB's expectations, try to generate a
lot of interest in Apache Flex SDKs of any flavor, and then see if any IDE
vendors are more willing to be Flex-ible.

-Alex

On 11/29/13 10:21 PM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

>The FlexJS SDK will be a 'regular' SDK in all aspects but for the
>framework code, correct?
>
>EdB
>
>
>
>On Sat, Nov 30, 2013 at 6:21 AM, Alex Harui <ah...@adobe.com> wrote:
>> I think we'll be downloading FP and AIR SDKs for quite some time.
>>
>> -Alex
>>
>> On 11/29/13 10:31 AM, "OmPrakash Muppirala" <bi...@gmail.com>
>>wrote:
>>
>>>What about FlashPlayer swc?  Even though it is optional for production
>>>use,
>>>they see required during development i.e. compilation time right?
>>>
>>>Also, what if the user wants to target the AIR runtime?   Could that be
>>>an
>>>optional download?
>>>
>>>Thanks,
>>>Om
>>>On Nov 29, 2013 8:13 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>>>
>>>> I would very much prefer to download the latest version... but I think
>>>> it's more realistic to download a specific version.
>>>>
>>>> I do hate that decisions like this (however logical at the moment)
>>>> always come back to bite you. Some of the libraries (the closure
>>>> compiler chief among them) will become so outdated that updating to
>>>> the latest version (as we needed to do recently) will no longer be
>>>> trivial.
>>>>
>>>> But for now, a fixed version will mean one less thing to worry about.
>>>> Our best bets going forward are:
>>>>
>>>> Closure compiler:
>>>> https://closure-compiler.googlecode.com/files/compiler-20131014.zip
>>>>
>>>> Closure Library:
>>>>
>>>>
>>>>https://closure-library.googlecode.com/files/closure-library-20130212-9
>>>>5c
>>>>19e7f0f5f.zip
>>>>
>>>> For the compiler, it is the release before the update to Java 7; for
>>>> the library, it is the 'latest' packaged release (you're actually
>>>> supposed to get the latest and greatest from their git repo).
>>>>
>>>> EdB
>>>>
>>>>
>>>>
>>>> On Fri, Nov 29, 2013 at 4:28 PM, Alex Harui <ah...@adobe.com> wrote:
>>>> > Excellent.  Sounds right to me.
>>>> >
>>>> > And yes, AUIC, the Installer will have to download the closure
>>>>library.
>>>> > We cannot bundle it in the binary artifacts even though it has an
>>>>Apache
>>>> > License.  That's because an official Apache release must only
>>>>contain
>>>> > source and the convenience binary package must only contained
>>>>compiled
>>>> > results of that source.  It isn't clear whether the binary package
>>>>can
>>>> > contain jars, etc downloaded in order to compile that source, but
>>>>the
>>>> > closure library isn't needed to compile our source (unless you count
>>>> > tests).
>>>> >
>>>> > One thing to decide:  Should the installer grab the latest closure
>>>> library
>>>> > and compiler or should we hit a particular known version?  I assume
>>>>we'll
>>>> > do the latter?  At least by default?
>>>> >
>>>> > -Alex
>>>> >
>>>> > On 11/29/13 5:48 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>>>> >
>>>> >>Ok, that is given the assumption that there is a Closure Library in
>>>> >>the SDK (copied there by the Installer - soon?), in the location
>>>> >>'[FlexJSSDKRoot]/js/lib/google/closure-library'.
>>>> >>
>>>> >>EdB
>>>> >>
>>>> >>
>>>> >>On Fri, Nov 29, 2013 at 2:44 PM, Erik de Bruin <er...@ixsoftware.nl>
>>>> wrote:
>>>> >>> And finally: I committed a change that resolves relative paths
>>>> >>> correctly when the compiler is called from outside the root of the
>>>> >>> SDK. A 'Hello World' app will now compile successfully with only
>>>>this
>>>> >>> command line call:
>>>> >>>
>>>> >>> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
>>>> >>> -load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
>>>> >>> "[PathToMainProjectFile]"
>>>> >>>
>>>> >>> Couldn't be much easier, now can it?
>>>> >>>
>>>> >>> EdB
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin
>>>><er...@ixsoftware.nl>
>>>> >>>wrote:
>>>> >>>> To continue this monologue: I've committed a change to the config
>>>> >>>> class that adds default relative paths (to FlexJS SDK) for the
>>>>above
>>>> >>>> mentioned remaining command line arguments.
>>>> >>>>
>>>> >>>> EdB
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin
>>>><er...@ixsoftware.nl>
>>>> >>>>wrote:
>>>> >>>>> Never mind, a liberal application of quotes solved the error.
>>>>This
>>>> >>>>> seems to be the current minimum command line:
>>>> >>>>>
>>>> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>> >>>>>
>>>> >>>>> java -jar "./js/lib/mxmlc.jar"
>>>> >>>>> -load-config="./frameworks/flex-config.xml"
>>>> >>>>>
>>>>
>>>>
>>>>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/Google
>>>>>>>>>Cl
>>>>>>>>>osu
>>>> >>>>>re/library"
>>>> >>>>> -sdk-js-lib="./frameworks/js/FlexJS/src"
>>>>"$LOC_PROJECT_ROOT_INPUT"
>>>> >>>>>
>>>> >>>>> So, if we give '-sdk-js-lib' and '-closure-lib' default values
>>>>of
>>>> >>>>> './frameworks/js/FlexJS/src' and
>>>>'./js/lib/google/closure-library'
>>>> >>>>> respectively - and have the installer download the Closure
>>>>Library to
>>>> >>>>> that location - we should be pretty close to the FDT people's
>>>>ideal
>>>> >>>>> situation. We would be able to compile a 'Hello World' into a
>>>> >>>>> JavaScript application with:
>>>> >>>>>
>>>> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>> >>>>>
>>>> >>>>> java -jar "./js/lib/mxmlc.jar"
>>>> >>>>> -load-config="./frameworks/flex-config.xml"
>>>> >>>>> "/Users/user/Documents/hWorld/HelloWorld.as"
>>>> >>>>>
>>>> >>>>> Close enough?
>>>> >>>>>
>>>> >>>>> EdB
>>>> >>>>>
>>>> >>>>>
>>>> >>>>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin
>>>><er...@ixsoftware.nl>
>>>> >>>>>wrote:
>>>> >>>>>> Trying to cut the launch commands down to bare metal I came up
>>>>with
>>>> >>>>>>this:
>>>> >>>>>>
>>>> >>>>>> SCRIPT_HOME="/Applications/Adobe Flash Builder
>>>> >>>>>>4.7/sdks/4.11.0_overlay"
>>>> >>>>>>
>>>> >>>>>> java -Xmx384m -Dfile.encoding=UTF8
>>>>-Dsun.io.useCanonCaches=false
>>>> >>>>>> -Dflexcompiler=${SCRIPT_HOME}
>>>>-Dflexlib=${SCRIPT_HOME}/frameworks
>>>> >>>>>>-jar
>>>> >>>>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
>>>> >>>>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
>>>> >>>>>>
>>>>
>>>>
>>>>>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/Googl
>>>>>>>>>>eC
>>>>>>>>>>los
>>>> >>>>>>ure/library"
>>>> >>>>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
>>>> >>>>>> ${LOC_PROJECT_ROOT_INPUT}
>>>> >>>>>>
>>>> >>>>>> Which "seems" to be what both 'mxmlc' and the FB launch files
>>>>need.
>>>> >>>>>> However, when I run above from the command line, I get:
>>>> >>>>>>
>>>> >>>>>> Error: Could not find or load main class Flash
>>>> >>>>>>
>>>> >>>>>> What is missing/am I doing wrong?
>>>> >>>>>>
>>>> >>>>>> EdB
>>>> >>>>>>
>>>> >>>>>>
>>>> >>>>>>
>>>> >>>>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin
>>>><erik@ixsoftware.nl
>>>> >
>>>> >>>>>>wrote:
>>>> >>>>>>> Ok, the FDT people raised some interesting targets; I'd like
>>>>to
>>>> >>>>>>> discuss them one by one, to get a better understanding where
>>>>we
>>>>are
>>>> >>>>>>> and what we're aiming for.
>>>> >>>>>>>
>>>> >>>>>>> 1. The user can get the FULLY functional Flex JS SDK by
>>>>unzipping a
>>>> >>>>>>> downloaded file(best soultion) or a downloaded installer if it
>>>>is
>>>> >>>>>>> executed does every step to create fully functional Flex JS
>>>>SDK.
>>>> >>>>>>>
>>>> >>>>>>> This is what the Installer will do once the 'ant' stuff is
>>>>checked
>>>> >>>>>>>in?
>>>> >>>>>>>
>>>> >>>>>>> 2. Java should be the only extern dependency of the Flex JS
>>>>SDK.
>>>> >>>>>>> Everything else should be contained in the SDK. Also the
>>>>compiler
>>>> >>>>>>> should not refer to the SDK by using environment variables.
>>>> >>>>>>>
>>>> >>>>>>> If we include the Closure Library download in the Installer,
>>>>this
>>>> >>>>>>>is true?
>>>> >>>>>>>
>>>> >>>>>>> 3. The compiler can be started by calling a java class in some
>>>>jar
>>>> >>>>>>>file.
>>>> >>>>>>>
>>>> >>>>>>> Looking at 'mxmlc', this is already the case (java -jar
>>>> >>>>>>>"../lib/mxmlc.jar")?
>>>> >>>>>>>
>>>> >>>>>>> 4. The settings needed to compile a Action Script project with
>>>>the
>>>> >>>>>>> Flex JS Compiler should be the reference to the main class, to
>>>>the
>>>> >>>>>>> source folders, to the swcs, to the used Flex JS SDK and the
>>>>output
>>>> >>>>>>> folder. The rest like references to Google Closure library
>>>>should
>>>> >>>>>>>have
>>>> >>>>>>> default values refering into the Flex JS SDK via relative
>>>>paths.
>>>> All
>>>> >>>>>>> other settings should have usefull default values which do not
>>>> block
>>>> >>>>>>> compilation.
>>>> >>>>>>>
>>>> >>>>>>> Besides what's already discussed in 2., I think all we need to
>>>>do
>>>> is
>>>> >>>>>>> give '-closure-lib' a proper (relative) default?
>>>> >>>>>>>
>>>> >>>>>>> 5. The compiler output should be a directory or file
>>>>containing
>>>> >>>>>>> everything necessary to start the project.
>>>> >>>>>>>
>>>> >>>>>>> Already the case.
>>>> >>>>>>>
>>>> >>>>>>> 6. The compiler output should be launchable by sending some
>>>>file
>>>> >>>>>>>like
>>>> >>>>>>> index.html to the browser.
>>>> >>>>>>>
>>>> >>>>>>> Already the case.
>>>> >>>>>>>
>>>> >>>>>>> 7. The hello world example should only need the reference to
>>>>one
>>>> >>>>>>>main
>>>> >>>>>>> class, one source folder, a few swcs, the sdk, and an output
>>>>folder
>>>> >>>>>>> and should be successfully compiled with no other settings
>>>>given to
>>>> >>>>>>> the compiler.
>>>> >>>>>>>
>>>> >>>>>>> Given 4., this is the case?
>>>> >>>>>>>
>>>> >>>>>>> 8. The compiler interface should be stable over time. We are
>>>>not
>>>> >>>>>>> willing to adjust the transfered settings each new version.
>>>> >>>>>>>
>>>> >>>>>>> Seems logical to have a stable API... Nothing here, moving
>>>>along.
>>>> >>>>>>>
>>>> >>>>>>> 9. The necessary jars of the compiler should be placed all in
>>>>one
>>>> >>>>>>> folder of the sdk.
>>>> >>>>>>>
>>>> >>>>>>> Already the case?
>>>> >>>>>>>
>>>> >>>>>>> 10. The compiler jars should have the ability to be unloaded
>>>>from
>>>> >>>>>>>the
>>>> >>>>>>> jvm if the classloader of these jars is dropped.
>>>> >>>>>>>
>>>> >>>>>>> I have no idea what that means...
>>>> >>>>>>>
>>>> >>>>>>> 11. The compiler interface should be simple like: Instantiaton
>>>>of a
>>>> >>>>>>> class. Then using some setters to set main class, source
>>>>files,
>>>>swc
>>>> >>>>>>> files, sdk location, output location, and a progress listener
>>>>with
>>>> >>>>>>>the
>>>> >>>>>>> possibility to interrupt the compilation if the user wish
>>>>that.
>>>>The
>>>> >>>>>>> main build method should return the result as a list of
>>>> >>>>>>> errors/warnings or simply success.
>>>> >>>>>>>
>>>> >>>>>>> Not sure about the first part (interrupting compilation), but
>>>>I'm
>>>> >>>>>>> pretty sure we've got the basics for the return values.
>>>> >>>>>>>
>>>> >>>>>>> Thoughts, ideas?
>>>> >>>>>>>
>>>> >>>>>>> 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
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> --
>>>> >>>> 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
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> 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


Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@ixsoftware.nl>.
The FlexJS SDK will be a 'regular' SDK in all aspects but for the
framework code, correct?

EdB



On Sat, Nov 30, 2013 at 6:21 AM, Alex Harui <ah...@adobe.com> wrote:
> I think we'll be downloading FP and AIR SDKs for quite some time.
>
> -Alex
>
> On 11/29/13 10:31 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:
>
>>What about FlashPlayer swc?  Even though it is optional for production
>>use,
>>they see required during development i.e. compilation time right?
>>
>>Also, what if the user wants to target the AIR runtime?   Could that be an
>>optional download?
>>
>>Thanks,
>>Om
>>On Nov 29, 2013 8:13 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>>
>>> I would very much prefer to download the latest version... but I think
>>> it's more realistic to download a specific version.
>>>
>>> I do hate that decisions like this (however logical at the moment)
>>> always come back to bite you. Some of the libraries (the closure
>>> compiler chief among them) will become so outdated that updating to
>>> the latest version (as we needed to do recently) will no longer be
>>> trivial.
>>>
>>> But for now, a fixed version will mean one less thing to worry about.
>>> Our best bets going forward are:
>>>
>>> Closure compiler:
>>> https://closure-compiler.googlecode.com/files/compiler-20131014.zip
>>>
>>> Closure Library:
>>>
>>>
>>>https://closure-library.googlecode.com/files/closure-library-20130212-95c
>>>19e7f0f5f.zip
>>>
>>> For the compiler, it is the release before the update to Java 7; for
>>> the library, it is the 'latest' packaged release (you're actually
>>> supposed to get the latest and greatest from their git repo).
>>>
>>> EdB
>>>
>>>
>>>
>>> On Fri, Nov 29, 2013 at 4:28 PM, Alex Harui <ah...@adobe.com> wrote:
>>> > Excellent.  Sounds right to me.
>>> >
>>> > And yes, AUIC, the Installer will have to download the closure
>>>library.
>>> > We cannot bundle it in the binary artifacts even though it has an
>>>Apache
>>> > License.  That's because an official Apache release must only contain
>>> > source and the convenience binary package must only contained compiled
>>> > results of that source.  It isn't clear whether the binary package can
>>> > contain jars, etc downloaded in order to compile that source, but the
>>> > closure library isn't needed to compile our source (unless you count
>>> > tests).
>>> >
>>> > One thing to decide:  Should the installer grab the latest closure
>>> library
>>> > and compiler or should we hit a particular known version?  I assume
>>>we'll
>>> > do the latter?  At least by default?
>>> >
>>> > -Alex
>>> >
>>> > On 11/29/13 5:48 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>>> >
>>> >>Ok, that is given the assumption that there is a Closure Library in
>>> >>the SDK (copied there by the Installer - soon?), in the location
>>> >>'[FlexJSSDKRoot]/js/lib/google/closure-library'.
>>> >>
>>> >>EdB
>>> >>
>>> >>
>>> >>On Fri, Nov 29, 2013 at 2:44 PM, Erik de Bruin <er...@ixsoftware.nl>
>>> wrote:
>>> >>> And finally: I committed a change that resolves relative paths
>>> >>> correctly when the compiler is called from outside the root of the
>>> >>> SDK. A 'Hello World' app will now compile successfully with only
>>>this
>>> >>> command line call:
>>> >>>
>>> >>> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
>>> >>> -load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
>>> >>> "[PathToMainProjectFile]"
>>> >>>
>>> >>> Couldn't be much easier, now can it?
>>> >>>
>>> >>> EdB
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin <er...@ixsoftware.nl>
>>> >>>wrote:
>>> >>>> To continue this monologue: I've committed a change to the config
>>> >>>> class that adds default relative paths (to FlexJS SDK) for the
>>>above
>>> >>>> mentioned remaining command line arguments.
>>> >>>>
>>> >>>> EdB
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin <er...@ixsoftware.nl>
>>> >>>>wrote:
>>> >>>>> Never mind, a liberal application of quotes solved the error. This
>>> >>>>> seems to be the current minimum command line:
>>> >>>>>
>>> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>> >>>>>
>>> >>>>> java -jar "./js/lib/mxmlc.jar"
>>> >>>>> -load-config="./frameworks/flex-config.xml"
>>> >>>>>
>>>
>>>
>>>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleCl
>>>>>>>>osu
>>> >>>>>re/library"
>>> >>>>> -sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"
>>> >>>>>
>>> >>>>> So, if we give '-sdk-js-lib' and '-closure-lib' default values of
>>> >>>>> './frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
>>> >>>>> respectively - and have the installer download the Closure
>>>Library to
>>> >>>>> that location - we should be pretty close to the FDT people's
>>>ideal
>>> >>>>> situation. We would be able to compile a 'Hello World' into a
>>> >>>>> JavaScript application with:
>>> >>>>>
>>> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>> >>>>>
>>> >>>>> java -jar "./js/lib/mxmlc.jar"
>>> >>>>> -load-config="./frameworks/flex-config.xml"
>>> >>>>> "/Users/user/Documents/hWorld/HelloWorld.as"
>>> >>>>>
>>> >>>>> Close enough?
>>> >>>>>
>>> >>>>> EdB
>>> >>>>>
>>> >>>>>
>>> >>>>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin
>>><er...@ixsoftware.nl>
>>> >>>>>wrote:
>>> >>>>>> Trying to cut the launch commands down to bare metal I came up
>>>with
>>> >>>>>>this:
>>> >>>>>>
>>> >>>>>> SCRIPT_HOME="/Applications/Adobe Flash Builder
>>> >>>>>>4.7/sdks/4.11.0_overlay"
>>> >>>>>>
>>> >>>>>> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
>>> >>>>>> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks
>>> >>>>>>-jar
>>> >>>>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
>>> >>>>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
>>> >>>>>>
>>>
>>>
>>>>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleC
>>>>>>>>>los
>>> >>>>>>ure/library"
>>> >>>>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
>>> >>>>>> ${LOC_PROJECT_ROOT_INPUT}
>>> >>>>>>
>>> >>>>>> Which "seems" to be what both 'mxmlc' and the FB launch files
>>>need.
>>> >>>>>> However, when I run above from the command line, I get:
>>> >>>>>>
>>> >>>>>> Error: Could not find or load main class Flash
>>> >>>>>>
>>> >>>>>> What is missing/am I doing wrong?
>>> >>>>>>
>>> >>>>>> EdB
>>> >>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin
>>><erik@ixsoftware.nl
>>> >
>>> >>>>>>wrote:
>>> >>>>>>> Ok, the FDT people raised some interesting targets; I'd like to
>>> >>>>>>> discuss them one by one, to get a better understanding where we
>>>are
>>> >>>>>>> and what we're aiming for.
>>> >>>>>>>
>>> >>>>>>> 1. The user can get the FULLY functional Flex JS SDK by
>>>unzipping a
>>> >>>>>>> downloaded file(best soultion) or a downloaded installer if it
>>>is
>>> >>>>>>> executed does every step to create fully functional Flex JS SDK.
>>> >>>>>>>
>>> >>>>>>> This is what the Installer will do once the 'ant' stuff is
>>>checked
>>> >>>>>>>in?
>>> >>>>>>>
>>> >>>>>>> 2. Java should be the only extern dependency of the Flex JS SDK.
>>> >>>>>>> Everything else should be contained in the SDK. Also the
>>>compiler
>>> >>>>>>> should not refer to the SDK by using environment variables.
>>> >>>>>>>
>>> >>>>>>> If we include the Closure Library download in the Installer,
>>>this
>>> >>>>>>>is true?
>>> >>>>>>>
>>> >>>>>>> 3. The compiler can be started by calling a java class in some
>>>jar
>>> >>>>>>>file.
>>> >>>>>>>
>>> >>>>>>> Looking at 'mxmlc', this is already the case (java -jar
>>> >>>>>>>"../lib/mxmlc.jar")?
>>> >>>>>>>
>>> >>>>>>> 4. The settings needed to compile a Action Script project with
>>>the
>>> >>>>>>> Flex JS Compiler should be the reference to the main class, to
>>>the
>>> >>>>>>> source folders, to the swcs, to the used Flex JS SDK and the
>>>output
>>> >>>>>>> folder. The rest like references to Google Closure library
>>>should
>>> >>>>>>>have
>>> >>>>>>> default values refering into the Flex JS SDK via relative paths.
>>> All
>>> >>>>>>> other settings should have usefull default values which do not
>>> block
>>> >>>>>>> compilation.
>>> >>>>>>>
>>> >>>>>>> Besides what's already discussed in 2., I think all we need to
>>>do
>>> is
>>> >>>>>>> give '-closure-lib' a proper (relative) default?
>>> >>>>>>>
>>> >>>>>>> 5. The compiler output should be a directory or file containing
>>> >>>>>>> everything necessary to start the project.
>>> >>>>>>>
>>> >>>>>>> Already the case.
>>> >>>>>>>
>>> >>>>>>> 6. The compiler output should be launchable by sending some file
>>> >>>>>>>like
>>> >>>>>>> index.html to the browser.
>>> >>>>>>>
>>> >>>>>>> Already the case.
>>> >>>>>>>
>>> >>>>>>> 7. The hello world example should only need the reference to one
>>> >>>>>>>main
>>> >>>>>>> class, one source folder, a few swcs, the sdk, and an output
>>>folder
>>> >>>>>>> and should be successfully compiled with no other settings
>>>given to
>>> >>>>>>> the compiler.
>>> >>>>>>>
>>> >>>>>>> Given 4., this is the case?
>>> >>>>>>>
>>> >>>>>>> 8. The compiler interface should be stable over time. We are not
>>> >>>>>>> willing to adjust the transfered settings each new version.
>>> >>>>>>>
>>> >>>>>>> Seems logical to have a stable API... Nothing here, moving
>>>along.
>>> >>>>>>>
>>> >>>>>>> 9. The necessary jars of the compiler should be placed all in
>>>one
>>> >>>>>>> folder of the sdk.
>>> >>>>>>>
>>> >>>>>>> Already the case?
>>> >>>>>>>
>>> >>>>>>> 10. The compiler jars should have the ability to be unloaded
>>>from
>>> >>>>>>>the
>>> >>>>>>> jvm if the classloader of these jars is dropped.
>>> >>>>>>>
>>> >>>>>>> I have no idea what that means...
>>> >>>>>>>
>>> >>>>>>> 11. The compiler interface should be simple like: Instantiaton
>>>of a
>>> >>>>>>> class. Then using some setters to set main class, source files,
>>>swc
>>> >>>>>>> files, sdk location, output location, and a progress listener
>>>with
>>> >>>>>>>the
>>> >>>>>>> possibility to interrupt the compilation if the user wish that.
>>>The
>>> >>>>>>> main build method should return the result as a list of
>>> >>>>>>> errors/warnings or simply success.
>>> >>>>>>>
>>> >>>>>>> Not sure about the first part (interrupting compilation), but
>>>I'm
>>> >>>>>>> pretty sure we've got the basics for the return values.
>>> >>>>>>>
>>> >>>>>>> Thoughts, ideas?
>>> >>>>>>>
>>> >>>>>>> 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
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> 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
>>> >
>>>
>>>
>>>
>>> --
>>> 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

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
I think we'll be downloading FP and AIR SDKs for quite some time.

-Alex

On 11/29/13 10:31 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

>What about FlashPlayer swc?  Even though it is optional for production
>use,
>they see required during development i.e. compilation time right?
>
>Also, what if the user wants to target the AIR runtime?   Could that be an
>optional download?
>
>Thanks,
>Om
>On Nov 29, 2013 8:13 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>
>> I would very much prefer to download the latest version... but I think
>> it's more realistic to download a specific version.
>>
>> I do hate that decisions like this (however logical at the moment)
>> always come back to bite you. Some of the libraries (the closure
>> compiler chief among them) will become so outdated that updating to
>> the latest version (as we needed to do recently) will no longer be
>> trivial.
>>
>> But for now, a fixed version will mean one less thing to worry about.
>> Our best bets going forward are:
>>
>> Closure compiler:
>> https://closure-compiler.googlecode.com/files/compiler-20131014.zip
>>
>> Closure Library:
>>
>> 
>>https://closure-library.googlecode.com/files/closure-library-20130212-95c
>>19e7f0f5f.zip
>>
>> For the compiler, it is the release before the update to Java 7; for
>> the library, it is the 'latest' packaged release (you're actually
>> supposed to get the latest and greatest from their git repo).
>>
>> EdB
>>
>>
>>
>> On Fri, Nov 29, 2013 at 4:28 PM, Alex Harui <ah...@adobe.com> wrote:
>> > Excellent.  Sounds right to me.
>> >
>> > And yes, AUIC, the Installer will have to download the closure
>>library.
>> > We cannot bundle it in the binary artifacts even though it has an
>>Apache
>> > License.  That's because an official Apache release must only contain
>> > source and the convenience binary package must only contained compiled
>> > results of that source.  It isn't clear whether the binary package can
>> > contain jars, etc downloaded in order to compile that source, but the
>> > closure library isn't needed to compile our source (unless you count
>> > tests).
>> >
>> > One thing to decide:  Should the installer grab the latest closure
>> library
>> > and compiler or should we hit a particular known version?  I assume
>>we'll
>> > do the latter?  At least by default?
>> >
>> > -Alex
>> >
>> > On 11/29/13 5:48 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>> >
>> >>Ok, that is given the assumption that there is a Closure Library in
>> >>the SDK (copied there by the Installer - soon?), in the location
>> >>'[FlexJSSDKRoot]/js/lib/google/closure-library'.
>> >>
>> >>EdB
>> >>
>> >>
>> >>On Fri, Nov 29, 2013 at 2:44 PM, Erik de Bruin <er...@ixsoftware.nl>
>> wrote:
>> >>> And finally: I committed a change that resolves relative paths
>> >>> correctly when the compiler is called from outside the root of the
>> >>> SDK. A 'Hello World' app will now compile successfully with only
>>this
>> >>> command line call:
>> >>>
>> >>> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
>> >>> -load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
>> >>> "[PathToMainProjectFile]"
>> >>>
>> >>> Couldn't be much easier, now can it?
>> >>>
>> >>> EdB
>> >>>
>> >>>
>> >>>
>> >>> On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin <er...@ixsoftware.nl>
>> >>>wrote:
>> >>>> To continue this monologue: I've committed a change to the config
>> >>>> class that adds default relative paths (to FlexJS SDK) for the
>>above
>> >>>> mentioned remaining command line arguments.
>> >>>>
>> >>>> EdB
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin <er...@ixsoftware.nl>
>> >>>>wrote:
>> >>>>> Never mind, a liberal application of quotes solved the error. This
>> >>>>> seems to be the current minimum command line:
>> >>>>>
>> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>> >>>>>
>> >>>>> java -jar "./js/lib/mxmlc.jar"
>> >>>>> -load-config="./frameworks/flex-config.xml"
>> >>>>>
>>
>> 
>>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleCl
>>>>>>>osu
>> >>>>>re/library"
>> >>>>> -sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"
>> >>>>>
>> >>>>> So, if we give '-sdk-js-lib' and '-closure-lib' default values of
>> >>>>> './frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
>> >>>>> respectively - and have the installer download the Closure
>>Library to
>> >>>>> that location - we should be pretty close to the FDT people's
>>ideal
>> >>>>> situation. We would be able to compile a 'Hello World' into a
>> >>>>> JavaScript application with:
>> >>>>>
>> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>> >>>>>
>> >>>>> java -jar "./js/lib/mxmlc.jar"
>> >>>>> -load-config="./frameworks/flex-config.xml"
>> >>>>> "/Users/user/Documents/hWorld/HelloWorld.as"
>> >>>>>
>> >>>>> Close enough?
>> >>>>>
>> >>>>> EdB
>> >>>>>
>> >>>>>
>> >>>>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin
>><er...@ixsoftware.nl>
>> >>>>>wrote:
>> >>>>>> Trying to cut the launch commands down to bare metal I came up
>>with
>> >>>>>>this:
>> >>>>>>
>> >>>>>> SCRIPT_HOME="/Applications/Adobe Flash Builder
>> >>>>>>4.7/sdks/4.11.0_overlay"
>> >>>>>>
>> >>>>>> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
>> >>>>>> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks
>> >>>>>>-jar
>> >>>>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
>> >>>>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
>> >>>>>>
>>
>> 
>>>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleC
>>>>>>>>los
>> >>>>>>ure/library"
>> >>>>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
>> >>>>>> ${LOC_PROJECT_ROOT_INPUT}
>> >>>>>>
>> >>>>>> Which "seems" to be what both 'mxmlc' and the FB launch files
>>need.
>> >>>>>> However, when I run above from the command line, I get:
>> >>>>>>
>> >>>>>> Error: Could not find or load main class Flash
>> >>>>>>
>> >>>>>> What is missing/am I doing wrong?
>> >>>>>>
>> >>>>>> EdB
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin
>><erik@ixsoftware.nl
>> >
>> >>>>>>wrote:
>> >>>>>>> Ok, the FDT people raised some interesting targets; I'd like to
>> >>>>>>> discuss them one by one, to get a better understanding where we
>>are
>> >>>>>>> and what we're aiming for.
>> >>>>>>>
>> >>>>>>> 1. The user can get the FULLY functional Flex JS SDK by
>>unzipping a
>> >>>>>>> downloaded file(best soultion) or a downloaded installer if it
>>is
>> >>>>>>> executed does every step to create fully functional Flex JS SDK.
>> >>>>>>>
>> >>>>>>> This is what the Installer will do once the 'ant' stuff is
>>checked
>> >>>>>>>in?
>> >>>>>>>
>> >>>>>>> 2. Java should be the only extern dependency of the Flex JS SDK.
>> >>>>>>> Everything else should be contained in the SDK. Also the
>>compiler
>> >>>>>>> should not refer to the SDK by using environment variables.
>> >>>>>>>
>> >>>>>>> If we include the Closure Library download in the Installer,
>>this
>> >>>>>>>is true?
>> >>>>>>>
>> >>>>>>> 3. The compiler can be started by calling a java class in some
>>jar
>> >>>>>>>file.
>> >>>>>>>
>> >>>>>>> Looking at 'mxmlc', this is already the case (java -jar
>> >>>>>>>"../lib/mxmlc.jar")?
>> >>>>>>>
>> >>>>>>> 4. The settings needed to compile a Action Script project with
>>the
>> >>>>>>> Flex JS Compiler should be the reference to the main class, to
>>the
>> >>>>>>> source folders, to the swcs, to the used Flex JS SDK and the
>>output
>> >>>>>>> folder. The rest like references to Google Closure library
>>should
>> >>>>>>>have
>> >>>>>>> default values refering into the Flex JS SDK via relative paths.
>> All
>> >>>>>>> other settings should have usefull default values which do not
>> block
>> >>>>>>> compilation.
>> >>>>>>>
>> >>>>>>> Besides what's already discussed in 2., I think all we need to
>>do
>> is
>> >>>>>>> give '-closure-lib' a proper (relative) default?
>> >>>>>>>
>> >>>>>>> 5. The compiler output should be a directory or file containing
>> >>>>>>> everything necessary to start the project.
>> >>>>>>>
>> >>>>>>> Already the case.
>> >>>>>>>
>> >>>>>>> 6. The compiler output should be launchable by sending some file
>> >>>>>>>like
>> >>>>>>> index.html to the browser.
>> >>>>>>>
>> >>>>>>> Already the case.
>> >>>>>>>
>> >>>>>>> 7. The hello world example should only need the reference to one
>> >>>>>>>main
>> >>>>>>> class, one source folder, a few swcs, the sdk, and an output
>>folder
>> >>>>>>> and should be successfully compiled with no other settings
>>given to
>> >>>>>>> the compiler.
>> >>>>>>>
>> >>>>>>> Given 4., this is the case?
>> >>>>>>>
>> >>>>>>> 8. The compiler interface should be stable over time. We are not
>> >>>>>>> willing to adjust the transfered settings each new version.
>> >>>>>>>
>> >>>>>>> Seems logical to have a stable API... Nothing here, moving
>>along.
>> >>>>>>>
>> >>>>>>> 9. The necessary jars of the compiler should be placed all in
>>one
>> >>>>>>> folder of the sdk.
>> >>>>>>>
>> >>>>>>> Already the case?
>> >>>>>>>
>> >>>>>>> 10. The compiler jars should have the ability to be unloaded
>>from
>> >>>>>>>the
>> >>>>>>> jvm if the classloader of these jars is dropped.
>> >>>>>>>
>> >>>>>>> I have no idea what that means...
>> >>>>>>>
>> >>>>>>> 11. The compiler interface should be simple like: Instantiaton
>>of a
>> >>>>>>> class. Then using some setters to set main class, source files,
>>swc
>> >>>>>>> files, sdk location, output location, and a progress listener
>>with
>> >>>>>>>the
>> >>>>>>> possibility to interrupt the compilation if the user wish that.
>>The
>> >>>>>>> main build method should return the result as a list of
>> >>>>>>> errors/warnings or simply success.
>> >>>>>>>
>> >>>>>>> Not sure about the first part (interrupting compilation), but
>>I'm
>> >>>>>>> pretty sure we've got the basics for the return values.
>> >>>>>>>
>> >>>>>>> Thoughts, ideas?
>> >>>>>>>
>> >>>>>>> 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
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> 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
>> >
>>
>>
>>
>> --
>> Ix Multimedia Software
>>
>> Jan Luykenstraat 27
>> 3521 VB Utrecht
>>
>> T. 06-51952295
>> I. www.ixsoftware.nl
>>


Re: [FLEXJS] IDE integration discussion

Posted by OmPrakash Muppirala <bi...@gmail.com>.
What about FlashPlayer swc?  Even though it is optional for production use,
they see required during development i.e. compilation time right?

Also, what if the user wants to target the AIR runtime?   Could that be an
optional download?

Thanks,
Om
On Nov 29, 2013 8:13 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

> I would very much prefer to download the latest version... but I think
> it's more realistic to download a specific version.
>
> I do hate that decisions like this (however logical at the moment)
> always come back to bite you. Some of the libraries (the closure
> compiler chief among them) will become so outdated that updating to
> the latest version (as we needed to do recently) will no longer be
> trivial.
>
> But for now, a fixed version will mean one less thing to worry about.
> Our best bets going forward are:
>
> Closure compiler:
> https://closure-compiler.googlecode.com/files/compiler-20131014.zip
>
> Closure Library:
>
> https://closure-library.googlecode.com/files/closure-library-20130212-95c19e7f0f5f.zip
>
> For the compiler, it is the release before the update to Java 7; for
> the library, it is the 'latest' packaged release (you're actually
> supposed to get the latest and greatest from their git repo).
>
> EdB
>
>
>
> On Fri, Nov 29, 2013 at 4:28 PM, Alex Harui <ah...@adobe.com> wrote:
> > Excellent.  Sounds right to me.
> >
> > And yes, AUIC, the Installer will have to download the closure library.
> > We cannot bundle it in the binary artifacts even though it has an Apache
> > License.  That's because an official Apache release must only contain
> > source and the convenience binary package must only contained compiled
> > results of that source.  It isn't clear whether the binary package can
> > contain jars, etc downloaded in order to compile that source, but the
> > closure library isn't needed to compile our source (unless you count
> > tests).
> >
> > One thing to decide:  Should the installer grab the latest closure
> library
> > and compiler or should we hit a particular known version?  I assume we'll
> > do the latter?  At least by default?
> >
> > -Alex
> >
> > On 11/29/13 5:48 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
> >
> >>Ok, that is given the assumption that there is a Closure Library in
> >>the SDK (copied there by the Installer - soon?), in the location
> >>'[FlexJSSDKRoot]/js/lib/google/closure-library'.
> >>
> >>EdB
> >>
> >>
> >>On Fri, Nov 29, 2013 at 2:44 PM, Erik de Bruin <er...@ixsoftware.nl>
> wrote:
> >>> And finally: I committed a change that resolves relative paths
> >>> correctly when the compiler is called from outside the root of the
> >>> SDK. A 'Hello World' app will now compile successfully with only this
> >>> command line call:
> >>>
> >>> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
> >>> -load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
> >>> "[PathToMainProjectFile]"
> >>>
> >>> Couldn't be much easier, now can it?
> >>>
> >>> EdB
> >>>
> >>>
> >>>
> >>> On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin <er...@ixsoftware.nl>
> >>>wrote:
> >>>> To continue this monologue: I've committed a change to the config
> >>>> class that adds default relative paths (to FlexJS SDK) for the above
> >>>> mentioned remaining command line arguments.
> >>>>
> >>>> EdB
> >>>>
> >>>>
> >>>>
> >>>> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin <er...@ixsoftware.nl>
> >>>>wrote:
> >>>>> Never mind, a liberal application of quotes solved the error. This
> >>>>> seems to be the current minimum command line:
> >>>>>
> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
> >>>>>
> >>>>> java -jar "./js/lib/mxmlc.jar"
> >>>>> -load-config="./frameworks/flex-config.xml"
> >>>>>
>
> >>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosu
> >>>>>re/library"
> >>>>> -sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"
> >>>>>
> >>>>> So, if we give '-sdk-js-lib' and '-closure-lib' default values of
> >>>>> './frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
> >>>>> respectively - and have the installer download the Closure Library to
> >>>>> that location - we should be pretty close to the FDT people's ideal
> >>>>> situation. We would be able to compile a 'Hello World' into a
> >>>>> JavaScript application with:
> >>>>>
> >>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
> >>>>>
> >>>>> java -jar "./js/lib/mxmlc.jar"
> >>>>> -load-config="./frameworks/flex-config.xml"
> >>>>> "/Users/user/Documents/hWorld/HelloWorld.as"
> >>>>>
> >>>>> Close enough?
> >>>>>
> >>>>> EdB
> >>>>>
> >>>>>
> >>>>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin <er...@ixsoftware.nl>
> >>>>>wrote:
> >>>>>> Trying to cut the launch commands down to bare metal I came up with
> >>>>>>this:
> >>>>>>
> >>>>>> SCRIPT_HOME="/Applications/Adobe Flash Builder
> >>>>>>4.7/sdks/4.11.0_overlay"
> >>>>>>
> >>>>>> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
> >>>>>> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks
> >>>>>>-jar
> >>>>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
> >>>>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
> >>>>>>
>
> >>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClos
> >>>>>>ure/library"
> >>>>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
> >>>>>> ${LOC_PROJECT_ROOT_INPUT}
> >>>>>>
> >>>>>> Which "seems" to be what both 'mxmlc' and the FB launch files need.
> >>>>>> However, when I run above from the command line, I get:
> >>>>>>
> >>>>>> Error: Could not find or load main class Flash
> >>>>>>
> >>>>>> What is missing/am I doing wrong?
> >>>>>>
> >>>>>> EdB
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin <erik@ixsoftware.nl
> >
> >>>>>>wrote:
> >>>>>>> Ok, the FDT people raised some interesting targets; I'd like to
> >>>>>>> discuss them one by one, to get a better understanding where we are
> >>>>>>> and what we're aiming for.
> >>>>>>>
> >>>>>>> 1. The user can get the FULLY functional Flex JS SDK by unzipping a
> >>>>>>> downloaded file(best soultion) or a downloaded installer if it is
> >>>>>>> executed does every step to create fully functional Flex JS SDK.
> >>>>>>>
> >>>>>>> This is what the Installer will do once the 'ant' stuff is checked
> >>>>>>>in?
> >>>>>>>
> >>>>>>> 2. Java should be the only extern dependency of the Flex JS SDK.
> >>>>>>> Everything else should be contained in the SDK. Also the compiler
> >>>>>>> should not refer to the SDK by using environment variables.
> >>>>>>>
> >>>>>>> If we include the Closure Library download in the Installer, this
> >>>>>>>is true?
> >>>>>>>
> >>>>>>> 3. The compiler can be started by calling a java class in some jar
> >>>>>>>file.
> >>>>>>>
> >>>>>>> Looking at 'mxmlc', this is already the case (java -jar
> >>>>>>>"../lib/mxmlc.jar")?
> >>>>>>>
> >>>>>>> 4. The settings needed to compile a Action Script project with the
> >>>>>>> Flex JS Compiler should be the reference to the main class, to the
> >>>>>>> source folders, to the swcs, to the used Flex JS SDK and the output
> >>>>>>> folder. The rest like references to Google Closure library should
> >>>>>>>have
> >>>>>>> default values refering into the Flex JS SDK via relative paths.
> All
> >>>>>>> other settings should have usefull default values which do not
> block
> >>>>>>> compilation.
> >>>>>>>
> >>>>>>> Besides what's already discussed in 2., I think all we need to do
> is
> >>>>>>> give '-closure-lib' a proper (relative) default?
> >>>>>>>
> >>>>>>> 5. The compiler output should be a directory or file containing
> >>>>>>> everything necessary to start the project.
> >>>>>>>
> >>>>>>> Already the case.
> >>>>>>>
> >>>>>>> 6. The compiler output should be launchable by sending some file
> >>>>>>>like
> >>>>>>> index.html to the browser.
> >>>>>>>
> >>>>>>> Already the case.
> >>>>>>>
> >>>>>>> 7. The hello world example should only need the reference to one
> >>>>>>>main
> >>>>>>> class, one source folder, a few swcs, the sdk, and an output folder
> >>>>>>> and should be successfully compiled with no other settings given to
> >>>>>>> the compiler.
> >>>>>>>
> >>>>>>> Given 4., this is the case?
> >>>>>>>
> >>>>>>> 8. The compiler interface should be stable over time. We are not
> >>>>>>> willing to adjust the transfered settings each new version.
> >>>>>>>
> >>>>>>> Seems logical to have a stable API... Nothing here, moving along.
> >>>>>>>
> >>>>>>> 9. The necessary jars of the compiler should be placed all in one
> >>>>>>> folder of the sdk.
> >>>>>>>
> >>>>>>> Already the case?
> >>>>>>>
> >>>>>>> 10. The compiler jars should have the ability to be unloaded from
> >>>>>>>the
> >>>>>>> jvm if the classloader of these jars is dropped.
> >>>>>>>
> >>>>>>> I have no idea what that means...
> >>>>>>>
> >>>>>>> 11. The compiler interface should be simple like: Instantiaton of a
> >>>>>>> class. Then using some setters to set main class, source files, swc
> >>>>>>> files, sdk location, output location, and a progress listener with
> >>>>>>>the
> >>>>>>> possibility to interrupt the compilation if the user wish that. The
> >>>>>>> main build method should return the result as a list of
> >>>>>>> errors/warnings or simply success.
> >>>>>>>
> >>>>>>> Not sure about the first part (interrupting compilation), but I'm
> >>>>>>> pretty sure we've got the basics for the return values.
> >>>>>>>
> >>>>>>> Thoughts, ideas?
> >>>>>>>
> >>>>>>> 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
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> 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
> >
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>

Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@ixsoftware.nl>.
I would very much prefer to download the latest version... but I think
it's more realistic to download a specific version.

I do hate that decisions like this (however logical at the moment)
always come back to bite you. Some of the libraries (the closure
compiler chief among them) will become so outdated that updating to
the latest version (as we needed to do recently) will no longer be
trivial.

But for now, a fixed version will mean one less thing to worry about.
Our best bets going forward are:

Closure compiler:
https://closure-compiler.googlecode.com/files/compiler-20131014.zip

Closure Library:
https://closure-library.googlecode.com/files/closure-library-20130212-95c19e7f0f5f.zip

For the compiler, it is the release before the update to Java 7; for
the library, it is the 'latest' packaged release (you're actually
supposed to get the latest and greatest from their git repo).

EdB



On Fri, Nov 29, 2013 at 4:28 PM, Alex Harui <ah...@adobe.com> wrote:
> Excellent.  Sounds right to me.
>
> And yes, AUIC, the Installer will have to download the closure library.
> We cannot bundle it in the binary artifacts even though it has an Apache
> License.  That's because an official Apache release must only contain
> source and the convenience binary package must only contained compiled
> results of that source.  It isn't clear whether the binary package can
> contain jars, etc downloaded in order to compile that source, but the
> closure library isn't needed to compile our source (unless you count
> tests).
>
> One thing to decide:  Should the installer grab the latest closure library
> and compiler or should we hit a particular known version?  I assume we'll
> do the latter?  At least by default?
>
> -Alex
>
> On 11/29/13 5:48 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>
>>Ok, that is given the assumption that there is a Closure Library in
>>the SDK (copied there by the Installer - soon?), in the location
>>'[FlexJSSDKRoot]/js/lib/google/closure-library'.
>>
>>EdB
>>
>>
>>On Fri, Nov 29, 2013 at 2:44 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>>> And finally: I committed a change that resolves relative paths
>>> correctly when the compiler is called from outside the root of the
>>> SDK. A 'Hello World' app will now compile successfully with only this
>>> command line call:
>>>
>>> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
>>> -load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
>>> "[PathToMainProjectFile]"
>>>
>>> Couldn't be much easier, now can it?
>>>
>>> EdB
>>>
>>>
>>>
>>> On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin <er...@ixsoftware.nl>
>>>wrote:
>>>> To continue this monologue: I've committed a change to the config
>>>> class that adds default relative paths (to FlexJS SDK) for the above
>>>> mentioned remaining command line arguments.
>>>>
>>>> EdB
>>>>
>>>>
>>>>
>>>> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin <er...@ixsoftware.nl>
>>>>wrote:
>>>>> Never mind, a liberal application of quotes solved the error. This
>>>>> seems to be the current minimum command line:
>>>>>
>>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>>>
>>>>> java -jar "./js/lib/mxmlc.jar"
>>>>> -load-config="./frameworks/flex-config.xml"
>>>>>
>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosu
>>>>>re/library"
>>>>> -sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"
>>>>>
>>>>> So, if we give '-sdk-js-lib' and '-closure-lib' default values of
>>>>> './frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
>>>>> respectively - and have the installer download the Closure Library to
>>>>> that location - we should be pretty close to the FDT people's ideal
>>>>> situation. We would be able to compile a 'Hello World' into a
>>>>> JavaScript application with:
>>>>>
>>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>>>
>>>>> java -jar "./js/lib/mxmlc.jar"
>>>>> -load-config="./frameworks/flex-config.xml"
>>>>> "/Users/user/Documents/hWorld/HelloWorld.as"
>>>>>
>>>>> Close enough?
>>>>>
>>>>> EdB
>>>>>
>>>>>
>>>>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin <er...@ixsoftware.nl>
>>>>>wrote:
>>>>>> Trying to cut the launch commands down to bare metal I came up with
>>>>>>this:
>>>>>>
>>>>>> SCRIPT_HOME="/Applications/Adobe Flash Builder
>>>>>>4.7/sdks/4.11.0_overlay"
>>>>>>
>>>>>> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
>>>>>> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks
>>>>>>-jar
>>>>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
>>>>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
>>>>>>
>>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClos
>>>>>>ure/library"
>>>>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
>>>>>> ${LOC_PROJECT_ROOT_INPUT}
>>>>>>
>>>>>> Which "seems" to be what both 'mxmlc' and the FB launch files need.
>>>>>> However, when I run above from the command line, I get:
>>>>>>
>>>>>> Error: Could not find or load main class Flash
>>>>>>
>>>>>> What is missing/am I doing wrong?
>>>>>>
>>>>>> EdB
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin <er...@ixsoftware.nl>
>>>>>>wrote:
>>>>>>> Ok, the FDT people raised some interesting targets; I'd like to
>>>>>>> discuss them one by one, to get a better understanding where we are
>>>>>>> and what we're aiming for.
>>>>>>>
>>>>>>> 1. The user can get the FULLY functional Flex JS SDK by unzipping a
>>>>>>> downloaded file(best soultion) or a downloaded installer if it is
>>>>>>> executed does every step to create fully functional Flex JS SDK.
>>>>>>>
>>>>>>> This is what the Installer will do once the 'ant' stuff is checked
>>>>>>>in?
>>>>>>>
>>>>>>> 2. Java should be the only extern dependency of the Flex JS SDK.
>>>>>>> Everything else should be contained in the SDK. Also the compiler
>>>>>>> should not refer to the SDK by using environment variables.
>>>>>>>
>>>>>>> If we include the Closure Library download in the Installer, this
>>>>>>>is true?
>>>>>>>
>>>>>>> 3. The compiler can be started by calling a java class in some jar
>>>>>>>file.
>>>>>>>
>>>>>>> Looking at 'mxmlc', this is already the case (java -jar
>>>>>>>"../lib/mxmlc.jar")?
>>>>>>>
>>>>>>> 4. The settings needed to compile a Action Script project with the
>>>>>>> Flex JS Compiler should be the reference to the main class, to the
>>>>>>> source folders, to the swcs, to the used Flex JS SDK and the output
>>>>>>> folder. The rest like references to Google Closure library should
>>>>>>>have
>>>>>>> default values refering into the Flex JS SDK via relative paths. All
>>>>>>> other settings should have usefull default values which do not block
>>>>>>> compilation.
>>>>>>>
>>>>>>> Besides what's already discussed in 2., I think all we need to do is
>>>>>>> give '-closure-lib' a proper (relative) default?
>>>>>>>
>>>>>>> 5. The compiler output should be a directory or file containing
>>>>>>> everything necessary to start the project.
>>>>>>>
>>>>>>> Already the case.
>>>>>>>
>>>>>>> 6. The compiler output should be launchable by sending some file
>>>>>>>like
>>>>>>> index.html to the browser.
>>>>>>>
>>>>>>> Already the case.
>>>>>>>
>>>>>>> 7. The hello world example should only need the reference to one
>>>>>>>main
>>>>>>> class, one source folder, a few swcs, the sdk, and an output folder
>>>>>>> and should be successfully compiled with no other settings given to
>>>>>>> the compiler.
>>>>>>>
>>>>>>> Given 4., this is the case?
>>>>>>>
>>>>>>> 8. The compiler interface should be stable over time. We are not
>>>>>>> willing to adjust the transfered settings each new version.
>>>>>>>
>>>>>>> Seems logical to have a stable API... Nothing here, moving along.
>>>>>>>
>>>>>>> 9. The necessary jars of the compiler should be placed all in one
>>>>>>> folder of the sdk.
>>>>>>>
>>>>>>> Already the case?
>>>>>>>
>>>>>>> 10. The compiler jars should have the ability to be unloaded from
>>>>>>>the
>>>>>>> jvm if the classloader of these jars is dropped.
>>>>>>>
>>>>>>> I have no idea what that means...
>>>>>>>
>>>>>>> 11. The compiler interface should be simple like: Instantiaton of a
>>>>>>> class. Then using some setters to set main class, source files, swc
>>>>>>> files, sdk location, output location, and a progress listener with
>>>>>>>the
>>>>>>> possibility to interrupt the compilation if the user wish that. The
>>>>>>> main build method should return the result as a list of
>>>>>>> errors/warnings or simply success.
>>>>>>>
>>>>>>> Not sure about the first part (interrupting compilation), but I'm
>>>>>>> pretty sure we've got the basics for the return values.
>>>>>>>
>>>>>>> Thoughts, ideas?
>>>>>>>
>>>>>>> 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
>>>>
>>>>
>>>>
>>>> --
>>>> 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
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: [FLEXJS] IDE integration discussion

Posted by Alex Harui <ah...@adobe.com>.
Excellent.  Sounds right to me.

And yes, AUIC, the Installer will have to download the closure library.
We cannot bundle it in the binary artifacts even though it has an Apache
License.  That's because an official Apache release must only contain
source and the convenience binary package must only contained compiled
results of that source.  It isn't clear whether the binary package can
contain jars, etc downloaded in order to compile that source, but the
closure library isn't needed to compile our source (unless you count
tests).

One thing to decide:  Should the installer grab the latest closure library
and compiler or should we hit a particular known version?  I assume we'll
do the latter?  At least by default?

-Alex

On 11/29/13 5:48 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

>Ok, that is given the assumption that there is a Closure Library in
>the SDK (copied there by the Installer - soon?), in the location
>'[FlexJSSDKRoot]/js/lib/google/closure-library'.
>
>EdB
>
>
>On Fri, Nov 29, 2013 at 2:44 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>> And finally: I committed a change that resolves relative paths
>> correctly when the compiler is called from outside the root of the
>> SDK. A 'Hello World' app will now compile successfully with only this
>> command line call:
>>
>> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
>> -load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
>> "[PathToMainProjectFile]"
>>
>> Couldn't be much easier, now can it?
>>
>> EdB
>>
>>
>>
>> On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin <er...@ixsoftware.nl>
>>wrote:
>>> To continue this monologue: I've committed a change to the config
>>> class that adds default relative paths (to FlexJS SDK) for the above
>>> mentioned remaining command line arguments.
>>>
>>> EdB
>>>
>>>
>>>
>>> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin <er...@ixsoftware.nl>
>>>wrote:
>>>> Never mind, a liberal application of quotes solved the error. This
>>>> seems to be the current minimum command line:
>>>>
>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>>
>>>> java -jar "./js/lib/mxmlc.jar"
>>>> -load-config="./frameworks/flex-config.xml"
>>>> 
>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosu
>>>>re/library"
>>>> -sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"
>>>>
>>>> So, if we give '-sdk-js-lib' and '-closure-lib' default values of
>>>> './frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
>>>> respectively - and have the installer download the Closure Library to
>>>> that location - we should be pretty close to the FDT people's ideal
>>>> situation. We would be able to compile a 'Hello World' into a
>>>> JavaScript application with:
>>>>
>>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>>
>>>> java -jar "./js/lib/mxmlc.jar"
>>>> -load-config="./frameworks/flex-config.xml"
>>>> "/Users/user/Documents/hWorld/HelloWorld.as"
>>>>
>>>> Close enough?
>>>>
>>>> EdB
>>>>
>>>>
>>>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin <er...@ixsoftware.nl>
>>>>wrote:
>>>>> Trying to cut the launch commands down to bare metal I came up with
>>>>>this:
>>>>>
>>>>> SCRIPT_HOME="/Applications/Adobe Flash Builder
>>>>>4.7/sdks/4.11.0_overlay"
>>>>>
>>>>> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
>>>>> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks
>>>>>-jar
>>>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
>>>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
>>>>> 
>>>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClos
>>>>>ure/library"
>>>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
>>>>> ${LOC_PROJECT_ROOT_INPUT}
>>>>>
>>>>> Which "seems" to be what both 'mxmlc' and the FB launch files need.
>>>>> However, when I run above from the command line, I get:
>>>>>
>>>>> Error: Could not find or load main class Flash
>>>>>
>>>>> What is missing/am I doing wrong?
>>>>>
>>>>> EdB
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin <er...@ixsoftware.nl>
>>>>>wrote:
>>>>>> Ok, the FDT people raised some interesting targets; I'd like to
>>>>>> discuss them one by one, to get a better understanding where we are
>>>>>> and what we're aiming for.
>>>>>>
>>>>>> 1. The user can get the FULLY functional Flex JS SDK by unzipping a
>>>>>> downloaded file(best soultion) or a downloaded installer if it is
>>>>>> executed does every step to create fully functional Flex JS SDK.
>>>>>>
>>>>>> This is what the Installer will do once the 'ant' stuff is checked
>>>>>>in?
>>>>>>
>>>>>> 2. Java should be the only extern dependency of the Flex JS SDK.
>>>>>> Everything else should be contained in the SDK. Also the compiler
>>>>>> should not refer to the SDK by using environment variables.
>>>>>>
>>>>>> If we include the Closure Library download in the Installer, this
>>>>>>is true?
>>>>>>
>>>>>> 3. The compiler can be started by calling a java class in some jar
>>>>>>file.
>>>>>>
>>>>>> Looking at 'mxmlc', this is already the case (java -jar
>>>>>>"../lib/mxmlc.jar")?
>>>>>>
>>>>>> 4. The settings needed to compile a Action Script project with the
>>>>>> Flex JS Compiler should be the reference to the main class, to the
>>>>>> source folders, to the swcs, to the used Flex JS SDK and the output
>>>>>> folder. The rest like references to Google Closure library should
>>>>>>have
>>>>>> default values refering into the Flex JS SDK via relative paths. All
>>>>>> other settings should have usefull default values which do not block
>>>>>> compilation.
>>>>>>
>>>>>> Besides what's already discussed in 2., I think all we need to do is
>>>>>> give '-closure-lib' a proper (relative) default?
>>>>>>
>>>>>> 5. The compiler output should be a directory or file containing
>>>>>> everything necessary to start the project.
>>>>>>
>>>>>> Already the case.
>>>>>>
>>>>>> 6. The compiler output should be launchable by sending some file
>>>>>>like
>>>>>> index.html to the browser.
>>>>>>
>>>>>> Already the case.
>>>>>>
>>>>>> 7. The hello world example should only need the reference to one
>>>>>>main
>>>>>> class, one source folder, a few swcs, the sdk, and an output folder
>>>>>> and should be successfully compiled with no other settings given to
>>>>>> the compiler.
>>>>>>
>>>>>> Given 4., this is the case?
>>>>>>
>>>>>> 8. The compiler interface should be stable over time. We are not
>>>>>> willing to adjust the transfered settings each new version.
>>>>>>
>>>>>> Seems logical to have a stable API... Nothing here, moving along.
>>>>>>
>>>>>> 9. The necessary jars of the compiler should be placed all in one
>>>>>> folder of the sdk.
>>>>>>
>>>>>> Already the case?
>>>>>>
>>>>>> 10. The compiler jars should have the ability to be unloaded from
>>>>>>the
>>>>>> jvm if the classloader of these jars is dropped.
>>>>>>
>>>>>> I have no idea what that means...
>>>>>>
>>>>>> 11. The compiler interface should be simple like: Instantiaton of a
>>>>>> class. Then using some setters to set main class, source files, swc
>>>>>> files, sdk location, output location, and a progress listener with
>>>>>>the
>>>>>> possibility to interrupt the compilation if the user wish that. The
>>>>>> main build method should return the result as a list of
>>>>>> errors/warnings or simply success.
>>>>>>
>>>>>> Not sure about the first part (interrupting compilation), but I'm
>>>>>> pretty sure we've got the basics for the return values.
>>>>>>
>>>>>> Thoughts, ideas?
>>>>>>
>>>>>> 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
>>>
>>>
>>>
>>> --
>>> 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


Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@ixsoftware.nl>.
Ok, that is given the assumption that there is a Closure Library in
the SDK (copied there by the Installer - soon?), in the location
'[FlexJSSDKRoot]/js/lib/google/closure-library'.

EdB


On Fri, Nov 29, 2013 at 2:44 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
> And finally: I committed a change that resolves relative paths
> correctly when the compiler is called from outside the root of the
> SDK. A 'Hello World' app will now compile successfully with only this
> command line call:
>
> java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
> -load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
> "[PathToMainProjectFile]"
>
> Couldn't be much easier, now can it?
>
> EdB
>
>
>
> On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>> To continue this monologue: I've committed a change to the config
>> class that adds default relative paths (to FlexJS SDK) for the above
>> mentioned remaining command line arguments.
>>
>> EdB
>>
>>
>>
>> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>>> Never mind, a liberal application of quotes solved the error. This
>>> seems to be the current minimum command line:
>>>
>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>
>>> java -jar "./js/lib/mxmlc.jar"
>>> -load-config="./frameworks/flex-config.xml"
>>> -closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
>>> -sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"
>>>
>>> So, if we give '-sdk-js-lib' and '-closure-lib' default values of
>>> './frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
>>> respectively - and have the installer download the Closure Library to
>>> that location - we should be pretty close to the FDT people's ideal
>>> situation. We would be able to compile a 'Hello World' into a
>>> JavaScript application with:
>>>
>>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>
>>> java -jar "./js/lib/mxmlc.jar"
>>> -load-config="./frameworks/flex-config.xml"
>>> "/Users/user/Documents/hWorld/HelloWorld.as"
>>>
>>> Close enough?
>>>
>>> EdB
>>>
>>>
>>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>>>> Trying to cut the launch commands down to bare metal I came up with this:
>>>>
>>>> SCRIPT_HOME="/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>>
>>>> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
>>>> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks -jar
>>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
>>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
>>>> -closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
>>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
>>>> ${LOC_PROJECT_ROOT_INPUT}
>>>>
>>>> Which "seems" to be what both 'mxmlc' and the FB launch files need.
>>>> However, when I run above from the command line, I get:
>>>>
>>>> Error: Could not find or load main class Flash
>>>>
>>>> What is missing/am I doing wrong?
>>>>
>>>> EdB
>>>>
>>>>
>>>>
>>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>>>>> Ok, the FDT people raised some interesting targets; I'd like to
>>>>> discuss them one by one, to get a better understanding where we are
>>>>> and what we're aiming for.
>>>>>
>>>>> 1. The user can get the FULLY functional Flex JS SDK by unzipping a
>>>>> downloaded file(best soultion) or a downloaded installer if it is
>>>>> executed does every step to create fully functional Flex JS SDK.
>>>>>
>>>>> This is what the Installer will do once the 'ant' stuff is checked in?
>>>>>
>>>>> 2. Java should be the only extern dependency of the Flex JS SDK.
>>>>> Everything else should be contained in the SDK. Also the compiler
>>>>> should not refer to the SDK by using environment variables.
>>>>>
>>>>> If we include the Closure Library download in the Installer, this is true?
>>>>>
>>>>> 3. The compiler can be started by calling a java class in some jar file.
>>>>>
>>>>> Looking at 'mxmlc', this is already the case (java -jar "../lib/mxmlc.jar")?
>>>>>
>>>>> 4. The settings needed to compile a Action Script project with the
>>>>> Flex JS Compiler should be the reference to the main class, to the
>>>>> source folders, to the swcs, to the used Flex JS SDK and the output
>>>>> folder. The rest like references to Google Closure library should have
>>>>> default values refering into the Flex JS SDK via relative paths. All
>>>>> other settings should have usefull default values which do not block
>>>>> compilation.
>>>>>
>>>>> Besides what's already discussed in 2., I think all we need to do is
>>>>> give '-closure-lib' a proper (relative) default?
>>>>>
>>>>> 5. The compiler output should be a directory or file containing
>>>>> everything necessary to start the project.
>>>>>
>>>>> Already the case.
>>>>>
>>>>> 6. The compiler output should be launchable by sending some file like
>>>>> index.html to the browser.
>>>>>
>>>>> Already the case.
>>>>>
>>>>> 7. The hello world example should only need the reference to one main
>>>>> class, one source folder, a few swcs, the sdk, and an output folder
>>>>> and should be successfully compiled with no other settings given to
>>>>> the compiler.
>>>>>
>>>>> Given 4., this is the case?
>>>>>
>>>>> 8. The compiler interface should be stable over time. We are not
>>>>> willing to adjust the transfered settings each new version.
>>>>>
>>>>> Seems logical to have a stable API... Nothing here, moving along.
>>>>>
>>>>> 9. The necessary jars of the compiler should be placed all in one
>>>>> folder of the sdk.
>>>>>
>>>>> Already the case?
>>>>>
>>>>> 10. The compiler jars should have the ability to be unloaded from the
>>>>> jvm if the classloader of these jars is dropped.
>>>>>
>>>>> I have no idea what that means...
>>>>>
>>>>> 11. The compiler interface should be simple like: Instantiaton of a
>>>>> class. Then using some setters to set main class, source files, swc
>>>>> files, sdk location, output location, and a progress listener with the
>>>>> possibility to interrupt the compilation if the user wish that. The
>>>>> main build method should return the result as a list of
>>>>> errors/warnings or simply success.
>>>>>
>>>>> Not sure about the first part (interrupting compilation), but I'm
>>>>> pretty sure we've got the basics for the return values.
>>>>>
>>>>> Thoughts, ideas?
>>>>>
>>>>> 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
>>
>>
>>
>> --
>> 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

Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@ixsoftware.nl>.
And finally: I committed a change that resolves relative paths
correctly when the compiler is called from outside the root of the
SDK. A 'Hello World' app will now compile successfully with only this
command line call:

java -jar "[PathToFlexJSSDK]/js/lib/mxmlc.jar"
-load-config="[PathToFlexJSSDK]/frameworks/flex-config.xml"
"[PathToMainProjectFile]"

Couldn't be much easier, now can it?

EdB



On Fri, Nov 29, 2013 at 1:48 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
> To continue this monologue: I've committed a change to the config
> class that adds default relative paths (to FlexJS SDK) for the above
> mentioned remaining command line arguments.
>
> EdB
>
>
>
> On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>> Never mind, a liberal application of quotes solved the error. This
>> seems to be the current minimum command line:
>>
>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>
>> java -jar "./js/lib/mxmlc.jar"
>> -load-config="./frameworks/flex-config.xml"
>> -closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
>> -sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"
>>
>> So, if we give '-sdk-js-lib' and '-closure-lib' default values of
>> './frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
>> respectively - and have the installer download the Closure Library to
>> that location - we should be pretty close to the FDT people's ideal
>> situation. We would be able to compile a 'Hello World' into a
>> JavaScript application with:
>>
>> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>
>> java -jar "./js/lib/mxmlc.jar"
>> -load-config="./frameworks/flex-config.xml"
>> "/Users/user/Documents/hWorld/HelloWorld.as"
>>
>> Close enough?
>>
>> EdB
>>
>>
>> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>>> Trying to cut the launch commands down to bare metal I came up with this:
>>>
>>> SCRIPT_HOME="/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>>
>>> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
>>> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks -jar
>>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
>>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
>>> -closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
>>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
>>> ${LOC_PROJECT_ROOT_INPUT}
>>>
>>> Which "seems" to be what both 'mxmlc' and the FB launch files need.
>>> However, when I run above from the command line, I get:
>>>
>>> Error: Could not find or load main class Flash
>>>
>>> What is missing/am I doing wrong?
>>>
>>> EdB
>>>
>>>
>>>
>>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>>>> Ok, the FDT people raised some interesting targets; I'd like to
>>>> discuss them one by one, to get a better understanding where we are
>>>> and what we're aiming for.
>>>>
>>>> 1. The user can get the FULLY functional Flex JS SDK by unzipping a
>>>> downloaded file(best soultion) or a downloaded installer if it is
>>>> executed does every step to create fully functional Flex JS SDK.
>>>>
>>>> This is what the Installer will do once the 'ant' stuff is checked in?
>>>>
>>>> 2. Java should be the only extern dependency of the Flex JS SDK.
>>>> Everything else should be contained in the SDK. Also the compiler
>>>> should not refer to the SDK by using environment variables.
>>>>
>>>> If we include the Closure Library download in the Installer, this is true?
>>>>
>>>> 3. The compiler can be started by calling a java class in some jar file.
>>>>
>>>> Looking at 'mxmlc', this is already the case (java -jar "../lib/mxmlc.jar")?
>>>>
>>>> 4. The settings needed to compile a Action Script project with the
>>>> Flex JS Compiler should be the reference to the main class, to the
>>>> source folders, to the swcs, to the used Flex JS SDK and the output
>>>> folder. The rest like references to Google Closure library should have
>>>> default values refering into the Flex JS SDK via relative paths. All
>>>> other settings should have usefull default values which do not block
>>>> compilation.
>>>>
>>>> Besides what's already discussed in 2., I think all we need to do is
>>>> give '-closure-lib' a proper (relative) default?
>>>>
>>>> 5. The compiler output should be a directory or file containing
>>>> everything necessary to start the project.
>>>>
>>>> Already the case.
>>>>
>>>> 6. The compiler output should be launchable by sending some file like
>>>> index.html to the browser.
>>>>
>>>> Already the case.
>>>>
>>>> 7. The hello world example should only need the reference to one main
>>>> class, one source folder, a few swcs, the sdk, and an output folder
>>>> and should be successfully compiled with no other settings given to
>>>> the compiler.
>>>>
>>>> Given 4., this is the case?
>>>>
>>>> 8. The compiler interface should be stable over time. We are not
>>>> willing to adjust the transfered settings each new version.
>>>>
>>>> Seems logical to have a stable API... Nothing here, moving along.
>>>>
>>>> 9. The necessary jars of the compiler should be placed all in one
>>>> folder of the sdk.
>>>>
>>>> Already the case?
>>>>
>>>> 10. The compiler jars should have the ability to be unloaded from the
>>>> jvm if the classloader of these jars is dropped.
>>>>
>>>> I have no idea what that means...
>>>>
>>>> 11. The compiler interface should be simple like: Instantiaton of a
>>>> class. Then using some setters to set main class, source files, swc
>>>> files, sdk location, output location, and a progress listener with the
>>>> possibility to interrupt the compilation if the user wish that. The
>>>> main build method should return the result as a list of
>>>> errors/warnings or simply success.
>>>>
>>>> Not sure about the first part (interrupting compilation), but I'm
>>>> pretty sure we've got the basics for the return values.
>>>>
>>>> Thoughts, ideas?
>>>>
>>>> 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
>
>
>
> --
> 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

Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@ixsoftware.nl>.
To continue this monologue: I've committed a change to the config
class that adds default relative paths (to FlexJS SDK) for the above
mentioned remaining command line arguments.

EdB



On Fri, Nov 29, 2013 at 1:11 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
> Never mind, a liberal application of quotes solved the error. This
> seems to be the current minimum command line:
>
> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>
> java -jar "./js/lib/mxmlc.jar"
> -load-config="./frameworks/flex-config.xml"
> -closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
> -sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"
>
> So, if we give '-sdk-js-lib' and '-closure-lib' default values of
> './frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
> respectively - and have the installer download the Closure Library to
> that location - we should be pretty close to the FDT people's ideal
> situation. We would be able to compile a 'Hello World' into a
> JavaScript application with:
>
> cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>
> java -jar "./js/lib/mxmlc.jar"
> -load-config="./frameworks/flex-config.xml"
> "/Users/user/Documents/hWorld/HelloWorld.as"
>
> Close enough?
>
> EdB
>
>
> On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>> Trying to cut the launch commands down to bare metal I came up with this:
>>
>> SCRIPT_HOME="/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>>
>> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
>> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks -jar
>> ${SCRIPT_HOME}/js/lib/mxmlc.jar
>> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
>> -closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
>> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
>> ${LOC_PROJECT_ROOT_INPUT}
>>
>> Which "seems" to be what both 'mxmlc' and the FB launch files need.
>> However, when I run above from the command line, I get:
>>
>> Error: Could not find or load main class Flash
>>
>> What is missing/am I doing wrong?
>>
>> EdB
>>
>>
>>
>> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>>> Ok, the FDT people raised some interesting targets; I'd like to
>>> discuss them one by one, to get a better understanding where we are
>>> and what we're aiming for.
>>>
>>> 1. The user can get the FULLY functional Flex JS SDK by unzipping a
>>> downloaded file(best soultion) or a downloaded installer if it is
>>> executed does every step to create fully functional Flex JS SDK.
>>>
>>> This is what the Installer will do once the 'ant' stuff is checked in?
>>>
>>> 2. Java should be the only extern dependency of the Flex JS SDK.
>>> Everything else should be contained in the SDK. Also the compiler
>>> should not refer to the SDK by using environment variables.
>>>
>>> If we include the Closure Library download in the Installer, this is true?
>>>
>>> 3. The compiler can be started by calling a java class in some jar file.
>>>
>>> Looking at 'mxmlc', this is already the case (java -jar "../lib/mxmlc.jar")?
>>>
>>> 4. The settings needed to compile a Action Script project with the
>>> Flex JS Compiler should be the reference to the main class, to the
>>> source folders, to the swcs, to the used Flex JS SDK and the output
>>> folder. The rest like references to Google Closure library should have
>>> default values refering into the Flex JS SDK via relative paths. All
>>> other settings should have usefull default values which do not block
>>> compilation.
>>>
>>> Besides what's already discussed in 2., I think all we need to do is
>>> give '-closure-lib' a proper (relative) default?
>>>
>>> 5. The compiler output should be a directory or file containing
>>> everything necessary to start the project.
>>>
>>> Already the case.
>>>
>>> 6. The compiler output should be launchable by sending some file like
>>> index.html to the browser.
>>>
>>> Already the case.
>>>
>>> 7. The hello world example should only need the reference to one main
>>> class, one source folder, a few swcs, the sdk, and an output folder
>>> and should be successfully compiled with no other settings given to
>>> the compiler.
>>>
>>> Given 4., this is the case?
>>>
>>> 8. The compiler interface should be stable over time. We are not
>>> willing to adjust the transfered settings each new version.
>>>
>>> Seems logical to have a stable API... Nothing here, moving along.
>>>
>>> 9. The necessary jars of the compiler should be placed all in one
>>> folder of the sdk.
>>>
>>> Already the case?
>>>
>>> 10. The compiler jars should have the ability to be unloaded from the
>>> jvm if the classloader of these jars is dropped.
>>>
>>> I have no idea what that means...
>>>
>>> 11. The compiler interface should be simple like: Instantiaton of a
>>> class. Then using some setters to set main class, source files, swc
>>> files, sdk location, output location, and a progress listener with the
>>> possibility to interrupt the compilation if the user wish that. The
>>> main build method should return the result as a list of
>>> errors/warnings or simply success.
>>>
>>> Not sure about the first part (interrupting compilation), but I'm
>>> pretty sure we've got the basics for the return values.
>>>
>>> Thoughts, ideas?
>>>
>>> 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



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@ixsoftware.nl>.
Never mind, a liberal application of quotes solved the error. This
seems to be the current minimum command line:

cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"

java -jar "./js/lib/mxmlc.jar"
-load-config="./frameworks/flex-config.xml"
-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
-sdk-js-lib="./frameworks/js/FlexJS/src" "$LOC_PROJECT_ROOT_INPUT"

So, if we give '-sdk-js-lib' and '-closure-lib' default values of
'./frameworks/js/FlexJS/src' and './js/lib/google/closure-library'
respectively - and have the installer download the Closure Library to
that location - we should be pretty close to the FDT people's ideal
situation. We would be able to compile a 'Hello World' into a
JavaScript application with:

cd "/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"

java -jar "./js/lib/mxmlc.jar"
-load-config="./frameworks/flex-config.xml"
"/Users/user/Documents/hWorld/HelloWorld.as"

Close enough?

EdB


On Fri, Nov 29, 2013 at 12:50 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
> Trying to cut the launch commands down to bare metal I came up with this:
>
> SCRIPT_HOME="/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"
>
> java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
> -Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks -jar
> ${SCRIPT_HOME}/js/lib/mxmlc.jar
> -load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
> -closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
> -sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
> ${LOC_PROJECT_ROOT_INPUT}
>
> Which "seems" to be what both 'mxmlc' and the FB launch files need.
> However, when I run above from the command line, I get:
>
> Error: Could not find or load main class Flash
>
> What is missing/am I doing wrong?
>
> EdB
>
>
>
> On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
>> Ok, the FDT people raised some interesting targets; I'd like to
>> discuss them one by one, to get a better understanding where we are
>> and what we're aiming for.
>>
>> 1. The user can get the FULLY functional Flex JS SDK by unzipping a
>> downloaded file(best soultion) or a downloaded installer if it is
>> executed does every step to create fully functional Flex JS SDK.
>>
>> This is what the Installer will do once the 'ant' stuff is checked in?
>>
>> 2. Java should be the only extern dependency of the Flex JS SDK.
>> Everything else should be contained in the SDK. Also the compiler
>> should not refer to the SDK by using environment variables.
>>
>> If we include the Closure Library download in the Installer, this is true?
>>
>> 3. The compiler can be started by calling a java class in some jar file.
>>
>> Looking at 'mxmlc', this is already the case (java -jar "../lib/mxmlc.jar")?
>>
>> 4. The settings needed to compile a Action Script project with the
>> Flex JS Compiler should be the reference to the main class, to the
>> source folders, to the swcs, to the used Flex JS SDK and the output
>> folder. The rest like references to Google Closure library should have
>> default values refering into the Flex JS SDK via relative paths. All
>> other settings should have usefull default values which do not block
>> compilation.
>>
>> Besides what's already discussed in 2., I think all we need to do is
>> give '-closure-lib' a proper (relative) default?
>>
>> 5. The compiler output should be a directory or file containing
>> everything necessary to start the project.
>>
>> Already the case.
>>
>> 6. The compiler output should be launchable by sending some file like
>> index.html to the browser.
>>
>> Already the case.
>>
>> 7. The hello world example should only need the reference to one main
>> class, one source folder, a few swcs, the sdk, and an output folder
>> and should be successfully compiled with no other settings given to
>> the compiler.
>>
>> Given 4., this is the case?
>>
>> 8. The compiler interface should be stable over time. We are not
>> willing to adjust the transfered settings each new version.
>>
>> Seems logical to have a stable API... Nothing here, moving along.
>>
>> 9. The necessary jars of the compiler should be placed all in one
>> folder of the sdk.
>>
>> Already the case?
>>
>> 10. The compiler jars should have the ability to be unloaded from the
>> jvm if the classloader of these jars is dropped.
>>
>> I have no idea what that means...
>>
>> 11. The compiler interface should be simple like: Instantiaton of a
>> class. Then using some setters to set main class, source files, swc
>> files, sdk location, output location, and a progress listener with the
>> possibility to interrupt the compilation if the user wish that. The
>> main build method should return the result as a list of
>> errors/warnings or simply success.
>>
>> Not sure about the first part (interrupting compilation), but I'm
>> pretty sure we've got the basics for the return values.
>>
>> Thoughts, ideas?
>>
>> 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

Re: [FLEXJS] IDE integration discussion

Posted by Erik de Bruin <er...@ixsoftware.nl>.
Trying to cut the launch commands down to bare metal I came up with this:

SCRIPT_HOME="/Applications/Adobe Flash Builder 4.7/sdks/4.11.0_overlay"

java -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false
-Dflexcompiler=${SCRIPT_HOME} -Dflexlib=${SCRIPT_HOME}/frameworks -jar
${SCRIPT_HOME}/js/lib/mxmlc.jar
-load-config=${SCRIPT_HOME}/frameworks/flex-config.xml
-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
-sdk-js-lib=${SCRIPT_HOME}/frameworks/js/FlexJS/src
${LOC_PROJECT_ROOT_INPUT}

Which "seems" to be what both 'mxmlc' and the FB launch files need.
However, when I run above from the command line, I get:

Error: Could not find or load main class Flash

What is missing/am I doing wrong?

EdB



On Fri, Nov 29, 2013 at 12:07 PM, Erik de Bruin <er...@ixsoftware.nl> wrote:
> Ok, the FDT people raised some interesting targets; I'd like to
> discuss them one by one, to get a better understanding where we are
> and what we're aiming for.
>
> 1. The user can get the FULLY functional Flex JS SDK by unzipping a
> downloaded file(best soultion) or a downloaded installer if it is
> executed does every step to create fully functional Flex JS SDK.
>
> This is what the Installer will do once the 'ant' stuff is checked in?
>
> 2. Java should be the only extern dependency of the Flex JS SDK.
> Everything else should be contained in the SDK. Also the compiler
> should not refer to the SDK by using environment variables.
>
> If we include the Closure Library download in the Installer, this is true?
>
> 3. The compiler can be started by calling a java class in some jar file.
>
> Looking at 'mxmlc', this is already the case (java -jar "../lib/mxmlc.jar")?
>
> 4. The settings needed to compile a Action Script project with the
> Flex JS Compiler should be the reference to the main class, to the
> source folders, to the swcs, to the used Flex JS SDK and the output
> folder. The rest like references to Google Closure library should have
> default values refering into the Flex JS SDK via relative paths. All
> other settings should have usefull default values which do not block
> compilation.
>
> Besides what's already discussed in 2., I think all we need to do is
> give '-closure-lib' a proper (relative) default?
>
> 5. The compiler output should be a directory or file containing
> everything necessary to start the project.
>
> Already the case.
>
> 6. The compiler output should be launchable by sending some file like
> index.html to the browser.
>
> Already the case.
>
> 7. The hello world example should only need the reference to one main
> class, one source folder, a few swcs, the sdk, and an output folder
> and should be successfully compiled with no other settings given to
> the compiler.
>
> Given 4., this is the case?
>
> 8. The compiler interface should be stable over time. We are not
> willing to adjust the transfered settings each new version.
>
> Seems logical to have a stable API... Nothing here, moving along.
>
> 9. The necessary jars of the compiler should be placed all in one
> folder of the sdk.
>
> Already the case?
>
> 10. The compiler jars should have the ability to be unloaded from the
> jvm if the classloader of these jars is dropped.
>
> I have no idea what that means...
>
> 11. The compiler interface should be simple like: Instantiaton of a
> class. Then using some setters to set main class, source files, swc
> files, sdk location, output location, and a progress listener with the
> possibility to interrupt the compilation if the user wish that. The
> main build method should return the result as a list of
> errors/warnings or simply success.
>
> Not sure about the first part (interrupting compilation), but I'm
> pretty sure we've got the basics for the return values.
>
> Thoughts, ideas?
>
> 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