You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Christofer Dutz <ch...@c-ware.de> on 2015/09/18 12:19:03 UTC

Working FlexJS examples?

Hi,


before I start and try to get some of the examples working with flexmojos I would like to ask here which of the examples are actually maintained and should work in general? I remember last time I invested a lot of time building examples that didn't work even if built with Ant :-)


Chris

AW: Working FlexJS examples?

Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ... so as I said, I added some poms to the examples.
Additionally I published a new SNAPSHOT version of Falcon + ASJS to the apache snapshot repo. 
With the poms I added I am able to build Both the JavaScript versions as well as the Flash versions of these modules:
- ChartExample
- CordovaCameraExample
- DataBindingExample
- DataBindingExample_as 
- DataGridExample
- DesktopMap
- MapSearch
- TodoListSampleApp

Most of the applications produce runnable JavaScript versions. The DataGrid examples results in an empty screen. However not a single SWF is runnable.

The module DataBindingExample_Flat produces this error in JavaScript mode:
            This tag could not be resolved to an ActionScript class. It will be ignored.
            <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"

The modules FlexJSStore_jquery and FlexJSStore produce:
            Ambiguous reference to MouseEvent

The module MobileTrader produces:
            Implicit coercion of a value with static type Event to a possibly unrelated type Event.
	        <basic:TabbedViewManager id="navController" width="100%" height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)">

I did notice that you seem to be setting some compiler options in the ant script that I haven't seen before. 
            <arg value="-compiler.mxml.children-as-data" />
            <arg value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent" />
            <arg value="-compiler.binding-value-change-event-kind=org.apache.flex.events.ValueChangeEvent" />
            <arg value="-compiler.binding-value-change-event-type=valueChange" />

Are these required for successfully building?

You could pull the flex-asjs modules and run "mvn clean install" in the examples/fexjs directory and it should work, however I currently have a dependency on the playerglobal 18.0 in there, so if you don't have this, it could still fail.

Chris

________________________________________
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Freitag, 18. September 2015 15:52
An: dev@flex.apache.org
Betreff: AW: Working FlexJS examples?

Ok ... so currently I'm adding a pom.xml to each of the examples.
So it shouldn't change the way the projects are built with Ant, but should make it possible to build the same examples with Maven (Flexmojos) ... hope that's ok with you guys :-)

Chris

________________________________________
Von: Peter Ent <pe...@adobe.com>
Gesendet: Freitag, 18. September 2015 15:18
An: dev@flex.apache.org
Betreff: Re: Working FlexJS examples?

Hi,

In addition to what Alex wrote, I¹ve tested DataGridExample, MapSearch,
MobileTrader, and TodoListSampleApp.

I still need to go into the native/ folder and test those. I¹m in the
middle of make an API change for the Container classes and will do a full
test once that¹s complete. I will post that information and I will need to
make some adjustments to the FlexJS wiki page concerning layouts and
containers after that.

‹Peter

On 9/18/15, 9:09 AM, "Alex Harui" <ah...@adobe.com> wrote:

>Good question.  For sure, DataBindingExample, DataBindingExample_Flat,
>FlexJSStore, ChartExample.
>
>Peter tests the others so he can tell you which other ones he¹s seen work
>recently.
>
>-Alex
>
>On 9/18/15, 3:19 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
>
>>Hi,
>>
>>
>>before I start and try to get some of the examples working with flexmojos
>>I would like to ask here which of the examples are actually maintained
>>and should work in general? I remember last time I invested a lot of time
>>building examples that didn't work even if built with Ant :-)
>>
>>
>>Chris
>

AW: Working FlexJS examples?

Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ... so currently I'm adding a pom.xml to each of the examples. 
So it shouldn't change the way the projects are built with Ant, but should make it possible to build the same examples with Maven (Flexmojos) ... hope that's ok with you guys :-)

Chris

________________________________________
Von: Peter Ent <pe...@adobe.com>
Gesendet: Freitag, 18. September 2015 15:18
An: dev@flex.apache.org
Betreff: Re: Working FlexJS examples?

Hi,

In addition to what Alex wrote, I¹ve tested DataGridExample, MapSearch,
MobileTrader, and TodoListSampleApp.

I still need to go into the native/ folder and test those. I¹m in the
middle of make an API change for the Container classes and will do a full
test once that¹s complete. I will post that information and I will need to
make some adjustments to the FlexJS wiki page concerning layouts and
containers after that.

‹Peter

On 9/18/15, 9:09 AM, "Alex Harui" <ah...@adobe.com> wrote:

>Good question.  For sure, DataBindingExample, DataBindingExample_Flat,
>FlexJSStore, ChartExample.
>
>Peter tests the others so he can tell you which other ones he¹s seen work
>recently.
>
>-Alex
>
>On 9/18/15, 3:19 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
>
>>Hi,
>>
>>
>>before I start and try to get some of the examples working with flexmojos
>>I would like to ask here which of the examples are actually maintained
>>and should work in general? I remember last time I invested a lot of time
>>building examples that didn't work even if built with Ant :-)
>>
>>
>>Chris
>


Re: Working FlexJS examples?

Posted by Peter Ent <pe...@adobe.com>.
Hi,

In addition to what Alex wrote, I¹ve tested DataGridExample, MapSearch,
MobileTrader, and TodoListSampleApp.

I still need to go into the native/ folder and test those. I¹m in the
middle of make an API change for the Container classes and will do a full
test once that¹s complete. I will post that information and I will need to
make some adjustments to the FlexJS wiki page concerning layouts and
containers after that.

‹Peter

On 9/18/15, 9:09 AM, "Alex Harui" <ah...@adobe.com> wrote:

>Good question.  For sure, DataBindingExample, DataBindingExample_Flat,
>FlexJSStore, ChartExample.
>
>Peter tests the others so he can tell you which other ones he¹s seen work
>recently.
>
>-Alex
>
>On 9/18/15, 3:19 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:
>
>>Hi,
>>
>>
>>before I start and try to get some of the examples working with flexmojos
>>I would like to ask here which of the examples are actually maintained
>>and should work in general? I remember last time I invested a lot of time
>>building examples that didn't work even if built with Ant :-)
>>
>>
>>Chris
>


Re: Working FlexJS examples?

Posted by Alex Harui <ah...@adobe.com>.
Good question.  For sure, DataBindingExample, DataBindingExample_Flat,
FlexJSStore, ChartExample.

Peter tests the others so he can tell you which other ones he’s seen work
recently.

-Alex

On 9/18/15, 3:19 AM, "Christofer Dutz" <ch...@c-ware.de> wrote:

>Hi,
>
>
>before I start and try to get some of the examples working with flexmojos
>I would like to ask here which of the examples are actually maintained
>and should work in general? I remember last time I invested a lot of time
>building examples that didn't work even if built with Ant :-)
>
>
>Chris