Ok, so I implemented this functionality. If a extern dependency is directly 
added to a pom, it is added to the build.


Unfortunately it still seems to fail.

So I debugged the compiler especially the GoogDepsWriter which is reporting the 
error.

It is trying to find all sorts of "createjs/DisplayObject.js" files in 
different directories like "js/out", "js/src". I found these in the normal SWCs 
like Core.swc. If I look at the extern SWCs, the content seems different. If I 
have a look at the maven and the ant extern-swcs they seem to contain all 
classes without package in a "externs" directory and I can see the 
DisplayObject.js file in the "target/javascript/bin/js-debug/extern" directory.


I would have liked to compare my examples with the official ones, just to find 
out how the working directory of the Ant build looks like, but there doesn't 
seem to be a Jenkins job for these. I think there should be one.


Looking at the code of the GoogDepsWriter I can't see any code that would have 
found the DisplayObject.js file, even when using the ant externs.


Chris

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

Makes sense.  IMO, the general principle is that someone building an app may 
need to include a single externs swc, even one that we didn't build ourselves.  
When building applications, in theory you should be able to specify third-party 
SWCs that go in the external-library-path and library-path.  I assume you'll 
find a way to make that happen.

Thanks,
-Alex

From: Christofer Dutz 
<christofer.d...@c-ware.de<mailto:christofer.d...@c-ware.de>>
Date: Friday, July 1, 2016 at 11:19 AM
To: Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>>, 
"dev@flex.apache.org<mailto:dev@flex.apache.org>" 
<dev@flex.apache.org<mailto:dev@flex.apache.org>>
Subject: AW: AW: AW: AW: AW: [Falcon][FlexJS] Help with finishing the maven 
migration


I have a lot of changes locally that I haven't comited yet.

I usually filtered the non-extern and extern libraries so in some parts I need 
only the externs and in others I don't want the externs. Now in order to allow 
adding externs to the examples I turned off the filter. Now things started 
working where the externs were needed, but it seems to have broken other things 
:-( I guess the reason for my problems now are that now not only the swcs are 
included, but also all the externs they reference and I think I have to come up 
with a way to filter out externs, but let through ones explicitly added ... I'm 
digging into this at the moment.


Chris

________________________________
Von: Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>>
Gesendet: Freitag, 1. Juli 2016 20:12:48
An: dev@flex.apache.org<mailto:dev@flex.apache.org>; Christofer Dutz
Betreff: Re: AW: AW: AW: AW: [Falcon][FlexJS] Help with finishing the maven 
migration

FWIW, I just pulled and rebuilt and am not getting the "percentage not
allowed here" problem, just the issue with the missing swcs.

-Alex

On 7/1/16, 8:25 AM, "Alex Harui" <aha...@adobe.com<mailto:aha...@adobe.com>> 
wrote:

>Percentage is controlled by metadata in the core swc.
>
>Sent from my LG G3, an AT&T 4G LTE smartphone
>
>------ Original message------
>From: Christofer Dutz
>Date: Fri, Jul 1, 2016 4:56 AM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org>;
>Subject:AW: AW: AW: AW: [Falcon][FlexJS] Help with finishing the maven
>migration
>
>Ok ... so I found another problem and fixed that which resulted in 5
>projects breaking again but this time the problems I seem to be having
>look valid.
>
>
>One that's troubling me most at the moment is the one in FlexJSStore,
>FlexJSStore_jquery, MobileMap, MobileTrader and StorageExample in which I
>am getting compiler errors that I am not allowed to put percentage values
>in width and height settings.
>
>
>/Users/christoferdutz/Projects/Apache/Flex/flex-asjs/examples/flexjs/FlexJ
>SStore_jquery/src/FlexJSStore.mxml:228
>Initializer for 'width': percentage not allowed here: '100%'.
>            <js:ControlBar id="acb" width="100%"
>className="storeControlBar" >
>
>Don't quite know what's going wrong here.
>
>Any Ideas?
>
>Chris
>________________________________
>Von: Christofer Dutz 
><christofer.d...@c-ware.de<mailto:christofer.d...@c-ware.de>>
>Gesendet: Freitag, 1. Juli 2016 11:09:04
>An: dev@flex.apache.org<mailto:dev@flex.apache.org>
>Betreff: AW: AW: AW: AW: [Falcon][FlexJS] Help with finishing the maven
>migration
>
>Hi Alex,
>
>
>That worked ... thanks ... 3 to go [?]
>
>
>Chris
>
>________________________________
>Von: Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>>
>Gesendet: Donnerstag, 30. Juni 2016 23:56:10
>An: dev@flex.apache.org<mailto:dev@flex.apache.org>
>Betreff: Re: AW: AW: AW: [Falcon][FlexJS] Help with finishing the maven
>migration
>
>
>
>On 6/30/16, 11:07 AM, "Alex Harui" <aha...@adobe.com<mailto:aha...@adobe.com>> 
>wrote:
>>
>>>
>>>DataBindingExample_as
>>>
>>>File not found: org.apache.flex.html.beads.CSSButtonView
>>
>>I will look into this.
>
>Turns out there is a CONFIG::as_only conditional compilation flag that
>needs to be false for the JS build.  I don't know how to make that change.
>
>Thanks,
>-Alex
>

Reply via email to