FlexJS compiler support for FDT

2013-12-03 Thread admin . fdt

Hi developers at flex.apache.org

a few days ago Om Muppirala had added a new feature request to our Jira 
to support the FlexJS Compiler in FDT

(http://bugs.powerflasher.com/jira/browse/FDT-3281).
I already added a list of our typical requirements for external 
software to this ticket.


Nevertheless I was curious about your progress and so I followed the 
steps at:

https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Adobe+Flash+Builder

At the point where Flash Builder should launch a special launch 
configuration to compile the example project with the FlexJS compiler
I decided to try this step with the windows command line since this 
part should be done by FDT as a first step to support the FlexJS 
compiler.
Unfortunately this attempt failed. Maybe you could give me a hint what 
I should change in the command line or what files are missing in my 
FlexJS SDK.


The command line I used is this:

D:\NewSdks\ApacheFlexJS>java -Xmx384m -Dfile.encoding=UTF8 
-Dsun.io.useCanonCaches=false -Dflexcompiler="D:\NewSdks\ApacheFlexJS" 
-Dflexlib="D:\NewSdks\ApacheFlexJS\frameworks" -jar D:\NewSdks\ApacheFle
xJS\js\lib\mxmlc.jar -compiler.mxml.children-as-data 
-compiler.binding-value-change-event-type=valueChange 
-js-output-type=FLEXJS -closure-lib=D:\NewSdks\closure-library-20130212 
-sdk-js-lib=D:\NewSdks\
ApacheFlexJS\frameworks\js\FlexJS\src -target-player=11.9 
-library-path+=D:\NewSdks\ApacheFlexJS/frameworks/as/libs/FlexJSUI.swc 
-source-path=D:\TesTArea\TestProjects\DataBindingTest/src 
-output=D:\TesT
Area\TestProjects\DataBindingTest/bin -- 
D:\TesTArea\TestProjects\DataBindingTest/src/DataBindingTest.mxml


The result shows some exceptions during compilation and one error:

outputBindingInfoAsData
Compiling file: 
D:\TesTArea\TestProjects\DataBindingTest\bin\js-debug\DataBindingTest.js
Compiling file: 
D:\TesTArea\TestProjects\DataBindingTest\bin\js-debug\controllers\MyController.js
Compiling file: 
D:\TesTArea\TestProjects\DataBindingTest\bin\js-debug\MyInitialView.js
Compiling file: 
D:\TesTArea\TestProjects\DataBindingTest\bin\js-debug\models\MyModel.js
Compiling file: 
D:\TesTArea\TestProjects\DataBindingTest\bin\js-debug\StockDataJSONItemConverter.js
Could not find file for class: 
org.apache.flex.html.staticControls.supportClasses.Border

java.io.FileNotFoundException:
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:252)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:122)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:137)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:137)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:137)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:137)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:78)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:49)
at 
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:135)
at 
org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:421)
at 
org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:261)
at 
org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:219)
at 
org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:181)
Could not find file for class: 
org.apache.flex.html.staticControls.supportClasses.ScrollBar
java.io.FileNotFoundException:  (Das System kann die angegebene Datei 
nicht finden)

at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:252)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:122)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:137)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:137)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:137)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:137)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:78)
at 
org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:49)
at 
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.

Re: FlexJS compiler support for FDT

2013-12-03 Thread Erik de Bruin
Hi,

Good to hear you're working on this!

Last week I greatly simplified the command line you need to
successfully build a FlexJS project.

We're working on getting the installer to create a 'one click FlexJS
SDK' that will contain all dependencies except Java, but until that
time it looks like you need to take only these 2 steps:

1) move your closure library from
'D:\NewSdks\closure-library-20130212' to
'D:\NewSdks\ApacheFlexJS\js\lib\google\closure-library'
2) use this command line: java -jar
"D:\NewSdks\ApacheFlexJS\js\lib\mxmlc.jar"
-load-config="D:\NewSdks\ApacheFlexJS\frameworks\flex-config.xml"
"D:\TesTArea\TestProjects\DataBindingTest/src/DataBindingTest.mxml"

All other command line arguments are (should be...) either unneeded or
will result in duplicate code warnings/errors.

Thanks,

EdB

PS. the one warning after successful compilation ("Data binding will
not be able...") is expected and can be safely ignored.



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

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


Re: FlexJS compiler support for FDT

2013-12-03 Thread Alex Harui
Actually, I just synced up to the repo and am getting the same error.  I
think something has gotten broken on our side.

On 12/3/13 3:58 AM, "Erik de Bruin"  wrote:

>Hi,
>
>Good to hear you're working on this!
>
>Last week I greatly simplified the command line you need to
>successfully build a FlexJS project.
>
>We're working on getting the installer to create a 'one click FlexJS
>SDK' that will contain all dependencies except Java, but until that
>time it looks like you need to take only these 2 steps:
>
>1) move your closure library from
>'D:\NewSdks\closure-library-20130212' to
>'D:\NewSdks\ApacheFlexJS\js\lib\google\closure-library'
>2) use this command line: java -jar
>"D:\NewSdks\ApacheFlexJS\js\lib\mxmlc.jar"
>-load-config="D:\NewSdks\ApacheFlexJS\frameworks\flex-config.xml"
>"D:\TesTArea\TestProjects\DataBindingTest/src/DataBindingTest.mxml"
>
>All other command line arguments are (should be...) either unneeded or
>will result in duplicate code warnings/errors.
>
>Thanks,
>
>EdB
>
>PS. the one warning after successful compilation ("Data binding will
>not be able...") is expected and can be safely ignored.
>
>
>
>-- 
>Ix Multimedia Software
>
>Jan Luykenstraat 27
>3521 VB Utrecht
>
>T. 06-51952295
>I. www.ixsoftware.nl



Re: FlexJS compiler support for FDT

2013-12-03 Thread Alex Harui
OK, I think things are fixed again.  The next nightly build should work
better.

-Alex

On 12/3/13 10:34 AM, "Alex Harui"  wrote:

>Actually, I just synced up to the repo and am getting the same error.  I
>think something has gotten broken on our side.
>
>On 12/3/13 3:58 AM, "Erik de Bruin"  wrote:
>
>>Hi,
>>
>>Good to hear you're working on this!
>>
>>Last week I greatly simplified the command line you need to
>>successfully build a FlexJS project.
>>
>>We're working on getting the installer to create a 'one click FlexJS
>>SDK' that will contain all dependencies except Java, but until that
>>time it looks like you need to take only these 2 steps:
>>
>>1) move your closure library from
>>'D:\NewSdks\closure-library-20130212' to
>>'D:\NewSdks\ApacheFlexJS\js\lib\google\closure-library'
>>2) use this command line: java -jar
>>"D:\NewSdks\ApacheFlexJS\js\lib\mxmlc.jar"
>>-load-config="D:\NewSdks\ApacheFlexJS\frameworks\flex-config.xml"
>>"D:\TesTArea\TestProjects\DataBindingTest/src/DataBindingTest.mxml"
>>
>>All other command line arguments are (should be...) either unneeded or
>>will result in duplicate code warnings/errors.
>>
>>Thanks,
>>
>>EdB
>>
>>PS. the one warning after successful compilation ("Data binding will
>>not be able...") is expected and can be safely ignored.
>>
>>
>>
>>-- 
>>Ix Multimedia Software
>>
>>Jan Luykenstraat 27
>>3521 VB Utrecht
>>
>>T. 06-51952295
>>I. www.ixsoftware.nl
>



Re: FlexJS compiler support for FDT

2013-12-15 Thread Erik de Bruin
Sorry about the delay, but the nightlies appear to be working again.

Please let us know if there is anything else we can do to make the
integration process easier/smoother/better.

Thanks for you patience,

EdB



On Wed, Dec 4, 2013 at 12:28 AM, Alex Harui  wrote:
> OK, I think things are fixed again.  The next nightly build should work
> better.
>
> -Alex
>
> On 12/3/13 10:34 AM, "Alex Harui"  wrote:
>
>>Actually, I just synced up to the repo and am getting the same error.  I
>>think something has gotten broken on our side.
>>
>>On 12/3/13 3:58 AM, "Erik de Bruin"  wrote:
>>
>>>Hi,
>>>
>>>Good to hear you're working on this!
>>>
>>>Last week I greatly simplified the command line you need to
>>>successfully build a FlexJS project.
>>>
>>>We're working on getting the installer to create a 'one click FlexJS
>>>SDK' that will contain all dependencies except Java, but until that
>>>time it looks like you need to take only these 2 steps:
>>>
>>>1) move your closure library from
>>>'D:\NewSdks\closure-library-20130212' to
>>>'D:\NewSdks\ApacheFlexJS\js\lib\google\closure-library'
>>>2) use this command line: java -jar
>>>"D:\NewSdks\ApacheFlexJS\js\lib\mxmlc.jar"
>>>-load-config="D:\NewSdks\ApacheFlexJS\frameworks\flex-config.xml"
>>>"D:\TesTArea\TestProjects\DataBindingTest/src/DataBindingTest.mxml"
>>>
>>>All other command line arguments are (should be...) either unneeded or
>>>will result in duplicate code warnings/errors.
>>>
>>>Thanks,
>>>
>>>EdB
>>>
>>>PS. the one warning after successful compilation ("Data binding will
>>>not be able...") is expected and can be safely ignored.
>>>
>>>
>>>
>>>--
>>>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 compiler support for FDT

2014-03-05 Thread Erik de Bruin
Hi,

I've updated the PowerFlasher JIRA ticket about the FlexJS integration:

http://bugs.powerflasher.com/jira/browse/FDT-3281

Thanks,

EdB





On Sun, Dec 15, 2013 at 9:48 AM, Erik de Bruin  wrote:

> Sorry about the delay, but the nightlies appear to be working again.
>
> Please let us know if there is anything else we can do to make the
> integration process easier/smoother/better.
>
> Thanks for you patience,
>
> EdB
>
>
>
> On Wed, Dec 4, 2013 at 12:28 AM, Alex Harui  wrote:
> > OK, I think things are fixed again.  The next nightly build should work
> > better.
> >
> > -Alex
> >
> > On 12/3/13 10:34 AM, "Alex Harui"  wrote:
> >
> >>Actually, I just synced up to the repo and am getting the same error.  I
> >>think something has gotten broken on our side.
> >>
> >>On 12/3/13 3:58 AM, "Erik de Bruin"  wrote:
> >>
> >>>Hi,
> >>>
> >>>Good to hear you're working on this!
> >>>
> >>>Last week I greatly simplified the command line you need to
> >>>successfully build a FlexJS project.
> >>>
> >>>We're working on getting the installer to create a 'one click FlexJS
> >>>SDK' that will contain all dependencies except Java, but until that
> >>>time it looks like you need to take only these 2 steps:
> >>>
> >>>1) move your closure library from
> >>>'D:\NewSdks\closure-library-20130212' to
> >>>'D:\NewSdks\ApacheFlexJS\js\lib\google\closure-library'
> >>>2) use this command line: java -jar
> >>>"D:\NewSdks\ApacheFlexJS\js\lib\mxmlc.jar"
> >>>-load-config="D:\NewSdks\ApacheFlexJS\frameworks\flex-config.xml"
> >>>"D:\TesTArea\TestProjects\DataBindingTest/src/DataBindingTest.mxml"
> >>>
> >>>All other command line arguments are (should be...) either unneeded or
> >>>will result in duplicate code warnings/errors.
> >>>
> >>>Thanks,
> >>>
> >>>EdB
> >>>
> >>>PS. the one warning after successful compilation ("Data binding will
> >>>not be able...") is expected and can be safely ignored.
> >>>
> >>>
> >>>
> >>>--
> >>>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 compiler support for FDT

2014-03-05 Thread Carlos Rovira
Hi Erik,

that's good. I forgot to mention that Alexander from IntelliJ's IDEA
respond some days ago about the FlexJS support in the corresponding thread:

IDEA-116986

It seems there's plan to support FlexJS as some other already planned
issues complete :)



2014-03-05 9:07 GMT+01:00 Erik de Bruin :

> Hi,
>
> I've updated the PowerFlasher JIRA ticket about the FlexJS integration:
>
> http://bugs.powerflasher.com/jira/browse/FDT-3281
>
> Thanks,
>
> EdB
>
>
>
>
>
> On Sun, Dec 15, 2013 at 9:48 AM, Erik de Bruin  wrote:
>
> > Sorry about the delay, but the nightlies appear to be working again.
> >
> > Please let us know if there is anything else we can do to make the
> > integration process easier/smoother/better.
> >
> > Thanks for you patience,
> >
> > EdB
> >
> >
> >
> > On Wed, Dec 4, 2013 at 12:28 AM, Alex Harui  wrote:
> > > OK, I think things are fixed again.  The next nightly build should work
> > > better.
> > >
> > > -Alex
> > >
> > > On 12/3/13 10:34 AM, "Alex Harui"  wrote:
> > >
> > >>Actually, I just synced up to the repo and am getting the same error.
>  I
> > >>think something has gotten broken on our side.
> > >>
> > >>On 12/3/13 3:58 AM, "Erik de Bruin"  wrote:
> > >>
> > >>>Hi,
> > >>>
> > >>>Good to hear you're working on this!
> > >>>
> > >>>Last week I greatly simplified the command line you need to
> > >>>successfully build a FlexJS project.
> > >>>
> > >>>We're working on getting the installer to create a 'one click FlexJS
> > >>>SDK' that will contain all dependencies except Java, but until that
> > >>>time it looks like you need to take only these 2 steps:
> > >>>
> > >>>1) move your closure library from
> > >>>'D:\NewSdks\closure-library-20130212' to
> > >>>'D:\NewSdks\ApacheFlexJS\js\lib\google\closure-library'
> > >>>2) use this command line: java -jar
> > >>>"D:\NewSdks\ApacheFlexJS\js\lib\mxmlc.jar"
> > >>>-load-config="D:\NewSdks\ApacheFlexJS\frameworks\flex-config.xml"
> > >>>"D:\TesTArea\TestProjects\DataBindingTest/src/DataBindingTest.mxml"
> > >>>
> > >>>All other command line arguments are (should be...) either unneeded or
> > >>>will result in duplicate code warnings/errors.
> > >>>
> > >>>Thanks,
> > >>>
> > >>>EdB
> > >>>
> > >>>PS. the one warning after successful compilation ("Data binding will
> > >>>not be able...") is expected and can be safely ignored.
> > >>>
> > >>>
> > >>>
> > >>>--
> > >>>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
>



-- 
Carlos Rovira
http://about.me/carlosrovira