Saturday, July 30, 2022

Re: Gxt/GWT Element has been deprecated

@SuppressWarnings( "deprecation" )

Should do the trick, no?

Lorenzo Aditi <dhia.xdk.bingo@gmail.com> schrieb am Sa. 30. Juli 2022 um 16:42:

I migrated to gwt 2.8.1 and I am using gxt 2.2.5

I am using the method onRender from com.exts.gxt.ui.client.widget.LayoutContainer:

nRender(com.google.gwt.user.client.Element parent, int index)

The issue is that com.google.gwt.user.client.Element was deprecated and replaced by com.google.gwt.dom.client.Element.

So I am getting this warning Element in com.google.gwt.user.client has been deprecated

Is there a workaround to avoid this warning and keep using gwt 2.8.1 & gxt 2.2.5.

Thanks







--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/bebb78bb-2390-4c9f-a4e8-a6b264eb382fn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACwwWxOji-6Haj-6ODai6%3DzZy-R8yhTg19ipo%2BwCMgM3BBYMcQ%40mail.gmail.com.

Friday, July 29, 2022

Security Vulnerabilities with GWT 2.10

Hi All,

Below Security Vulnerabilities in gwt-dev.jar in latest GWT 2.10 release have been reported by Dependency checker tool - 

gwt-dev_vulnerablities.PNG
Given above vulnerabilities -
1. Are those security issues addressed in latest 2.10.0 release?
2. If no, is there a plan to include them in any future release say 3.x?
3. As we know that gwt-dev.jar is used for development purpose( in our application, we remove gwt-dev.jar post compilation) , still are there any attack surfaces exists?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/da59dc3c-da16-4d56-a8a9-5ea3d6e342dfn%40googlegroups.com.

Thursday, July 28, 2022

Re: http://localhost:8080/....../gemsInquiry/gemsInquiry.nocaches.js 404 (Not Found)

Hi nilo,
img_20220728.pngimg_20220728(1).png


On Thursday, 28 July 2022 at 20:47:55 UTC+5:30 nilo...@gmail.com wrote:
Can you share how you are starting GWT to debug this, and what the logs show?

You should not need (or want) both gwt-maven-plugins in your pom.xml.

On Thursday, July 28, 2022 at 8:02:44 AM UTC-5 parthib...@gmail.com wrote:
Hi Everyone,
     I am using Java 17 and GWT 2.10.0 when trying to start application through GWT plugin in IntelliJ. I am facing below error.

<script type="text/javascript" language="javascript"
src="../gemsInquiry/gemsInquiry.nocache.js"></script>

 

gemsInquiry.nocaches.js file not generated so I am facing 404 ERROR

GemsInquiry.gwt.xml

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to="gemsInquiry">

<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<set-property name="user.agent" value="gecko1_8, safari, ie10" />

<!-- Specify the app entry point class. -->
<entry-point class='com.medassets.gems.client.GemsInquiry'/>

<source path='client'/>
<source path='shared'/>
</module>


pom.xml

<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-servlet</artifactId>
<version>2.10.0</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-user</artifactId>
<version>2.10.0</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.10.0</version>
<scope>provided</scope>
</dependency>



<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.0.1</version>
<extensions>true</extensions>
<configuration>
<moduleName>com....report.client.service</moduleName>
<skipModule>true</skipModule>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<moduleTemplate>${project.basedir}/src/main/resources/com/../gems/GemsInquiry.gwt.xml</moduleTemplate>
<extra>${project.build.directory}/gwt/extra</extra><!-- @formatter:off -->
<compilerArgs>
<arg>-gen</arg>
<arg>
${project.basedir}/../../target/..${finalNameVersion}${extn}/alliance-web-app-${project.parent.version}
</arg>
</compilerArgs>

<launcherDir>${project.build.directory}/gwt/extra</launcherDir>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.10.0</version>
<configuration>
<jsInteropMode>JS</jsInteropMode>
</configuration>
</plugin>



Regards,
Parthiban Chelladurai

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/16b21e7e-a708-468e-b891-bd82e874f47bn%40googlegroups.com.

Tuesday, July 26, 2022

Re: GWT compiler keeps complaining about missing source files

@Jens: Thanks such a lot for spotting this! I am such an idiot!
 
@t.br...@gmail.com: Thanks for the advice as well. I indeed went that route after having first fixed my paths (above) but which then caused compile errors in the server side code (because my dropped-in classes conflicted with the original ones causing compile errors for the server side code).

Thanks again both! I really appreciate your support!

On Tuesday, July 26, 2022 at 3:22:02 PM UTC+2 Jens wrote:
The GwtSpring.gwt.xml reads:
---
<?xml version="1.0" encoding="UTF-8"?>
<module>
    <source path="security.core">
        <include name="GrantedAuthority.java" />
        <include name="CredentialsContainer.java" />
    </source>
    <source path="security.core.userdetails">
        <include name="User.java" />
        <include name="UserDetails.java" />
    </source>
   
    ... further details omitted here ...
</module>


Use slash instead of dots in path="security.core" and path="security.core.userdetails"

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a3e05bcb-0e41-4188-beda-1f0b820b2e52n%40googlegroups.com.

Re: GWT compiler keeps complaining about missing source files


The GwtSpring.gwt.xml reads:
---
<?xml version="1.0" encoding="UTF-8"?>
<module>
    <source path="security.core">
        <include name="GrantedAuthority.java" />
        <include name="CredentialsContainer.java" />
    </source>
    <source path="security.core.userdetails">
        <include name="User.java" />
        <include name="UserDetails.java" />
    </source>
   
    ... further details omitted here ...
</module>


Use slash instead of dots in path="security.core" and path="security.core.userdetails"

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/366efdee-6851-4842-b6e7-a3602f44275en%40googlegroups.com.

Re: GWT compiler keeps complaining about missing source files

It looks like you put the source in the resources tree rather than in the source tree. If you fix that then it may help

On Tue, Jul 26, 2022 at 6:21 PM mmo <mmoser@gmail.com> wrote:
In the code that I inherited my predecessors had decided to use a couple of Spring classes even in GWT client code.
While I am not exactly enthused by this decision the referenced classes are - at least from my point of view - OK to use in GWT client code, since they are mostly interfaces or simple classes that don't pull too much of "Spring" into the client. So my aim is to leave the code as such unchanged as much as possible (trying to follow the "never change running code"-principle...).

What I don't like, however, is that so far they had simply ignored the resulting GWT compile errors. I am thus now trying to correct the GWT settings such that this at least compiles without errors (i.e. that I can use the "strict" compiler setting).

The initial error was that the Spring sources for GrantedAuthority, CredentialsContainer and a few more classes could not be found during GWT compilation.
When I then added the Spring sources jar to the dependencies the GWT compiler ran havock and apparently tried to compile the ENTIRE Spring library. That was definitely NOT what I wanted.
Next I tried to provide ONLY (copies of) those sources that are actually referenced in our GWT code, i.e. I added copies of those spring source files to our resources folder and try to direct the GWT compiler to use only those. Besides the mentioned java files I thus also added a GwtSpring.gwt.xml file which I reference from our application's ZHStRegisterJPWeb.gwt.xml like so:


* <project_root>
|
+-* src
| +-* main
| | +-* java
| | | +-* ch
| | | | +-* zh
| | | | | +-* registerjp
| | | | | | +-* client
| | | | | | | +-- ...
| | | | | | +-* shared
| | | | | | | +-* security
| | | | | | | | +-- ZHStRegisterJPUser.java
| | | | | | | | +-- ...
| | | | | | | +-- ...
| | | | | | +-* server
| | | | | | | +-- ...
| | |
| | +-* resource
| | | +-* ch
| | | | +-* zh
| | | | | +-* registerjp
| | | | | | +-- ZHStRegisterJPWeb.gwt.xml   << our application's gwt-file
| | | | | ...
| | | |
| | | +-* org
| | | | +-* springframework
| | | | | +-- GwtSpring.gwt.xml   << the added Spring gwt-file
| | | | | +-* security   << copies of the referenced Spring source files below this folder
| | | | | | +-* core
| | | | | | | +-- GrantedAuthority.java
| | | | | | | +-- CredentialsContainer.java
| | | | | | | +-- ...
| | | | | | | +-* userdetails
| | | | | | | | +-- User.java
| | | | | | | | +-- UserDetails.java
| | | ...


[Note: '*' are directories]


The ZHStRegisterJPWeb.gwt.xml reads:
---
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='ZHStRegisterJPWeb'>
    <!-- Inherit the core Web Toolkit stuff. -->
    <inherits name='com.google.gwt.user.User' />

    <!-- used in ZHStRegisterJPUser and ZHStRegisterJPAuthority: -->
    <inherits name="org.springframework.GwtSpring" />
   
    ... further details omitted here ...

---


The GwtSpring.gwt.xml reads:
---
<?xml version="1.0" encoding="UTF-8"?>
<module>
    <source path="security.core">
        <include name="GrantedAuthority.java" />
        <include name="CredentialsContainer.java" />
    </source>
    <source path="security.core.userdetails">
        <include name="User.java" />
        <include name="UserDetails.java" />
    </source>
   
    ... further details omitted here ...
</module>

---

However, the GWT compiler STILL complains that it can not locate the sources of GrantedAuthority and other Spring classes:
...
[INFO]    Tracing compile failure path for type 'ch.zh.ksta.zhstregisterjp.shared.security.ZHStRegisterJPUser'
[INFO]       [ERROR] Errors in 'ch/zh/ksta/zhstregisterjp/shared/security/ZHStRegisterJPUser.java'
[INFO]          [ERROR] Line 40: No source code is available for type org.springframework.security.core.userdetails.User; did you forget to inherit a required module?
[INFO]          [ERROR] Line 94: No source code is available for type org.springframework.security.core.GrantedAuthority; did you forget to inherit a required module?
...


Any idea why it doesn't find these files even though I now provide them explicitly?  What am I missing here? 

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/cffab879-e6ac-4aac-9fe1-cabcaac72d0an%40googlegroups.com.


--
Cheers,

Peter Donald

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACiKNc4Gke1G1r%2B6F9qd0fZO%2BYkJXnpFZu2pEwMNf5-k%2BA1fog%40mail.gmail.com.

Monday, July 25, 2022

Re: Old system in GWT 1.4.61

Chrome is pretty good at telling you why it's not happy.  What does it say in the console?

There was no super dev mode back then, and the GWT plugin won't work in Chrome, so any changes you make will need a full compile and deploy each time to test them.

On Tuesday, 26 July 2022 at 2:59:07 am UTC+10 nilo...@gmail.com wrote:
There is no explicit "Chrome" support in GWT - Chrome started its life as another browser based around the WebKit engine. This is referred to in GWT as "safari", though WebKit started its life as part of the Konqueror browser, which pre-dates Safari's use of it (though arguably Safari popularized it).

Oddly, GWT 1.4.61 isn't even listed on https://www.gwtproject.org/release-notes.html, but your build is probably from about Aug 2007. According to Wikipedia, Chrome was first released in September 2008, and the last GWT 1.x release was made in September 2009, as GWT 1.7.1 (see https://www.gwtproject.org/release-notes.html#Release_Notes_1_7_1). If the issue is merely that there are some specific changes in the Chrome product (as opposed to Safari) that need minimal updates, that might be enough, and should be a very small change to your project (while still requiring an ancient version of Java, and platform-specific code to debug). The release notes should help in understanding what changes might be necessary.

With that said, I would be very surprised if the issue is simply that Chrome isn't supported by old versions of GWT, but more likely that some change happened in the last 15 years since GWT 1.4.61. Very likely GWT had the fix before Chrome introduced the breaking change, but without specifics of the actual issue you are facing, I couldn't guess further.

Can you give some specifics about what is not working, what error, logs, and behavior you are seeing? Have you tried updating as far as GWT 1.7 or some other early 2.x release to see if a simple update can keep your project building but still resolve this?



On Monday, July 25, 2022 at 10:50:45 AM UTC-5 marian...@gmail.com wrote:
Hi Guys

got an old system running in 1.4.61 that won't work in chrome.

This is a very complicated and old system that no one really knows about.

I am trying to do the minimum changes to get it to work with chrome.

Obvisouly the newer the GWT, the more breaking changes potentially introduced plus the backend will require java upgrade, so it will trigger a number of changes that I do not want to do, due to the reasons above.

Anyone knows when GWT first started supporting chrome?

thanks

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/24187611-d60e-4c3f-b5c1-9ecd6cd5a3fdn%40googlegroups.com.

Old system in GWT 1.4.61

Hi Guys

got an old system running in 1.4.61 that won't work in chrome.

This is a very complicated and old system that no one really knows about.

I am trying to do the minimum changes to get it to work with chrome.

Obvisouly the newer the GWT, the more breaking changes potentially introduced plus the backend will require java upgrade, so it will trigger a number of changes that I do not want to do, due to the reasons above.

Anyone knows when GWT first started supporting chrome?

thanks

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/babb3bbf-634e-4cf7-905c-5840d3cf4995n%40googlegroups.com.

Re: GWT RPC Serialization Error

Thanks Jens for pointing out the issue. It is working now.

On Saturday, July 23, 2022 at 2:53:30 AM UTC+5:30 Jens wrote:
Your interface has a type parameter with no upper bound so it is effectively Object. Thus GWT does not know which classes to scan because it will not scan every subclass of Object. Either give your type parameter an upper bound using a common interface or create a dummy method in your service interface that returns a dummy class which references all your classes you want to use in your load method. 

abhiy...@gmail.com schrieb am Freitag, 22. Juli 2022 um 15:43:24 UTC+2:
I am using GWT 2.9 and I am getting below error

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.NosOptionModel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.NosOptionModel@6cad8f33

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.NosOptionModel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.NosOptionModel@5fc5e111

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.NosCaseDetailModel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.NosCaseDetailModel@af3642f

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.CountryGroupModel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.CountryGroupModel@51987007

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.NosUser' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.NosUser@28bbfa7f

I am doing GWT RPC for populating liststore of combobox and getting above exception while performing it from EntryPoint class. All the above classes are Pojo's and all the fields of these classes are Serializable

I have tried all possible solutions given in java - GWT - RPC SerializationException - Stack Overflow

I have defined my service as below 
public interface INamedComboListDataProvider<M> extends RemoteService {
    public List<M> load(String name);
}

I also have checked my serializationWhitelist and it only contain following 25 classes
{class com.google.gwt.user.client.ui.TreeListenerCollection=true, class java.lang.String=true, class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException=true, class com.google.gwt.user.client.ui.FocusListenerCollection=true, class com.google.gwt.user.client.rpc.RpcTokenException=true, class java.util.LinkedList=true, class java.lang.RuntimeException=false, class com.google.gwt.user.client.ui.LoadListenerCollection=true, class com.google.gwt.user.client.ui.ClickListenerCollection=true, class com.google.gwt.user.client.ui.FormHandlerCollection=true, class java.lang.Throwable=false, class com.google.gwt.user.client.ui.KeyboardListenerCollection=true, class com.google.gwt.user.client.ui.MouseListenerCollection=true, class com.google.gwt.user.client.ui.TabListenerCollection=true, class java.util.Vector=true, class com.google.gwt.user.client.ui.ChangeListenerCollection=true, class com.google.gwt.user.client.ui.ScrollListenerCollection=true, class com.google.gwt.user.client.ui.PopupListenerCollection=true, class com.google.gwt.user.client.ui.MouseWheelListenerCollection=true, class java.util.Arrays$ArrayList=true, class java.lang.Exception=false, class java.util.ArrayList=true, class java.util.Collections$EmptyList=true, class java.util.Collections$SingletonList=true, class com.google.gwt.user.client.ui.TableListenerCollection=true}

I also have added project folder structure in attachment.
Can anybody guide me where I am going wrong and why does the serializationwhilteList does not contain the pojo models ?


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/317e03b5-c6c2-4e61-ad2d-6ec4c2edafe2n%40googlegroups.com.

Friday, July 22, 2022

GWT RPC Serialization Error

I am using GWT 2.9 and I am getting below error

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.NosOptionModel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.NosOptionModel@6cad8f33

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.NosOptionModel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.NosOptionModel@5fc5e111

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.NosCaseDetailModel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.NosCaseDetailModel@af3642f

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.CountryGroupModel' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.CountryGroupModel@51987007

SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.xyz.nos.model.NosUser' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.xyz.nos.model.NosUser@28bbfa7f

I am doing GWT RPC for populating liststore of combobox and getting above exception while performing it from EntryPoint class. All the above classes are Pojo's and all the fields of these classes are Serializable

I have tried all possible solutions given in java - GWT - RPC SerializationException - Stack Overflow

I have defined my service as below 
public interface INamedComboListDataProvider<M> extends RemoteService {
    public List<M> load(String name);
}

I also have checked my serializationWhitelist and it only contain following 25 classes
{class com.google.gwt.user.client.ui.TreeListenerCollection=true, class java.lang.String=true, class com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException=true, class com.google.gwt.user.client.ui.FocusListenerCollection=true, class com.google.gwt.user.client.rpc.RpcTokenException=true, class java.util.LinkedList=true, class java.lang.RuntimeException=false, class com.google.gwt.user.client.ui.LoadListenerCollection=true, class com.google.gwt.user.client.ui.ClickListenerCollection=true, class com.google.gwt.user.client.ui.FormHandlerCollection=true, class java.lang.Throwable=false, class com.google.gwt.user.client.ui.KeyboardListenerCollection=true, class com.google.gwt.user.client.ui.MouseListenerCollection=true, class com.google.gwt.user.client.ui.TabListenerCollection=true, class java.util.Vector=true, class com.google.gwt.user.client.ui.ChangeListenerCollection=true, class com.google.gwt.user.client.ui.ScrollListenerCollection=true, class com.google.gwt.user.client.ui.PopupListenerCollection=true, class com.google.gwt.user.client.ui.MouseWheelListenerCollection=true, class java.util.Arrays$ArrayList=true, class java.lang.Exception=false, class java.util.ArrayList=true, class java.util.Collections$EmptyList=true, class java.util.Collections$SingletonList=true, class com.google.gwt.user.client.ui.TableListenerCollection=true}

I also have added project folder structure in attachment.
Can anybody guide me where I am going wrong and why does the serializationwhilteList does not contain the pojo models ?


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/4714130a-cc2e-4936-8d42-f0067b6caeb4n%40googlegroups.com.

Re: Startup error: Object of class 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'.



On Thursday, July 21, 2022 at 5:10:40 PM UTC+2 mmo wrote:
OK - thanks for letting me know! I interpret that such that gwt:run and gwt:debug aren't working/supported anymore, right?

Well, first, regarding the plugin you're using: "The legacy maven plugin is still supported but it is strongly encouraged to use the new one for new projects." https://gwt-maven-plugin.github.io/gwt-maven-plugin/
That however doesn't mean gwt:run and gwt:debug aren't supported: as long as you don't need jetty-web.xml, they work perfectly fine.
Should you use them though? I don't think so (and for many reasons).

Do you test and develop in a Tomcat or what's your preferred setup?

My preferred setup is https://github.com/tbroyer/gwt-maven-archetypes/ , with a clear separation of client and server code. This only works with "that other gwt-maven-plugin" that was specifically designed for multi-module Maven projects (well, technically you can make it work with the "legacy plugin", and early versions of the archetypes did just that, but it's too hackish for me).
(my actual preferred setup is to not build a WAR, and use Gradle rather than Maven, but that's outside the scope of that discussion)

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/d5ad99e1-2b05-4f14-a6fc-80a0c8c8356dn%40googlegroups.com.

Re: How interpret error messages?

GWT supports the validation API 1.0.0 with hibernate validator as implementation. GWT itself only ships/depends on the validation api but implementation needs to be added manually. The documentation how to use it can be found at https://www.gwtproject.org/doc/latest/DevGuideValidation.html

Please note that validation API support is unmaintained (that's why it is still validation API 1.0.0). A GWT user has a project for newer validation API, see: 

https://gitlab.com/ManfredTremmel/gwt-bean-validators

-- J.

mmo schrieb am Donnerstag, 21. Juli 2022 um 18:53:08 UTC+2:

Sorry - if you get this twice - I accidentally have hit the PostMessage button before and had to delete the message again.

Just tried to dig deeper here:  the gwt-user.jar contains a file /org/hibernate/validator/HibernateValidator.gwt.xml.

In the GWT-file I see a section

  ...
  <source path="engine">
    <include name="ConstraintViolationImpl*.java"/>
    <include name="ValidationSupport.java"/>
    <include name="NodeImpl.java"/>
    <include name="PathImpl*.java"/>
  </source>
  ...

The file engine/NodeImpl.[java|class] however, is not in that .jar.
Where's that supposed to come from?

On Thursday, July 21, 2022 at 6:39:11 PM UTC+2 mmo wrote:
When I compile my application with failOnError=true and logLevel=TRACE I see errors like this:

...
[INFO]    Tracing compile failure path for type 'org.hibernate.validator.engine.PathImpl'
[INFO]       [ERROR] Errors in 'jar:file:/D:/m2repository/rjp/org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar!/org/hibernate/validator/super/org/hibernate/validator/engine/PathImpl.java'
[INFO]          [ERROR] Line 202: The constructor NodeImpl(String) is undefined
[INFO]          [ERROR] Line 95: The constructor NodeImpl(Path.Node) is undefined
[INFO]          [ERROR] Line 209: The method setIndex(Integer) is undefined for the type NodeImpl
[INFO]          [ERROR] Line 212: The method setKey(String) is undefined for the type NodeImpl
[INFO]          [ERROR] Line 72: The constructor NodeImpl(String) is undefined
[INFO]          [ERROR] Line 84: The constructor NodeImpl(Path.Node) is undefined
[INFO]          [ERROR] Line 204: The method setInIterable(boolean) is undefined for the type NodeImpl
...

How does one interpret these? It seems to me as if the ...org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar references some class org/hibernate/validator/engine/PathImpl.java and can't find its source.
Is that intgerpretation correct? If so: what do I need to import to make that source available? Certainly not the entire Hibernate sources, do I?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/e3e2e8b1-ab3c-4f49-9864-585c5fa80ac0n%40googlegroups.com.

Thursday, July 21, 2022

Re: How interpret error messages?

Sorry - if you get this twice - I accidentally have hit the PostMessage button before and had to delete the message again.

Just tried to dig deeper here:  the gwt-user.jar contains a file /org/hibernate/validator/HibernateValidator.gwt.xml.

In the GWT-file I see a section

  ...
  <source path="engine">
    <include name="ConstraintViolationImpl*.java"/>
    <include name="ValidationSupport.java"/>
    <include name="NodeImpl.java"/>
    <include name="PathImpl*.java"/>
  </source>
  ...

The file engine/NodeImpl.[java|class] however, is not in that .jar.
Where's that supposed to come from?

On Thursday, July 21, 2022 at 6:39:11 PM UTC+2 mmo wrote:
When I compile my application with failOnError=true and logLevel=TRACE I see errors like this:

...
[INFO]    Tracing compile failure path for type 'org.hibernate.validator.engine.PathImpl'
[INFO]       [ERROR] Errors in 'jar:file:/D:/m2repository/rjp/org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar!/org/hibernate/validator/super/org/hibernate/validator/engine/PathImpl.java'
[INFO]          [ERROR] Line 202: The constructor NodeImpl(String) is undefined
[INFO]          [ERROR] Line 95: The constructor NodeImpl(Path.Node) is undefined
[INFO]          [ERROR] Line 209: The method setIndex(Integer) is undefined for the type NodeImpl
[INFO]          [ERROR] Line 212: The method setKey(String) is undefined for the type NodeImpl
[INFO]          [ERROR] Line 72: The constructor NodeImpl(String) is undefined
[INFO]          [ERROR] Line 84: The constructor NodeImpl(Path.Node) is undefined
[INFO]          [ERROR] Line 204: The method setInIterable(boolean) is undefined for the type NodeImpl
...

How does one interpret these? It seems to me as if the ...org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar references some class org/hibernate/validator/engine/PathImpl.java and can't find its source.
Is that intgerpretation correct? If so: what do I need to import to make that source available? Certainly not the entire Hibernate sources, do I?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/fd706bc9-8c8d-4514-b0f9-45f18639289bn%40googlegroups.com.

Re: How interpret error messages?

Just tried to dig deeper here:  the gwt-user.jar contains a file /org/hibernate/validator/HibernateValidator.gwt.xml.

In the GWT-file I see a section
  ...
  <source path="engine">
    <include name="ConstraintViolationImpl*.java"/>
    <include name="ValidationSupport.java"/>
    <include name="NodeImpl.java"/>
    <include name="PathImpl*.java"/>
  </source>
  ...

 The File NodeImpl.java, however, is NOT contained in that .jar.

On Thursday, July 21, 2022 at 6:39:11 PM UTC+2 mmo wrote:
When I compile my application with failOnError=true and logLevel=TRACE I see errors like this:

...
[INFO]    Tracing compile failure path for type 'org.hibernate.validator.engine.PathImpl'
[INFO]       [ERROR] Errors in 'jar:file:/D:/m2repository/rjp/org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar!/org/hibernate/validator/super/org/hibernate/validator/engine/PathImpl.java'
[INFO]          [ERROR] Line 202: The constructor NodeImpl(String) is undefined
[INFO]          [ERROR] Line 95: The constructor NodeImpl(Path.Node) is undefined
[INFO]          [ERROR] Line 209: The method setIndex(Integer) is undefined for the type NodeImpl
[INFO]          [ERROR] Line 212: The method setKey(String) is undefined for the type NodeImpl
[INFO]          [ERROR] Line 72: The constructor NodeImpl(String) is undefined
[INFO]          [ERROR] Line 84: The constructor NodeImpl(Path.Node) is undefined
[INFO]          [ERROR] Line 204: The method setInIterable(boolean) is undefined for the type NodeImpl
...

How does one interpret these? It seems to me as if the ...org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar references some class org/hibernate/validator/engine/PathImpl.java and can't find its source.
Is that intgerpretation correct? If so: what do I need to import to make that source available? Certainly not the entire Hibernate sources, do I?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/7f66aff9-0ca0-40be-b31b-a7603a823d21n%40googlegroups.com.

Re: Startup error: Object of class 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'.

OK - thanks for letting me know! I interpret that such that gwt:run and gwt:debug aren't working/supported anymore, right?
Do you test and develop in a Tomcat or what's your preferred setup?

On Thursday, July 21, 2022 at 1:33:53 PM UTC+2 t.br...@gmail.com wrote:
If you need anything specific, don't use the embedded Jetty.
You have a jetty-web.xml so I assume you need "something specific" → don't use the embedded Jetty.

(it might be that this was plain broken in 2.10 when upgrading the Jetty version, but the last time I had to work on this –that was years ago–, I declared it was the last time and jetty-web.xml wouldn't be supported in the future: if it works, you're lucky, if it doesn't, well, we never said it would so 🤷 ; now other maintainers might have a different opinion and would be willing to investigate)

On Wednesday, July 20, 2022 at 9:30:16 PM UTC+2 mmo wrote:
After some substantial fiddling and bug chasing I finally managed to successfully compile our application using GWT 2.10.0. However, when I start this locally using the command line:

mvn -s "D:\Projects\KStA_ZH_RegisterJP\code\application\etc\m2\settings_mms.xml" "gwt:run"   -f "D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\pom.xml"

(I am using powershell, that's why I need all those quotes)

... then the Jetty-startup ends in:

...
00:00:11.918 [WARN] Failed startup of context c.g.g.d.s.j.WebAppContextWithReload@aa5455e{/,file:///D:/Projects/KStA_ZH_RegisterJP/code/application/zhstregisterjp-web/target/registerjp/,UNAVAILABLE}{D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\target\registerjp}
java.lang.IllegalArgumentException: Object of class 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'.
Object Class and type Class are from different loaders. in file:///D:/Projects/KStA_ZH_RegisterJP/code/application/zhstregisterjp-web/target/registerjp/WEB-INF/jetty-web.xml

What am I missing here or what needs to be changed to get this running again with v2.10? Could some kind soul give me a nudge in the direction to search for?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6fa9c53e-b80d-49a1-9ff8-1240f9bc69fan%40googlegroups.com.

Wednesday, July 20, 2022

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

With an authorization of the Sencha and my company, I do it. :)

Em quarta-feira, 20 de julho de 2022 às 08:42:02 UTC-3, Michael Joyner escreveu:
If you publish your work to a jitpack compatible public git repo and then follow the jitpack.io instructions, you could provide a Maven/Gradle ready dependency for others to use.


On 7/20/22 07:36, Ricardo Serathiuk wrote:
I have explained in another similar thread the steps:

Tips:
* Extract the jar source code (.xml and .java files, remove all .class files) and create an internal project with the source code.
* Try to see the errors and fix one by one.
* In com.extjs.gxt.ui.client.image.XImages, change its to extends ClientBundle and change all to AbstractImagePrototype ImageResource. After that, fix all errors.
* Most of the errors are about setHeading, AbstractImagePrototype and the com.google.gwt.user.client.Element deprecation.

I have made all the core changes in a day. And some fixes and improvements during the years. I do not remember all the changes, but it is a guide to start.

Em qua., 20 de jul. de 2022 às 06:14, mmo <mmo...@gmail.com> escreveu:
> We have fixed some things on GXT 2.3.1a.  With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).

Would you mind to elaborate on these fixes? Have you documented these somewhere?

On Monday, July 18, 2022 at 6:05:57 PM UTC+2 Ricardo Serathiuk wrote:
I work with an application using GWT 2.10.0 and GXT 2.3.1a. We have fixed some things on GXT 2.3.1a. With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a4aa86c7-d74a-48ef-a6c0-d687be2018aan%40googlegroups.com.


--
Ricardo Serathiuk
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f84c98f7-ecc1-4196-81c4-6ce990fbbdabn%40googlegroups.com.

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

If you publish your work to a jitpack compatible public git repo and then follow the jitpack.io instructions, you could provide a Maven/Gradle ready dependency for others to use.

On 7/20/22 07:36, Ricardo Serathiuk wrote:
I have explained in another similar thread the steps:

Tips:
* Extract the jar source code (.xml and .java files, remove all .class files) and create an internal project with the source code.
* Try to see the errors and fix one by one.
* In com.extjs.gxt.ui.client.image.XImages, change its to extends ClientBundle and change all to AbstractImagePrototype ImageResource. After that, fix all errors.
* Most of the errors are about setHeading, AbstractImagePrototype and the com.google.gwt.user.client.Element deprecation.

I have made all the core changes in a day. And some fixes and improvements during the years. I do not remember all the changes, but it is a guide to start.

Em qua., 20 de jul. de 2022 às 06:14, mmo <mmoser@gmail.com> escreveu:
> We have fixed some things on GXT 2.3.1a.  With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).

Would you mind to elaborate on these fixes? Have you documented these somewhere?

On Monday, July 18, 2022 at 6:05:57 PM UTC+2 Ricardo Serathiuk wrote:
I work with an application using GWT 2.10.0 and GXT 2.3.1a. We have fixed some things on GXT 2.3.1a. With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a4aa86c7-d74a-48ef-a6c0-d687be2018aan%40googlegroups.com.


--
Ricardo Serathiuk
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CALVte5xy9Hdi%2BmykRRbXwOvdsa8DKPi_Q%3Dy8rJ94SxOwNkQhFA%40mail.gmail.com.

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

I have explained in another similar thread the steps:

Tips:
* Extract the jar source code (.xml and .java files, remove all .class files) and create an internal project with the source code.
* Try to see the errors and fix one by one.
* In com.extjs.gxt.ui.client.image.XImages, change its to extends ClientBundle and change all to AbstractImagePrototype ImageResource. After that, fix all errors.
* Most of the errors are about setHeading, AbstractImagePrototype and the com.google.gwt.user.client.Element deprecation.

I have made all the core changes in a day. And some fixes and improvements during the years. I do not remember all the changes, but it is a guide to start.

Em qua., 20 de jul. de 2022 às 06:14, mmo <mmoser@gmail.com> escreveu:
> We have fixed some things on GXT 2.3.1a.  With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).

Would you mind to elaborate on these fixes? Have you documented these somewhere?

On Monday, July 18, 2022 at 6:05:57 PM UTC+2 Ricardo Serathiuk wrote:
I work with an application using GWT 2.10.0 and GXT 2.3.1a. We have fixed some things on GXT 2.3.1a. With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a4aa86c7-d74a-48ef-a6c0-d687be2018aan%40googlegroups.com.


--
Ricardo Serathiuk

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CALVte5xy9Hdi%2BmykRRbXwOvdsa8DKPi_Q%3Dy8rJ94SxOwNkQhFA%40mail.gmail.com.

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

> We have fixed some things on GXT 2.3.1a.  With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).

Would you mind to elaborate on these fixes? Have you documented these somewhere?

On Monday, July 18, 2022 at 6:05:57 PM UTC+2 Ricardo Serathiuk wrote:
I work with an application using GWT 2.10.0 and GXT 2.3.1a. We have fixed some things on GXT 2.3.1a. With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a4aa86c7-d74a-48ef-a6c0-d687be2018aan%40googlegroups.com.

Tuesday, July 19, 2022

Re: [WARN] 404 - GET //10.14.0.224:8888/sampleapp/sampleapp.nocache.js

I thought you had to put a "-bindAddress 0.0.0.0" to get access to your actual IP address.

Have you tried accessing it from http://127.0.0.1:8888/ ?

On Wednesday, 20 July 2022 at 12:32:02 am UTC+10 frank.h...@googlemail.com wrote:
Inside your module descriptor, is the rename-to attribute of the module tag also "sampleapp"?

abhiy...@gmail.com schrieb am Montag, 18. Juli 2022 um 19:18:00 UTC+2:
Hello Everyone,

I am getting below error when trying to start application through GWT plugin in eclipse. I am using GWT 2.9.0. I have renamed my module to sampleapp and in the html file I have used the below script in html file
 <script type="text/javascript" language="javascript" src="sampleapp/sampleapp.nocache.js"></script>

07:18 20:56:17 |  INFO | [main] | org.eclipse.jetty.server.handler.ContextHandler:doStart(824) | Started c.g.g.d.s.j.WebAppContextWithReload@238d3e2d{}
07:18 20:56:18 |  INFO | [main] | org.eclipse.jetty.server.AbstractConnector:doStart(330) | Started ServerConnector@6e4484d6{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}
07:18 20:56:18 |  INFO | [main] | org.eclipse.jetty.server.Server:doStart(399) | Started @32366ms
[WARN] 404 - GET //10.14.0.224:8888/ sampleapp/sampleapp.nocache.js (10.14.0.224)
   Request headers
      Host: 10.14.0.224:8888
      Connection: keep-alive
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
      Accept: */*
      Referer: http://10.14.0.224:8888/sampleapp.html
      Accept-Encoding: gzip, deflate
      Accept-Language: en-US,en;q=0.9
   Response headers
      Cache-Control: must-revalidate,no-cache,no-store
      Content-Type: text/html;charset=iso-8859-1

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/cf04a5d4-d0bf-4c33-913c-6a2f3f302b78n%40googlegroups.com.

Re: [WARN] 404 - GET //10.14.0.224:8888/sampleapp/sampleapp.nocache.js

Inside your module descriptor, is the rename-to attribute of the module tag also "sampleapp"?

abhiy...@gmail.com schrieb am Montag, 18. Juli 2022 um 19:18:00 UTC+2:
Hello Everyone,

I am getting below error when trying to start application through GWT plugin in eclipse. I am using GWT 2.9.0. I have renamed my module to sampleapp and in the html file I have used the below script in html file
 <script type="text/javascript" language="javascript" src="sampleapp/sampleapp.nocache.js"></script>

07:18 20:56:17 |  INFO | [main] | org.eclipse.jetty.server.handler.ContextHandler:doStart(824) | Started c.g.g.d.s.j.WebAppContextWithReload@238d3e2d{}
07:18 20:56:18 |  INFO | [main] | org.eclipse.jetty.server.AbstractConnector:doStart(330) | Started ServerConnector@6e4484d6{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}
07:18 20:56:18 |  INFO | [main] | org.eclipse.jetty.server.Server:doStart(399) | Started @32366ms
[WARN] 404 - GET //10.14.0.224:8888/ sampleapp/sampleapp.nocache.js (10.14.0.224)
   Request headers
      Host: 10.14.0.224:8888
      Connection: keep-alive
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
      Accept: */*
      Referer: http://10.14.0.224:8888/sampleapp.html
      Accept-Encoding: gzip, deflate
      Accept-Language: en-US,en;q=0.9
   Response headers
      Cache-Control: must-revalidate,no-cache,no-store
      Content-Type: text/html;charset=iso-8859-1

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5af94871-9887-4280-9429-717c3ac7f5a6n%40googlegroups.com.

Monday, July 18, 2022

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

I work with an application using GWT 2.10.0 and GXT 2.3.1a. We have fixed some things on GXT 2.3.1a. With some fixes, you can run perfectly the GXT 2.3.1a in GWT 2.2+ (GWT 2.9.0 and 2.10.0 included).

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CALVte5yNoDPQVr8FNud29EMMUM8EEyqHJyawqjjrc1j3xWHY2w%40mail.gmail.com.

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

In an ideal world, you'd reach out to those libs' maintainers and ask them if their lib is compatible with GWT 2.10.
But those are all libs that haven't had a new release in a decade:
* GXT 2.3.1.a was released in 2014
* GWTx 1.5.3 was released 2009 (GWT 2.0.0 wasn't even released at the time!)
* log4j-gwt 1.0 was released in 2012

You're quite fortunate that GWT has a rather extraordinary backward compatibility track and such a combination might still work with 2.10.0, but nobody in their own mind should even try that unless they're desperate.
If you're going to spend time on something, spend it on removing those outdated, unmaintained libs (you had between 8 and 13 years to do it already, but it's never too late). Stay on an older GWT version for as long as you can, but remove those libs (if you share code with the JVM that uses log4j –still using log4j 1.x? hope you migrated to reload4j–, then rewrite/copy the few bits that need to be emulated; for GXT and GWTx, replace with your own code or possibly another –maintained– lib).
If the project isn't worth it, then it's probably not worth either spending time updating to GWT 2.10 and make sure everything still works.

So first, let me ask: why do you want to update to GWT 2.10?

On Monday, July 18, 2022 at 6:56:23 AM UTC+2 priyako...@gmail.com wrote:
Hello Team,

we use following jars in our application - 
GXT .jar -        2.3.1.a
GWTx.jar -       1.5.3
Log4j-gwt.jar - 1.0

Wanted to know that will recent update of GWT 2.10.0 compatible with above dependencies.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/3dceeda3-39b2-4b28-a972-20e686149d44n%40googlegroups.com.

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

GWT packages have still the same name. AFAIK, there are no changes on package names.
In case you start using GWT modules, you will have to use the packages starting with 'org.gwtproject'. 

Starting with GWT 2.10.0 you can 'com.google.gwt' or 'org.gwtproject' as groupId inside the Maven dependency. Starting with one of the next release of GWT, only the 'org.gwtproject' groupId can be used.  

leon.p...@gmail.com schrieb am Montag, 18. Juli 2022 um 15:33:09 UTC+2:
From what I gathered, packages have been renamed from **.google.** to **gwtproject** or smth.
So without a gxt update to cover for the new packages, I doubt you can upgrade your project.

There is one simple way to check, just update the GWT version in your dependency manager (maven or whatever you use) and you'll find out soon enough.
 
Op maandag 18 juli 2022 om 06:56:23 UTC+2 schreef priyako...@gmail.com:
Hello Team,

we use following jars in our application - 
GXT .jar -        2.3.1.a
GWTx.jar -       1.5.3
Log4j-gwt.jar - 1.0

Wanted to know that will recent update of GWT 2.10.0 compatible with above dependencies.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/7c2e3720-6129-441f-906d-d3e2f3f5d21dn%40googlegroups.com.

Thursday, July 14, 2022

Re: GWT 2.10.0 release

Hello All,
Good to see that new version of GWT coming with new features!!!
Is the new 2.10.0 GWT version compatible with Sencha GXT 2.3.1.a ? 
Will appreciate an early reply! 

On Sat, Jul 2, 2022 at 1:40 AM Mihail Krastev <mkrastev.bg@gmail.com> wrote:
Really good job, thanks to everyone involved!

On Thursday, June 23, 2022 at 7:16:50 PM UTC+3 nilo...@gmail.com wrote:
I'm very happy to announce the release of GWT 2.10.0. This is the first release using our new groupId, org.gwtproject, and the final release using com.google.gwt. If you resolve dependencies from Maven Central, please be certain that your project is using com.google.gwt:gwt (or org.gwtproject:gwt) as a BOM, so that you are certain to have consistent versions of gwt-user and gwt-dev, even across groupIds.

For this release, either groupId will work, but future releases will only be made on the org.gwtproject groupId.


--


Highlights
  • Updated to HtmlUnit 2.55.0 and Jetty 9.4.44. With this newer HtmlUnit build comes support for Promise in unit tests, and the browser strings that can be specified when running tests are "FF", "Chrome", "IE" (for IE11), "Edge", and "Safari".

  • Tested support for running on Java 17, dropped remaining support for running on Java 7.

  • Maven groupId is formally changed to org.gwtproject, projects should take care to make sure they are using either the old com.google.gwt:gwt BOM or the new org.gwtproject:gwt BOM to sure that Maven or Gradle correctly handle this change. This will be the last published version using the com.google.gwt groupId.

  • Dropped support for IE 8, 9, and 10.

Bug fixes
  • Correct Long.hashCode semantics
  • Support CLASSPATH environment variable when creating child processes, fixing a bug where Windows could fail with a long list of arguments.
  • Use Function.name instead of displayName to support visible method names in Chrome 93+.
  • Allow stack traces to be available in Chrome when loading scripts from a remote origin.
JRE Emulation
  • Added OutputStreamWriter emulation.
  • Support StringReader mark() and reset() methods.
  • Added StrictMath emulation.
  • Added BufferedWriter emulation.
  • Added incomplete PrintStream emulation.
  • Add Charset.defaultCharset() emulation.
  • Improve BigInteger emulated performance.
  • System.nanoTime() emulation with performance.now().
  • Added Optional.isEmpty emulation.
  • JRE Emulation improvements/simplifications to facilitate J2CL's WASM support. Note that these do not always offer specific improvements to GWT itself, but helps to keep the codebases consistent.
Miscellaneous
  • Add support to compile GWT itself in Java 9+.
  • Improve compiled code size for applications that never use streams, by avoiding referencing streams from Throwable.

For more detail, see the commit log.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/af5e74c8-4f62-46d2-a29a-f28203555e32n%40googlegroups.com.


--
Life is Beautiful..........
Keep Smiling!!!!!!!!
Priya......

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CANu4zMz%3D%3DnaWtdQ88JLF%3DsNEddPpLu91KsOkqLiGD9hV9TWqBA%40mail.gmail.com.

Wednesday, July 13, 2022

Re: net.ltgt.gwt.maven and testing in multi-module project structure?



On Wednesday, July 13, 2022 at 3:06:37 AM UTC+2 ime...@gmail.com wrote:
Thank you, the setting the <include> did it.

FYI, using a GWTTestSuite can improve performance (that's why it's the default in the plugin, because it favors best practices): https://www.gwtproject.org/doc/latest/DevGuideTesting.html#DevGuideJUnitSuites
 
My next question about testing is, what are the expectations for the test module? Are we still required to provide a separate JUnit.gwt.xml?

You've never been (or at least not for many many years) as GWT will synthesize a module that inherits both com.google.gwt.junit.JUnit and the module your GWTTestCase's getModuleName() returns.
The gwt-maven-plugin itself has no specific expectations either, so https://www.gwtproject.org/doc/latest/DevGuideTesting.html should apply as-is (I haven't re-read it though, but that's the goal of the plugin, to be a "thin" wrapper that only wires things that are specific to Maven, e.g. src/main/java, computing the classpath from dependencies, etc.)

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/0a37ffc8-a2e6-4412-9cc0-4011b0fedde4n%40googlegroups.com.