Hi Chris,

about <debug>true</debug>, I don't have it in MDLExample, but I'm always
creating a debug version...maybe is set in a parent pom?

2017-01-03 12:14 GMT+01:00 Christofer Dutz <christofer.d...@c-ware.de>:

> 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.
>
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Reply via email to