GWTStudio - How to get compiled files put into a directory.
I have a GWT project, with a couple different GWT modules. Each module is in a separate package:
IE:
com.pkg.test1.Test1.gwt.xml
com.pkg.test2.Test2.gwt.xml
com.pkg.test3.Test3.gwt.xml
When compiled and deployed through Tomcat integration, all files are compiled to the root of my app context.
Ex: /com.pkg.test.Test1.nocache.html
When I use the GWTCompiler in an ant script it compiles to a directory that is my project structure.
Ex: /com.pkg.test1.Test1/com.pkg.test.Test1.nocache.html
Two questions:
1) How do I get the compile, via my ant task, to put files into a specific spot that is not the com.pkg.test1.Test1 directory, like IntelliJ does?
2) How can I get IntelliJ on compile/deploy to Tomcat to put the files into a subdirectory?
I would like a directory like:
/Test1
/Test2
]]>/Test3
Thanks
Mike
Please sign in to leave a comment.
Hello Mike,
1) IDEA runs GWT compiler which generate files into a temporary directory
and then copies the generated files to the context root.
2) It isn't possible now. I've created a Jira request for this porblem (http://www.jetbrains.net/jira/browse/IDEADEV-13420).
It will be fixed in next version of IDEA.