Ok some progress [?]

So I added a new compiler option to the maven plugin:

forceSwcExternalLibraryPath

This is set to false per default, but if set to true, ALL libraries go to the 
external-library-path. I think this is a lot easier than to sort of think of a 
way to manually configure stuff like this. Eventually this will not work for 
all usecases, but it works for now and it only has to work for as long as I 
need to implement some new functionality in Maven and have a new Maven release 
with that functionality built in.


I also found that in Network and Binding I had added a JSLib to the 
external-library-path. I removed this and now almost all Examples seem to be 
working. I even found out that the CreateJSExample is actually animated ... 
wonder why the ball doesn't move in the Flash version.


Unfortunately I didn't find the external-lib-problem in Network before starting 
the next build, so I'm currently doing another one and then I'll be going 
through the examples again, checking the SWF and the JS version and update the 
TODO section with findings in the examples pom.xmls


Chris


________________________________
Von: Christofer Dutz <christofer.d...@c-ware.de>
Gesendet: Montag, 4. Juli 2016 11:03:25
An: Alex Harui; dev@flex.apache.org
Betreff: AW: AW: AW: AW: AW: AW: AW: AW: AW: AW: [Falcon][FlexJS] Help with 
finishing the maven migration

Hi Alex,


I could confirm your observation, so in order to test things, I changed the 
dependencies to all the libraries to the library-path in all cases. With this 
the output had a lot less errors. However I am still getting errors from the 
binding system.


I am having real trouble to make this setup work nicely in Maven. We seem to 
have 3 different cases:

1. Library is on library-path for SWC and JS

2. Library is on external-library-path for SWC and JS

3. Library is on external-library-path for SWC and library-path for JS

the first two cases are trivial and I select which one by choosing "compile" 
(1) or "runtime" (2).

Unfortunately I have no idea how I could tell maven to use option 3 in a way 
that is not a complete hack.

Would it be ok to add a plugin config option to forcefully link all libraries 
using external-library-path?


Chris

________________________________
Von: Alex Harui <aha...@adobe.com>
Gesendet: Montag, 4. Juli 2016 09:10:22
An: dev@flex.apache.org; Christofer Dutz
Betreff: Re: AW: AW: AW: AW: AW: AW: AW: AW: AW: [Falcon][FlexJS] Help with 
finishing the maven migration



On 7/3/16, 7:48 AM, "Alex Harui" <aha...@adobe.com> wrote:

>Excellent!  I will investigate the runtime issues this evening.

I poked around.  I noted:

-RadioButton is broken.  Peter or I will look into it.
-For Binding (and probably other projects), Core.swc is on the
external-library-path for the AS compile, but needs to be on the
library-path for JS compiles.  Hopefully that's not too hard to pull off.
-I did not see the HTTPService errors.

I'll try to find time to look at a few more this week.

-Alex

Reply via email to