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
1
vote
1 answer

GWT split points with redundant fragments?

I'm using GWT.runAsync to split the cod into different fragments. I have a problem with the leftover fragment (reaching 1.2 Mb) and that's because the widgets that I use are interdependent. I know that if I use runAsync to load a code for a widget…
Andrei F
  • 4,205
  • 9
  • 35
  • 66
1
vote
0 answers

GWT Super Dev Mode - start without precompile

In GWT 2.5.1 release notes there is a new option (-noprecompile) that can be added when starting super dev mode. But when i add it to the run configuration, i get the message Unknown argument: -noprecompile Google Web Toolkit 2.5.1 What am I doing…
Andrei F
  • 4,205
  • 9
  • 35
  • 66
1
vote
1 answer

How to compile GWT project programmatically from a Java Application?

I need to compile a GWT project from Java App. So i created a Compiler instance with CompilerOptions which sets output directories etc. My code is like this: Compiler compiler=new Compiler(new CompilerOptions() {...... .... } ModuleDef def=new…
Abin Manathoor Devasia
  • 1,945
  • 2
  • 21
  • 47
1
vote
1 answer

GWT compile takes comparatively long time on EC2

I'm looking into moving our CI process to a Linux instance on EC2. I've set up Jenkins on an m1.small Ubuntu Linux instance. The GWT compile process (via ant) takes about 60 seconds on our laptops but takes almost ten minutes on the EC2 instance.…
Kyle Baley
  • 580
  • 1
  • 5
  • 16
1
vote
2 answers

Unsupported major.minor version when doing GWT compile in eclipse

So I'm getting the following exception: I know that major.minor version exceptions come when you are compiling with an old jdk and running with a newer one but i'm just doing GWT compile. Can anyone shed some light on this: Compiling module…
fernandohur
  • 7,014
  • 11
  • 48
  • 86
1
vote
2 answers

Running GWT from Ant buildfile with special arguments?

I would like to run the GWT compiler from my Ant buildfile with the compiler the following flags: -compileReport -XsoycDetailed -extra -XfragmentCount (where is an integer that I'll determine over time) I looked into ant-gwt, which seemed…
user1768830
0
votes
1 answer

How GWT Compler find gwt_servlets?

How gwt compiler finds gwt_servlets into gwtModule? Right now I am getting exception "The requested resource (/finalWar/GWTAPPS/gwtmainmodule/GWTServlet) is not available." /finalWar/GWTAPPS/gwtmainmodule/GWTServlet =…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
0
votes
2 answers

Does GWT remove unused classes during compilation?

Suppose I have a project structure that looks roughly like this: {module-package}.webapp module.gwt.xml {module-package}.webapp.client Client.java UsedByClient.java NotUsedByClient.java And the module.gwt.xml file has:
Kevin K
  • 9,344
  • 3
  • 37
  • 62
0
votes
2 answers

Use system memory as GWT SuperDev mode working directory

I'm using GWT SuperDev mode to compile a huge GWT project which produces a lot of codeserver temporary files. This files are stored in windows %TEMP% path and waste a lot of disk space and I have to clean them manually every day. In addition,…
Ehsan Khodarahmi
  • 4,772
  • 10
  • 60
  • 87
0
votes
1 answer

gwt-maven-plugin soyc flags

I've been having some problems with GWT and SOYC. Using the maven pluging for gwt: gwt-maven-plugin, how can I pass extra flags to the GWT compiler. I'm trying to set the XsoycDetailed flag, so that I can get a detailed SOYC report. Thanks.
Eugen
  • 8,523
  • 8
  • 52
  • 74
0
votes
2 answers

GWT Compilation

I am facing problem while GWT compilation. I am using ANT build file in which i run 'build' target. when execution comes to 'gwtc' target the compilation sometimes stop or somtime it compiles successfully. Can anyone please tell me what i am doing…
Zeeshan
  • 1,173
  • 5
  • 19
  • 26
0
votes
1 answer

Inline validation using JSR-303 in GWT, part 1: Validation on TextBox fails. Why?

I want to perform inline validation on the fields in a form, using JSR-303. By inline (aka on-the-fly) validation, I mean that each field is validated as the user works through the form (e.g. on blur or on key press), as opposed to deferring…
Matt Wallis
  • 873
  • 5
  • 25
0
votes
1 answer

GWT Parallel Compile vs Sequential Compile

I was trying to reduce the time it takes for an ant build to complete. Most of the build time is taken by GWT compiler. Following ant script is written on the lines of scripts found in official GWT examples. Notice how two GWT modules are being…
Dojo
  • 5,374
  • 4
  • 49
  • 79
0
votes
1 answer

Looking for a one click method to recompile GWT client code by using the codeserver?

I have a single module GWT project. The compilation with codeserver works fine. However, I find the procedure of recompiling my client code with the codeserver unnecessarily cumbersome. Do I really have to click on three buttons for one…
Stefan Endrullis
  • 4,150
  • 2
  • 32
  • 45
0
votes
0 answers

Howto exclude a source folder when using GWT Compile in eclipse?

I have a GWT Project in Eclipse with 2 source folders. /java this folder contains the application code, that should be GWT compiled /test this folder contains unit test code that should not be GWT compiled (is not possible. The packages inside these…
David Nouls
  • 1,895
  • 12
  • 21