I think I've got everything working. Please pull changes and see how it
works for you.

Thanks,
-Alex

On 6/23/16, 12:48 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Ok so I took the flex-config.xml and copied the entire content into my
>template, then I replaced/added my dynamic variables and re-built. Now
>every module built successfully [?]
>
>
>So next I checked if the modules produced working swfs. Allmost all of
>them did. There were just a few that still have problems:
>
>
>- CordovaCameraExample
>
>VerifyError: Error #1079: Native methods are not allowed in loaded code.
>
>
>- DataBindingExample_as
>
>TypeError: Error #1009: Cannot access a property or method of a null
>object reference.
>
>at org.apache.flex.html.beads::ContainerView/set strand()
>
>at org.apache.flex.core::UIBase/addBead()
>
>at org.apache.flex.core::UIBase/addedToParent()
>
>at org.apache.flex.core::ContainerBase/addedToParent()
>
>at org.apache.flex.core::UIBase/addElement()
>
>at org.apache.flex.core::ContainerBase/addElement()
>
>at MyInitialView/get MXMLDescriptor()
>
>at org.apache.flex.core::ContainerBase/addedToParent()
>
>at org.apache.flex.core::Application/addElement()
>
>at org.apache.flex.core::Application/initialize()
>
>at org.apache.flex.core::Application/initHandler()
>
>
>- DataBindingExample_Flat
>
>ReferenceError: Error #1069: Property name not found on
>flash.display.LoaderInfo and there is no default value.
>
>at org.apache.flex.core::CSSFontFaceBead/errorHandler()
>
>
>- DesktopMap
>
>VerifyError: Error #1079: Native methods are not allowed in loaded code.
>
>
>- MapSearch
>
>VerifyError: Error #1079: Native methods are not allowed in loaded code.
>
>
>- MobileMap
>
>VerifyError: Error #1079: Native methods are not allowed in loaded code.
>
>
>- StorageExample
>
>VerifyError: Error #1079: Native methods are not allowed in loaded code.
>
>
>But this is a huge improvement ... thanks for looking into this Alex [?]
>
>
>Chris
>
>
>________________________________
>Von: Alex Harui <aha...@adobe.com>
>Gesendet: Donnerstag, 23. Juni 2016 08:24:27
>An: dev@flex.apache.org
>Betreff: Re: AW: AW: AW: [Falcon][FlexJS] Help with finishing the maven
>migration
>
>OK, after more digging, I found a problem.  I can't promise it is the
>reason many examples are failing, but it needs to be fixed first.  The
>problem is that the compile-app-config.xml should probably be derived from
>the flex-config.xml for the FlexJS SDK.  Currently, the compile-app-config
>is missing some useful things like:
>
><mxml>
>  <imports>
>    <implicit-import>org.apache.flex.events.*</implicit-import>
>    <implicit-import>org.apache.flex.geom.*</implicit-import>
>    <implicit-import>org.apache.flex.core.ClassFactory</implicit-import>
>    <implicit-import>org.apache.flex.core.IFactory</implicit-import>
>  </imports>
>      </mxml>
><binding-event-handler-event>org.apache.flex.events.Event</binding-event-h
>a
>ndler-event>
>
><binding-event-handler-class>org.apache.flex.events.EventDispatcher</bindi
>n
>g-event-handler-class>
>      <states-class>org.apache.flex.states.State</states-class>
>
><states-instance-override-class>org.apache.flex.states.AddItems</states-in
>s
>tance-override-class>
>
><states-property-override-class>org.apache.flex.states.SetProperty</states
>-
>property-override-class>
>
><states-event-override-class>org.apache.flex.states.SetEventHandler</state
>s
>-event-override-class>
>
><component-factory-class>org.apache.flex.core.ClassFactory</component-fact
>o
>ry-class>
>
><component-factory-interface>org.apache.flex.core.IFactory</component-fact
>o
>ry-interface>
>
>Can you get these added to compile-app-config or get
>flex-config/air-config to load as well?  Then we can see if anything else
>remains busted after that.
>
>
>Thanks,
>-Alex
>
>On 6/21/16, 11:46 PM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:
>
>>Hi Alex,
>>
>>
>>I added the "debug" config option to the plugin, but forgot to add it to
>>the templates ... I fixed that now and now it should have an effect.
>>
>>
>>Chris
>>
>>________________________________
>>Von: Alex Harui <aha...@adobe.com>
>>Gesendet: Mittwoch, 22. Juni 2016 02:57:57
>>An: dev@flex.apache.org
>>Betreff: Re: AW: AW: [Falcon][FlexJS] Help with finishing the maven
>>migration
>>
>>I spent some time looking into this before I realized that the examples
>>do
>>not have debugging information in them.  How do we set -debug=true on the
>>examples (and maybe avoid any optimization passes as well)?  I tried
>>adding <debug>true</debug> to the <configuration> but that didn't seem to
>>make a difference.
>>
>>Thanks,
>>-Alex
>>
>>On 6/21/16, 4:45 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:
>>
>>>Here the complete list of problems I'm having:
>>>
>>>
>>>ChartExample:
>>>
>>>VerifyError: Error #1032: Cpool index 0 is out of range 1847.
>>>
>>>at org.apache.flex.core::ContainerBase/addedToParent()
>>>
>>>at org.apache.flex.core::Application/addElement()
>>>
>>>at org.apache.flex.core::Application/initialize()
>>>
>>>at org.apache.flex.core::Application/initHandler()
>>>
>>>
>>>CordovaCameraExample:
>>>
>>>VerifyError: Error #1079: Native methods are not allowed in loaded code.
>>>
>>>(Airglobal is not in the library-path)
>>>
>>>
>>>CreateJSExample:
>>>
>>>- Seems to be working nicely
>>>
>>>
>>>DataBindingExample:
>>>
>>>TypeError: Error #1006: value is not a function.
>>>
>>>at MyInitialView()
>>>
>>>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLObject()
>>>
>>>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLProperties()
>>>
>>>at org.apache.flex.core::Application/generateMXMLAttributes()
>>>
>>>at DataBindingExample()
>>>
>>>DataBindingExample_as:
>>>
>>>TypeError: Error #1009: Cannot access a property or method of a null
>>>object reference.
>>>
>>>at org.apache.flex.html.beads::ContainerView/set strand()
>>>
>>>at org.apache.flex.core::UIBase/addBead()
>>>
>>>at org.apache.flex.core::UIBase/addedToParent()
>>>
>>>at org.apache.flex.core::ContainerBase/addedToParent()
>>>
>>>at org.apache.flex.core::UIBase/addElement()
>>>
>>>at org.apache.flex.core::ContainerBase/addElement()
>>>
>>>at MyInitialView/get MXMLDescriptor()
>>>
>>>at org.apache.flex.core::ContainerBase/addedToParent()
>>>
>>>at org.apache.flex.core::Application/addElement()
>>>
>>>at org.apache.flex.core::Application/initialize()
>>>
>>>at org.apache.flex.core::Application/initHandler()
>>>
>>>DataBindingExample_Flat:
>>>
>>>TypeError: Error #1006: value is not a function.
>>>
>>>at MyInitialView()
>>>
>>>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLObject()
>>>
>>>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLProperties()
>>>
>>>at org.apache.flex.core::Application/generateMXMLAttributes()
>>>
>>>at DataBindingExample()
>>>
>>>DataGridExample:
>>>
>>>- Seems to be working but looking a little strange
>>>
>>>DesktopMap:
>>>
>>>VerifyError: Error #1079: Native methods are not allowed in loaded code.
>>>
>>>(Airglobal is not in the library-path)
>>>
>>>FlexJSStore:
>>>Not building due to Ambiguous MouseEvent
>>>
>>>FlexJSStore_jquery:
>>>Not building due to Ambiguous MouseEvent
>>>
>>>FlexWebsiteStatsViewer:
>>>Not building due to Ambiguous MouseEvent
>>>
>>>HelloWorld:
>>>- Seems to be working nicely
>>>
>>>MapSearch:
>>>VerifyError: Error #1079: Native methods are not allowed in loaded code.
>>>(Airglobal is not in the library-path)
>>>
>>>MobileTrader:
>>>Not building due to
>>>Implicit coercion of a value with static type Event to a possibly
>>>unrelated type Event.
>>>
>>>StorageExample:
>>>Not building due to
>>>Ambiguous reference to IDataInput
>>>
>>>TodoListSampleApp:
>>>- Seems to be working but looking a little strange as the labels are all
>>>"[object Object]"
>>>
>>>TreeExample:
>>>- Seems to be working nicely
>>>
>>>So we're up to 5 Working examples ... this is 5 more than this morning
>>>:-)
>>>
>>>Just as an example I created a screenshot from the dependency graph for
>>>the FlexJSStore project:
>>>http://apaste.info/ReG
>>>[http://www.apache.org/images/asf_logo.gif]<http://apaste.info/ReG>
>>>
>>>Paste #ReG - Apache Paste Bucket<http://apaste.info/ReG>
>>>apaste.info
>>>
>>>
>>>Chris
>>>
>>>
>>>
>>>________________________________
>>>Von: Christofer Dutz <christofer.d...@c-ware.de>
>>>Gesendet: Dienstag, 21. Juni 2016 12:50:55
>>>An: dev@flex.apache.org
>>>Betreff: AW: AW: [Falcon][FlexJS] Help with finishing the maven
>>>migration
>>>
>>>Ok so I had to add some more dependencies but now I'm getting an error
>>>that's not related to missing classes I guess:
>>>
>>>
>>>TypeError: Error #1006: value is not a function.
>>>
>>>at MyInitialView()
>>>
>>>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLObject()
>>>
>>>at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLProperties()
>>>
>>>at org.apache.flex.core::Application/generateMXMLAttributes()
>>>
>>>at DataBindingExample()
>>>
>>>
>>>Any Idea on this one?
>>>
>>>
>>>Chris
>>>
>>>________________________________
>>>Von: Christofer Dutz <christofer.d...@c-ware.de>
>>>Gesendet: Dienstag, 21. Juni 2016 12:44:18
>>>An: dev@flex.apache.org
>>>Betreff: AW: AW: [Falcon][FlexJS] Help with finishing the maven
>>>migration
>>>
>>>Thanks for that tip ... indeed it was the airglobal that was in the
>>>library-path.
>>>
>>>I moved that to the external library path and that error was replaced by
>>>another, but that's on I can handle ... I'll try to fix this and see how
>>>far I come [?]
>>>
>>>
>>>Chris
>>>
>>>________________________________
>>>Von: piotrz <piotrzarzyck...@gmail.com>
>>>Gesendet: Dienstag, 21. Juni 2016 12:00:01
>>>An: dev@flex.apache.org
>>>Betreff: Re: AW: [Falcon][FlexJS] Help with finishing the maven
>>>migration
>>>
>>>Hi Chris,
>>>
>>>I think I got same error a while ago. Maybe comments will help from my
>>>jira
>>>[1]
>>>
>>>[1] https://issues.apache.org/jira/browse/FLEX-34892
>>>
>>>Piotr
>>>
>>>
>>>
>>>-----
>>>Apache Flex PMC
>>>piotrzarzyck...@gmail.com
>>>--
>>>View this message in context:
>>>http://apache-flex-development.2333347.n4.nabble.com/Falcon-FlexJS-Help-
>>>w
>>>i
>>>th-finishing-the-maven-migration-tp53482p53488.html
>>>Sent from the Apache Flex Development mailing list archive at
>>>Nabble.com.
>>
>

Reply via email to