Hi,

I tried to create an IntelliJ 12 project with the following modules:

- gwt-dev (imported from trunk/eclipse/dev)
- gwt-user (imported from trunk/eclipse/user)
- gwt-trunk-testing-app

I want to run gwt-trunk-testing-app against the imported gwt-* modules but 
I can't figure out how to tell IntelliJ that it needs to include super 
source folders in classpath when launching DevMode or GWTTestCases.

What I have done is:
1.) Setting up GWT_TOOLS and GWT_ROOT path variables
2.) After importing the gwt-dev/gwt-user modules from eclipse .classpath 
files. I had to adjust compile exclusions as IntelliJ did not set them up 
automatically. So I excluded all super folders in gwt-user/src and also 
super/com/google/gwt/dev/jjs/intrinsic in gwt-dev (Project Settings -> 
Compiler -> Excludes)
3.) Add module dependencies to gwt-trunk-testing-app.

Now when creating a run configuration in IntelliJ (ordinary java 
application run config) I can only choose a classpath of a given module, so 
gwt-trunk-testing-app is the way to go. The problem is that I can't add 
additional super source folders to the classpath like in eclipse run 
configuration (classpath -> user entries -> folder). 

So I tried to figure out how I could add source folders to a module 
classpath:
- creating a new library and adding source folders (gwt-dev/super, 
gwt-user/src, gwt-user/super) to it doesn't seem to work
- marking super folders as source folders and then exclude them from 
compiling (Project Settings -> Compiler -> Excludes) doesn't work either.

I am wondering if I am missing something obvious, as I am relatively new to 
IntelliJ, or if its just not possible to run DevMode using gwt-dev/gwt-user 
source in IntelliJ.

Does anyone have a working setup for IntelliJ 12?

-- J.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to