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?

Chris

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
    -compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css,
    -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.
    
    Thanks,
    Piotr
    
     
     
    
    
    
    -----
    Apache Flex PMC
    piotrzarzycki21@gmail.com
    --
    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.
    

Mime
View raw message