gwt-compiler

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

血红的双手。 提交于 2020-01-02 08:35:13
问题 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? 回答1: Both the classes are the main executable entry point for the GWT Java to JavaScript compiler. But com.google.gwt.dev.GWTCompiler is deprecated Use com.google.gwt.dev.Compiler (latest compiler from 2.5) Here you can find the both classes api : GWTCompiler // here you can

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

丶灬走出姿态 提交于 2019-12-21 20:35:59
问题 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 project (GAE + GWT + RequestFactory). Now I created Android module in my project. The idea is that it will use C2DM and talk to the server via RequestFactory (RF). So naturally I created 3rd module within my project and moved all RF proxies and

GWT Compiler can't find gwt.xml

徘徊边缘 提交于 2019-12-20 11:03:18
问题 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 classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] shell failed in doStartup method Which class is used to load the module, and where to update the new path, respectively? 回答1: I spent an hour staring at my

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

て烟熏妆下的殇ゞ 提交于 2019-12-13 04:48:20
问题 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 validation until a submit button is pressed. Typically, error messages are displayed near the input field. I'm following the procedures described in GWT validation dev guide where an example shows JSR-303 constraints being defined for the fields (in this

What's wrong with this Ant path?

╄→尐↘猪︶ㄣ 提交于 2019-12-12 01:06:57
问题 Note: even though this question involves GWT, it's really an Ant question. All I'm asking is: is the Ant PATH that I have below a "legal" path? I am getting ClassNotFoundExceptions on a type ( com.google.gwt.dev.Compiler ) that is packaged inside gwt-dev.jar (which as you can see is configured to be on the path below). Does the gwt.path look wrong to anyone: <path id="gwt.path"> <pathelement location="${gen.bin.main.dir}"/> <fileset dir="${gen.lib.main.dir}"> <filename name="gin-2.1.2.jar"/>

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

旧时模样 提交于 2019-12-06 02:08:43
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? Both the classes are the main executable entry point for the GWT Java to JavaScript compiler. But com.google.gwt.dev.GWTCompiler is deprecated Use com.google.gwt.dev.Compiler (latest compiler from 2.5) Here you can find the both classes api : GWTCompiler // here you can find that its deprecated Compiler GWTCompiler is the old entry point. The class has been deprecated for years,

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

时光总嘲笑我的痴心妄想 提交于 2019-12-04 14:06:37
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 project (GAE + GWT + RequestFactory). Now I created Android module in my project. The idea is that it will use C2DM and talk to the server via RequestFactory (RF). So naturally I created 3rd module within my project and moved all RF proxies and interfaces there so I can reference it both from GWT/GAE module and Android module. Android module likes it,

GWT Compiler can't find gwt.xml

我是研究僧i 提交于 2019-12-03 01:08:30
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 classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] shell failed in doStartup method Which class is used to load the module, and where to update the new path, respectively? I spent an hour staring at my gwt.xml file trying to figure out what I had done wrong after restructuring a project. Turned out it was in

GWT 2.6.0 how to enable Internet Explorer 6/7 permutation

南笙酒味 提交于 2019-12-01 05:19:41
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: http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_0 By default IE6 permutation is disabled. But how I can enable the ie6 permutation to make my application work with ie6 and ie7? Secound question: is the module.xml file the only way to enable the permuation. What's about a flag for the gwt compiler? You can enable ie6 permutation with in your module descriptor by adding this line of code:

GWT 2.6.0 how to enable Internet Explorer 6/7 permutation

被刻印的时光 ゝ 提交于 2019-12-01 03:23:32
问题 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: http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_0 By default IE6 permutation is disabled. But how I can enable the ie6 permutation to make my application work with ie6 and ie7? Secound question: is the module.xml file the only way to enable the permuation. What's about a flag for the