flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: AW: [FlexJS][Maven] Do we have to copy the -config.xml files to target?
Date Wed, 11 May 2016 06:53:56 GMT
FWIW, I just pushed a new branch called ide-projects.  It contains a new
folder tree in frameworks/js/FlexJS/projects.  In there you will see
Binding, Core, etc just like in frameworks/projects.  I moved the
compile-js-config.xml files from frameworks/projects/XXX/src/main/config
to frameworks/projects/XXX/src/main/config and split the build.xml so that
the build in frameworks/js/FlexJS/projects creates an XXXJS.swc and
cross-compiles the JS with COMPILE::AS3,false and COMPILE::JS,true.

So far, I've only converted Core, Binding, Graphics, Collections, and
HTML.  I'll finish the rest on the train up to Vancouver, then start
creating FB projects in each folder.  What I found so far is that I can
run a complete build in the frameworks/js folder first to build all of the
XXXJS.swc and .JS files, then run a build in frameworks to create the
final SWCs.  To me, it makes the build seem less complicated.  The
projects in frameworks/js depend on SWCs created in frameworks/js and
projects in frameworks depend on swcs created in frameworks.

I'm wondering if this organization and build order might help make it more
clear what the Maven build needs to do.  We will probably need to have
this sort of folder structure in order to be able to have a set of FB
project files that can generate the SWCs.  I think the main "cheat" is
that the source paths and some references to files in the build.xml and
-config.xml files reach from frameworks/projects to


On 5/6/16, 4:26 PM, "Alex Harui" <aharui@adobe.com> wrote:

>OK, will do.  If we did stop having an Ant build someday, what would be
>the plan for Maven to leave these files around for IDEs to use?
>On 5/6/16, 4:01 PM, "Christofer Dutz" <christofer.dutz@c-ware.de> wrote:
>>Well I don't copy the files there anymore, I completely generate new
>>Initially I copied them replacing things, but now I completeley generate
>>them. Feel free to do what you want to do with them.
>>-----Urspr√ľngliche Nachricht-----
>>Von: Alex Harui [mailto:aharui@adobe.com]
>>Gesendet: Samstag, 7. Mai 2016 00:38
>>An: dev@flex.apache.org
>>Betreff: [FlexJS][Maven] Do we have to copy the -config.xml files to
>>Hi Chris,
>>I found that the FB projects for the FlexJS SWCs were giving errors
>>because they were expecting compile-config.xml in src/main/resources.  As
>>I was fixing it up it I realized that copying these files (now named
>>src/main/config/compile-as-config.xml and compile-js-config.xml to target
>>is going to be a problem for the FB and maybe other IDEs the FB probably
>>can't count on those files being in target after a clean, and FB doesn't
>>easily have a way to do the copy.
>>Can we go back to only having those files in src/main/config?

View raw message