Questions tagged [gwt-compiler]

A part of the GWT toolkit that translates Java into JavaScript

A part of the GWT toolkit that translates Java into JavaScript

52 questions
33
votes
8 answers

GWT Compiler can't find gwt.xml

I have changed and renamed my package structure of my GWT project, and when trying to run the project as a web application, the module isn't found and I get the following message: [ERROR] Unable to find 'de/xx/focus/My_Projekt.gwt.xml' on your …
ph09
  • 1,052
  • 2
  • 20
  • 31
12
votes
5 answers

GWT compiler is running out of memory. How do I configure it within IntelliJ?

I'm running GWT from within IntelliJ. (Plain GWT, IntelliJ v9). I'm able to run my application via my "GWT development mode" configuration, but when I try to run it through my "local tomcat" configuration, I get a bunch of incomprehensible error…
Tim Cooper
  • 10,023
  • 5
  • 61
  • 77
11
votes
3 answers

Can I pass arguments (deferred binding properties) to the GWT compiler?

With the GWT compiler, is it possible set pass in properties as arguments to the GWT compiler? I know you can pass in certain defined parameters such as -war and -style, but this is for passing in property values, such as "user.agents" or…
skaffman
  • 398,947
  • 96
  • 818
  • 769
9
votes
5 answers

GWT compile button in Eclipse

A simple question : I am using Eclipse 3.7 Indigo and have updated the GWT (2.4) Eclipse plugin. Now I can't find the GWT compile button in the main toolbar. Previously there was this symbol in the main toolbar , but after the update, this button…
sockeqwe
  • 15,574
  • 24
  • 88
  • 144
6
votes
2 answers

GWT 2.6.0 how to enable Internet Explorer 6/7 permutation

Release Notes GWT 2.6.0: "The ie6 permutation (which also handles IE 7) is now disabled by default. Support for IE6 and IE7 will be removed in the next major GWT release." Official relase Notes:…
Charmin
  • 711
  • 20
  • 30
6
votes
3 answers

How would I give the GWT-compiler more memory when using GWT-Maven?

We have a Maven build that runs the GWT plugin (gwt-maven). Unfortently it is running out of memory. Do I need to give Maven itself more heap or do I need to give GWT more heap? Any idea how to specify this for a pom.xml file?
benstpierre
  • 32,833
  • 51
  • 177
  • 288
5
votes
0 answers

GWT: Failed to execute 'insertBefore' on 'Node': 2 arguments required, but only 1 present

I have a GWT project so my javascript codes are generated by GWT Compiler. After last chrome update, Javascript codes started to throw exception as "Failed to execute 'insertBefore' on 'Node': 2 arguments required, but only 1 present." Because…
Yusuf K.
  • 4,195
  • 1
  • 33
  • 69
4
votes
1 answer

How to compile only changed parts of gwt modules?

We decided to use gwt modules in our application about 1 week ago. We use gwt-maven-eclipse trio and we already configured phases and goals. Also we are doing context deploying to decrease development and testing time. BUT; When we package or…
Çağdaş
  • 993
  • 1
  • 12
  • 33
4
votes
2 answers

What is the Difference between com.google.gwt.dev.Compiler and com.google.gwt.dev.GWTCompiler

When i go through the com.google.gwt.dev package i found that there are two compilers available in com.google.gwt.dev. My need is to compile a GWT project programatically from my Java Application. Which one is suited?
Abin Manathoor Devasia
  • 1,945
  • 2
  • 21
  • 47
3
votes
0 answers

How do I get around this issue with GWT compiler

I get this error when I try to compile a program with very long classpath in Eclipse with GWT compiler. Cannot run program "...java" ... java.io.IOException: error=7, Argument list too long Could only find one reference on web.
Parth
  • 523
  • 1
  • 7
  • 21
3
votes
1 answer

How can maven enforce use of supported GWT source in builds for GWT module's dependency builds?

My GWT module depends on my SDK module. I want to block commits of java language features unsupported in GWT. For example, GWT doesn't support Arrays.copyOf and when someone adds this to SDK, SDK builds fine but down the line GWT fails. How can…
Peter Kahn
  • 12,364
  • 20
  • 77
  • 135
3
votes
2 answers

GWT compiler can't find sources of depending module in IntelliJ IDEA

I'm using IDEA 117.216 It would be great if CrazyCoder sees this question :) How do you guys reference another module so GWT compiler sees it ? When I say module I mean module in IntelliJ IDEA's terminology. Here is my situation. I have midside…
expert
  • 29,290
  • 30
  • 110
  • 214
2
votes
1 answer

GWT compile POJO

I'm trying to use just the Java to Javascript compiler of the GWT from Ant. Can I use the GWT compiler without extending any Google classes such as com.google.gwt.core.Core or similar. If so how? I'm currently using the setup below on GWT 2.4.0. I'm…
2
votes
1 answer

GWT Compiler NoSuchMethodError

My GWT compiler started failing with a NoSuchMethodError. It started happening when I updated a method parameter from an Long to a long. I shouldn't need to but I tried switching it back and I'm still having the same error. My java eclipse runtime…
Zip184
  • 1,792
  • 2
  • 21
  • 34
2
votes
0 answers

How to use GWT RPC async calls as GWT.runAsync RunAsyncCallback split points?

We are very heavy users of GWT RPC and have wrapped it into a framework that makes it significantly more usable. The application is big and is going to get even bigger, so we need to think more about the split points. One very natural way of having…
Learner
  • 1,215
  • 1
  • 11
  • 26
1
2 3 4