I'm trying to compile the StackWatcher example, but after selecting "GWT Compile project.." an dialog is opened, but it is said:
StockWatcher is not a GWT project.
The "Compile" button is also enable.
I clicked on Project/Browser.. but it shows an empty window.
Any idea?
Javi
Right-click on your project, Google > Web Toolkit Settings... > check Use GWT.
Same for AppEngine, if you're using it.
If you have the Google plugin installed correctly, right click on your project in the package explorer. There should be a Google Web Toolkit menu entry which allows you to convert your project into a GWT one.
Once the project has been converted you should be able to compile and debug your project as normal.
In the project properties, you probably didn't enable the Google Web Toolkit feature.
Related
I'm trying to enable GWT debugging in IntelliJ 14 Ultimate for an old project.
I have enabled gwt support in IntelliJ, downloaded the GWT version that is used by the project (2.2.0) and created a facet that targets that path:
I set it to target the web facet. I then got a warning about how the gwt compiler output and gwt-user.jar were not part of the artifact so I added them to it:
As I created the facet I added to the main app module. Finally I created a run/debug configuration where I specified the app module and enabled "User Super Dev Mode" but the "GWT Modules to load" field is disabled.
I built/compiled the project and am not getting any errors however I still can't see any GWT modules in the project Facets or Module sections.
This JetBrains article seems to imply that I should add framework support for GWT however I do not see it as an option when i right click the project>Add Framework Support..
Thank you
SuperDevMode was added in GWT 2.5; with 2.2 you're forced to use the legacy DevMode, with browser plugins, which means Internet Explorer or an old Firefox.
Unlike support for other frameworks, I cannot see GWT when I right click project root in Project tab and select "Add Framework support".
However, It still works when I select
Project Structure → Facets → Add → GWT
After a few hours of trying a bunch of different things (updated IDE, change JDK, recreate project, etc) the "culprit" turned out to be my VCS: I copied a colleague's local version and it IntelliJ was able to recognize the GWT module.
I was surprised since I had run multiple pulls (well 'updates' to be more exact since it is Perforce we're talking about) yesterday so I tried a force pull and voila... the modules are now showing:
Thanks for your replies Vojtech and Thomas!
I just had to move the gwt XML, for ex to the folder where client and server folders are. And Intellij recognised it.
I have just installed the Google App Engine Plugin for eclipse and want to create a new project. But i only get:
Why cannot I create a new project?
greetings and thx in advance
Plugin is not same as the SDK. Plugin just makes it easy to work with GWT projects.
The actual GWT compiler and libraries are present in the SDK which needs to be downloaded separately.
Once you download and extract the SDK, You have to configure its location in Eclipse's Preferences. Go to Window > Preferences > Google > Web Toolkit and add the SDK there.
I had the same problem.
If you do not want to use GWT just uncheck the "Use Google Web Toolkit" checkbox on that same dialog. You do not need this turned on in order to create a New Web Application Project.
I personally think it was confusing that the checkbox for GWT is turned on by default, even if you don't have one installed.
The SDK that you installed with your eclipse plugin should be sufficient.
As per the getting started wiki page, I had Indigo with the Android plugin installed; I installed the Maven Integration for WTP and Google plugins (in that order). I can run the Java version of the showcase fine; when I try to Google > GWT Compile the showcase-html, Eclipse tells me that this is "not a GWT project."
What am I doing wrong? Or is this broken?
Source can be found here for the next seven days: http://www.sendspace.com/file/zc2af3
With all of those plugins installed Eclipse should auto-detect the GWT "nature" of the yourgame-html subproject. It works fine for me and at least a few other people.
In any case, you can simply right click on that project, select "Google -> Web Toolkit Settings..." and click "Use Google Web Toolkit" on the dialog that pops up.
Right click on the project "Run As -> Run Configurations". We should at-least create one configuration for web application. Click on New Configuration and eclipse will automatically fill the information(ie.playn-showcase-html & the class information ). Go ahead and click on Run and you should be able to get you server to run. Hope this helps.
Currently I am using GWT 2.3.0 sdk and installed the google web toolkit plugin for eclipse.
I created a web application project with the plugin and want to use GWT-Ext.
Then, right click on the module (com.company.project) and choose "Google Web Toolkit" and choose "Configure for using GWT-Ext".
Then, a gwtext.jar is automatically generated in the project.
My question is, how can I verify the version of the automatic generated gwtext.jar and all the license issues with it?
As I got you, you want to check the gwt version.
So follow this step.
Right click on the project->Properties->Google->Web Tool Kit.
After selecting Web ToolKit you can see the version which is in used and you can also configure the another version by clicking on the configure version.
Hope this will help you.
I'm trying to setup my GWT library. I found this old video that shows there should be a section title "Google Web Kit" under Settings->IDE Settings.
Sadly, I can't find anywhere in the settings "Google Web Kit" or GWT, except under Inspections.
How do I point IntelliJ to my GWT installation?
BTW, I'm using IntelliJ 9.0.3 Ultimate
File -> Project Structure -> Modules
You should see GWT under you main module name (expand it to see). If GWT is not there add it (by pressing +)
Fill in the Path to GWT installation directory in the right pane (when GWT selected).
I had the same problem. All the IntelliJ help text etc assumes that you have already installed the GWT plugin (Settings | Plugins). It's not there "out of the box" as some of the pages suggest. Until you do that, GWT won't appear in any of the menus or drop-downs.