Re: GXT 2.3.1 to 4.0.2 migration

2022-08-06 Thread Ricardo Serathiuk
I have described in another thread about patches in GXT. The link:
https://groups.google.com/g/google-web-toolkit/c/If897MPqvw0/m/UBc7f4X9BwAJ

You can extract all the source code of the GXT jar and created a repository
for your company, or put all the source code in the same repository of your
app. The GXT 2.x is deprecated, for that reason, I believe the best choice
is you create a fork of GXT 2.x.

Em sáb., 6 de ago. de 2022 às 10:49, Lorenzo Aditi 
escreveu:

> do you mean to unzip the jar, modify the .java file, compile it and zip
> into a jar ?
>
> Le vendredi 5 août 2022 à 22:19:54 UTC+2, Ricardo Serathiuk a écrit :
>
>> Try to change the line 322 of ListField to this:
>> sb.append(m.get(prop).toString());
>>
>>
>>
>> Em sex., 5 de ago. de 2022 às 16:34, Lorenzo Aditi 
>> escreveu:
>>
>>> Hello,
>>>
>>> We used to have GWT 2.4 & GXT 2.2.5 and we migrated to GWT 2.8.1.
>>>
>>> Now I am using GWT 2.8 with gxt 2.2.5 and Jdk 1.8.0_291, even when
>>> upgrading gxt-2.3.1a-gwt22 I still get this error when maven is
>>> building I got this error
>>>
>>> jar:file:/war/WEB-INF/lib/gxt-2.3.1a-gwt22.jar!/com/extjs/gxt/ui/client/widget/form/ListField.java'
>>> > Line 322: The method append(boolean) is ambiguous for the type >
>>> StringBuffer
>>>
>>> After searching I thought it is imposible to resolve it, I don't have
>>> the right to edit the dependency.
>>>
>>> So I decided to upgrade gxt to 4.0.2, am I right?
>>>
>>> but when I did all the app broke, most of the Types don't exist anymore
>>> and the migration is not well documented on sencha website, they provide a
>>> unique page that doesn't help.
>>>
>>> Do you have  a tutorial or a guide that helps? or maybe a workaround?
>>>
>>> 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-tool...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-web-toolkit/2c202184-3d3b-4f3f-a547-50e488d4c244n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit/a42bf19d-356a-4c4c-8b56-2992667d03f6n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CAPwuz4BPpBqxA5JzxCY5WrCpLydvo--8_cF%2BdD%2BBFLqhNA8CjQ%40mail.gmail.com.


Re: GXT 2.3.1 to 4.0.2 migration

2022-08-06 Thread Jens
You can create the same java file in the same package in your project's 
source directory and then adjust the implementation. It should then 
override the one in your dependencies.

-- J.

dhia.xd...@gmail.com schrieb am Samstag, 6. August 2022 um 15:49:46 UTC+2:

> do you mean to unzip the jar, modify the .java file, compile it and zip 
> into a jar ?
>
> Le vendredi 5 août 2022 à 22:19:54 UTC+2, Ricardo Serathiuk a écrit :
>
>> Try to change the line 322 of ListField to this: 
>> sb.append(m.get(prop).toString());
>>
>>
>>
>> Em sex., 5 de ago. de 2022 às 16:34, Lorenzo Aditi  
>> escreveu:
>>
>>> Hello,
>>>
>>> We used to have GWT 2.4 & GXT 2.2.5 and we migrated to GWT 2.8.1.
>>>
>>> Now I am using GWT 2.8 with gxt 2.2.5 and Jdk 1.8.0_291, even when 
>>> upgrading gxt-2.3.1a-gwt22 I still get this error when maven is 
>>> building I got this error
>>>
>>> jar:file:/war/WEB-INF/lib/gxt-2.3.1a-gwt22.jar!/com/extjs/gxt/ui/client/widget/form/ListField.java'
>>>  
>>> > Line 322: The method append(boolean) is ambiguous for the type > 
>>> StringBuffer
>>>
>>> After searching I thought it is imposible to resolve it, I don't have 
>>> the right to edit the dependency. 
>>>
>>> So I decided to upgrade gxt to 4.0.2, am I right? 
>>>
>>> but when I did all the app broke, most of the Types don't exist anymore 
>>> and the migration is not well documented on sencha website, they provide a 
>>> unique page that doesn't help.
>>>
>>> Do you have  a tutorial or a guide that helps? or maybe a workaround?
>>>
>>> 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-tool...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-web-toolkit/2c202184-3d3b-4f3f-a547-50e488d4c244n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/450e6da6-0cf4-451b-b72a-b46a0734c3c2n%40googlegroups.com.


Re: GXT 2.3.1 to 4.0.2 migration

2022-08-06 Thread Lorenzo Aditi
do you mean to unzip the jar, modify the .java file, compile it and zip 
into a jar ?

Le vendredi 5 août 2022 à 22:19:54 UTC+2, Ricardo Serathiuk a écrit :

> Try to change the line 322 of ListField to this: 
> sb.append(m.get(prop).toString());
>
>
>
> Em sex., 5 de ago. de 2022 às 16:34, Lorenzo Aditi  
> escreveu:
>
>> Hello,
>>
>> We used to have GWT 2.4 & GXT 2.2.5 and we migrated to GWT 2.8.1.
>>
>> Now I am using GWT 2.8 with gxt 2.2.5 and Jdk 1.8.0_291, even when 
>> upgrading gxt-2.3.1a-gwt22 I still get this error when maven is building 
>> I got this error
>>
>> jar:file:/war/WEB-INF/lib/gxt-2.3.1a-gwt22.jar!/com/extjs/gxt/ui/client/widget/form/ListField.java'
>>  
>> > Line 322: The method append(boolean) is ambiguous for the type > 
>> StringBuffer
>>
>> After searching I thought it is imposible to resolve it, I don't have the 
>> right to edit the dependency. 
>>
>> So I decided to upgrade gxt to 4.0.2, am I right? 
>>
>> but when I did all the app broke, most of the Types don't exist anymore 
>> and the migration is not well documented on sencha website, they provide a 
>> unique page that doesn't help.
>>
>> Do you have  a tutorial or a guide that helps? or maybe a workaround?
>>
>> 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-tool...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit/2c202184-3d3b-4f3f-a547-50e488d4c244n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/a42bf19d-356a-4c4c-8b56-2992667d03f6n%40googlegroups.com.