Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-31 Thread Shahram Zadeh
Yeah, we realized that chrome debugger and SDBG are the same, but it's a
different world when your debug session is like a desktop application, you
don't notice it's a Web application.
I checked the video how to separate the projects but unfortunately we
cannot move to maven.
We are very happy that GWT is not going to die. GWT is a miracle, in
compare to other JS libraries.

Thanks for your response and time.


On Mon, Aug 31, 2020 at 1:43 PM lofid...@gmail.com 
wrote:

> ... and for development: it is wise to separate your GWT UI project from
> your server part:
>
>- Separate the Maven modules: one for server and one for client GWT
>UI, don't mixed both modules.
>- Develop both modules independently, mock your server to be able to
>make a fast turn around time for your UI development.
>- Take the result of your client module which are HTML, CSS, JS and
>put it on the server module to have it deployed.
>
> So if you are doing this, you could just use the Jetty server which are
> standard in GWT libs and later you put your result on your "real server"
> which could be Tomcat or whatever...
>
> I have some examples which use the mechanism above. But for this you
> should move to Maven: https://github.com/gwtboot/domino-rest-enum-date
>
> IMHO no other way, you need Maven 😉
>
> Hope this helps.
> shahra...@gmail.com schrieb am Montag, 31. August 2020 um 03:25:08 UTC+2:
>
>> Thanks Thomas for your prompt response, I loaded the old project and
>> added the old jars one by one and after apache commons it started working,
>> I mean it stopped using the gwt-dev.jar libraries.
>> Now I'm able to load the application with
>> 1)   Eclipse plugin, using the integrated Server *jetty-9.2.z-SNAPSHOT, *
>> 2)   AdoptOpenJdk Java 8
>> 3)   GWT 2.9
>> 4)   SDBG debugger stops at breakpoints, it's interesting that it shows
>> the real variable names like the old times legacy Dev Mode however, it
>> doesn't show the function names :-(
>>is there any solution for that because we don't want to use the
>> chrome debugger.
>>
>> Oh my Goodness,  GWT 2.9 compiler is extremely serious and much faster.
>> We need to add null checks in lots of places because
>> NullPointerException was not a problem for 2.7
>> it could internally handle it but 2.9 is killing us. It was a great
>> success that we reached this point. The next step is DB migration to oracle
>> 19c.
>>
>> I would appreciate a solution for SDBG. Another question is how to find
>> and manipulate the CodeServer parameters, we are thinking about replacing
>> Jetty with Tomcat for development.
>>
>> I appreciate it in advance.
>> Shahram...
>>
>>
>>
>>
>>
>> On Fri, Aug 28, 2020 at 7:35 AM Thomas Broyer  wrote:
>>
>>> That one's "easy": don't use the embedded Jetty of DevMode; run your own
>>> servlet container instead, along with either DevMode in -noserver mode, or
>>> CodeServer.
>>>
>>> On Thursday, August 27, 2020 at 8:30:45 PM UTC+2, Shahram Zadeh wrote:

 after a long time and hard work we were able to make it work up to the
 successful compilation, now there is a conflict between the integrated
 apache  xerces in gwt-dev.jar and java 8.
 is there any way to force the GWT in dev mode not to use tools in the
 gwt-dev.jar?

 any help would be greatly appreciated.


 *org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be
 cast to org.apache.xerces.xni.parser.XMLParserConfiguration*



 java.lang.ClassCastException:
 org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast
 to org.apache.xerces.xni.parser.XMLParserConfiguration
 at org.apache.xerces.parsers.SAXParser.(Unknown Source)
 at org.apache.xerces.parsers.SAXParser.(Unknown Source)
 at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown
 Source)
 at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
 at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown
 Source)
 at
 com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:144)
 at
 javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
 at
 javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
 at
 javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
 at
 javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
 at
 com.soflytics.rguroo.server.util.ServerUtility.readGUIComponents(ServerUtility.java:175)

 On Saturday, August 8, 2020 at 7:11:54 AM UTC-7 frank.h...@web.de
 wrote:

> Use this to generate a multi module artifact:
>
> https://github.com/tbroyer/gwt-maven-archetypes
> 

Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-31 Thread lofid...@gmail.com
... and for development: it is wise to separate your GWT UI project from 
your server part:

   - Separate the Maven modules: one for server and one for client GWT UI, 
   don't mixed both modules.
   - Develop both modules independently, mock your server to be able to 
   make a fast turn around time for your UI development.
   - Take the result of your client module which are HTML, CSS, JS and put 
   it on the server module to have it deployed. 

So if you are doing this, you could just use the Jetty server which are 
standard in GWT libs and later you put your result on your "real server" 
which could be Tomcat or whatever...

I have some examples which use the mechanism above. But for this you should 
move to Maven: https://github.com/gwtboot/domino-rest-enum-date

IMHO no other way, you need Maven 😉

Hope this helps.
shahra...@gmail.com schrieb am Montag, 31. August 2020 um 03:25:08 UTC+2:

> Thanks Thomas for your prompt response, I loaded the old project and added 
> the old jars one by one and after apache commons it started working, I mean 
> it stopped using the gwt-dev.jar libraries.
> Now I'm able to load the application with
> 1)   Eclipse plugin, using the integrated Server *jetty-9.2.z-SNAPSHOT, *
> 2)   AdoptOpenJdk Java 8 
> 3)   GWT 2.9
> 4)   SDBG debugger stops at breakpoints, it's interesting that it shows 
> the real variable names like the old times legacy Dev Mode however, it 
> doesn't show the function names :-(
>is there any solution for that because we don't want to use the 
> chrome debugger.
>
> Oh my Goodness,  GWT 2.9 compiler is extremely serious and much faster. We 
> need to add null checks in lots of places because NullPointerException was 
> not a problem for 2.7
> it could internally handle it but 2.9 is killing us. It was a great 
> success that we reached this point. The next step is DB migration to oracle 
> 19c.
>
> I would appreciate a solution for SDBG. Another question is how to find 
> and manipulate the CodeServer parameters, we are thinking about replacing 
> Jetty with Tomcat for development.
>
> I appreciate it in advance.
> Shahram...
>
>
>
>
>
> On Fri, Aug 28, 2020 at 7:35 AM Thomas Broyer  wrote:
>
>> That one's "easy": don't use the embedded Jetty of DevMode; run your own 
>> servlet container instead, along with either DevMode in -noserver mode, or 
>> CodeServer.
>>
>> On Thursday, August 27, 2020 at 8:30:45 PM UTC+2, Shahram Zadeh wrote:
>>>
>>> after a long time and hard work we were able to make it work up to the 
>>> successful compilation, now there is a conflict between the integrated 
>>> apache  xerces in gwt-dev.jar and java 8.
>>> is there any way to force the GWT in dev mode not to use tools in the 
>>> gwt-dev.jar?
>>>
>>> any help would be greatly appreciated.
>>>
>>>
>>> *org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be 
>>> cast to org.apache.xerces.xni.parser.XMLParserConfiguration*
>>>
>>>
>>>
>>> java.lang.ClassCastException: 
>>> org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast 
>>> to org.apache.xerces.xni.parser.XMLParserConfiguration
>>> at org.apache.xerces.parsers.SAXParser.(Unknown Source)
>>> at org.apache.xerces.parsers.SAXParser.(Unknown Source)
>>> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown 
>>> Source)
>>> at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
>>> at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown 
>>> Source)
>>> at 
>>> com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:144)
>>> at 
>>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
>>> at 
>>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
>>> at 
>>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
>>> at 
>>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
>>> at 
>>> com.soflytics.rguroo.server.util.ServerUtility.readGUIComponents(ServerUtility.java:175)
>>>
>>> On Saturday, August 8, 2020 at 7:11:54 AM UTC-7 frank.h...@web.de wrote:
>>>
 Use this to generate a multi module artifact:

 https://github.com/tbroyer/gwt-maven-archetypes 
 

 shahra...@gmail.com schrieb am Freitag, 7. August 2020 um 18:23:52 
 UTC+2:

> is there any documentation for how to set it up, we are not maven 
> oriented. I appreciate a link or document...
>
> On Thu, Aug 6, 2020 at 2:57 PM lofid...@gmail.com  
> wrote:
>
>> GWT Eclipse plugin is not maintained anymore... So to use the newest 
>> one you could move to pure Maven or Gradle... I only use Maven sofar and 
>> it 
>> works well...
>>
>> shahra...@gmail.com schrieb am Dienstag, 28. Ju

Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-31 Thread lofid...@gmail.com
Hi, great to hear that you managed to move to GWT 2.9...

AFAIK, SDBG is implemented based on Chrome, so actually it is the same 
whether you use Chrome or SDBG in Eclipse, only it looks more integrated in 
Eclipse 😀 

shahra...@gmail.com schrieb am Montag, 31. August 2020 um 03:25:08 UTC+2:

> Thanks Thomas for your prompt response, I loaded the old project and added 
> the old jars one by one and after apache commons it started working, I mean 
> it stopped using the gwt-dev.jar libraries.
> Now I'm able to load the application with
> 1)   Eclipse plugin, using the integrated Server *jetty-9.2.z-SNAPSHOT, *
> 2)   AdoptOpenJdk Java 8 
> 3)   GWT 2.9
> 4)   SDBG debugger stops at breakpoints, it's interesting that it shows 
> the real variable names like the old times legacy Dev Mode however, it 
> doesn't show the function names :-(
>is there any solution for that because we don't want to use the 
> chrome debugger.
>
> Oh my Goodness,  GWT 2.9 compiler is extremely serious and much faster. We 
> need to add null checks in lots of places because NullPointerException was 
> not a problem for 2.7
> it could internally handle it but 2.9 is killing us. It was a great 
> success that we reached this point. The next step is DB migration to oracle 
> 19c.
>
> I would appreciate a solution for SDBG. Another question is how to find 
> and manipulate the CodeServer parameters, we are thinking about replacing 
> Jetty with Tomcat for development.
>
> I appreciate it in advance.
> Shahram...
>
>
>
>
>
> On Fri, Aug 28, 2020 at 7:35 AM Thomas Broyer  wrote:
>
>> That one's "easy": don't use the embedded Jetty of DevMode; run your own 
>> servlet container instead, along with either DevMode in -noserver mode, or 
>> CodeServer.
>>
>> On Thursday, August 27, 2020 at 8:30:45 PM UTC+2, Shahram Zadeh wrote:
>>>
>>> after a long time and hard work we were able to make it work up to the 
>>> successful compilation, now there is a conflict between the integrated 
>>> apache  xerces in gwt-dev.jar and java 8.
>>> is there any way to force the GWT in dev mode not to use tools in the 
>>> gwt-dev.jar?
>>>
>>> any help would be greatly appreciated.
>>>
>>>
>>> *org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be 
>>> cast to org.apache.xerces.xni.parser.XMLParserConfiguration*
>>>
>>>
>>>
>>> java.lang.ClassCastException: 
>>> org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast 
>>> to org.apache.xerces.xni.parser.XMLParserConfiguration
>>> at org.apache.xerces.parsers.SAXParser.(Unknown Source)
>>> at org.apache.xerces.parsers.SAXParser.(Unknown Source)
>>> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown 
>>> Source)
>>> at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
>>> at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown 
>>> Source)
>>> at 
>>> com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:144)
>>> at 
>>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
>>> at 
>>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
>>> at 
>>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
>>> at 
>>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
>>> at 
>>> com.soflytics.rguroo.server.util.ServerUtility.readGUIComponents(ServerUtility.java:175)
>>>
>>> On Saturday, August 8, 2020 at 7:11:54 AM UTC-7 frank.h...@web.de wrote:
>>>
 Use this to generate a multi module artifact:

 https://github.com/tbroyer/gwt-maven-archetypes 
 

 shahra...@gmail.com schrieb am Freitag, 7. August 2020 um 18:23:52 
 UTC+2:

> is there any documentation for how to set it up, we are not maven 
> oriented. I appreciate a link or document...
>
> On Thu, Aug 6, 2020 at 2:57 PM lofid...@gmail.com  
> wrote:
>
>> GWT Eclipse plugin is not maintained anymore... So to use the newest 
>> one you could move to pure Maven or Gradle... I only use Maven sofar and 
>> it 
>> works well...
>>
>> shahra...@gmail.com schrieb am Dienstag, 28. Juli 2020 um 00:11:58 
>> UTC+2:
>>
>>> We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything 
>>> works perfect. We are planning to upgrade to Java 11 and GWT 2.9 which 
>>> has 
>>> been recently released. However Java 1.7 is retiring and getting 
>>> obsolete 
>>> we have to move on and upgrade. Since last week we are trying to create 
>>> a 
>>> development environment like the existing one but there is no success. 
>>> I 
>>> was wondering whether anyone out there is struggling with the same 
>>> issue, 
>>> any hint, solution or hacking t

Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-30 Thread Shahram Zadeh
Thanks Thomas for your prompt response, I loaded the old project and added
the old jars one by one and after apache commons it started working, I mean
it stopped using the gwt-dev.jar libraries.
Now I'm able to load the application with
1)   Eclipse plugin, using the integrated Server *jetty-9.2.z-SNAPSHOT, *
2)   AdoptOpenJdk Java 8
3)   GWT 2.9
4)   SDBG debugger stops at breakpoints, it's interesting that it shows the
real variable names like the old times legacy Dev Mode however, it doesn't
show the function names :-(
   is there any solution for that because we don't want to use the
chrome debugger.

Oh my Goodness,  GWT 2.9 compiler is extremely serious and much faster. We
need to add null checks in lots of places because NullPointerException was
not a problem for 2.7
it could internally handle it but 2.9 is killing us. It was a great success
that we reached this point. The next step is DB migration to oracle 19c.

I would appreciate a solution for SDBG. Another question is how to find and
manipulate the CodeServer parameters, we are thinking about replacing
Jetty with Tomcat for development.

I appreciate it in advance.
Shahram...





On Fri, Aug 28, 2020 at 7:35 AM Thomas Broyer  wrote:

> That one's "easy": don't use the embedded Jetty of DevMode; run your own
> servlet container instead, along with either DevMode in -noserver mode, or
> CodeServer.
>
> On Thursday, August 27, 2020 at 8:30:45 PM UTC+2, Shahram Zadeh wrote:
>>
>> after a long time and hard work we were able to make it work up to the
>> successful compilation, now there is a conflict between the integrated
>> apache  xerces in gwt-dev.jar and java 8.
>> is there any way to force the GWT in dev mode not to use tools in the
>> gwt-dev.jar?
>>
>> any help would be greatly appreciated.
>>
>>
>> *org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be
>> cast to org.apache.xerces.xni.parser.XMLParserConfiguration*
>>
>>
>>
>> java.lang.ClassCastException:
>> org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast
>> to org.apache.xerces.xni.parser.XMLParserConfiguration
>> at org.apache.xerces.parsers.SAXParser.(Unknown Source)
>> at org.apache.xerces.parsers.SAXParser.(Unknown Source)
>> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown
>> Source)
>> at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
>> at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown
>> Source)
>> at
>> com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:144)
>> at
>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
>> at
>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
>> at
>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
>> at
>> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
>> at
>> com.soflytics.rguroo.server.util.ServerUtility.readGUIComponents(ServerUtility.java:175)
>>
>> On Saturday, August 8, 2020 at 7:11:54 AM UTC-7 frank.h...@web.de wrote:
>>
>>> Use this to generate a multi module artifact:
>>>
>>> https://github.com/tbroyer/gwt-maven-archetypes
>>> 
>>>
>>> shahra...@gmail.com schrieb am Freitag, 7. August 2020 um 18:23:52
>>> UTC+2:
>>>
 is there any documentation for how to set it up, we are not maven
 oriented. I appreciate a link or document...

 On Thu, Aug 6, 2020 at 2:57 PM lofid...@gmail.com 
 wrote:

> GWT Eclipse plugin is not maintained anymore... So to use the newest
> one you could move to pure Maven or Gradle... I only use Maven sofar and 
> it
> works well...
>
> shahra...@gmail.com schrieb am Dienstag, 28. Juli 2020 um 00:11:58
> UTC+2:
>
>> We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything
>> works perfect. We are planning to upgrade to Java 11 and GWT 2.9 which 
>> has
>> been recently released. However Java 1.7 is retiring and getting obsolete
>> we have to move on and upgrade. Since last week we are trying to create a
>> development environment like the existing one but there is no success. I
>> was wondering whether anyone out there is struggling with the same issue,
>> any hint, solution or hacking the eclipse plugin would be greatly
>> appreciated.
>>
>> Eclipse plugin comes with GWT (2.7 and 2.8.1)
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/l_E1Y8XKg7k/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-tool...@googlegroups.com.

Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-28 Thread Thomas Broyer
That one's "easy": don't use the embedded Jetty of DevMode; run your own 
servlet container instead, along with either DevMode in -noserver mode, or 
CodeServer.

On Thursday, August 27, 2020 at 8:30:45 PM UTC+2, Shahram Zadeh wrote:
>
> after a long time and hard work we were able to make it work up to the 
> successful compilation, now there is a conflict between the integrated 
> apache  xerces in gwt-dev.jar and java 8.
> is there any way to force the GWT in dev mode not to use tools in the 
> gwt-dev.jar?
>
> any help would be greatly appreciated.
>
>
> *org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast 
> to org.apache.xerces.xni.parser.XMLParserConfiguration*
>
>
>
> java.lang.ClassCastException: 
> org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast 
> to org.apache.xerces.xni.parser.XMLParserConfiguration
> at org.apache.xerces.parsers.SAXParser.(Unknown Source)
> at org.apache.xerces.parsers.SAXParser.(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown 
> Source)
> at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
> at 
> com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:144)
> at 
> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
> at 
> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
> at 
> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
> at 
> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
> at 
> com.soflytics.rguroo.server.util.ServerUtility.readGUIComponents(ServerUtility.java:175)
>
> On Saturday, August 8, 2020 at 7:11:54 AM UTC-7 frank.h...@web.de wrote:
>
>> Use this to generate a multi module artifact:
>>
>> https://github.com/tbroyer/gwt-maven-archetypes 
>> 
>>
>> shahra...@gmail.com schrieb am Freitag, 7. August 2020 um 18:23:52 UTC+2:
>>
>>> is there any documentation for how to set it up, we are not maven 
>>> oriented. I appreciate a link or document...
>>>
>>> On Thu, Aug 6, 2020 at 2:57 PM lofid...@gmail.com  
>>> wrote:
>>>
 GWT Eclipse plugin is not maintained anymore... So to use the newest 
 one you could move to pure Maven or Gradle... I only use Maven sofar and 
 it 
 works well...

 shahra...@gmail.com schrieb am Dienstag, 28. Juli 2020 um 00:11:58 
 UTC+2:

> We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything 
> works perfect. We are planning to upgrade to Java 11 and GWT 2.9 which 
> has 
> been recently released. However Java 1.7 is retiring and getting obsolete 
> we have to move on and upgrade. Since last week we are trying to create a 
> development environment like the existing one but there is no success. I 
> was wondering whether anyone out there is struggling with the same issue, 
> any hint, solution or hacking the eclipse plugin would be greatly 
> appreciated.
>
> Eclipse plugin comes with GWT (2.7 and 2.8.1)
>
 -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups "GWT Users" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-web-toolkit/l_E1Y8XKg7k/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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/c9461274-510c-4661-8a73-28ad39fc35ecn%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/177cdccf-afc9-4f61-a82a-3eec44074bd9o%40googlegroups.com.


Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-27 Thread Shahram Zadeh
after a long time and hard work we were able to make it work up to the 
successful compilation, now there is a conflict between the integrated 
apache  xerces in gwt-dev.jar and java 8.
is there any way to force the GWT in dev mode not to use tools in the 
gwt-dev.jar?

any help would be greatly appreciated.


*org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast 
to org.apache.xerces.xni.parser.XMLParserConfiguration*



java.lang.ClassCastException: 
org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast 
to org.apache.xerces.xni.parser.XMLParserConfiguration
at org.apache.xerces.parsers.SAXParser.(Unknown Source)
at org.apache.xerces.parsers.SAXParser.(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:144)
at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
at 
com.soflytics.rguroo.server.util.ServerUtility.readGUIComponents(ServerUtility.java:175)

On Saturday, August 8, 2020 at 7:11:54 AM UTC-7 frank.h...@web.de wrote:

> Use this to generate a multi module artifact:
>
> https://github.com/tbroyer/gwt-maven-archetypes 
> 
>
> shahra...@gmail.com schrieb am Freitag, 7. August 2020 um 18:23:52 UTC+2:
>
>> is there any documentation for how to set it up, we are not maven 
>> oriented. I appreciate a link or document...
>>
>> On Thu, Aug 6, 2020 at 2:57 PM lofid...@gmail.com  
>> wrote:
>>
>>> GWT Eclipse plugin is not maintained anymore... So to use the newest one 
>>> you could move to pure Maven or Gradle... I only use Maven sofar and it 
>>> works well...
>>>
>>> shahra...@gmail.com schrieb am Dienstag, 28. Juli 2020 um 00:11:58 
>>> UTC+2:
>>>
 We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything works 
 perfect. We are planning to upgrade to Java 11 and GWT 2.9 which has been 
 recently released. However Java 1.7 is retiring and getting obsolete we 
 have to move on and upgrade. Since last week we are trying to create a 
 development environment like the existing one but there is no success. I 
 was wondering whether anyone out there is struggling with the same issue, 
 any hint, solution or hacking the eclipse plugin would be greatly 
 appreciated.

 Eclipse plugin comes with GWT (2.7 and 2.8.1)

>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "GWT Users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/google-web-toolkit/l_E1Y8XKg7k/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, 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/c9461274-510c-4661-8a73-28ad39fc35ecn%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/6752e676-39d1-48e7-b156-4049ab254c54n%40googlegroups.com.


Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-08 Thread Frank Hossfeld
Use this to generate a multi module artifact:

https://github.com/tbroyer/gwt-maven-archetypes 


shahra...@gmail.com schrieb am Freitag, 7. August 2020 um 18:23:52 UTC+2:

> is there any documentation for how to set it up, we are not maven 
> oriented. I appreciate a link or document...
>
> On Thu, Aug 6, 2020 at 2:57 PM lofid...@gmail.com  
> wrote:
>
>> GWT Eclipse plugin is not maintained anymore... So to use the newest one 
>> you could move to pure Maven or Gradle... I only use Maven sofar and it 
>> works well...
>>
>> shahra...@gmail.com schrieb am Dienstag, 28. Juli 2020 um 00:11:58 UTC+2:
>>
>>> We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything works 
>>> perfect. We are planning to upgrade to Java 11 and GWT 2.9 which has been 
>>> recently released. However Java 1.7 is retiring and getting obsolete we 
>>> have to move on and upgrade. Since last week we are trying to create a 
>>> development environment like the existing one but there is no success. I 
>>> was wondering whether anyone out there is struggling with the same issue, 
>>> any hint, solution or hacking the eclipse plugin would be greatly 
>>> appreciated.
>>>
>>> Eclipse plugin comes with GWT (2.7 and 2.8.1)
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "GWT Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/l_E1Y8XKg7k/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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/c9461274-510c-4661-8a73-28ad39fc35ecn%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/4e288466-9bde-4c99-bc12-3adc311c58aen%40googlegroups.com.


Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-07 Thread Shahram Zadeh
is there any documentation for how to set it up, we are not maven oriented.
I appreciate a link or document...

On Thu, Aug 6, 2020 at 2:57 PM lofid...@gmail.com 
wrote:

> GWT Eclipse plugin is not maintained anymore... So to use the newest one
> you could move to pure Maven or Gradle... I only use Maven sofar and it
> works well...
>
> shahra...@gmail.com schrieb am Dienstag, 28. Juli 2020 um 00:11:58 UTC+2:
>
>> We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything works
>> perfect. We are planning to upgrade to Java 11 and GWT 2.9 which has been
>> recently released. However Java 1.7 is retiring and getting obsolete we
>> have to move on and upgrade. Since last week we are trying to create a
>> development environment like the existing one but there is no success. I
>> was wondering whether anyone out there is struggling with the same issue,
>> any hint, solution or hacking the eclipse plugin would be greatly
>> appreciated.
>>
>> Eclipse plugin comes with GWT (2.7 and 2.8.1)
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/l_E1Y8XKg7k/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/c9461274-510c-4661-8a73-28ad39fc35ecn%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/CAGcWJ-eVJ-q10NK93aw6yhK0UM%3Dmya2dr2tQkYBugn4uCZzc9Q%40mail.gmail.com.


Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-08-06 Thread lofid...@gmail.com
GWT Eclipse plugin is not maintained anymore... So to use the newest one 
you could move to pure Maven or Gradle... I only use Maven sofar and it 
works well...

shahra...@gmail.com schrieb am Dienstag, 28. Juli 2020 um 00:11:58 UTC+2:

> We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything works 
> perfect. We are planning to upgrade to Java 11 and GWT 2.9 which has been 
> recently released. However Java 1.7 is retiring and getting obsolete we 
> have to move on and upgrade. Since last week we are trying to create a 
> development environment like the existing one but there is no success. I 
> was wondering whether anyone out there is struggling with the same issue, 
> any hint, solution or hacking the eclipse plugin would be greatly 
> appreciated.
>
> Eclipse plugin comes with GWT (2.7 and 2.8.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/c9461274-510c-4661-8a73-28ad39fc35ecn%40googlegroups.com.


Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-07-27 Thread Shahram Zadeh
Thanks for the prompt response.
The issue is the internal Jetty that cannot be loaded with openJdk 11. Here 
is the log.
Is there any way to replace the internal Jetty with a higher version?  I 
Checked the Jetty forum and apparently they are aware of this.

The code server is ready at http://127.0.0.1:9876/
Code server started in 20.11 s ms
[ERROR] jreLeakPrevention.gcDaemonFail
*java.lang.ClassNotFoundException: sun.misc.GC*
at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at 
com.google.gwt.dev.shell.jetty.JettyLauncher.jreLeakPrevention(JettyLauncher.java:899)
at 
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:722)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:636)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:898)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:705)
at com.google.gwt.dev.DevMode.main(DevMode.java:432)
2020-07-27 15:36:29.138:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
Starting Jetty on port 
   [WARN] Failed startup of context 
c.g.g.d.s.j.WebAppContextWithReload@8953a7d{/,file:/C:/Eclipse_WP_Java11/Rguroo/war/,STARTING}{C:\Eclipse_WP_Java11\Rguroo\war}
MultiException[java.lang.RuntimeException: Error scanning file 
Rguroo$1.class, java.lang.RuntimeException: Error scanning file 
Rguroo$1MyHandler$1.class, java.lang.RuntimeException: Error scanning file 
Rguroo$1MyHandler.class, java.lang.RuntimeException: Error scanning file 
Rguroo.class]
at 
org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:536)
at 
org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:447)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:479)
at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1337)
at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at 
com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:550)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at 
org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:140)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:760)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:636)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:898)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:705)
at com.google.gwt.dev.DevMode.main(DevMode.java:432)
Caused by: MultiException[java.lang.RuntimeException: Error scanning file 
Rguroo$1.class, java.lang.RuntimeException: Error scanning file 
Rguroo$1MyHandler$1.class, java.lang.RuntimeException: Error scanning file 
Rguroo$1MyHandler.class, java.lang.RuntimeException: Error scanning file 
Rguroo.class]
at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:681)
at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
at 
org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
at 
org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:824)
at 
org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at 
org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.base/java.lang.Thread.run(Thread.java:834)
Suppressed: java.lang.Runti

Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

2020-07-27 Thread Michael Conrad
I use Gradle to configure Eclipse.
For JDK11 to be used as if it were JDK8 in Eclipse I have added:

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
if (JavaVersion.current() > JavaVersion.VERSION_1_8) {
tasks.withType(JavaCompile) {
   options.compilerArgs.addAll(["--release", "8"])
}
}

On Mon, Jul 27, 2020 at 6:12 PM Shahram Zadeh 
wrote:

> We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything works
> perfect. We are planning to upgrade to Java 11 and GWT 2.9 which has been
> recently released. However Java 1.7 is retiring and getting obsolete we
> have to move on and upgrade. Since last week we are trying to create a
> development environment like the existing one but there is no success. I
> was wondering whether anyone out there is struggling with the same issue,
> any hint, solution or hacking the eclipse plugin would be greatly
> appreciated.
>
> Eclipse plugin comes with GWT (2.7 and 2.8.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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit/1bdedb59-090d-4c8c-ba72-258e991ae060n%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/CAFHWztwN%3D%2BcH2DUNG56FvsNgqzTTBGs%3DLTT-GegwykR0zWyJ8Q%40mail.gmail.com.