History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-22714
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Nikolay Chashnikov
Reporter: Tom van Zummeren
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Would be nice to choose when the GWT compiler should compile.

Created: 08 Jun 07 13:50   Updated: 23 Oct 07 09:24
Component/s: GWT Support
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,180
Severity: Medium


 Description  « Hide
Right now the GWT compiler starts every time the normal Java compiler starts. This is fine, except when running for example small unit tests, it will recompile all GWT code which is not at all needed by the unit test. In my project this takes about 1 ~ 2 minutes, which is very annoying.

Would be nice to configure in what situations the GWT compiler should kick in and in situations it should not.



 All   Comments   Work Log   Change History      Sort Order:
Travis Reeder - 15 Oct 07 21:43
I agree, really slows down dev time. Also, should not compile when running in hosted mode.

Tom van Zummeren - 15 Oct 07 23:17
At the moment my project grew a lot bigger, and compilation is now taking at least 5 minutes each time (probably 10 minutes if the GWT plugin does it). I disabled the plugin some time ago because it was unworkable.

Nikolay Chashnikov - 16 Oct 07 09:40
You can uncheck "Run GWT compiler on make" in GWT facet options if you want to turn off GWT compiler.

Travis Reeder - 16 Oct 07 20:54 - edited
Nikolay, the point is we want it to compile sometimes, but not others. Changing the project settings to switch this on and off just isn't good enough. It should just be smarter about when it compiles, for instance: only compile when you are doing a full make (ctrl-f9) or Running a Tomcat Server instance that has a GWT facet in it, but DO NOT COMPILE when Running a GWT Configuration (hosted mode) or when running a unit test like Tom says.

Nikolay Chashnikov - 17 Oct 07 09:33
My comment was addressed to Tom. I'd suggested to turn off GWT compilation instead of disabling the plugin completely.

Tom van Zummeren - 17 Oct 07 14:17
I thought that didn't work, it still did a GWT compile. But I might be wrong because it was a long time ago.

Travis Reeder - 19 Oct 07 01:47
Nikolay, what are your thoughts on this?

Nikolay Chashnikov - 19 Oct 07 09:27
We will try to implement this feature in next version of IDEA.

Travis Reeder - 22 Oct 07 23:20
Does next version mean Version 8?

Nikolay Chashnikov - 23 Oct 07 09:05
Yes.

Travis Reeder - 23 Oct 07 09:24
Wow, so has dev on this plugin pretty much stopped then?