Re: [gwt-contrib] Re: two errors in master

2015-01-31 Thread Jens


 It looks like I've already a dependency to guava-16.0.1-rebased.jar in the 
 trunk/dev/build.xml (did not change anything except the jdt-things).
 Here is the full build.xml: 
 https://gist.github.com/foxylion/93c69dcc40a0c0e3a95c
 Did I miss something?


Have you updated the SVN tools checkout before building? 

You also have to update the jdtCompilerAdapter.jar dependencies to the new 
one in the build file. Seems like you only updated JDT itself.

-- J.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/8f4e3198-122e-4219-976d-f79083d4c10c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-31 Thread Jakob Jarosch
Hi,
I've the same problems compiling the source of gwt.

With the following steps (used the tips from here) I tried to fix it but 
had no luck:
- Cloned the repository, checked out the tools
- Downloaded the updated jdt jar file
- Moved the jdtCompilerAdapter out of the jar
- Deleted the two files in the META-INF folder of the jdt jar file
- Replaced all three occurrences for the both jar files in the build.xml
- Tried to run ant

After these steps I get a similar error like everyone else:
https://gist.github.com/foxylion/fb9cd833fe472a5d9370

Would be great when someone contributes a fix. :-)

- Jakob

Am Sonntag, 11. Januar 2015 17:34:56 UTC+1 schrieb confile:

 Actually, there are three positions of jdt-3.10.0.jar in the build file 
 and three positions of jdtCompilerAdapter-3.10.0.jar.

 If I change all but the last 

 pathelement location=${gwt.tools.lib}/eclipse/jdt-3.10.0.jar/

 then I can compile. If I change that to I get an error. I am stuck could 
 you please at least upload your build.xml file.

 Thank you
 Michael


 Am Sonntag, 11. Januar 2015 15:15:28 UTC+1 schrieb Jens:

 Sounds like you have deleted the classes that you should actually keep.

 I said you can optionally delete class files that *DO NOT* match

 org/eclipse/jdt/core/compiler, 
 org/eclipse/jdt/internal/compiler, 
 org/eclipse/jdt/internal/core/util

 -- J.



-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/85d94902-7bf0-4f58-9c4d-76cfb2988216%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-31 Thread Jakob Jarosch
Thanks Jens, this was the problem. Looks like I missed to change it the 
second time.

- Jakob

Am Samstag, 31. Januar 2015 15:22:46 UTC+1 schrieb Jens:

 It looks like I've already a dependency to guava-16.0.1-rebased.jar in the 
 trunk/dev/build.xml (did not change anything except the jdt-things).
 Here is the full build.xml: 
 https://gist.github.com/foxylion/93c69dcc40a0c0e3a95c
 Did I miss something?


 Have you updated the SVN tools checkout before building? 

 You also have to update the jdtCompilerAdapter.jar dependencies to the new 
 one in the build file. Seems like you only updated JDT itself.

 -- J.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/2edb30ee-0fe2-4492-88f0-8313d891cf0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-31 Thread Jens


 Thanks Jens, this was the problem. Looks like I missed to change it the 
 second time.


Eclipse has also published a new build of the jar in case you want to use 
it:

https://repo.eclipse.org/service/local/repositories/eclipse-staging/content/org/eclipse/jdt/org.eclipse.jdt.core/3.11.0.v20150118-1315/org.eclipse.jdt.core-3.11.0.v20150118-1315.jar

-- J.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/923f4f00-8d65-4407-8b2a-19fbc334b68b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-31 Thread Julien Dramaix
Jakob,

It seems that the dependency to the guava-16.0.1-rebased.jar is missing.
You can add it manually, it is located in tools/lib/guava/guava-16.0.1/

On Sat Jan 31 2015 at 9:09:55 AM Jakob Jarosch jakob.jaro...@gmail.com
wrote:

 Hi,
 I've the same problems compiling the source of gwt.

 With the following steps (used the tips from here) I tried to fix it but
 had no luck:
 - Cloned the repository, checked out the tools
 - Downloaded the updated jdt jar file
 - Moved the jdtCompilerAdapter out of the jar
 - Deleted the two files in the META-INF folder of the jdt jar file
 - Replaced all three occurrences for the both jar files in the build.xml
 - Tried to run ant

 After these steps I get a similar error like everyone else:
 https://gist.github.com/foxylion/fb9cd833fe472a5d9370

 Would be great when someone contributes a fix. :-)

 - Jakob

 Am Sonntag, 11. Januar 2015 17:34:56 UTC+1 schrieb confile:

 Actually, there are three positions of jdt-3.10.0.jar in the build file
 and three positions of jdtCompilerAdapter-3.10.0.jar.

 If I change all but the last

 pathelement location=${gwt.tools.lib}/eclipse/jdt-3.10.0.jar/

 then I can compile. If I change that to I get an error. I am stuck could
 you please at least upload your build.xml file.

 Thank you
 Michael


 Am Sonntag, 11. Januar 2015 15:15:28 UTC+1 schrieb Jens:

 Sounds like you have deleted the classes that you should actually keep.

 I said you can optionally delete class files that *DO NOT* match

 org/eclipse/jdt/core/compiler,
 org/eclipse/jdt/internal/compiler,
 org/eclipse/jdt/internal/core/util

 -- J.

  --
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/85d94902-7bf0-4f58-9c4d-76cfb2988216%40googlegroups.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/85d94902-7bf0-4f58-9c4d-76cfb2988216%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D6Gev%3DTAD3iF8hNq8YCNndgtNwSRHi8NhXgFN1X0tW9Mg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-31 Thread Jakob Jarosch
Hi Julien,

It looks like I've already a dependency to guava-16.0.1-rebased.jar in the 
trunk/dev/build.xml (did not change anything except the jdt-things).
Here is the full 
build.xml: https://gist.github.com/foxylion/93c69dcc40a0c0e3a95c
Did I miss something?

Am Samstag, 31. Januar 2015 12:10:15 UTC+1 schrieb Julien Dramaix:

 Jakob,

 It seems that the dependency to the guava-16.0.1-rebased.jar is missing. 
 You can add it manually, it is located in tools/lib/guava/guava-16.0.1/

 On Sat Jan 31 2015 at 9:09:55 AM Jakob Jarosch jakob@gmail.com 
 javascript: wrote:

 Hi,
 I've the same problems compiling the source of gwt.

 With the following steps (used the tips from here) I tried to fix it but 
 had no luck:
 - Cloned the repository, checked out the tools
 - Downloaded the updated jdt jar file
 - Moved the jdtCompilerAdapter out of the jar
 - Deleted the two files in the META-INF folder of the jdt jar file
 - Replaced all three occurrences for the both jar files in the build.xml
 - Tried to run ant

 After these steps I get a similar error like everyone else:
 https://gist.github.com/foxylion/fb9cd833fe472a5d9370

 Would be great when someone contributes a fix. :-)

 - Jakob

 Am Sonntag, 11. Januar 2015 17:34:56 UTC+1 schrieb confile:

 Actually, there are three positions of jdt-3.10.0.jar in the build file 
 and three positions of jdtCompilerAdapter-3.10.0.jar.

 If I change all but the last 

 pathelement location=${gwt.tools.lib}/eclipse/jdt-3.10.0.jar/

 then I can compile. If I change that to I get an error. I am stuck could 
 you please at least upload your build.xml file.

 Thank you
 Michael


 Am Sonntag, 11. Januar 2015 15:15:28 UTC+1 schrieb Jens:

 Sounds like you have deleted the classes that you should actually keep.

 I said you can optionally delete class files that *DO NOT* match

 org/eclipse/jdt/core/compiler, 
 org/eclipse/jdt/internal/compiler, 
 org/eclipse/jdt/internal/core/util

 -- J.

  -- 
 You received this message because you are subscribed to the Google Groups 
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com 
 javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/85d94902-7bf0-4f58-9c4d-76cfb2988216%40googlegroups.com
  
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/85d94902-7bf0-4f58-9c4d-76cfb2988216%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/88e4a922-b212-4c0c-a25f-ff3ba90ccdbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-11 Thread confile
Hi Jens, 

in gwt-checkout/dev/build.xml I changed

jdtCompilerAdapter-3.10.0  to jdtCompilerAdapter-3.11.0.v20141029-0804

But there is no reference to org.eclipse.jdt.core-
How do I reference it?

There is another jdt reference to: jdt-3.10.0.jar
What is this do I have to change it? Where do I get it?

Thank you 
Michael


Am Sonntag, 11. Januar 2015 01:39:14 UTC+1 schrieb Jens:


 https://repo.eclipse.org/service/local/repo_groups/eclipse/content/org/eclipse/jdt/org.eclipse.jdt.core/3.11.0.v20141029-0804/org.eclipse.jdt.core-3.11.0.v20141029-0804.jar


 to run the script: update-jdt.py


 There is no sources jar yet in the eclipse repo and the GWT build does not 
 need it. Not sure why it is required by the python script.

 What you need to do is:

 1.) Follow the instructions in tools/lib/eclipse/README.jdt-upgrade

 2.) While the JDT jar file is unpacked you can optionally delete class 
 files that do not match

 org/eclipse/jdt/core/compiler, 
 org/eclipse/jdt/internal/compiler, 
 org/eclipse/jdt/internal/core/util

 That is what the update-jdt.py script would do for you. However for a 
 local build this is optional. The only thing really required is 1.) and 3.)

 3.) Once you have created a jar file again from the unpacked  modified 
 JDT core (just zip the folder and rename to jar) you need to modify 
 gwt-checkout/dev/build.xml so it includes your updated JDT library and 
 the extracted jdtCompilerAdapter.jar as library during build.

 -- J.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/6735d0ff-359e-4795-a581-94d1fa7b2ce4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-11 Thread confile
Am I right that the two references to: 

 jdt-3.10.0.jar should be changed 
to org.eclipse.jdt.core-3.11.0.v20141029-0804.jar

and 

jdtCompilerAdapter-3.10.0.jar should be changed 
to jdtCompilerAdapter-3.11.0.v20141029-0804.jar


Michael


Am Sonntag, 11. Januar 2015 14:34:43 UTC+1 schrieb Jens:

 There is another jdt reference to: jdt-3.10.0.jar


 There are two references to jdt-3.10.0.jar and two to 
 jdtCompilerAdapter-3.10.0.jar. 
 All four references need to be changed.

 -- J. 


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/e3819503-2c95-4d8b-8673-8be269efe5ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-11 Thread Jens


 Am I right that the two references to: 

  jdt-3.10.0.jar should be changed 
 to org.eclipse.jdt.core-3.11.0.v20141029-0804.jar

 and 

 jdtCompilerAdapter-3.10.0.jar should be changed 
 to jdtCompilerAdapter-3.11.0.v20141029-0804.jar



Yes.

-- J.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/40ef8277-0659-4ce8-bf19-8ecd3d5a66b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-11 Thread Jens


 There is another jdt reference to: jdt-3.10.0.jar


There are two references to jdt-3.10.0.jar and two to 
jdtCompilerAdapter-3.10.0.jar. 
All four references need to be changed.

-- J. 

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/1daf36de-8e7b-4121-94e0-ef1b5d30d793%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-11 Thread confile
It does not compile. Could you please upload the build gwt.zip file 
somewhere? I also attached my build.xml.



 I get the following errors when doing ant dist-dev: 

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:131:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.AssertStatement;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:132:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.Assignment;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:133:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.BinaryExpression;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:134:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.Block;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:135:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.BreakStatement;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:136:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CaseStatement;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:137:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CastExpression;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:138:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CharLiteral;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:139:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:140:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.Clinit;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:141:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import 
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:142:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CompoundAssignment;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:143:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import 
org.eclipse.jdt.internal.compiler.ast.ConditionalExpression;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:144:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import 
org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:145:
 
error: package org.eclipse.jdt.internal.compiler.ast does not exist

[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.ContinueStatement;

[gwt.javac] ^

[gwt.javac] 
/Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:146:
 
error: package 

Re: [gwt-contrib] Re: two errors in master

2015-01-11 Thread Jens
Sounds like you have deleted the classes that you should actually keep.

I said you can optionally delete class files that *DO NOT* match

org/eclipse/jdt/core/compiler, 
org/eclipse/jdt/internal/compiler, 
org/eclipse/jdt/internal/core/util

-- J.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/0de93f40-ad4c-49e3-8478-e690444b364f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-11 Thread confile
Actually, there are three positions of jdt-3.10.0.jar in the build file and 
three positions of jdtCompilerAdapter-3.10.0.jar.

If I change all but the last 

pathelement location=${gwt.tools.lib}/eclipse/jdt-3.10.0.jar/

then I can compile. If I change that to I get an error. I am stuck could 
you please at least upload your build.xml file.

Thank you
Michael


Am Sonntag, 11. Januar 2015 15:15:28 UTC+1 schrieb Jens:

 Sounds like you have deleted the classes that you should actually keep.

 I said you can optionally delete class files that *DO NOT* match

 org/eclipse/jdt/core/compiler, 
 org/eclipse/jdt/internal/compiler, 
 org/eclipse/jdt/internal/core/util

 -- J.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/c946cd63-a4fb-4ebc-9333-8d669819154b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-10 Thread confile
Hi Jens, 

could you please explain how you did the update of JDT? What and where do I 
have to change something?

Thank you 
Michael


Am Mittwoch, 3. Dezember 2014 21:21:48 UTC+1 schrieb Jens:

 Given that GWT embeds JDT, I wonder if it's a bug in the version of JDT 
 we're currently using? Just guessing, but it looks like there is a 
 3.11.0 version that I might try as a knee jerk/couldn't hurt first step: 

 https://repo.eclipse.org/index.html#nexus-search;quick~jdt 

 (Curious that there are multiple 3.10.0/3.11.0 artifacts in that repo, 
 but with different date suffixes.) 


 Updating JDT did fix it for me locally. I have opened an issue for it:

 https://code.google.com/p/google-web-toolkit/issues/detail?id=9036

 -- J.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/3024b1be-d615-4f8f-a9c3-ccaa505b99e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-10 Thread Jens



 https://repo.eclipse.org/service/local/repo_groups/eclipse/content/org/eclipse/jdt/org.eclipse.jdt.core/3.11.0.v20141029-0804/org.eclipse.jdt.core-3.11.0.v20141029-0804.jar


 to run the script: update-jdt.py


There is no sources jar yet in the eclipse repo and the GWT build does not 
need it. Not sure why it is required by the python script.

What you need to do is:

1.) Follow the instructions in tools/lib/eclipse/README.jdt-upgrade

2.) While the JDT jar file is unpacked you can optionally delete class 
files that do not match

org/eclipse/jdt/core/compiler, 
org/eclipse/jdt/internal/compiler, 
org/eclipse/jdt/internal/core/util

That is what the update-jdt.py script would do for you. However for a local 
build this is optional. The only thing really required is 1.) and 3.)

3.) Once you have created a jar file again from the unpacked  modified JDT 
core (just zip the folder and rename to jar) you need to modify 
gwt-checkout/dev/build.xml so it includes your updated JDT library and 
the extracted jdtCompilerAdapter.jar as library during build.

-- J.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/19e63d0b-8e75-4dae-8a1b-6e5531cc7d00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-10 Thread confile
Where do I find the source file for 

https://repo.eclipse.org/service/local/repo_groups/eclipse/content/org/eclipse/jdt/org.eclipse.jdt.core/3.11.0.v20141029-0804/org.eclipse.jdt.core-3.11.0.v20141029-0804.jar


to run the script: update-jdt.py

Michael

Am Mittwoch, 3. Dezember 2014 21:21:48 UTC+1 schrieb Jens:

 Given that GWT embeds JDT, I wonder if it's a bug in the version of JDT 
 we're currently using? Just guessing, but it looks like there is a 
 3.11.0 version that I might try as a knee jerk/couldn't hurt first step: 

 https://repo.eclipse.org/index.html#nexus-search;quick~jdt 

 (Curious that there are multiple 3.10.0/3.11.0 artifacts in that repo, 
 but with different date suffixes.) 


 Updating JDT did fix it for me locally. I have opened an issue for it:

 https://code.google.com/p/google-web-toolkit/issues/detail?id=9036

 -- J.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/cd20d856-01bf-4d4d-9f1b-4dd6b654d284%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2015-01-09 Thread confile
I tried:  

inherits name=com.google.common.collect.Collect/
with Java 8 and get the following error even with changing the JDT jar in 
the eclipse plugin folder:

   Tracing compile failure path for type 
'com.google.common.collect.Collections2'

  [ERROR] Errors in 'com/google/common/collect/Collections2.java'

 [ERROR] Line 201: The method and(Predicatecapture#14-of ? super 
E, Predicatecapture#15-of ?) is undefined for the type 
Collections2.FilteredCollectionE

 [ERROR] Line 206: The method and(Predicatecapture#16-of ? super 
E, Predicatecapture#17-of ?) is undefined for the type 
Collections2.FilteredCollectionE

   Tracing compile failure path for type 'com.google.common.collect.Maps'

  [ERROR] Errors in 
'com/google/common/collect/super/com/google/common/collect/Maps.java'

 [ERROR] Line 2244: The method and(Predicatecapture#263-of ? super 
Map.EntryK,V, Predicatecapture#264-of ? super Map.EntryK,V) is 
undefined for the type Predicates

 [ERROR] Line 2343: The method and(Predicatecapture#265-of ? super 
Map.EntryK,V, Predicatecapture#266-of ? super Map.EntryK,V) is 
undefined for the type Predicates

   Tracing compile failure path for type 
'com.google.common.collect.Multimaps'

  [ERROR] Errors in 
'com/google/common/collect/super/com/google/common/collect/Multimaps.java'

 [ERROR] Line 1691: The method and(Predicatecapture#83-of ? super 
K, Predicatecapture#84-of ? super K) is undefined for the type Predicates

 [ERROR] Line 1954: The method and(Predicatecapture#105-of ? super 
Map.EntryK,V, Predicatecapture#106-of ? super Map.EntryK,V) is 
undefined for the type Predicates

 [ERROR] Line 1735: The method and(Predicatecapture#87-of ? super 
K, Predicatecapture#88-of ? super K) is undefined for the type Predicates

 [ERROR] Line 1779: The method and(Predicatecapture#91-of ? super 
K, Predicatecapture#92-of ? super K) is undefined for the type Predicates

 [ERROR] Line 1940: The method and(Predicatecapture#103-of ? super 
Map.EntryK,V, Predicatecapture#104-of ? super Map.EntryK,V) is 
undefined for the type Predicates

   [ERROR] Aborting compile due to errors in some input files
 

Am Mittwoch, 3. Dezember 2014 21:21:48 UTC+1 schrieb Jens:

 Given that GWT embeds JDT, I wonder if it's a bug in the version of JDT 
 we're currently using? Just guessing, but it looks like there is a 
 3.11.0 version that I might try as a knee jerk/couldn't hurt first step: 

 https://repo.eclipse.org/index.html#nexus-search;quick~jdt 

 (Curious that there are multiple 3.10.0/3.11.0 artifacts in that repo, 
 but with different date suffixes.) 


 Updating JDT did fix it for me locally. I have opened an issue for it:

 https://code.google.com/p/google-web-toolkit/issues/detail?id=9036

 -- J.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/822b487a-c860-45fe-9cb5-28ee9fb2f3df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2014-12-03 Thread Jens


 Given that GWT embeds JDT, I wonder if it's a bug in the version of JDT 
 we're currently using? Just guessing, but it looks like there is a 
 3.11.0 version that I might try as a knee jerk/couldn't hurt first step: 

 https://repo.eclipse.org/index.html#nexus-search;quick~jdt 

 (Curious that there are multiple 3.10.0/3.11.0 artifacts in that repo, 
 but with different date suffixes.) 


Updating JDT did fix it for me locally. I have opened an issue for it:

https://code.google.com/p/google-web-toolkit/issues/detail?id=9036

-- J.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/e63cbbb1-7db5-449f-a6dc-1d5a700665ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2014-12-03 Thread Stephen Haberman

Wow, that's great, Jens! Thanks for digging in to this.

- Stephen

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/20141203143114.5fb10e1d%40sh10.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2014-12-02 Thread Jens


 I was pretty surprised to find that Guava doesn't compile for 1.8: 

 https://github.com/google/guava/issues/1738 

 But not at all for the reason/compile errors I was getting (which were 
 related to, mostly AFAICT, Predicates.and method missing). 

 The Guava issue is pretty old and doesn't seem very active. Kind of 
 disturbing, although I understand setting up separate builds for them 
 is likely a PITA. 



I am not sure if the Predicates.and() error is a Guava problem. I checked 
out guava and fixed the issue you have linked to by implementing the 
required methods as no-op methods. Once I have done that Guava builds fine 
with Java 8. So the linked issue is the only thing that prevents 
compilation of Guava with Java 8.

Predicates.and() itself works fine in GWT with Java 8. Problems start when 
you use Collections2 or Multimaps in GWT which both use Predicates.and() 
and Predicates.in() internally. I have taken a look how they used 
Predicates and tried a bit with the following results:

// also tried explicit anonymous class instead of lambda. No difference.
Predicate? super String alwaysTrue = input - true;

void onModuleLoad() {
  CollectionString collection = Arrays.asList(a);
  test(collection);
  test2(collection);
  test3(collection);
}

private void test(Collection? collection) {
  PredicateString and = Predicates.and(alwaysTrue, 
Predicates.in(collection));
  GWT.log( + and);
}

private void test2(Collection? super String collection) {
  PredicateString and = Predicates.and(alwaysTrue, 
Predicates.in(collection));
  GWT.log( + and);
}

private void test3(CollectionString collection) {
  PredicateString and = Predicates.and(alwaysTrue, 
Predicates.in(collection));
  GWT.log( + and);
}

(only kept one method active while the others are commented) 

*test() fails with:* 
The method and(Predicatecapture#1-of ? super String, 
Predicatecapture#2-of ?) is undefined for the type Predicates

*test2() fails with:*

The method and(Predicatecapture#1-of ? super String, 
Predicatecapture#2-of ? super String) is undefined for the type Predicates
*test3() works!*

The Guava methods itself are defined as

public static T PredicateT and(Predicate? super T first, Predicate? 
super T second)

public static T PredicateT in(Collection? extends T target)


Doing the same in a normal Java Main class everything works with Java8.

So I think we really have a GWT issue. 

-- J.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/5b6d4440-f2e5-4290-bf84-869de02f84d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2014-12-02 Thread Stephen Haberman

 So I think we really have a GWT issue. 

Great detective work, Jens.

I agree, it looks like these type parameters only cause confusion to
the GWT compiler, and not to regular the Java/Eclipse compilers.

Given that GWT embeds JDT, I wonder if it's a bug in the version of JDT
we're currently using? Just guessing, but it looks like there is a
3.11.0 version that I might try as a knee jerk/couldn't hurt first step:

https://repo.eclipse.org/index.html#nexus-search;quick~jdt

(Curious that there are multiple 3.10.0/3.11.0 artifacts in that repo,
but with different date suffixes.)

- Stephen


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/20141202170418.391c9a6e%40sh10.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Re: two errors in master

2014-12-01 Thread Stephen Haberman
Okay, okay, sorry for all the emails, but I ditched sourceLevel 1.8 and am 
now just playing with the new cached-SDM...

Wow. It's awesome. Great work!

I was hesitant to move our app over to 2.7.0, but this, this is nice.

- Stephen
 

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/5cfcf422-c969-4a00-8351-fbe34c648958%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: two errors in master

2014-12-01 Thread 'John Stalcup' via GWT Contributors
Glad you like the cache reuse speedup!

Also thanks for pointing out the CME, a fix for it is in review at
https://gwt-review.googlesource.com/#/c/10500/
On Mon Dec 01 2014 at 2:27:20 AM Stephen Haberman 
stephen.haber...@gmail.com wrote:

 Okay, okay, sorry for all the emails, but I ditched sourceLevel 1.8 and am
 now just playing with the new cached-SDM...

 Wow. It's awesome. Great work!

 I was hesitant to move our app over to 2.7.0, but this, this is nice.

 - Stephen


 --
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/5cfcf422-c969-4a00-8351-fbe34c648958%40googlegroups.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/5cfcf422-c969-4a00-8351-fbe34c648958%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


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


Re: [gwt-contrib] Re: two errors in master

2014-12-01 Thread Stephen Haberman

 Maybe I'll go try and build a 1.8 version of Guava and see if the
 issue is in Guava itself? Not sure.

I was pretty surprised to find that Guava doesn't compile for 1.8:

https://github.com/google/guava/issues/1738

But not at all for the reason/compile errors I was getting (which were
related to, mostly AFAICT, Predicates.and method missing).

The Guava issue is pretty old and doesn't seem very active. Kind of
disturbing, although I understand setting up separate builds for them
is likely a PITA.

- Stephen

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/20141201165954.2ff0c43c%40sh10.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Re: two errors in master

2014-11-30 Thread Stephen Haberman
Note that in my previous email, both errors came from running 
(Super)DevMode, but FWIW the Guava errors also occur in a regular 
production compile (which I was not anticipating).

- Stephen


On Sunday, November 30, 2014 4:24:21 PM UTC-6, Stephen Haberman wrote:

 Hi, 

 Given that the reuse-SDM cache patch (+ various Java 8 patches, hot 
 damn) landed, I tried our app with master. I'm seeing two issues: 

 1. A transient/only-happened-once ConcurrentModificationException: 

 https://gist.github.com/stephenh/6e32c3077b67769e46cb 

 2. Some compile errors related to guava/guava-gwt: 

 https://gist.github.com/stephenh/92f451858eb9828c199f 

 [ERROR] Line 1691: The method and(Predicatecapture#83-of ? super K, 
 Predicatecapture#84-of ? super K) is undefined for the type Predicates 

 [ERROR] com.google.common.collect.Maps.ImprovedAbstractMap cannot be 
 resolved to a type 

 Not quite sure what is going on here...I have guava and guava-gwt 18.0 
 on the classpath and, AFAICT, no other version is shadowing it, e.g. 
 due to be included-non-rebased in another jar (which is surprising for 
 once that the problem isn't related to that :-)). 

 Also, along the old/shadowed version theory, I checked and 
 Predicates.and seems to have been in Guava for awhile. 

 This same app runs fine in gwt-2.7.0 final. Has there been a change 
 recently that might affect this? Anything I can do to help poke around? 

 (Normally I would have submitted a patch (assuming it's semi-trivial) 
 for the first issue, but my GWT environment is on another machine.) 

 Thanks, 
 Stephen 



-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/bf5374d8-07d5-40f5-b8a0-721df8278537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Re: two errors in master

2014-11-30 Thread Jens
Hm funny. Just wanted to verify the Predicates issue but I can not launch 
my app anymore for some weird reason. 

Somehow the java compiler has detected a duplicate class in 
guava-gwt-18.0.jar:
- com.google.common.collect.AbstractIterator
- com.google.common.base.AbstractIterator

They are clearly not duplicates as they have different packages. Strange.

At least I can second your ConcurrentModificationException as I have seen 
it once as well and then never again.

-- J.

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/cce548b9-10c7-42c5-a68d-d9f8c880acca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Re: two errors in master

2014-11-30 Thread Stephen Haberman


 Note that in my previous email, both errors came from running 
 (Super)DevMode, but FWIW the Guava errors also occur in a regular 
 production compile (which I was not anticipating).


Ah, crap, I had thought checked for this, but I had mistakenly introduced a 
2nd variable: source level.

In both devmode/production, GWT master works fine with -sourceLevel 1.7, 
but fails with those Guava errors with -sourceLevel 1.8.

Maybe I'll go try and build a 1.8 version of Guava and see if the issue is 
in Guava itself? Not sure.

- Stephen



-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/8a1f1aff-33c5-4cc8-b7e7-6709740a3335%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.