Support for multiple gwt.xml configurations files for different environments

One common way to improve the speed of the compiler, is to use a specific user.agent during development and only have one locale. According to this question is one way to achieve this to have multiple .gwt.xml files. One for development another for more test/production usage and then difference which to use by supplying the command line option.

I've tried to add another .gwt.xml file called dev.gwt.xml, but the problem is that the GWT facet includes all gwt.xml files and I don't have any way of "disable" the other gwt.xml file. I would like to be able to disable a gwt.xml file so that I can have multiple gwt.xml files in the project to support the use case above. Is it possible to do this? If not - is this something Jetbrains would consider to include in IntelliJ 9?

2 comments
Comment actions Permalink

Any viewpoints from Jetbrains people?

0
Comment actions Permalink

There are two issues (http://jetbrains.net/tracker/issue/IDEA-24643 and http://jetbrains.net/tracker/issue/IDEA-24138) related to your problem. Feel
free to comment on it or create another issue.

One common way to improve the speed of the compiler, is to use a specific user.agent during development and only have one locale. According to http://stackoverflow.com/questions/963021/modifying-gwts-user-agent-when-releasing is one way to achieve this to have multiple .gwt.xml files. One for development another for more test/production usage and then difference which to use by supplying the command line option.

I've tried to add another .gwt.xml file called dev.gwt.xml, but the problem is that the GWT facet includes all gwt.xml files and I don't have any way of "disable" the other gwt.xml file. I would like to be able to disable a gwt.xml file so that I can have multiple gwt.xml files in the project to support the use case above. Is it possible to do this? If not - is this something Jetbrains would consider to include in IntelliJ 9?

---
Original message URL: http://www.jetbrains.net/devnet/message/5245999#5245999



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.