Hi,

1) If you add “<debug>true</debug>” to the configuration of the 
flexjs-maven-plugin it will not do the release compilation.
2) Haven’t experimented too much with that, but a “mvn package” should do 
something like that
3) You shouldn’t need to compile the framework in order to build an 
application. Maven doesn’t reference the other projects sources, but their 
artifacts. So whenever an artifact is built with “mvn install” the swc is 
copied to the maven local repo (which is usually in “~/.m2/repository”) So you 
should be able to just build the application and it should pull in the latest 
version of the framework. You shouldn’t even be required to have the Framework 
at all. Maven should pull the latest version from the Apache Maven repo.
4) In general, it is even an anti-pattern to use “mvn clean install”, but I 
like to use it in projects with a lot of generated code as this makes sure you 
have all code clean and fresh. I will have to check if running just “mvn 
package” (which should be enough) will work as we do some other stuff in FlexJS 
compared to a plain Java compilation. In a Java project a “mvn package” would 
be an incremental build.

Chris

Am 03.01.17, 09:46 schrieb "yishayw" <yishayj...@hotmail.com>:

    Using the correct artifactId the stub was created. I changed
    <sourceDirectory>, and <mainClass>, added some framework dependencies, and I
    now have our app compiling in maven.
    
    The build is still to slow to my liking (1 minute on my machine). So I have
    some questions:
    
    1) Can I compile to JS debug only (no release, no flash)?
    2) Can I do an incremental build?
    3) Most of the time I'm not changing framework code, I'd like to compile the
    app code and keep the framework products as they were. Is that possible?
    4) Possibly related to (2) or (3): is the clean argument necessary or can I
    just do mvn install?
    
    Thanks. 
    
    
    
    --
    View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Using-Maven-with-Flash-Builder-tp57612p57797.html
    Sent from the Apache Flex Development mailing list archive at Nabble.com.
    

Reply via email to