AlexJoz / play2-maven-plugin

Automatically exported from code.google.com/p/play2-maven-plugin
0 stars 0 forks source link

This plugin does not support incremental compilation #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change one source file of the project
2. run 'mvn compile' 
3.

What is the expected output? What do you see instead?

One source file is compiled. What I saw is: all the unchanged files are 
compiled and it is time-consuming.

What version of the product are you using? On what operating system?

1.0.0-alpha8

Please provide any additional information below.

Original issue reported on code.google.com by dong...@gmail.com on 13 Apr 2015 at 8:03

GoogleCodeExporter commented 8 years ago
maven itself is incremental compilation per this thread: 
http://stackoverflow.com/questions/1969150/how-to-compile-a-single-file-with-mav
en

So please close this issue. Thanks.

Original comment by dong...@gmail.com on 13 Apr 2015 at 9:31

GoogleCodeExporter commented 8 years ago
Hi.

I don't understand your last comment.

Is this issue related to 
https://code.google.com/p/play2-maven-plugin/issues/detail?id=66?

We cannot say that Maven is or is not incremental. Maven uses 
maven-compiler-plugin for compilation. For Play! projects this plugin 
executions should be skipped and sbt-compiler-maven-plugin should be used for 
compilation. sbt-compiler-maven-plugin uses Zinc compiler 
(https://github.com/typesafehub/zinc) internally, provided by SBT team. It's 
incremental for sure.

Original comment by gslowiko...@gmail.com on 14 Apr 2015 at 6:41

GoogleCodeExporter commented 8 years ago
Yes. That issue is related to issue 66. Our project is a Play2 project. So the 
compiling is incremental as Zinc is used. But for test-compile, it seems that 
the compilation is not incremental. I will provide the log in issue 66.

Original comment by dong...@gmail.com on 14 Apr 2015 at 2:31