flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject Re: [FlexJS][Maven] JS-only
Date Sat, 04 Mar 2017 09:11:30 GMT
Hi Alex,

If you have a flexjs module, that produces just the JavaScript, you need to configure another
plugin to pack that up as a war archive as maven doesn’t support directories as build artifacts.

So you would need to add that (see the output of the archetype for pure JS applications).
In the case of the other native application that shouldn’t produce an SWF, just set “<outputJavaScript>true</outputJavaScript>”
… If you like, I could give you a hand on this … would I need just the dual branch of
the asjs or from all modules?


Am 04.03.17, 00:45 schrieb "Alex Harui" <aharui@adobe.com>:

    Hey Maven Experts,
    Over in the flex-asjs branch named "dual", I am trying to get the projects
    in examples/native to build.  The two projects that build in Ant are
    ButtonExample and USStatesMap.  These projects do not produce a SWF, only
    HTML/JS/CSS.  In Maven, ButtonExample now compiles cleanly, but then fails
    [ERROR] Failed to execute goal
    (default-install) on project ButtonExample: The packaging for this project
    did not assign a file to the build artifact -> [Help 1]
    The AppMojo seems to make the SWF the artifact, but in this case there
    won't be one.  What is the right thing to do here?
    I've disabled the native folder in the pom for now.  You should be able to
    grab the flex-falcon dual branch and flex-asjs dual branch and use Maven
    to reproduce this.

View raw message