Hi,

1) Well 40 Seconds still sounds quite long … wonder why.

2) I currently setup the examples to always build the swf and the js version. 
This is done by running the compiler twice. In Maven a plugins execution is 
called an “execution”. When using a packaging of type swf (as is with all 
examples) the flexjs-maven-plugin automatically defines a default execution. 
The default for this is building an SWF (I am considering on changing the 
default to building the JS version per default). If you go up two poms from 
each example, you will see the flexjs-framework/examples/pom.xml. This is where 
the second execution is defined. It adds a second run of the compiler to the 
build. You can see this in the output of the build: 

[INFO] --- flexjs-maven-plugin:0.8.0-SNAPSHOT:compile-app (default-compile-app) 
@ TreeExample ---

…

[INFO] --- flexjs-maven-plugin:0.8.0-SNAPSHOT:compile-app (compile-javascript) 
@ TreeExample ---

Hope this brings some light to your questions.

Chris


Am 04.01.17, 08:07 schrieb "yishayw" <yishayj...@hotmail.com>:

    1) <debug>tue</debug> worked and got it down to 40 seconds.
    2) Tried mvn package, but didn't notice a significant difference in build
    time.
    3) You're right, the swcs are copied, not compiled.
    
    I still don't see how to compile js without flash? I looked in Carlos' MDL
    example, but I couldn't figure it out from there. Any clues?
    
    Also, it seems all files are now being compiled, whether they're accessed
    from the main app or not. If I'm correct, is there a way to tell the
    compiler to ignore the files not being used?
    
    Thanks.
    
    
    
    --
    View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Using-Maven-with-Flash-Builder-tp57612p57883.html
    Sent from the Apache Flex Development mailing list archive at Nabble.com.
    

Reply via email to