Re: compiler errors after upgrade to gwt 2.8.0

2017-02-17 Thread Juan Pablo Gardella
The plugin is actually included out of box in eclipse. You can try by
downloading eclipse neon or reinstall the plugin in mars

El vie., 17 de feb. de 2017 01:09, Magnus 
escribió:

> Hello Juan,
>
> ok, I understand that eclipse:eclipse is retired.
>
> I installed m2eclipse from the repository site, but after that there is
> nothing about "maven" in the eclipse menus. Even the option "Import
> existing maven projects" is gone!
> Even after uninstalling m2eclipse the option didn't come back. So my
> eclipse installation (Mars) seems to be corrupted now?
>
> (I did the installation as recommended by starting eclipse as root first.)
>
> Thanks
>
> Magnus
>
> --
> 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.
>

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Magnus
Hello Juan,

ok, I understand that eclipse:eclipse is retired.

I installed m2eclipse from the repository site, but after that there is 
nothing about "maven" in the eclipse menus. Even the option "Import 
existing maven projects" is gone!
Even after uninstalling m2eclipse the option didn't come back. So my 
eclipse installation (Mars) seems to be corrupted now?

(I did the installation as recommended by starting eclipse as root first.)

Thanks
Magnus

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Magnus
Hello Juan!

On Thursday, February 16, 2017 at 7:38:04 PM UTC+1, Juan Pablo Gardella 
wrote:
>
> Check http://maven.apache.org/plugins/maven-eclipse-plugin
>

Ok, I understand that eclipse:eclipse is retired. So I'll switch to m2e.
However, do I have to "clean up" my maven project first, u. e. remove the 
files generated by mvn eclipse:eclipse?

Unfortunately, the documentation for m2e doesn't start from the beginning:
https://www.eclipse.org/m2e/documentation/m2e-development-environment.html

This documentation begins with downloading the SDK, but in the second 
paragraph it refers to installing the plugin with the eclipse UI.
What's the right way then?

Thanks
Magnus

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Juan Pablo Gardella
Check http://maven.apache.org/plugins/maven-eclipse-plugin/

On Thu, 16 Feb 2017 at 15:24 Magnus  wrote:

> Hello Juan,
>
> sorry, it seems that I didn't point out that my problem is solved!
>
> After executing "mvn eclipse:eclipse" the errors are gone!
> So what's wrong with "eclipse:eclipse" then?
>
> Thanks
>
> Magnus
>
> --
> 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.
>

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Magnus
Hello Juan,

sorry, it seems that I didn't point out that my problem is solved!

After executing "mvn eclipse:eclipse" the errors are gone!
So what's wrong with "eclipse:eclipse" then?

Thanks
Magnus 

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Juan Pablo Gardella
I suggest the following:

1) Copy src/ + pom.xml file to another directory. (or remove the project
from the eclipse and delete eclipse related files).
2) Import the project again.

Do not use *mvn eclipse:eclipse, *it's better to use m2e plugin. Let me
know also if mvn clean package works (execute that command in console).

Regards,
Juan

P.S. If you are interested in learning maven, I suggest to read *Better
builds with maven, *it's a bit old but very easy to read and free. You can
pick it from https://maven.apache.org/articles.html

On Thu, 16 Feb 2017 at 13:18 Magnus  wrote:

> Hello,
>
> I found that the .classpath file in the root directory of my maven library
> project contains a reference to gwt 2.7.0:
>
> 
> 
>  path="src/test/java">
> 
> 
> 
> 
> 
>  path="src/main/java">
> 
> 
> 
> 
> 
>  path="M2_REPO/javax/mail/javax.mail-api/1.5.6/javax.mail-api-1.5.6.jar"/>
>  path="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar"/>
>  path="M2_REPO/javax/validation/validation-api/
> 1.0.0.GA/validation-api-1.0.0.GA.jar"
> sourcepath="M2_REPO/javax/validation/validation-api/
> 1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/>
>  path="M2_REPO/javax/validation/validation-api/
> 1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/>
>  path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
> 
> 
> 
> 
>  path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
> 
>  path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
> 
> 
> 
> 
> 
> 
>
> However, I executed "mvn eclipse:eclipse" and this .classpath file was
> regenerated with the correct gwt version!
> Is this the way to go? Sorry, I am still new to maven...
>
> Magnus
>
> --
> 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.
>

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Magnus
Hello,

I found that the .classpath file in the root directory of my maven library 
project contains a reference to gwt 2.7.0:


































However, I executed "mvn eclipse:eclipse" and this .classpath file was 
regenerated with the correct gwt version!
Is this the way to go? Sorry, I am still new to maven...

Magnus

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Juan Pablo Gardella
Share the pom file.

On Thu, 16 Feb 2017 at 13:03 Magnus  wrote:

> Hi Thomas,
>
> I have created a new GWT WebApplication project using the eclipse plugin
> ("New -> Project -> Web Application Project"), and it compiles fine!
> As soon as I add my library project to the build path, the compilation
> error occurrs! So the error must be caused by this library project.
>
> The library project is a maven project with server-side and client-side
> (GWT) code. I upgraded it to GWT 2.8.0 by editing the pom.xml and executing
> "mvn package".
> Where should I look next?
>
> Thanks
>
> Magnus
>
> --
> 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.
>

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Juan Pablo Gardella
Also try mvn clean package

On Thu, 16 Feb 2017 at 13:17 Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> Share the pom file.
>
> On Thu, 16 Feb 2017 at 13:03 Magnus  wrote:
>
> Hi Thomas,
>
> I have created a new GWT WebApplication project using the eclipse plugin
> ("New -> Project -> Web Application Project"), and it compiles fine!
> As soon as I add my library project to the build path, the compilation
> error occurrs! So the error must be caused by this library project.
>
> The library project is a maven project with server-side and client-side
> (GWT) code. I upgraded it to GWT 2.8.0 by editing the pom.xml and executing
> "mvn package".
> Where should I look next?
>
> Thanks
>
> Magnus
>
> --
> 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.
>
>

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Magnus
Hi Thomas,

I have created a new GWT WebApplication project using the eclipse plugin 
("New -> Project -> Web Application Project"), and it compiles fine!
As soon as I add my library project to the build path, the compilation 
error occurrs! So the error must be caused by this library project.

The library project is a maven project with server-side and client-side 
(GWT) code. I upgraded it to GWT 2.8.0 by editing the pom.xml and executing 
"mvn package".
Where should I look next?

Thanks
Magnus

-- 
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: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Thomas Broyer
Make sure you don't have gwt-user from both 2.7 and 2.8 in your classpath: 
it could be that 2.7 is earlier than 2.8 in the classpath, so the compiler 
sees the Comparator, List, Set and Arrays from 2.7, that don't have stream 
support, and then chokes when parsing Stream (which only exists in 2.8).

On Thursday, February 16, 2017 at 6:23:28 AM UTC+1, Magnus wrote:
>
> Hello,
>
> after upgrading a project from GWT 2.7.0 to GWT 2.8.0 I and when compiling 
> with the GWT compiler using the -strict option, I get a lot of errors like 
> this:
>
>Tracing compile failure path for type 'java.util.stream.Stream'
>   [ERROR] Errors in 
> 'jar:file:/home/magnus/dvl/lib/gwt-2.8.0/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
>  [ERROR] Line 1113: The method naturalOrder() is undefined for the 
> type Comparator
>  [ERROR] Line 101: The method spliterator() is undefined for the 
> type List>
>  [ERROR] Line 1098: The method naturalOrder() is undefined for the 
> type Comparator
>  [ERROR] Line 1122: The method spliterator() is undefined for the 
> type List
>  [ERROR] Line 181: The method stream() is undefined for the type 
> Set
>  [ERROR] Line 85: The method stream(Object[]) is undefined for the 
> type Arrays
>  [ERROR] Line 185: The method stream(T[]) is undefined for the 
> type Arrays
>
> When switching back to GWT 2.7.0, the errors don't appear.
>
> Unfortunately, the messages do not point in my code. So how do I have to 
> modify my project in order to solve the problem?
>
> Thanks
> Magnus
>

-- 
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.


compiler errors after upgrade to gwt 2.8.0

2017-02-15 Thread Magnus
Hello,

after upgrading a project from GWT 2.7.0 to GWT 2.8.0 I and when compiling 
with the GWT compiler using the -strict option, I get a lot of errors like 
this:

   Tracing compile failure path for type 'java.util.stream.Stream'
  [ERROR] Errors in 
'jar:file:/home/magnus/dvl/lib/gwt-2.8.0/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
 [ERROR] Line 1113: The method naturalOrder() is undefined for the 
type Comparator
 [ERROR] Line 101: The method spliterator() is undefined for the 
type List>
 [ERROR] Line 1098: The method naturalOrder() is undefined for the 
type Comparator
 [ERROR] Line 1122: The method spliterator() is undefined for the 
type List
 [ERROR] Line 181: The method stream() is undefined for the type 
Set
 [ERROR] Line 85: The method stream(Object[]) is undefined for the 
type Arrays
 [ERROR] Line 185: The method stream(T[]) is undefined for the type 
Arrays

When switching back to GWT 2.7.0, the errors don't appear.

Unfortunately, the messages do not point in my code. So how do I have to 
modify my project in order to solve the problem?

Thanks
Magnus

-- 
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.