Re: GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-26 Thread Chris
Thanks Thomas, can you point me to any examples of GWT projects split into 
multiple maven modules?
I'll head that route.

Thanks again.
Chris


On Monday, February 26, 2018 at 2:03:29 PM UTC-5, Thomas Broyer wrote:
>
> apache-jsp brings Eclipse JDT, which causes the conflict.
>
> As you're using Mojo's plugin for GWT,you can configure it to put GWT 
> dependencies first in the classpath; that should fix the conflict.
>
> But you really should split this project into two or three modules, with 
> separate dependency trees for client and server code. That would 
> automatically clean all such conflicts.
>
>

-- 
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-26 Thread Thomas Broyer
apache-jsp brings Eclipse JDT, which causes the conflict.

As you're using Mojo's plugin for GWT,you can configure it to put GWT 
dependencies first in the classpath; that should fix the conflict.

But you really should split this project into two or three modules, with 
separate dependency trees for client and server code. That would automatically 
clean all such conflicts.

-- 
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Plugin 3.0 fails to download connection reset after a while

2018-02-26 Thread kommon kommon
I doubt we we are missing packets. Browser also fails exactly after 
downloading 50.93 mb unless are refresh a couple of times. I guess total 
file zie is 51 mb so something peculiar. Isn't there a way to download 
plugin offline rather than thru eclipse marketplace?


On Monday, February 26, 2018 at 11:23:37 AM UTC-6, Brandon Donnelson wrote:
>
> @Kommon If you try what Jens tried, downloading from the browser would it 
> work for you? 
>
> Are you dropping packets on your nic? 
>
> On Monday, February 26, 2018 at 6:58:26 AM UTC-8, Jens wrote:
>>
>> Unable to read repository at 
>>> http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gdt.eclipse.platform_3.0.0.201710131939.jar
>>> .
>>>
>>
>> I can download that jar without issues using a browser. Maybe it is some 
>> virus scanner or proxy causing the issue.
>>
>> -- 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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8.2 and Jetty Embedded - com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST

2018-02-26 Thread Chris
I've got a real simple scaled down GWT application (to illustrate the 
issue) with Jetty Embedded Server (9.4.7.v20170914), it can be downloaded 
here:
This works fine when running under 2.7.0.  

Unfortunately, when I upgrade to 2.8.2, I'm getting an error during the GWT 
compilation stage.   See below.

Any suggestions in how I can fix this?   It seems like there is a conflict 
between Jetty deps and GWT 2.8.2 deps and I probably need some kind of 
exclude,
but I'm not super familiar with maven enough to tell it how to exclude what 
it needs so this compiles.  The simple application be be downloaded from:
https://www.dropbox.com/s/1myj5o3dpq9bzxt/gwt_jetty.zip?dl=0

Really appreciate any help in this.
Thanks,
Chris

Here is the GWTC output:
*--- *gwt-maven-plugin:2.8.2:compile *(default)* @ my-app* ---*

[*INFO*] Compiling module com.mycompany.app.MyWebApp

[*INFO*] [ERROR] An internal compiler exception occurred

[*INFO*] com.google.gwt.dev.jjs.InternalCompilerException: Error 
constructing Java AST

[*INFO*] at 
com.google.gwt.dev.jjs.impl.GwtAstBuilder.translateException(GwtAstBuilder.java:3997)

[*INFO*] at 
com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:1569)

[*INFO*] at 
org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSend.java:1021)

[*INFO*] at 
org.eclipse.jdt.internal.compiler.ast.Assignment.traverse(Assignment.java:260)

[*INFO*] at 
org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java:136)

[*INFO*] at 
org.eclipse.jdt.internal.compiler.ast.IfStatement.traverse(IfStatement.java:281)

[*INFO*] at 
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:347)

[*INFO*] at 
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1379)

[*INFO*] at 
com.google.gwt.dev.jjs.impl.GwtAstBuilder.processImpl(GwtAstBuilder.java:3933)

[*INFO*] at 
com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3971)

Here is what my dependency tree looks like this:

 mvn dependency:tree -Dverbose=true

[*INFO*] Scanning for projects...

[*WARNING*] 

[*WARNING*] Some problems were encountered while building the effective 
model for com.mycompany.app:my-app:jar:1.0-SNAPSHOT

[*WARNING*] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-resources-plugin is missing. @ line 173, 
column 21

[*WARNING*] 

[*WARNING*] It is highly recommended to fix these problems because they 
threaten the stability of your build.

[*WARNING*] 

[*WARNING*] For this reason, future Maven versions might no longer support 
building such malformed projects.

[*WARNING*] 

[*INFO*] 

[*INFO*] 
**

[*INFO*] *Building Maven Archetype for GWT 1.0-SNAPSHOT*

[*INFO*] 
**

[*INFO*] 

[*INFO*] *--- *maven-dependency-plugin:2.8:tree *(default-cli)* @ my-app* 
---*

[*INFO*] com.mycompany.app:my-app:jar:1.0-SNAPSHOT

[*INFO*] +- junit:junit:jar:4.11:test

[*INFO*] |  \- org.hamcrest:hamcrest-core:jar:1.3:test

[*INFO*] +- org.eclipse.jetty:jetty-server:jar:9.4.7.v20170914:compile

[*INFO*] |  +- javax.servlet:javax.servlet-api:jar:3.1.0:compile

[*INFO*] |  +- org.eclipse.jetty:jetty-http:jar:9.2.14.v20151106:compile 
(version managed from 9.4.7.v20170914)

[*INFO*] |  |  \- 
(org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile - omitted for 
conflict with 9.4.7.v20170914)

[*INFO*] |  \- org.eclipse.jetty:jetty-io:jar:9.2.14.v20151106:compile 
(version managed from 9.4.7.v20170914)

[*INFO*] | \- 
(org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile - omitted for 
duplicate)

[*INFO*] +- org.eclipse.jetty:jetty-annotations:jar:9.4.7.v20170914:compile

[*INFO*] |  +- org.eclipse.jetty:jetty-plus:jar:9.2.14.v20151106:compile 
(version managed from 9.4.7.v20170914)

[*INFO*] |  |  +- 
(org.eclipse.jetty:jetty-webapp:jar:9.2.14.v20151106:compile - version 
managed from 9.4.7.v20170914; omitted for duplicate)

[*INFO*] |  |  \- org.eclipse.jetty:jetty-jndi:jar:9.2.14.v20151106:compile

[*INFO*] |  | \- 
(org.eclipse.jetty:jetty-util:jar:9.2.14.v20151106:compile - omitted for 
duplicate)

[*INFO*] |  +- (org.eclipse.jetty:jetty-webapp:jar:9.2.14.v20151106:compile 
- version managed from 9.4.7.v20170914; omitted for conflict with 
9.4.7.v20170914)

[*INFO*] |  +- javax.annotation:javax.annotation-api:jar:1.2:compile

[*INFO*] |  +- org.ow2.asm:asm:jar:5.0.3:compile (version managed from 5.1)

[*INFO*] |  \- org.ow2.asm:asm-commons:jar:5.0.3:compile (version managed 
from 5.1)

[*INFO*] | \- org.ow2.asm:asm-tree:jar:5.0.3:compile

[*INFO*] |\- (org.ow2.asm:asm:jar:5.0.3:compile - version managed 
from 5.1; omitted for duplicate)

[*INFO*] +- org.eclipse.jetty:jetty-webapp:jar:9.4.7.v20170914:compile

[*INFO*] |  +- org.eclipse.jetty:jetty-xml:jar:9.2.14.v20151106:compile 
(version managed from 9.4.7.v20170914)

[*INFO*] |  |  \- 

Re: GWT Plugin 3.0 fails to download connection reset after a while

2018-02-26 Thread Brandon Donnelson
@Kommon If you try what Jens tried, downloading from the browser would it 
work for you? 

Are you dropping packets on your nic? 

On Monday, February 26, 2018 at 6:58:26 AM UTC-8, Jens wrote:
>
> Unable to read repository at 
>> http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gdt.eclipse.platform_3.0.0.201710131939.jar
>> .
>>
>
> I can download that jar without issues using a browser. Maybe it is some 
> virus scanner or proxy causing the issue.
>
> -- 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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Plugin 3.0 fails to download connection reset after a while

2018-02-26 Thread Jens

>
> Unable to read repository at 
> http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gdt.eclipse.platform_3.0.0.201710131939.jar
> .
>

I can download that jar without issues using a browser. Maybe it is some 
virus scanner or proxy causing the issue.

-- 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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Plugin 3.0 fails to download connection reset after a while

2018-02-26 Thread kommon kommon
Trying to install GWT plugin on Eclipse Oxygen again. Constantly failing 
since last week at the same spot at 50.93 mb. 
Failing to download in browser also. I wish there was a way for offline 
downloading and install of GWT Plugin.

 Any help would be appreciated.


"An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, 
action=).
Unable to read repository at 
http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gdt.eclipse.platform_3.0.0.201710131939.jar
.
Connection reset
Unable to read repository at 
http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gwt.eclipse.core_3.0.0.201710131939.jar
.
Connection reset"

Thanks

On Saturday, September 16, 2017 at 10:07:22 PM UTC-5, Brandon Donnelson 
wrote:
>
> All I can suggest is wait and try again. This repo is on Google Cloud 
> Storage, so there shouldn't be any issues. 
>
> On Friday, September 15, 2017 at 8:13:43 AM UTC-7, kommon kommon wrote:
>>
>> I am trying to install GWT plugin 3.0 on latest version of Eclipse Oxygen 
>> 2.7. from 
>> http://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html
>>
>> I get the following error when it reaches about 26%.
>>
>> "
>> An error occurred while collecting items to be installed
>> session context was:(profile=epp.package.jee, 
>> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, 
>> action=).
>> Unable to read repository at 
>> http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gdt.eclipse.platform_3.0.0.201707251900.jar
>> .
>> Connection reset
>> Unable to read repository at 
>> http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gwt.eclipse.core_3.0.0.201707251900.jar
>> .
>> Connection reset
>> "
>>
>> download speed drops to zero after 50Mb dnld of 
>> /com.gwtplugins.gwt.eclipse.core_3.0.0.201707251900.jar
>> and after 36 mb for 
>> gwtplugins.gdt.eclipse.platform_3.0.0.201707251900.jar.
>>
>>
>> Any idea whats going on and who can solve it?
>>
>> I added following params to eclipse ini and still no help:
>>
>> "-Djava.net.preferIPv4Stack=true
>> -Dorg.eclipse.equinox.p2.transport.ecf.retry=5
>> -Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=1
>> "
>>
>>
>> Thanks for your help.
>>
>>

-- 
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Plugin 3.0 fails to download connection reset after a while

2018-02-26 Thread kommon kommon
Trying to install GWT plugin on Eclipse Oxygen. Constantly failing since 
last week at the same spot at 50.93 mb. Failing to download even in 
browser. I wish there was a way for offline downloading and install of GWT 
Plugin.

 Any help would be appreciated.


"An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, 
action=).
Unable to read repository at 
http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gdt.eclipse.platform_3.0.0.201710131939.jar.
Connection reset
Unable to read repository at 
http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gwt.eclipse.core_3.0.0.201710131939.jar.
Connection reset"

Thanks

On Saturday, September 16, 2017 at 10:07:22 PM UTC-5, Brandon Donnelson 
wrote:
>
> All I can suggest is wait and try again. This repo is on Google Cloud 
> Storage, so there shouldn't be any issues. 
>
> On Friday, September 15, 2017 at 8:13:43 AM UTC-7, kommon kommon wrote:
>>
>> I am trying to install GWT plugin 3.0 on latest version of Eclipse Oxygen 
>> 2.7. from 
>> http://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html
>>
>> I get the following error when it reaches about 26%.
>>
>> "
>> An error occurred while collecting items to be installed
>> session context was:(profile=epp.package.jee, 
>> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, 
>> action=).
>> Unable to read repository at 
>> http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gdt.eclipse.platform_3.0.0.201707251900.jar
>> .
>> Connection reset
>> Unable to read repository at 
>> http://storage.googleapis.com/gwt-eclipse-plugin/v3/release/plugins/com.gwtplugins.gwt.eclipse.core_3.0.0.201707251900.jar
>> .
>> Connection reset
>> "
>>
>> download speed drops to zero after 50Mb dnld of 
>> /com.gwtplugins.gwt.eclipse.core_3.0.0.201707251900.jar
>> and after 36 mb for 
>> gwtplugins.gdt.eclipse.platform_3.0.0.201707251900.jar.
>>
>>
>> Any idea whats going on and who can solve it?
>>
>> I added following params to eclipse ini and still no help:
>>
>> "-Djava.net.preferIPv4Stack=true
>> -Dorg.eclipse.equinox.p2.transport.ecf.retry=5
>> -Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=1
>> "
>>
>>
>> Thanks for your help.
>>
>>

-- 
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.