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] Build library project type to js only swc
Date Wed, 05 Apr 2017 06:36:04 GMT
Hi Piotr,

You can tell Maven to skip the flash compilation by setting the configuration option “skipAS”
to true.
You can tell Maven to skip js by setting the configuration option “skipJS” to true.

Think that was what you were looking for, correct?


Am 05.04.17, 07:48 schrieb "piotrz" <piotrzarzycki21@gmail.com>:

    Hi Harbs,
    It look like to me that Maven is doing everything what you are showing me in
    build.xml at some point automatically.
    Cause generated by maven compile config look similar to yours.
    I get errors when compile-as-config.xml is being processed.
    Error: Missing builtin type Object
    When compile-js-config.xml, is being processed with arguments
    -js-output-type=FLEXJS, -compiler.strict-xml=true
    I'm getting errors like this:
    col: 4 Incorrect number of arguments.  Expected no more than 4
    		btn.addEventListener(MouseEvent.CLICK, onBtnClick, false, 0, true);
    Code in js library do not use COMPILE::JS switch, but I think in case of JS
    only compilation it don't have to.
    Apache Flex PMC
    View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Maven-Build-library-project-type-to-js-only-swc-tp61001p61003.html
    Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message