Re: GWT source compile error

2019-06-28 Thread Jens
Hmmm maybe the ANT build holds the gwt-dev.jar open and thus Windows 
forbids overwriting the file with gwt-dev-merged.jar . I guess you need to 
either try changing the build file to make is work on Windows or use a 
Linux VM for now.

-- 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/8cd28154-be4a-4d58-861c-8eb9febf9715%40googlegroups.com.


GWT source compile error

2019-06-28 Thread Chandula Harasgama
Hi. I'm trying to compile the current master of GWT from source but keep 
getting the following error. I'm on JDK 8 on a windows 7 PC.
The commands I tried were: ant, ant clean dist-dev, ant clean elemental 
dist-dev.

merge_codeserver:
 [echo] Merge gwt-dev.jar and gwt-codeserver.jar
  [jar] Building jar: 
C:\Users\chandulah\Desktop\gwt\trunk\build\out\gwt-dev-merged.jar
  [jar] Warning: selected jar files include a META-INF/INDEX.LIST which 
will be replaced by a newly generated one.
  [jar] Warning: selected jar files include a META-INF/INDEX.LIST which 
will be replaced by a newly generated one.
 [echo] Overwriting gwt-dev.jar with merged gwt-dev.jar
 [move] Moving 1 file to C:\Users\chandulah\Desktop\gwt\trunk\build\lib
Attempt to copy 
C:\Users\chandulah\Desktop\gwt\trunk\build\out\gwt-dev-merged.jar to 
C:\Users\chandulah\Desktop\gwt\trun
k\build\lib\gwt-dev.jar using NIO Channels failed due to 
'C:\Users\chandulah\Desktop\gwt\trunk\build\lib\gwt-dev.jar'.
Falling back to streams.

BUILD FAILED
C:\Users\chandulah\Desktop\gwt\trunk\build.xml:48: The following error 
occurred while executing this line:
C:\Users\chandulah\Desktop\gwt\trunk\distro-source\build.xml:23: Failed to 
copy C:\Users\chandulah\Desktop\gwt\trunk\bui
ld\out\gwt-dev-merged.jar to 
C:\Users\chandulah\Desktop\gwt\trunk\build\lib\gwt-dev.jar due to 
C:\Users\chandulah\Deskto
p\gwt\trunk\build\lib\gwt-dev.jar

Thanks in advance for any help you could provide!



-- 
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/6d84ec6b-784f-488f-8268-b5451681eac3%40googlegroups.com.


GWT HEAD-SNAPSHOT compile error

2018-08-09 Thread Hristo Stoyanov
Trying to compile my GWT project with the latest HEAD-SNAPSHOT version and 
getting this error:

Unable to load annotation processing manager 
org.eclipse.jdt.internal.compiler.apt.dispatch.BatchAnnotationProcessorManager 
from classpath.

What Maven/Gradle dependecie do I need?

-- 
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: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-24 Thread Ignacio Baca Moreno-Torres


I sometimes, when I'm a bit desperate, I debug the project, find some 
classes for the conflicting code using the 
"Thread.currentThread().getContextClassLoader().loadClass(...)", and use 
the variable inspector to find the class loader and the actual file that 
has been used to load the class. At least, you finally found where the hell 
was the cached class! ;) ... maybe the first time is a bit confusing, but 
after sometimes, you will solve those mixed/cached classpath problems much 
faster! 




On Thursday, May 24, 2018 at 9:13:04 PM UTC+2, JonL wrote:
>
> We have seen similar issues with this when we were experimenting with some 
> projects and upgrading to 2.8.2.  The things to double check are:
>
> 1. That there are no duplicate jars from different versions of GWT, as 
> mentions by Thomas Broyer.
> 2. Delete any GWT generated folder such as the gwt-unitCache, and the 
> script outputs in the war folder and also any GWT generated files in the 
> temp folder.
> 3. If still running into problems, delete the Eclipse workspace .metadata 
> folder, re-setup the workspace and import the existing projects into the 
> cleaned workspace.
>
> Due to GWT compilation caching, and Eclipse deployment caching, if files 
> do not change during the modification process, they can still reference the 
> the incorrect version of GWT, or the jars that are actually deployed to the 
> location where the Jetty server is run from by eclipse may not be updated.
>
> On Monday, May 14, 2018 at 6:06:09 AM UTC-7, Rachel wrote:
>>
>> We have to move our project back to GWT 2.7 due to some java 1.8 issues. 
>> I've checked all my jar files to make sure they are 2.7 and no duplicate 
>> jars in the build path but am getting errors when I try to compile with Ant.
>> Any suggestions would be greatly appreciated. Thank you.
>>
>> *prepareGWT*:
>>
>> [*delete*] Deleting directory 
>> C:\Users\s235985\workspace\wkflw_test\Approval\gwt-unitCache
>>
>> [*java*] Compiling module com.aep.mro.approval.approvalsystem
>>
>> [*java*] Computing all possible rebind results for 
>> 'gwtupload.client.bundle.UploadCss'
>>
>> [*java*] Rebinding gwtupload.client.bundle.UploadCss
>>
>> [*java*] Invoking generator 
>> com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
>>
>> [*java*] Initializing ResourceGenerator
>>
>> [*java*] [ERROR] Unable to determine default for GSS in UiBinder
>>
>> [*java*] [ERROR] An internal compiler exception occurred
>>
>> [*java*] *com.google.gwt.dev.jjs.InternalCompilerException*: Unexpected 
>> error during visit.
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(
>> *JVisitor.java:121*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
>> *JModVisitor.java:296*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
>> *JModVisitor.java:285*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(
>> *JVisitor.java:128*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(
>> *JCastOperation.java:67*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
>> *JModVisitor.java:381*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
>> *JModVisitor.java:293*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
>> *JModVisitor.java:285*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(
>> *JVisitor.java:128*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(
>> *JDeclarationStatement.java:49*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(
>> *JModVisitor.java:95*)
>>
>> [*java*] at 
>> com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(
>> *JModVisitor.java:351*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JBlock.traverse(*JBlock.java:92*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
>> *JModVisitor.java:381*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
>> *JModVisitor.java:293*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(
>> *JVisitor.java:149*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(
>> *JVisitor.java:145*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(
>> *JMethodBody.java:83*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
>> *JModVisitor.java:381*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
>> *JModVisitor.java:293*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
>> *JModVisitor.java:285*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(
>> *JMethod.java:600*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JMethod.traverse(
>> *JMethod.java:569*)
>>
>> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
>> *JModVisitor.java:381*)
>>
>> [*java*] at com.google.gw

Re: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-24 Thread JonL
We have seen similar issues with this when we were experimenting with some 
projects and upgrading to 2.8.2.  The things to double check are:

1. That there are no duplicate jars from different versions of GWT, as 
mentions by Thomas Broyer.
2. Delete any GWT generated folder such as the gwt-unitCache, and the 
script outputs in the war folder and also any GWT generated files in the 
temp folder.
3. If still running into problems, delete the Eclipse workspace .metadata 
folder, re-setup the workspace and import the existing projects into the 
cleaned workspace.

Due to GWT compilation caching, and Eclipse deployment caching, if files do 
not change during the modification process, they can still reference the 
the incorrect version of GWT, or the jars that are actually deployed to the 
location where the Jetty server is run from by eclipse may not be updated.

On Monday, May 14, 2018 at 6:06:09 AM UTC-7, Rachel wrote:
>
> We have to move our project back to GWT 2.7 due to some java 1.8 issues. 
> I've checked all my jar files to make sure they are 2.7 and no duplicate 
> jars in the build path but am getting errors when I try to compile with Ant.
> Any suggestions would be greatly appreciated. Thank you.
>
> *prepareGWT*:
>
> [*delete*] Deleting directory 
> C:\Users\s235985\workspace\wkflw_test\Approval\gwt-unitCache
>
> [*java*] Compiling module com.aep.mro.approval.approvalsystem
>
> [*java*] Computing all possible rebind results for 
> 'gwtupload.client.bundle.UploadCss'
>
> [*java*] Rebinding gwtupload.client.bundle.UploadCss
>
> [*java*] Invoking generator 
> com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
>
> [*java*] Initializing ResourceGenerator
>
> [*java*] [ERROR] Unable to determine default for GSS in UiBinder
>
> [*java*] [ERROR] An internal compiler exception occurred
>
> [*java*] *com.google.gwt.dev.jjs.InternalCompilerException*: Unexpected 
> error during visit.
>
> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(
> *JVisitor.java:121*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:296*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:285*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(*JVisitor.java:128*
> )
>
> [*java*] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(
> *JCastOperation.java:67*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
> *JModVisitor.java:381*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:293*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:285*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(*JVisitor.java:128*
> )
>
> [*java*] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(
> *JDeclarationStatement.java:49*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(
> *JModVisitor.java:95*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(
> *JModVisitor.java:351*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JBlock.traverse(*JBlock.java:92*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
> *JModVisitor.java:381*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:293*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(*JVisitor.java:149*
> )
>
> [*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(*JVisitor.java:145*
> )
>
> [*java*] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(
> *JMethodBody.java:83*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
> *JModVisitor.java:381*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:293*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:285*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(
> *JMethod.java:600*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JMethod.traverse(*JMethod.java:569*
> )
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
> *JModVisitor.java:381*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:293*)
>
> [*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
> *JModVisitor.java:285*)
>
> [*java*] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(
> *UnifyAst.java:1505*)
>
> [*java*] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(*UnifyAst.java:870*)
>
> [*java*] at 
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(
> *JavaToJavaScriptCompiler.java:1305*)
>
> [*java*] at 
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(
> *JavaToJavaScriptCompiler.java:1038*)
>
> [*java*] at 
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(
> *JavaToJavaScriptCompiler.java:954*)
>
> [*java*] at 
> com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(
> *MonolithicJavaToJavaScriptCompiler.java:303*)
>
> [*java*] at com

Re: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-23 Thread Rachel
That could definitely be the issue. Unfortunately, when we move back to a 
previous version of the project we still get the same error so we think it 
might be something with the eclipse environment and are going to try a new 
eclipse install. 

On Monday, May 14, 2018 at 12:34:20 PM UTC-4, Thomas Broyer wrote:
>
> Could one of your dependencies possibly "shadow" its own version of 
> ImageResourceGenerator that had been compiled against GWT 2.8? You'd have 
> to revert to an older version of that dependency then.
>
> On Monday, May 14, 2018 at 3:37:34 PM UTC+2, Rachel wrote:
>>
>> Thank you for responding. I'm looking at the build path and both gwt-user 
>> and gwt-dev jar files are from 2.7. Is there somewhere else I should look?
>>
>> On Monday, May 14, 2018 at 9:16:18 AM UTC-4, Thomas Broyer wrote:
>>>
>>>
>>>
>>> On Monday, May 14, 2018 at 3:06:09 PM UTC+2, Rachel wrote:

 We have to move our project back to GWT 2.7 due to some java 1.8 
 issues. I've checked all my jar files to make sure they are 2.7 and no 
 duplicate jars in the build path but am getting errors when I try to 
 compile with Ant.
 Any suggestions would be greatly appreciated. Thank you.

 [*java*] Caused by: java.lang.NoSuchMethodError: 
 com.google.gwt.util.tools.Utility.close(Ljava/lang/AutoCloseable;)V

 [*java*] at 
 com.google.gwt.resources.rg.ImageResourceGenerator.getContentLength(
 *ImageResourceGenerator.java:623*)

>>>
>>> This close(AutoCloseable) method was added in 2.8: 
>>> https://github.com/gwtproject/gwt/commit/349210a31ec593cb499ac73a80743b89bd8d5aac
>>> So this means you have gwt-user from 2.8 and gwt-dev from 2.7 here.
>>>
>>

-- 
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: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-14 Thread Thomas Broyer
Could one of your dependencies possibly "shadow" its own version of 
ImageResourceGenerator that had been compiled against GWT 2.8? You'd have 
to revert to an older version of that dependency then.

On Monday, May 14, 2018 at 3:37:34 PM UTC+2, Rachel wrote:
>
> Thank you for responding. I'm looking at the build path and both gwt-user 
> and gwt-dev jar files are from 2.7. Is there somewhere else I should look?
>
> On Monday, May 14, 2018 at 9:16:18 AM UTC-4, Thomas Broyer wrote:
>>
>>
>>
>> On Monday, May 14, 2018 at 3:06:09 PM UTC+2, Rachel wrote:
>>>
>>> We have to move our project back to GWT 2.7 due to some java 1.8 issues. 
>>> I've checked all my jar files to make sure they are 2.7 and no duplicate 
>>> jars in the build path but am getting errors when I try to compile with Ant.
>>> Any suggestions would be greatly appreciated. Thank you.
>>>
>>> [*java*] Caused by: java.lang.NoSuchMethodError: 
>>> com.google.gwt.util.tools.Utility.close(Ljava/lang/AutoCloseable;)V
>>>
>>> [*java*] at 
>>> com.google.gwt.resources.rg.ImageResourceGenerator.getContentLength(
>>> *ImageResourceGenerator.java:623*)
>>>
>>
>> This close(AutoCloseable) method was added in 2.8: 
>> https://github.com/gwtproject/gwt/commit/349210a31ec593cb499ac73a80743b89bd8d5aac
>> So this means you have gwt-user from 2.8 and gwt-dev from 2.7 here.
>>
>

-- 
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: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-14 Thread Rachel
Thank you for responding. I'm looking at the build path and both gwt-user 
and gwt-dev jar files are from 2.7. Is there somewhere else I should look?

On Monday, May 14, 2018 at 9:16:18 AM UTC-4, Thomas Broyer wrote:
>
>
>
> On Monday, May 14, 2018 at 3:06:09 PM UTC+2, Rachel wrote:
>>
>> We have to move our project back to GWT 2.7 due to some java 1.8 issues. 
>> I've checked all my jar files to make sure they are 2.7 and no duplicate 
>> jars in the build path but am getting errors when I try to compile with Ant.
>> Any suggestions would be greatly appreciated. Thank you.
>>
>> [*java*] Caused by: java.lang.NoSuchMethodError: 
>> com.google.gwt.util.tools.Utility.close(Ljava/lang/AutoCloseable;)V
>>
>> [*java*] at 
>> com.google.gwt.resources.rg.ImageResourceGenerator.getContentLength(
>> *ImageResourceGenerator.java:623*)
>>
>
> This close(AutoCloseable) method was added in 2.8: 
> https://github.com/gwtproject/gwt/commit/349210a31ec593cb499ac73a80743b89bd8d5aac
> So this means you have gwt-user from 2.8 and gwt-dev from 2.7 here.
>

-- 
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: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-14 Thread Thomas Broyer


On Monday, May 14, 2018 at 3:06:09 PM UTC+2, Rachel wrote:
>
> We have to move our project back to GWT 2.7 due to some java 1.8 issues. 
> I've checked all my jar files to make sure they are 2.7 and no duplicate 
> jars in the build path but am getting errors when I try to compile with Ant.
> Any suggestions would be greatly appreciated. Thank you.
>
> [*java*] Caused by: java.lang.NoSuchMethodError: 
> com.google.gwt.util.tools.Utility.close(Ljava/lang/AutoCloseable;)V
>
> [*java*] at 
> com.google.gwt.resources.rg.ImageResourceGenerator.getContentLength(
> *ImageResourceGenerator.java:623*)
>

This close(AutoCloseable) method was added in 2.8: 
https://github.com/gwtproject/gwt/commit/349210a31ec593cb499ac73a80743b89bd8d5aac
So this means you have gwt-user from 2.8 and gwt-dev from 2.7 here.

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


Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-14 Thread Rachel
We have to move our project back to GWT 2.7 due to some java 1.8 issues. 
I've checked all my jar files to make sure they are 2.7 and no duplicate 
jars in the build path but am getting errors when I try to compile with Ant.
Any suggestions would be greatly appreciated. Thank you.

*prepareGWT*:

[*delete*] Deleting directory 
C:\Users\s235985\workspace\wkflw_test\Approval\gwt-unitCache

[*java*] Compiling module com.aep.mro.approval.approvalsystem

[*java*] Computing all possible rebind results for 
'gwtupload.client.bundle.UploadCss'

[*java*] Rebinding gwtupload.client.bundle.UploadCss

[*java*] Invoking generator 
com.google.gwt.resources.rebind.context.InlineClientBundleGenerator

[*java*] Initializing ResourceGenerator

[*java*] [ERROR] Unable to determine default for GSS in UiBinder

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

[*java*] *com.google.gwt.dev.jjs.InternalCompilerException*: Unexpected 
error during visit.

[*java*] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(
*JVisitor.java:121*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:296*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:285*)

[*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(*JVisitor.java:128*)

[*java*] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(
*JCastOperation.java:67*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
*JModVisitor.java:381*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:293*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:285*)

[*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(*JVisitor.java:128*)

[*java*] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(
*JDeclarationStatement.java:49*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(
*JModVisitor.java:95*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(
*JModVisitor.java:351*)

[*java*] at com.google.gwt.dev.jjs.ast.JBlock.traverse(*JBlock.java:92*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
*JModVisitor.java:381*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:293*)

[*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(*JVisitor.java:149*)

[*java*] at com.google.gwt.dev.jjs.ast.JVisitor.accept(*JVisitor.java:145*)

[*java*] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(
*JMethodBody.java:83*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
*JModVisitor.java:381*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:293*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:285*)

[*java*] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(
*JMethod.java:600*)

[*java*] at com.google.gwt.dev.jjs.ast.JMethod.traverse(*JMethod.java:569*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(
*JModVisitor.java:381*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:293*)

[*java*] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(
*JModVisitor.java:285*)

[*java*] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(
*UnifyAst.java:1505*)

[*java*] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(*UnifyAst.java:870*)

[*java*] at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(
*JavaToJavaScriptCompiler.java:1305*)

[*java*] at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(
*JavaToJavaScriptCompiler.java:1038*)

[*java*] at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(
*JavaToJavaScriptCompiler.java:954*)

[*java*] at 
com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(
*MonolithicJavaToJavaScriptCompiler.java:303*)

[*java*] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(
*JavaScriptCompiler.java:38*)

[*java*] at com.google.gwt.dev.Precompile.precompile(*Precompile.java:286*)

[*java*] at com.google.gwt.dev.Precompile.precompile(*Precompile.java:229*)

[*java*] at com.google.gwt.dev.Precompile.precompile(*Precompile.java:145*)

[*java*] at com.google.gwt.dev.Compiler.run(*Compiler.java:206*)

[*java*] at com.google.gwt.dev.Compiler.run(*Compiler.java:158*)

[*java*] at com.google.gwt.dev.Compiler$1.run(*Compiler.java:120*)

[*java*] at com.google.gwt.dev.CompileTaskRunner.doRun(
*CompileTaskRunner.java:55*)

[*java*] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(
*CompileTaskRunner.java:50*)

[*java*] at com.google.gwt.dev.Compiler.main(*Compiler.java:127*)

[*java*] Caused by: java.lang.NoSuchMethodError: 
com.google.gwt.util.tools.Utility.close(Ljava/lang/AutoCloseable;)V

[*java*] at 
com.google.gwt.resources.rg.ImageResourceGenerator.getContentLength(
*ImageResourceGenerator.java:623*)

[*java*] at com.google.gwt.resources.rg.ImageResourceGenerator.prepare(
*ImageResourceGenerator.java:584*)

[*java*] at 
com.google.gwt.resource

Re: Advice Needed - moving to GWT 2.8.2 from 2.7 compile error

2018-05-07 Thread Rachel
Thank you for the suggestion. I thought I had changed all the jar files but 
I re-configured the build path and that seems to have solved the error.

On Friday, May 4, 2018 at 1:43:49 PM UTC-4, Paul Robinson wrote:
>
> Check to see if you're mixing GWT versions. Maybe more than one GWT jar 
> file in your path.
>
> Paul
>
> On Fri, 4 May 2018, 16:09 Rachel, > 
> wrote:
>
>> I couldn't find another post with this same error but if there is one I 
>> apologize.
>> We are moving a project from GWT 2.7 to GWT 2.8.2 but when we try to 
>> compile with Ant we are getting the following error and we haven't found a 
>> way to resolve it. 
>> Any suggestions would be appreciated.
>>
>> Buildfile: *C:\Users\s235985\workspace\wkflw_test\Approval\build.xml*
>>
>> *init*:
>>
>> *prepareGWT*:
>>
>> [*java*] Exception in thread "main" java.lang.NoSuchMethodError: 
>> com.google.gwt.util.regexfilter.RegexFilter: method ()V not found
>>
>> [*java*] at com.google.gwt.util.regexfilter.WhitelistRegexFilter.(
>> *WhitelistRegexFilter.java:21*)
>>
>> [*java*] at com.google.gwt.dev.jjs.JJSOptionsImpl.(
>> *JJSOptionsImpl.java:54*)
>>
>> [*java*] at com.google.gwt.dev.PrecompileTaskOptionsImpl.(
>> *PrecompileTaskOptionsImpl.java:39*)
>>
>> [*java*] at com.google.gwt.dev.CompilerOptionsImpl.(
>> *CompilerOptionsImpl.java:30*)
>>
>> [*java*] at com.google.gwt.dev.Compiler.main(*Compiler.java:108*)
>>
>> BUILD FAILED
>>
>> *C:\Users\s235985\workspace\wkflw_test\Approval\build.xml:48: Java 
>> returned: 1 *
>>
>> Total time: 6 minutes 20 seconds
>>
>>
>> -- 
>> 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-we...@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: Advice Needed - moving to GWT 2.8.2 from 2.7 compile error

2018-05-04 Thread Paul Robinson
Check to see if you're mixing GWT versions. Maybe more than one GWT jar
file in your path.

Paul

On Fri, 4 May 2018, 16:09 Rachel,  wrote:

> I couldn't find another post with this same error but if there is one I
> apologize.
> We are moving a project from GWT 2.7 to GWT 2.8.2 but when we try to
> compile with Ant we are getting the following error and we haven't found a
> way to resolve it.
> Any suggestions would be appreciated.
>
> Buildfile: *C:\Users\s235985\workspace\wkflw_test\Approval\build.xml*
>
> *init*:
>
> *prepareGWT*:
>
> [*java*] Exception in thread "main" java.lang.NoSuchMethodError:
> com.google.gwt.util.regexfilter.RegexFilter: method ()V not found
>
> [*java*] at com.google.gwt.util.regexfilter.WhitelistRegexFilter.(
> *WhitelistRegexFilter.java:21*)
>
> [*java*] at com.google.gwt.dev.jjs.JJSOptionsImpl.(
> *JJSOptionsImpl.java:54*)
>
> [*java*] at com.google.gwt.dev.PrecompileTaskOptionsImpl.(
> *PrecompileTaskOptionsImpl.java:39*)
>
> [*java*] at com.google.gwt.dev.CompilerOptionsImpl.(
> *CompilerOptionsImpl.java:30*)
>
> [*java*] at com.google.gwt.dev.Compiler.main(*Compiler.java:108*)
>
> BUILD FAILED
>
> *C:\Users\s235985\workspace\wkflw_test\Approval\build.xml:48: Java
> returned: 1 *
>
> Total time: 6 minutes 20 seconds
>
>
> --
> 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.


Advice Needed - moving to GWT 2.8.2 from 2.7 compile error

2018-05-04 Thread Rachel
I couldn't find another post with this same error but if there is one I 
apologize.
We are moving a project from GWT 2.7 to GWT 2.8.2 but when we try to 
compile with Ant we are getting the following error and we haven't found a 
way to resolve it. 
Any suggestions would be appreciated.

Buildfile: *C:\Users\s235985\workspace\wkflw_test\Approval\build.xml*

*init*:

*prepareGWT*:

[*java*] Exception in thread "main" java.lang.NoSuchMethodError: 
com.google.gwt.util.regexfilter.RegexFilter: method ()V not found

[*java*] at com.google.gwt.util.regexfilter.WhitelistRegexFilter.(
*WhitelistRegexFilter.java:21*)

[*java*] at com.google.gwt.dev.jjs.JJSOptionsImpl.(
*JJSOptionsImpl.java:54*)

[*java*] at com.google.gwt.dev.PrecompileTaskOptionsImpl.(
*PrecompileTaskOptionsImpl.java:39*)

[*java*] at com.google.gwt.dev.CompilerOptionsImpl.(
*CompilerOptionsImpl.java:30*)

[*java*] at com.google.gwt.dev.Compiler.main(*Compiler.java:108*)

BUILD FAILED

*C:\Users\s235985\workspace\wkflw_test\Approval\build.xml:48: Java 
returned: 1 *

Total time: 6 minutes 20 seconds


-- 
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 compile error "No source code" using gwt-lib with transient sources

2016-11-28 Thread Michael Budnick
It's my mistake, I had a typing error in the path with the lib-shared 
classes.
So [ERROR] Line 8: No source code is available was correct because the java 
file was on an other location then the packagename sayes.

-- 
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 compile error "No source code" using gwt-lib with transient sources

2016-11-25 Thread Michael Budnick
My current maven project (named refBuecherWelt) is based on 3 submodule 
(shared,server,client) layout from the gwt-maven-archetypes [1].
The refBuecherWelt-client submodule (a gwt-app) depend on an other lib 
(named universalclientLib) which is build in an independend maven project.

When I migrate the lib also to 3 submodules, gwt:compile (or 
gwt:codeserver) shows the error
[INFO]   [ERROR] Errors in 'de/all4net/.../client/FaceDataObject.java'
[INFO]  [ERROR] Line 8: No source code is available for type 
de.all4net...shared.TaskDirection; did you forget to inherit a required 
module?

The lib-client is a gwt-lib and depend on jars lib-shared and lib-shared 
with sources but the gwt-comiler don't see the sources from lib-shared.

How must I reference the lib-shared so the gwt-comiler see the sources if 
compiling the refBuecherWelt-client?


refBuecherWelt-client pom.xml:

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>

4.0.0

de.all4net.sdh.bhb
refBuecherWelt
1.1.0.BUILD-SNAPSHOT

refBuecherWelt-client
gwt-app
refBuecherWelt-client


${mavenVersion}




${project.groupId}
refBuecherWelt-shared
${project.version}


de.all4net
universalclient.lib-client
${universalclientLib.version}


${project.groupId}
refBuecherWelt-shared
${project.version}
sources


com.google.gwt
gwt-user
${gwt.version}


com.google.gwt
gwt-dev
${gwt.version}






net.ltgt.gwt.maven
gwt-maven-plugin

de.all4net.sdh.bhb.App
app







lib-client pom.xml:

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>

4.0.0

de.all4net
universalclient.lib
1.1.0.BUILD-SNAPSHOT

universalclient.lib-client
gwt-lib
universalclient lib-client


${mavenVersion}




${project.groupId}
universalclient.lib-shared
${project.version}


${project.groupId}
universalclient.lib-shared
${project.version}
sources


com.google.gwt
gwt-user
${gwt.version}






net.ltgt.gwt.maven
gwt-maven-plugin

de.all4net.universalclient.S2bLib

s2bLib







lib-shared pom.xml:

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>

4.0.0

de.all4net
universalclient.lib
1.1.0.BUILD-SNAPSHOT


universalclient.lib-shared
universalclient lib-shared


${mavenVersion}




com.google.gwt
gwt-servlet
${gwt.version}
provided


net.customware.gwt.dispatch
gwt-dispatch
1.2.0






maven-source-plugin






m2e


m2e.version




com.google.gwt
gwt-user
${gwt.version}





org.codehaus.mojo
gwt-maven-plugin
${gwt.version}









[1] https://github.com/tbroyer/gwt-maven-archetypes

-- 
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: compile error with PlaceSearchRequest

2016-05-05 Thread 'Michael Esser' via GWT Users


Am Donnerstag, 5. Mai 2016 23:52:16 UTC+2 schrieb Michael Esser:
>
> Hi there,
> I want to use PlaceSearchRequest from gwt-maps-api-3.10.0.
> If I run the GWT compiler I got the following errors:
>
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
> errors.
>[ERROR] Errors in 
> 'com/google/gwt/maps/client/placeslib/PlaceSearchRequest.java'
>   [ERROR] Line 151: The method toJsArrayString(String[]) is undefined 
> for the type ArrayHelper
>   [ERROR] Line 160: The method toJsArrayString(String[]) is undefined 
> for the type ArrayHelper
> [ERROR] Compiler returned false
>
> I have no ideas to solve this error any hints are welcome.
>
> The code which produce this error is very simple.
> Just adding this line and the error comes:
> PlaceSearchRequest request = PlaceSearchRequest.newInstance();
>
>
> Beste regards,
> Michael
>

I could figure out it: if I use the version gwt-ajaxloader-1.1.0 it compiles

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


compile error with PlaceSearchRequest

2016-05-05 Thread 'Michael Esser' via GWT Users
Hi there,
I want to use PlaceSearchRequest from gwt-maps-api-3.10.0.
If I run the GWT compiler I got the following errors:

Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
errors.
   [ERROR] Errors in 
'com/google/gwt/maps/client/placeslib/PlaceSearchRequest.java'
  [ERROR] Line 151: The method toJsArrayString(String[]) is undefined 
for the type ArrayHelper
  [ERROR] Line 160: The method toJsArrayString(String[]) is undefined 
for the type ArrayHelper
[ERROR] Compiler returned false

I have no ideas to solve this error any hints are welcome.

The code which produce this error is very simple.
Just adding this line and the error comes:
PlaceSearchRequest request = PlaceSearchRequest.newInstance();


Beste regards,
Michael

-- 
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: JsInterop compile error

2015-11-08 Thread Elias
Hi Cristian,

Try:

public static native String[] getOwnPropertyNames(Object obj);

since List is a Java class that has not a JS type correspondence.

Regards,
Elias


-- 
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


JsInterop compile error

2015-11-07 Thread Cristian Rinaldi
Hello community:

I'm using GWT 2.8-SNAPSHOT and new annotations JsInterop.
I have a very simple class, but gives the error in compilation time.

@JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL)
public class JsObject {

public static native List getOwnPropertyNames(Object obj);

}

public class gwt_sample implements EntryPoint {

@Override
public void onModuleLoad() {
JsObject.getOwnPropertyNames(new String());
}
}

 Compiling 1 permutation
[INFO] Compiling permutation 0...
[INFO] [ERROR] An internal compiler exception occurred
[INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error 
during visit.
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.
java:111)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:130)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:122)
[INFO] at com.google.gwt.dev.jjs.ast.JTransformer.transform(JTransformer.
java:1056)
[INFO] at com.google.gwt.dev.jjs.impl.
GenerateJavaScriptAST$GenerateJavaScriptTransformer.emitStaticMethods(
GenerateJavaScriptAST.java:1751)
[INFO] at com.google.gwt.dev.jjs.impl.
GenerateJavaScriptAST$GenerateJavaScriptTransformer.transformDeclaredType(
GenerateJavaScriptAST.java:639)
[INFO] at com.google.gwt.dev.jjs.impl.
GenerateJavaScriptAST$GenerateJavaScriptTransformer.transformDeclaredType(
GenerateJavaScriptAST.java:514)
[INFO] at com.google.gwt.dev.jjs.ast.JTransformer.transformClassType(
JTransformer.java:95)
[INFO] at com.google.gwt.dev.jjs.ast.JTransformer$JRewriterVisitor.visit(
JTransformer.java:670)
[INFO] at com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:140
)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:127)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:122)
[INFO] at com.google.gwt.dev.jjs.ast.JTransformer.transform(JTransformer.
java:1056)
[INFO] at com.google.gwt.dev.jjs.impl.
GenerateJavaScriptAST$GenerateJavaScriptTransformer.transformProgram(
GenerateJavaScriptAST.java:1202)
[INFO] at com.google.gwt.dev.jjs.impl.
GenerateJavaScriptAST$GenerateJavaScriptTransformer.transformProgram(
GenerateJavaScriptAST.java:514)
[INFO] at com.google.gwt.dev.jjs.ast.JTransformer$JRewriterVisitor.visit(
JTransformer.java:918)
[INFO] at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:1252)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:127)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:122)
[INFO] at com.google.gwt.dev.jjs.ast.JTransformer.transform(JTransformer.
java:1056)
[INFO] at com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.execImpl(
GenerateJavaScriptAST.java:3001)
[INFO] at com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.exec(
GenerateJavaScriptAST.java:2782)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation
(JavaToJavaScriptCompiler.java:377)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation
(JavaToJavaScriptCompiler.java:272)
[INFO] at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:198)
[INFO] at com.google.gwt.dev.
ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(
ThreadedPermutationWorkerFactory.java:50)
[INFO] at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.
run(PermutationWorkerFactory.java:74)
[INFO] at java.lang.Thread.run(Thread.java:745)
[INFO] Caused by: java.lang.NullPointerException
[INFO] at com.google.gwt.dev.jjs.impl.
GenerateJavaScriptAST$GenerateJavaScriptTransformer.transformMethod(
GenerateJavaScriptAST.java:788)
[INFO] at com.google.gwt.dev.jjs.impl.
GenerateJavaScriptAST$GenerateJavaScriptTransformer.transformMethod(
GenerateJavaScriptAST.java:514)
[INFO] at com.google.gwt.dev.jjs.ast.JTransformer$JRewriterVisitor.visit(
JTransformer.java:823)
[INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:715)
[INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:127)
[INFO] ... 26 more
[INFO][ERROR] at JsObject.java(19): com.logikas.gwt.sample.
client.JsObject.getOwnPropertyNames(Ljava/lang/Object;)Ljava/util/List;
[INFO]   com.google.gwt.dev.jjs.ast.JMethod
[INFO][ERROR] at JsObject.java(17): com.logikas.gwt.sample.
client.JsObject (extends Object)
[INFO]   com.google.gwt.dev.jjs.ast.JClassType
[INFO][ERROR] at Unknown(0): 
[INFO]   com.google.gwt.dev.jjs.ast.JProgram
[INFO] [ERROR] Unrecoverable exception, shutting down
[INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
entries)
[INFO] at com.google.gwt.dev.javac.CompilationProblemReporter.
logAndTranslateException(CompilationProblemReporter.java:106)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation
(JavaToJavaScriptCompiler.java:459)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation
(JavaToJavaScript

Re: GSS: Variable inside CSS 3 calc procudes compile error

2015-02-07 Thread Christian Walczyk
Created a new issue

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

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GSS: Variable inside CSS 3 calc procudes compile error

2015-02-06 Thread Julien Dramaix
That should work. Only variable that require runtime evaluation don't work.

Could you open an issue?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GSS: Variable inside CSS 3 calc procudes compile error

2015-02-06 Thread Christian Walczyk
Hello,

I'm using GWT 2.7 with the experimental GSS support turned on and most of 
the GSS features are working fine as expected. One thing which is not 
working for me is the CSS3 calc() together with variables. This gss source 
code part of my UiBinder file leads to a compile error with a 
GssParserException:


@def AAA 140px;

.content{
   height: calc(100% - AAA); 
}


Am I wrong with something?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: SDM/UIBinder phantom compile error won't go away, can't build app

2014-05-01 Thread Thomas Broyer
Could be the unit-cache. Defaults to a ".gwt-unitCache" directory sibling 
to your "war" directory.

On Wednesday, April 30, 2014 11:27:34 PM UTC+2, Michael Brown wrote:
>
> Color me stoopid but...
>
> I've got a phantom compile error that shows up building with SDM (and 
> prevents me from launching SDM) but not otherwise. No complaints from 
> Eclipse 4.3. Cleaning Eclipse project and relaunching Eclipse doesn't help, 
> nor does restarting Firefox ESR 24.4 or even rebooting my Centor 5.1 dev 
> box. I'm attempting to develop/build an MVP app GWT 2.6 and UIBinder..
>
> I'm getting a complaint out of UIBinder trying to build one of my views. 
> View used to extend DockLayoutPanel (constructor requires Style.Unit arg) 
> but now extends SimpleLayoutPanel (I'm now putting the DockLayoutPanel 
> within the SimpleLayoutPanel). UIBinder complains about my view not having 
> a constructor with the Style.Unit arg. It's right that there is no such 
> constructor, but wrong to think it needs one. I've thoroughly searched all 
> the code and don't see any reason SDM/UIBinder should think I'm still using 
> DockLayoutPanel instead of SimpleLayoutPanel as the root for this view.
>
> I recall reading a post a while back (can't find it now) that indicated 
> sometimes these phantom compile error stick around and won't go away until 
> you delete some (error log?) file. Anyone know what file that would be? Is 
> finding/deleting this file a viable solution or should I do something else 
> instead?
>
> I'd really like to use UIBinder but I've been stumped on this issue for a 
> couple of days now and am about ready to rip out the UIBinder stuff and go 
> back to building the UI by hand. Bummer!
>
>
> Thanks for any clues
>
>
>
> Mike
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


SDM/UIBinder phantom compile error won't go away, can't build app

2014-05-01 Thread Michael Brown
Color me stoopid but...

I've got a phantom compile error that shows up building with SDM (and 
prevents me from launching SDM) but not otherwise. No complaints from 
Eclipse 4.3. Cleaning Eclipse project and relaunching Eclipse doesn't help, 
nor does restarting Firefox ESR 24.4 or even rebooting my Centor 5.1 dev 
box. I'm attempting to develop/build an MVP app GWT 2.6 and UIBinder..

I'm getting a complaint out of UIBinder trying to build one of my views. 
View used to extend DockLayoutPanel (constructor requires Style.Unit arg) 
but now extends SimpleLayoutPanel (I'm now putting the DockLayoutPanel 
within the SimpleLayoutPanel). UIBinder complains about my view not having 
a constructor with the Style.Unit arg. It's right that there is no such 
constructor, but wrong to think it needs one. I've thoroughly searched all 
the code and don't see any reason SDM/UIBinder should think I'm still using 
DockLayoutPanel instead of SimpleLayoutPanel as the root for this view.

I recall reading a post a while back (can't find it now) that indicated 
sometimes these phantom compile error stick around and won't go away until 
you delete some (error log?) file. Anyone know what file that would be? Is 
finding/deleting this file a viable solution or should I do something else 
instead?

I'd really like to use UIBinder but I've been stumped on this issue for a 
couple of days now and am about ready to rip out the UIBinder stuff and go 
back to building the UI by hand. Bummer!


Thanks for any clues



Mike

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Compile Error after switching to 2.6 in first compile run

2014-02-19 Thread Boris Lenzinger
May be the algorithm to compute the compilation order has changed. Can you
get the sequence of compilation in 2.5.1 and 2.6.0 so you can currently
hard code the build sequence (and continue to use 2.6). Then you can post a
bug report.


2014-02-19 9:04 GMT+01:00 Jan Thewes :

> I understand your points BUT one thing. If I compile my modules alone I
> don't get any compile error. So compiling every single module works. It has
> to do something with the order and caches. I just can't nail it down.
> We're running a real real big GWT application here.
> I'm close to go back to 2.5.1 because the compiles fail too often but not
> always...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compile Error after switching to 2.6 in first compile run

2014-02-19 Thread Jan Thewes
I understand your points BUT one thing. If I compile my modules alone I 
don't get any compile error. So compiling every single module works. It has 
to do something with the order and caches. I just can't nail it down.
We're running a real real big GWT application here.
I'm close to go back to 2.5.1 because the compiles fail too often but not 
always...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compile Error after switching to 2.6 in first compile run

2014-02-14 Thread Boris Lenzinger
There is this error in your stack :
   [ERROR] Errors in
'file:/Users/xgadjth/sandboxes/b21_gwt-03.03.00/render/source/de/gad/gfw/web/gui/render/toolbar/ToolBar.java'
  [ERROR] Line 116: The method addStyleName(String) is undefined for
the type AutoHidePreventMenu
  [ERROR] Line 123: The method hide() is undefined for the type
AutoHidePreventMenu
  [ERROR] Line 134: Type mismatch: cannot convert from
AutoHidePreventMenu to Menu

Could you tell usthe hierarchy of the ToolBar class ?

The same for those classes :

   [ERROR] Errors in
'file:/Users/xgadjth/sandboxes/b21_gwt-03.03.00/uigxt/source/de/gad/gfw/web/gui/uigxt/widget/valuta/ValutaDateField.java'
   [ERROR] Errors in
'file:/Users/xgadjth/sandboxes/b21_gwt-03.03.00/webUI/source/de/gad/gfw/web/gui/webui/gxt/widget/wrapper/misc/WMenu.java'

I see in your packages name that you have gxt. Is there any chance that the
version of GXT you are using at compile time is not the same that you are
using in your IDE ? My assumption is that you could use in your IDE a
version of GXT that has an API that is consistent with your code but at
compile time, you are using another (probably older) version of GXT.




2014-02-14 12:33 GMT+01:00 Jan Thewes :

> Well, the order has to do something with the failing compile. But this is
> new with GWT 2.6. Before our compilation always worked. And we don't have
> changed our code since the change to 2.6.
> Still need ideas what this can be. In my opinion this is a GWT internal
> bug.
>
> Am Dienstag, 11. Februar 2014 18:20:38 UTC+1 schrieb BGL:
>>
>> I would say that the order of compilation is not the one you expect. The
>> error
>> Line 23: No source code is available for type
>> de.gad.gfw.web.navigator.menu.model.MenuElement; did you forget to
>> inherit a required module?
>>   Errors in 'file:/Users/xgadjth/sandboxes/b21_gwt-03.03.00/
>> render/source/de/gad/gfw/web/gui/render/dialog/print/PrintMenu.java'
>>  Line 8: The hierarchy of the type PrintMenu is inconsistent
>>
>> says that you do not have the class file in your compilation classpath.
>> Then, for any reason, the jar or the class file (with its source) is found
>> in the classpath and the compilation is working.Difficult to say without
>> the build process.
>> Compare the order when you compile module per module and full automated.
>> There must be a difference. Or do you deploy resources when you "compile"
>> one by one ? This would publish some jar somewhere that are theun used by
>> the first project...
>>
>>
>>
>>
>>
>> 2014-02-11 17:09 GMT+01:00 Jan Thewes :
>>
>>> Ok any further information.
>>> We're trying to compile 5 modules at a time. That fails
>>> When compiling all the 5 modules alone. It works!
>>> We also have a "merge"-module. These combines 4 of our 5 modules. This
>>> merge module compiles without any error, too!
>>> So this is a real strange behavior...
>>>
>>> Am Dienstag, 11. Februar 2014 09:25:05 UTC+1 schrieb Jan Thewes:
>>>
 Hey guys,

 we have a very strange problem here.
 We've a real large application written in GWT using GXT.
 We wanted to switch to 2.6 because we need IE10 support.
 For that reason we patched the GXT 2.3.1 source so that it works with
 GWT 2.6.

 We now have the problem that the first compile fails. After the compile
 failed I start the compile again and it ends successful.
 I don't really know what the problem is. I added the compile log.
 There you can see that the compile fails with an error related
 to AutoHidePreventMenu (line 966)
 I added a detail log where you can see the error in more detail
 (compiled with output "Debug").


 Any help is appreciated.

 If I can provide any further information feel free to ask!

 Cheers,
 Jan

>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" 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-we...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegr

Re: Compile Error after switching to 2.6 in first compile run

2014-02-14 Thread Jan Thewes
Well, the order has to do something with the failing compile. But this is 
new with GWT 2.6. Before our compilation always worked. And we don't have 
changed our code since the change to 2.6. 
Still need ideas what this can be. In my opinion this is a GWT internal bug.

Am Dienstag, 11. Februar 2014 18:20:38 UTC+1 schrieb BGL:
>
> I would say that the order of compilation is not the one you expect. The 
> error
> Line 23: No source code is available for type 
> de.gad.gfw.web.navigator.menu.model.MenuElement; did you forget to inherit 
> a required module?
>   Errors in 
> 'file:/Users/xgadjth/sandboxes/b21_gwt-03.03.00/render/source/de/gad/gfw/web/gui/render/dialog/print/PrintMenu.java'
>  Line 8: The hierarchy of the type PrintMenu is inconsistent
>
> says that you do not have the class file in your compilation classpath. 
> Then, for any reason, the jar or the class file (with its source) is found 
> in the classpath and the compilation is working.Difficult to say without 
> the build process.
> Compare the order when you compile module per module and full automated. 
> There must be a difference. Or do you deploy resources when you "compile" 
> one by one ? This would publish some jar somewhere that are theun used by 
> the first project...
>
>
>
>
>
> 2014-02-11 17:09 GMT+01:00 Jan Thewes >:
>
>> Ok any further information.
>> We're trying to compile 5 modules at a time. That fails
>> When compiling all the 5 modules alone. It works!
>> We also have a "merge"-module. These combines 4 of our 5 modules. This 
>> merge module compiles without any error, too!
>> So this is a real strange behavior...
>>
>> Am Dienstag, 11. Februar 2014 09:25:05 UTC+1 schrieb Jan Thewes:
>>
>>> Hey guys,
>>>
>>> we have a very strange problem here.
>>> We've a real large application written in GWT using GXT.
>>> We wanted to switch to 2.6 because we need IE10 support.
>>> For that reason we patched the GXT 2.3.1 source so that it works with 
>>> GWT 2.6.
>>>
>>> We now have the problem that the first compile fails. After the compile 
>>> failed I start the compile again and it ends successful.
>>> I don't really know what the problem is. I added the compile log.
>>> There you can see that the compile fails with an error related 
>>> to AutoHidePreventMenu (line 966)
>>> I added a detail log where you can see the error in more detail 
>>> (compiled with output "Debug").
>>>
>>>
>>> Any help is appreciated.
>>>
>>> If I can provide any further information feel free to ask!
>>>
>>> Cheers,
>>> Jan
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" 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-we...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compile Error after switching to 2.6 in first compile run

2014-02-11 Thread Boris Lenzinger
I would say that the order of compilation is not the one you expect. The
error
Line 23: No source code is available for type
de.gad.gfw.web.navigator.menu.model.MenuElement; did you forget to inherit
a required module?
  Errors in
'file:/Users/xgadjth/sandboxes/b21_gwt-03.03.00/render/source/de/gad/gfw/web/gui/render/dialog/print/PrintMenu.java'
 Line 8: The hierarchy of the type PrintMenu is inconsistent

says that you do not have the class file in your compilation classpath.
Then, for any reason, the jar or the class file (with its source) is found
in the classpath and the compilation is working.Difficult to say without
the build process.
Compare the order when you compile module per module and full automated.
There must be a difference. Or do you deploy resources when you "compile"
one by one ? This would publish some jar somewhere that are theun used by
the first project...





2014-02-11 17:09 GMT+01:00 Jan Thewes :

> Ok any further information.
> We're trying to compile 5 modules at a time. That fails
> When compiling all the 5 modules alone. It works!
> We also have a "merge"-module. These combines 4 of our 5 modules. This
> merge module compiles without any error, too!
> So this is a real strange behavior...
>
> Am Dienstag, 11. Februar 2014 09:25:05 UTC+1 schrieb Jan Thewes:
>
>> Hey guys,
>>
>> we have a very strange problem here.
>> We've a real large application written in GWT using GXT.
>> We wanted to switch to 2.6 because we need IE10 support.
>> For that reason we patched the GXT 2.3.1 source so that it works with GWT
>> 2.6.
>>
>> We now have the problem that the first compile fails. After the compile
>> failed I start the compile again and it ends successful.
>> I don't really know what the problem is. I added the compile log.
>> There you can see that the compile fails with an error related
>> to AutoHidePreventMenu (line 966)
>> I added a detail log where you can see the error in more detail (compiled
>> with output "Debug").
>>
>>
>> Any help is appreciated.
>>
>> If I can provide any further information feel free to ask!
>>
>> Cheers,
>> Jan
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compile Error after switching to 2.6 in first compile run

2014-02-11 Thread Jan Thewes
Ok any further information.
We're trying to compile 5 modules at a time. That fails
When compiling all the 5 modules alone. It works!
We also have a "merge"-module. These combines 4 of our 5 modules. This 
merge module compiles without any error, too!
So this is a real strange behavior...

Am Dienstag, 11. Februar 2014 09:25:05 UTC+1 schrieb Jan Thewes:
>
> Hey guys,
>
> we have a very strange problem here.
> We've a real large application written in GWT using GXT.
> We wanted to switch to 2.6 because we need IE10 support.
> For that reason we patched the GXT 2.3.1 source so that it works with GWT 
> 2.6.
>
> We now have the problem that the first compile fails. After the compile 
> failed I start the compile again and it ends successful.
> I don't really know what the problem is. I added the compile log.
> There you can see that the compile fails with an error related 
> to AutoHidePreventMenu (line 966)
> I added a detail log where you can see the error in more detail (compiled 
> with output "Debug").
>
>
> Any help is appreciated.
>
> If I can provide any further information feel free to ask!
>
> Cheers,
> Jan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT Maven Install compile error java.lang.NullPointerException at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:187)

2014-01-20 Thread Mihkel Lukats
Jens right. I'll just post the full configuration:



org.codehaus.mojo
gwt-maven-plugin
${gwtVersion}




compile




true
etsyheroku.html
${webappDirectory}



On Tuesday, December 3, 2013 10:05:08 PM UTC+2, umesh shaw wrote:
>
> I am having this error. tried all the option to delete gwt cache, temp 
> folder, etc from online. but still no luck
>
> Please help..
>
> [ERROR] Exception in thread "pool-1-thread-323" 
> *java.lang.NullPointerException*
>
> [ERROR]   at com.google.gwt.dev.util.DiskCache.transferToStream(
> *DiskCache.java:187*)
>
> [ERROR]   at com.google.gwt.dev.util.DiskCacheToken.writeObject(
> *DiskCacheToken.java:91*)
>
> [ERROR]   at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
> Source)
>
> [ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> *DelegatingMethodAccessorImpl.java:25*)
>
> [ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)
>
> [ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
> *ObjectStreamClass.java:940*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeSerialData(
> *ObjectOutputStream.java:1469*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
> *ObjectOutputStream.java:1400*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject0(
> *ObjectOutputStream.java:1158*)
>
> [ERROR]   at java.io.ObjectOutputStream.defaultWriteFields(
> *ObjectOutputStream.java:1518*)
>
> [ERROR]   at java.io.ObjectOutputStream.defaultWriteObject(
> *ObjectOutputStream.java:422*)
>
> [ERROR]   at 
> com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(
> *CachedCompilationUnit.java:222*)
>
> [ERROR]   at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
> Source)
>
> [ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> *DelegatingMethodAccessorImpl.java:25*)
>
> [ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)
>
> [ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
> *ObjectStreamClass.java:940*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeSerialData(
> *ObjectOutputStream.java:1469*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
> *ObjectOutputStream.java:1400*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject0(
> *ObjectOutputStream.java:1158*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject(
> *ObjectOutputStream.java:330*)
>
> [ERROR]   at com.google.gwt.dev.javac.PersistentUnitCache$6.run(
> *PersistentUnitCache.java:446*)
>
> [ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> *ThreadPoolExecutor.java:895*)
>
> [ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> *ThreadPoolExecutor.java:918*)
>
> [ERROR]   at java.lang.Thread.run(*Thread.java:662*)
>
> [ERROR] Exception in thread "pool-1-thread-322" 
> *java.lang.NullPointerException*
>
> [ERROR]   at com.google.gwt.dev.util.DiskCache.transferToStream(
> *DiskCache.java:187*)
>
> [ERROR]   at com.google.gwt.dev.util.DiskCacheToken.writeObject(
> *DiskCacheToken.java:91*)
>
> [ERROR]   at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
> Source)
>
> [ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> *DelegatingMethodAccessorImpl.java:25*)
>
> [ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)
>
> [ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
> *ObjectStreamClass.java:940*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeSerialData(
> *ObjectOutputStream.java:1469*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
> *ObjectOutputStream.java:1400*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject0(
> *ObjectOutputStream.java:1158*)
>
> [ERROR]   at java.io.ObjectOutputStream.defaultWriteFields(
> *ObjectOutputStream.java:1518*)
>
> [ERROR]   at java.io.ObjectOutputStream.defaultWriteObject(
> *ObjectOutputStream.java:422*)
>
> [ERROR]   at 
> com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(
> *CachedCompilationUnit.java:222*)
>
> [ERROR]   at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
> Source)
>
> [ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> *DelegatingMethodAccessorImpl.java:25*)
>
> [ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)
>
> [ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
> *ObjectStreamClass.java:940*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeSerialData(
> *ObjectOutputStream.java:1469*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
> *ObjectOutputStream.java:1400*)
>
> [ERROR]   at java.io.Obj

Re: GWT Maven Install compile error java.lang.NullPointerException at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:187)

2014-01-07 Thread Jens
Try true in your 
gwt-maven-plugin configuration.

Maybe you have libraries in your project that interference with embedded 
libraries in gwt-dev.jar. 

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT Maven Install compile error java.lang.NullPointerException at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:187)

2014-01-07 Thread luis . sepulveda
I am having the same problem. Did you get to solve it?


On Tuesday, December 3, 2013 9:05:08 PM UTC+1, umesh shaw wrote:
>
> I am having this error. tried all the option to delete gwt cache, temp 
> folder, etc from online. but still no luck
>
> Please help..
>
> [ERROR] Exception in thread "pool-1-thread-323" 
> *java.lang.NullPointerException*
>
> [ERROR]   at com.google.gwt.dev.util.DiskCache.transferToStream(
> *DiskCache.java:187*)
>
> [ERROR]   at com.google.gwt.dev.util.DiskCacheToken.writeObject(
> *DiskCacheToken.java:91*)
>
> [ERROR]   at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
> Source)
>
> [ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> *DelegatingMethodAccessorImpl.java:25*)
>
> [ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)
>
> [ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
> *ObjectStreamClass.java:940*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeSerialData(
> *ObjectOutputStream.java:1469*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
> *ObjectOutputStream.java:1400*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject0(
> *ObjectOutputStream.java:1158*)
>
> [ERROR]   at java.io.ObjectOutputStream.defaultWriteFields(
> *ObjectOutputStream.java:1518*)
>
> [ERROR]   at java.io.ObjectOutputStream.defaultWriteObject(
> *ObjectOutputStream.java:422*)
>
> [ERROR]   at 
> com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(
> *CachedCompilationUnit.java:222*)
>
> [ERROR]   at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
> Source)
>
> [ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> *DelegatingMethodAccessorImpl.java:25*)
>
> [ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)
>
> [ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
> *ObjectStreamClass.java:940*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeSerialData(
> *ObjectOutputStream.java:1469*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
> *ObjectOutputStream.java:1400*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject0(
> *ObjectOutputStream.java:1158*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject(
> *ObjectOutputStream.java:330*)
>
> [ERROR]   at com.google.gwt.dev.javac.PersistentUnitCache$6.run(
> *PersistentUnitCache.java:446*)
>
> [ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> *ThreadPoolExecutor.java:895*)
>
> [ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> *ThreadPoolExecutor.java:918*)
>
> [ERROR]   at java.lang.Thread.run(*Thread.java:662*)
>
> [ERROR] Exception in thread "pool-1-thread-322" 
> *java.lang.NullPointerException*
>
> [ERROR]   at com.google.gwt.dev.util.DiskCache.transferToStream(
> *DiskCache.java:187*)
>
> [ERROR]   at com.google.gwt.dev.util.DiskCacheToken.writeObject(
> *DiskCacheToken.java:91*)
>
> [ERROR]   at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
> Source)
>
> [ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> *DelegatingMethodAccessorImpl.java:25*)
>
> [ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)
>
> [ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
> *ObjectStreamClass.java:940*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeSerialData(
> *ObjectOutputStream.java:1469*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
> *ObjectOutputStream.java:1400*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject0(
> *ObjectOutputStream.java:1158*)
>
> [ERROR]   at java.io.ObjectOutputStream.defaultWriteFields(
> *ObjectOutputStream.java:1518*)
>
> [ERROR]   at java.io.ObjectOutputStream.defaultWriteObject(
> *ObjectOutputStream.java:422*)
>
> [ERROR]   at 
> com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(
> *CachedCompilationUnit.java:222*)
>
> [ERROR]   at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
> Source)
>
> [ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> *DelegatingMethodAccessorImpl.java:25*)
>
> [ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)
>
> [ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
> *ObjectStreamClass.java:940*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeSerialData(
> *ObjectOutputStream.java:1469*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
> *ObjectOutputStream.java:1400*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject0(
> *ObjectOutputStream.java:1158*)
>
> [ERROR]   at java.io.ObjectOutputStream.writeObject(
> *ObjectOutputStream.java:330*)
>
> [ERROR]   at com.google.gwt.dev.javac.PersistentUnitCache$6.run(
> *PersistentUnitCache.java:446*)
>
> [ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> *ThreadPoolExecutor.java:895*)
>
> [ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.run

GWT Maven Install compile error java.lang.NullPointerException at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:187)

2013-12-04 Thread umesh shaw
I am having this error. tried all the option to delete gwt cache, temp 
folder, etc from online. but still no luck

Please help..

[ERROR] Exception in thread "pool-1-thread-323" 
*java.lang.NullPointerException*

[ERROR]   at com.google.gwt.dev.util.DiskCache.transferToStream(
*DiskCache.java:187*)

[ERROR]   at com.google.gwt.dev.util.DiskCacheToken.writeObject(
*DiskCacheToken.java:91*)

[ERROR]   at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
Source)

[ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)

[ERROR]   at java.io.ObjectOutputStream.writeSerialData(
*ObjectOutputStream.java:1469*)

[ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
*ObjectOutputStream.java:1400*)

[ERROR]   at java.io.ObjectOutputStream.writeObject0(
*ObjectOutputStream.java:1158*)

[ERROR]   at java.io.ObjectOutputStream.defaultWriteFields(
*ObjectOutputStream.java:1518*)

[ERROR]   at java.io.ObjectOutputStream.defaultWriteObject(
*ObjectOutputStream.java:422*)

[ERROR]   at com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(
*CachedCompilationUnit.java:222*)

[ERROR]   at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
Source)

[ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)

[ERROR]   at java.io.ObjectOutputStream.writeSerialData(
*ObjectOutputStream.java:1469*)

[ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
*ObjectOutputStream.java:1400*)

[ERROR]   at java.io.ObjectOutputStream.writeObject0(
*ObjectOutputStream.java:1158*)

[ERROR]   at java.io.ObjectOutputStream.writeObject(
*ObjectOutputStream.java:330*)

[ERROR]   at com.google.gwt.dev.javac.PersistentUnitCache$6.run(
*PersistentUnitCache.java:446*)

[ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
*ThreadPoolExecutor.java:895*)

[ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(
*ThreadPoolExecutor.java:918*)

[ERROR]   at java.lang.Thread.run(*Thread.java:662*)

[ERROR] Exception in thread "pool-1-thread-322" 
*java.lang.NullPointerException*

[ERROR]   at com.google.gwt.dev.util.DiskCache.transferToStream(
*DiskCache.java:187*)

[ERROR]   at com.google.gwt.dev.util.DiskCacheToken.writeObject(
*DiskCacheToken.java:91*)

[ERROR]   at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
Source)

[ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)

[ERROR]   at java.io.ObjectOutputStream.writeSerialData(
*ObjectOutputStream.java:1469*)

[ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
*ObjectOutputStream.java:1400*)

[ERROR]   at java.io.ObjectOutputStream.writeObject0(
*ObjectOutputStream.java:1158*)

[ERROR]   at java.io.ObjectOutputStream.defaultWriteFields(
*ObjectOutputStream.java:1518*)

[ERROR]   at java.io.ObjectOutputStream.defaultWriteObject(
*ObjectOutputStream.java:422*)

[ERROR]   at com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(
*CachedCompilationUnit.java:222*)

[ERROR]   at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
Source)

[ERROR]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]   at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]   at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)

[ERROR]   at java.io.ObjectOutputStream.writeSerialData(
*ObjectOutputStream.java:1469*)

[ERROR]   at java.io.ObjectOutputStream.writeOrdinaryObject(
*ObjectOutputStream.java:1400*)

[ERROR]   at java.io.ObjectOutputStream.writeObject0(
*ObjectOutputStream.java:1158*)

[ERROR]   at java.io.ObjectOutputStream.writeObject(
*ObjectOutputStream.java:330*)

[ERROR]   at com.google.gwt.dev.javac.PersistentUnitCache$6.run(
*PersistentUnitCache.java:446*)

[ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
*ThreadPoolExecutor.java:895*)

[ERROR]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(
*ThreadPoolExecutor.java:918*)

[ERROR]   at java.lang.Thread.run(*Thread.java:662*)

[ERROR] Exception in thread "pool-1-thread-321" 
*java.lang.NullPointerException*

[ERROR]   at com.google.gwt.dev.util.DiskCache.transferToStream(
*DiskCache.java:187*)

[ERROR]   at com.google.gwt.dev.util.DiskCacheToken.writeObject(
*DiskCacheToken.java:91*)

[ERROR]

Re: GWT Compile Error - Did I forget to inherit a required module?

2013-03-01 Thread Manuel
Sorry for the noise.
I had to put my server classes in the server folder instead of shared. That 
fixed my problems.

Regards,
Manuel

Am Samstag, 2. März 2013 00:49:10 UTC+1 schrieb Manuel:
>
> Hi everyone,
>
> I implemented session-per-request from 
> here
> .
> Since then I got +7 Ignored compilation errors.
>
> Does anyone know how to fix that ?
>
> I tried  to add the following in my gwt.xml, but that didnt worked at all: 
> 
> So how does that module stuff work? How do I know how to inherit them?
> Im not familar with this, so any help is much appreciated.
>
> Regards,
> Manuel
>
>
>
> ERROR LOG:
> [ERROR] Errors in 
> 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/EntityManagerModule.java'
>  [ERROR] Line 8: No source code is available for type 
> com.google.inject.servlet.ServletModule; did you forget to inherit a 
> required module?
>  [ERROR] Line 10: No source code is available for type 
> com.google.inject.persist.jpa.JpaPersistModule; did you forget to inherit a 
> required module?
>  [ERROR] Line 12: No source code is available for type 
> com.google.inject.persist.PersistFilter; did you forget to inherit a 
> required module?
>   [ERROR] Errors in 
> 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/.apt_generated/de/mash/project/shared/ExpensesRequestFactoryDeobfuscatorBuilder.java'
>  [ERROR] Line 7: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you 
> forget to inherit a required module?
>  [ERROR] Line 9: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget 
> to inherit a required module?
>  [ERROR] Line 10: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did 
> you forget to inherit a required module?
>   [ERROR] Errors in 
> 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/.apt_generated/de/mash/project/shared/MainRequestFactoryDeobfuscatorBuilder.java'
>  [ERROR] Line 7: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you 
> forget to inherit a required module?
>  [ERROR] Line 9: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget 
> to inherit a required module?
>  [ERROR] Line 10: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did 
> you forget to inherit a required module?
>   [ERROR] Errors in 
> 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyGuiceServletConfig.java'
>  [ERROR] Line 13: No source code is available for type 
> com.google.inject.servlet.GuiceServletContextListener; did you forget to 
> inherit a required module?
>  [ERROR] Line 16: No source code is available for type 
> com.google.inject.Injector; did you forget to inherit a required module?
>  [ERROR] Line 17: No source code is available for type 
> com.google.inject.Guice; did you forget to inherit a required module?
>   [ERROR] Errors in 
> 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyPersistFilter.java'
>  [ERROR] Line 23: No source code is available for type 
> javax.servlet.Filter; did you forget to inherit a required module?
>  [ERROR] Line 24: No source code is available for type 
> com.google.inject.persist.UnitOfWork; did you forget to inherit a required 
> module?
>  [ERROR] Line 25: No source code is available for type 
> com.google.inject.persist.PersistService; did you forget to inherit a 
> required module?
>  [ERROR] Line 33: No source code is available for type 
> javax.servlet.FilterConfig; did you forget to inherit a required module?
>  [ERROR] Line 33: No source code is available for type 
> javax.servlet.ServletException; did you forget to inherit a required module?
>  [ERROR] Line 41: No source code is available for type 
> javax.servlet.ServletRequest; did you forget to inherit a required module?
>  [ERROR] Line 41: No source code is available for type 
> javax.servlet.ServletResponse; did you forget to inherit a required module?
>  [ERROR] Line 42: No source code is available for type 
> javax.servlet.FilterChain; did you forget to inherit a required module?
>   [ERROR] Errors in 
> 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyServletModule.java'
>  [ERROR] Line 9: No source code is available for type 
> com.google.inject.servlet.ServletModule; did you forget to inherit a 
> required module?
>  [ERROR] Line 12: No source code is available for type 
> de.mash.project.server.entities.Worker; did you forget to inh

GWT Compile Error - Did I forget to inherit a required module?

2013-03-01 Thread Manuel
Hi everyone,

I implemented session-per-request from 
here
.
Since then I got +7 Ignored compilation errors.

Does anyone know how to fix that ?

I tried  to add the following in my gwt.xml, but that didnt worked at all: 

So how does that module stuff work? How do I know how to inherit them?
Im not familar with this, so any help is much appreciated.

Regards,
Manuel



ERROR LOG:
[ERROR] Errors in 
'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/EntityManagerModule.java'
 [ERROR] Line 8: No source code is available for type 
com.google.inject.servlet.ServletModule; did you forget to inherit a 
required module?
 [ERROR] Line 10: No source code is available for type 
com.google.inject.persist.jpa.JpaPersistModule; did you forget to inherit a 
required module?
 [ERROR] Line 12: No source code is available for type 
com.google.inject.persist.PersistFilter; did you forget to inherit a 
required module?
  [ERROR] Errors in 
'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/.apt_generated/de/mash/project/shared/ExpensesRequestFactoryDeobfuscatorBuilder.java'
 [ERROR] Line 7: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you 
forget to inherit a required module?
 [ERROR] Line 9: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget 
to inherit a required module?
 [ERROR] Line 10: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did 
you forget to inherit a required module?
  [ERROR] Errors in 
'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/.apt_generated/de/mash/project/shared/MainRequestFactoryDeobfuscatorBuilder.java'
 [ERROR] Line 7: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you 
forget to inherit a required module?
 [ERROR] Line 9: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget 
to inherit a required module?
 [ERROR] Line 10: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did 
you forget to inherit a required module?
  [ERROR] Errors in 
'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyGuiceServletConfig.java'
 [ERROR] Line 13: No source code is available for type 
com.google.inject.servlet.GuiceServletContextListener; did you forget to 
inherit a required module?
 [ERROR] Line 16: No source code is available for type 
com.google.inject.Injector; did you forget to inherit a required module?
 [ERROR] Line 17: No source code is available for type 
com.google.inject.Guice; did you forget to inherit a required module?
  [ERROR] Errors in 
'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyPersistFilter.java'
 [ERROR] Line 23: No source code is available for type 
javax.servlet.Filter; did you forget to inherit a required module?
 [ERROR] Line 24: No source code is available for type 
com.google.inject.persist.UnitOfWork; did you forget to inherit a required 
module?
 [ERROR] Line 25: No source code is available for type 
com.google.inject.persist.PersistService; did you forget to inherit a 
required module?
 [ERROR] Line 33: No source code is available for type 
javax.servlet.FilterConfig; did you forget to inherit a required module?
 [ERROR] Line 33: No source code is available for type 
javax.servlet.ServletException; did you forget to inherit a required module?
 [ERROR] Line 41: No source code is available for type 
javax.servlet.ServletRequest; did you forget to inherit a required module?
 [ERROR] Line 41: No source code is available for type 
javax.servlet.ServletResponse; did you forget to inherit a required module?
 [ERROR] Line 42: No source code is available for type 
javax.servlet.FilterChain; did you forget to inherit a required module?
  [ERROR] Errors in 
'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyServletModule.java'
 [ERROR] Line 9: No source code is available for type 
com.google.inject.servlet.ServletModule; did you forget to inherit a 
required module?
 [ERROR] Line 12: No source code is available for type 
de.mash.project.server.entities.Worker; did you forget to inherit a 
required module?
 [ERROR] Line 13: No source code is available for type 
com.google.inject.persist.jpa.JpaPersistModule; did you forget to inherit a 
required module?
 [ERROR] Line 14: No source code is available for type 
com.google.inject.persist.PersistFilter; did you forget to inherit a 
required module?
  [ERROR] Errors in 
'file

Re: Update of Eclipse Plug In Causes Compile Error

2013-01-11 Thread Artem Grinblat
I think removing the old GWT SDK entries from "Preferences/Google/Web 
Toolkit" helped.

вторник, 23 августа 2011 г., 21:15:06 UTC+4 пользователь Lenny написал:
>
> I just updated the GWT plug in from within Eclipse and am now getting 
> the following compile error when I try to compile my project: 
>
> WARNING: 'com.google.gwt.dev.GWTCompiler' is deprecated and will be 
> removed in a future release. 
> Use 'com.google.gwt.dev.Compiler' instead. 
> (To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM 
> arg.) 
> Unknown argument: -war 
>
> I have never gotten this error before and did not manually change any 
> of my build settings.  I was using GWT 2.3.0 previously.  The versions 
> of the GWT software are: 
>
>   Google Plugin for Eclipse 3.62.3.3.r36v201107211953 
> com.google.gdt.eclipse.suite.e36.feature.feature.group 
>   Google Web Toolkit SDK 2.3.02.3.0.r36v201105191508 
> com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group 
>   GWT Designer Core2.3.2.r36x201107161253 
> com.google.gdt.eclipse.designer.hosted.feature.feature.group 
>   GWT Designer Editor2.3.2.r36x201107161302 
> com.google.gdt.eclipse.designer.editor.feature.feature.group 
>   GWT Designer GPE2.3.2.r36x201107161423 
> com.google.gdt.eclipse.designer.gpe.feature.feature.group 
>   WindowBuilder Core1.1.0.r36x201107161214 
> org.eclipse.wb.core.feature.feature.group 
>   WindowBuilder CSS Support1.1.0.r36x201107161057 
> org.eclipse.wb.css.feature.feature.group 
>   WindowBuilder XML Core1.1.0.r36x201107161221 
> org.eclipse.wb.core.xml.feature.feature.group 
>
> Please let me know what is wrong with my configuration. 
>
> Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/6-Gw9KplWDcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XmlAdapter compile error

2012-06-22 Thread Shawn Johnson
Andrea - thank you so much.  I finally get it.

Just to recap.  I was using adapter classes, and at one point during a
recent project re-org, I think I inadvertently moved them from server to
shared package.  I moved only the adapter classes back into the server
package.  Viola! - GWT-Compile is happy once again.


On Thu, Jun 21, 2012 at 3:28 PM, Andrea Boscolo  wrote:

> If your classes are simply annotated with JAXB annotations, you should
> follow http://code.google.com/p/**google-web-toolkit/issues/**detail?id=4020
> (comment 10) for the workaround, and keep them in the 'shared' package, so
> they can communicate and used with both sides (and you don't violate DRY).
> But If you have adapters (i.e., classes that extend XmlAdapter) that
> are in the client/shared side, you should move them in the server, 'cause
> they cannot be compiled and are useful only when taking
> marshalling/unmarshalling in account.
> I don't think your solution work. You are only excluding files from
> compilation, but what if they are useful? Move adapters to the server. Keep
> annotated classes in the 'shared' and follow the above link.
>
> On Thursday, June 21, 2012 1:38:40 PM UTC+2, shawnjohnson wrote:
>>
>> Sorry, I didn't mean to post that reply quite that way (hit some new
>> keyboard combo)...
>>
>> My.gwt.xml
>> (before)
>> 
>>   
>> 
>>
>> (after)
>> 
>>   
>> 
>> 
>> 
>>   
>> 
>>
>>
>> On Jun 21, 7:35 am, shawnjohnson  wrote:
>> > Thank for the reply.  I'm only marshalling/unmarshalling on the
>> server-side
>> > - so does that mean I should move those classes into a "server"
>> package?
>> >  That's even if the annotation is in the shared bean?  Yes, still using
>> > GWT-RPC. Is the workaround as simple as this?
>> >
>> > My.gwt.xml (before)
>> > 
>> >   > path="common">
>> > 
>> > 
>> > 
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Wednesday, June 20, 2012 6:16:03 PM UTC-4, Andrea Boscolo wrote:
>> >
>> > > Such annotations are not GWT compatible (i.e., they are not known to
>> the
>> > > GWT emulated JRE and definitely cannot be compiled in js, even
>> providing
>> > > the relative sources - that I think they can be found in
>> jaxb-api-src.jar
>> > > inside the jaxb distribution).
>> > > To allow jaxb annotations (and annotations only) to be used in
>> > > client/shared side, you have to tell the gwt compiler to compile
>> those
>> > > classes ignoring such annotations while still allow the server side
>> to use
>> > > them.
>> > > Seehttp://code.google.com/p/**google-web-toolkit/issues/**
>> detail?id=4020#c8fortheworkaround.
>> >
>> > > If you are using an XmlAdapter (the class) in client code, move it to
>> > > server side (i.e., keep your marshalling/unmmarshalling logic in the
>> > > server).
>> >
>> > > I assumed you are using GWT-RPC of course. With RequestFactory you
>> should
>> > > have no problem at all.
>> >
>> > > On Wednesday, June 20, 2012 11:33:54 PM UTC+2, shawnjohnson wrote:
>> >
>> > >> I am having this issue as well.  The annotations are in models in
>> our
>> > >> 'shared' package - shared between client and server.  Anyone know
>> what I
>> > >> should change to resolve this?
>> >
>> > >> On Thursday, December 30, 2010 1:38:27 PM UTC-5, Andrea Boscolo
>> wrote:
>> >
>> > >>> I suppose you are trying to use that annotation on a client side
>> > >>> class; javax is not emulated by gwt compiler, so you couldn't use
>> it
>> > >>> client side.
>> >
>> > >>> Why not moving the adapter to the server side? Does your client
>> really
>> > >>> need it?
>> > >>> Annotated jaxb classes can be used by the client (with a couple of
>> > >>> tweaks and not for all annotations), but marshalling/unmarshalling
>> to/
>> > >>> from xml, still need to be handled server side. In this point of
>> view,
>> > >>> the adapter can be known only to your server.
>> >
>> > >>> I can tell you the tweak, but first try to move it server side.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/R7LbxAI9W_sJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XmlAdapter compile error

2012-06-21 Thread Andrea Boscolo
If your classes are simply annotated with JAXB annotations, you should 
follow http://code.google.com/p/google-web-toolkit/issues/detail?id=4020 
(comment 10) for the workaround, and keep them in the 'shared' package, so 
they can communicate and used with both sides (and you don't violate DRY).
But If you have adapters (i.e., classes that extend XmlAdapter) that 
are in the client/shared side, you should move them in the server, 'cause 
they cannot be compiled and are useful only when taking 
marshalling/unmarshalling in account.
I don't think your solution work. You are only excluding files from 
compilation, but what if they are useful? Move adapters to the server. Keep 
annotated classes in the 'shared' and follow the above link.

On Thursday, June 21, 2012 1:38:40 PM UTC+2, shawnjohnson wrote:
>
> Sorry, I didn't mean to post that reply quite that way (hit some new 
> keyboard combo)... 
>
> My.gwt.xml 
> (before) 
>  
>
>  
>
> (after) 
>  
>
>  
>  
>  
>
>  
>
>
> On Jun 21, 7:35 am, shawnjohnson  wrote: 
> > Thank for the reply.  I'm only marshalling/unmarshalling on the 
> server-side 
> > - so does that mean I should move those classes into a "server" package? 
> >  That's even if the annotation is in the shared bean?  Yes, still using 
> > GWT-RPC. Is the workaround as simple as this? 
> > 
> > My.gwt.xml (before) 
> >  
> >
> >  
> >  
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Wednesday, June 20, 2012 6:16:03 PM UTC-4, Andrea Boscolo wrote: 
> > 
> > > Such annotations are not GWT compatible (i.e., they are not known to 
> the 
> > > GWT emulated JRE and definitely cannot be compiled in js, even 
> providing 
> > > the relative sources - that I think they can be found in 
> jaxb-api-src.jar 
> > > inside the jaxb distribution). 
> > > To allow jaxb annotations (and annotations only) to be used in 
> > > client/shared side, you have to tell the gwt compiler to compile those 
> > > classes ignoring such annotations while still allow the server side to 
> use 
> > > them. 
> > > Seehttp://
> code.google.com/p/google-web-toolkit/issues/detail?id=4020#c8fortheworkaround.
>  
> > 
> > > If you are using an XmlAdapter (the class) in client code, move it to 
> > > server side (i.e., keep your marshalling/unmmarshalling logic in the 
> > > server). 
> > 
> > > I assumed you are using GWT-RPC of course. With RequestFactory you 
> should 
> > > have no problem at all. 
> > 
> > > On Wednesday, June 20, 2012 11:33:54 PM UTC+2, shawnjohnson wrote: 
> > 
> > >> I am having this issue as well.  The annotations are in models in our 
> > >> 'shared' package - shared between client and server.  Anyone know 
> what I 
> > >> should change to resolve this? 
> > 
> > >> On Thursday, December 30, 2010 1:38:27 PM UTC-5, Andrea Boscolo 
> wrote: 
> > 
> > >>> I suppose you are trying to use that annotation on a client side 
> > >>> class; javax is not emulated by gwt compiler, so you couldn't use it 
> > >>> client side. 
> > 
> > >>> Why not moving the adapter to the server side? Does your client 
> really 
> > >>> need it? 
> > >>> Annotated jaxb classes can be used by the client (with a couple of 
> > >>> tweaks and not for all annotations), but marshalling/unmarshalling 
> to/ 
> > >>> from xml, still need to be handled server side. In this point of 
> view, 
> > >>> the adapter can be known only to your server. 
> > 
> > >>> I can tell you the tweak, but first try to move it server side.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/R7LbxAI9W_sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XmlAdapter compile error

2012-06-21 Thread shawnjohnson
Sorry, I didn't mean to post that reply quite that way (hit some new
keyboard combo)...

My.gwt.xml
(before)

  


(after)

  



  



On Jun 21, 7:35 am, shawnjohnson  wrote:
> Thank for the reply.  I'm only marshalling/unmarshalling on the server-side
> - so does that mean I should move those classes into a "server" package?
>  That's even if the annotation is in the shared bean?  Yes, still using
> GWT-RPC. Is the workaround as simple as this?
>
> My.gwt.xml (before)
> 
>           
> 
> 
> 
>
>
>
>
>
>
>
> On Wednesday, June 20, 2012 6:16:03 PM UTC-4, Andrea Boscolo wrote:
>
> > Such annotations are not GWT compatible (i.e., they are not known to the
> > GWT emulated JRE and definitely cannot be compiled in js, even providing
> > the relative sources - that I think they can be found in jaxb-api-src.jar
> > inside the jaxb distribution).
> > To allow jaxb annotations (and annotations only) to be used in
> > client/shared side, you have to tell the gwt compiler to compile those
> > classes ignoring such annotations while still allow the server side to use
> > them.
> > Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4020#c8forthe
> >  workaround.
>
> > If you are using an XmlAdapter (the class) in client code, move it to
> > server side (i.e., keep your marshalling/unmmarshalling logic in the
> > server).
>
> > I assumed you are using GWT-RPC of course. With RequestFactory you should
> > have no problem at all.
>
> > On Wednesday, June 20, 2012 11:33:54 PM UTC+2, shawnjohnson wrote:
>
> >> I am having this issue as well.  The annotations are in models in our
> >> 'shared' package - shared between client and server.  Anyone know what I
> >> should change to resolve this?
>
> >> On Thursday, December 30, 2010 1:38:27 PM UTC-5, Andrea Boscolo wrote:
>
> >>> I suppose you are trying to use that annotation on a client side
> >>> class; javax is not emulated by gwt compiler, so you couldn't use it
> >>> client side.
>
> >>> Why not moving the adapter to the server side? Does your client really
> >>> need it?
> >>> Annotated jaxb classes can be used by the client (with a couple of
> >>> tweaks and not for all annotations), but marshalling/unmarshalling to/
> >>> from xml, still need to be handled server side. In this point of view,
> >>> the adapter can be known only to your server.
>
> >>> I can tell you the tweak, but first try to move it server side.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XmlAdapter compile error

2012-06-21 Thread shawnjohnson
Thank for the reply.  I'm only marshalling/unmarshalling on the server-side 
- so does that mean I should move those classes into a "server" package? 
 That's even if the annotation is in the shared bean?  Yes, still using 
GWT-RPC. Is the workaround as simple as this?

My.gwt.xml (before)

  




On Wednesday, June 20, 2012 6:16:03 PM UTC-4, Andrea Boscolo wrote:
>
> Such annotations are not GWT compatible (i.e., they are not known to the 
> GWT emulated JRE and definitely cannot be compiled in js, even providing 
> the relative sources - that I think they can be found in jaxb-api-src.jar 
> inside the jaxb distribution).
> To allow jaxb annotations (and annotations only) to be used in 
> client/shared side, you have to tell the gwt compiler to compile those 
> classes ignoring such annotations while still allow the server side to use 
> them.
> See http://code.google.com/p/google-web-toolkit/issues/detail?id=4020#c8for 
> the workaround.
>
> If you are using an XmlAdapter (the class) in client code, move it to 
> server side (i.e., keep your marshalling/unmmarshalling logic in the 
> server).
>
> I assumed you are using GWT-RPC of course. With RequestFactory you should 
> have no problem at all.
>
> On Wednesday, June 20, 2012 11:33:54 PM UTC+2, shawnjohnson wrote:
>>
>> I am having this issue as well.  The annotations are in models in our 
>> 'shared' package - shared between client and server.  Anyone know what I 
>> should change to resolve this?
>>
>> On Thursday, December 30, 2010 1:38:27 PM UTC-5, Andrea Boscolo wrote:
>>>
>>> I suppose you are trying to use that annotation on a client side 
>>> class; javax is not emulated by gwt compiler, so you couldn't use it 
>>> client side. 
>>>
>>> Why not moving the adapter to the server side? Does your client really 
>>> need it? 
>>> Annotated jaxb classes can be used by the client (with a couple of 
>>> tweaks and not for all annotations), but marshalling/unmarshalling to/ 
>>> from xml, still need to be handled server side. In this point of view, 
>>> the adapter can be known only to your server. 
>>>
>>> I can tell you the tweak, but first try to move it server side. 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/eC1QWJAsKmAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XmlAdapter compile error

2012-06-20 Thread Andrea Boscolo
Such annotations are not GWT compatible (i.e., they are not known to the 
GWT emulated JRE and definitely cannot be compiled in js, even providing 
the relative sources - that I think they can be found in jaxb-api-src.jar 
inside the jaxb distribution).
To allow jaxb annotations (and annotations only) to be used in 
client/shared side, you have to tell the gwt compiler to compile those 
classes ignoring such annotations while still allow the server side to use 
them.
See http://code.google.com/p/google-web-toolkit/issues/detail?id=4020#c8 
for the workaround.

If you are using an XmlAdapter (the class) in client code, move it to 
server side (i.e., keep your marshalling/unmmarshalling logic in the 
server).

I assumed you are using GWT-RPC of course. With RequestFactory you should 
have no problem at all.

On Wednesday, June 20, 2012 11:33:54 PM UTC+2, shawnjohnson wrote:
>
> I am having this issue as well.  The annotations are in models in our 
> 'shared' package - shared between client and server.  Anyone know what I 
> should change to resolve this?
>
> On Thursday, December 30, 2010 1:38:27 PM UTC-5, Andrea Boscolo wrote:
>>
>> I suppose you are trying to use that annotation on a client side 
>> class; javax is not emulated by gwt compiler, so you couldn't use it 
>> client side. 
>>
>> Why not moving the adapter to the server side? Does your client really 
>> need it? 
>> Annotated jaxb classes can be used by the client (with a couple of 
>> tweaks and not for all annotations), but marshalling/unmarshalling to/ 
>> from xml, still need to be handled server side. In this point of view, 
>> the adapter can be known only to your server. 
>>
>> I can tell you the tweak, but first try to move it server side. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/6GpT7o35rQ8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XmlAdapter compile error

2012-06-20 Thread shawnjohnson
I am having this issue as well.  The annotations are in models in our 
'shared' package - shared between client and server.  Anyone know what I 
should change to resolve this?

On Thursday, December 30, 2010 1:38:27 PM UTC-5, Andrea Boscolo wrote:
>
> I suppose you are trying to use that annotation on a client side 
> class; javax is not emulated by gwt compiler, so you couldn't use it 
> client side. 
>
> Why not moving the adapter to the server side? Does your client really 
> need it? 
> Annotated jaxb classes can be used by the client (with a couple of 
> tweaks and not for all annotations), but marshalling/unmarshalling to/ 
> from xml, still need to be handled server side. In this point of view, 
> the adapter can be known only to your server. 
>
> I can tell you the tweak, but first try to move it server side. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/lcUrcWv0aLIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compile Error - RequestFactory not found in project sources or resources

2012-04-04 Thread otth2oskier
Thanks. That did the trick.

On Apr 4, 12:29 pm, Thomas Broyer  wrote:
> On Wednesday, April 4, 2012 5:49:40 PM UTC+2, otth2oskier wrote:
>
> > I get the following message when I do a Maven compile of my project. I
> > suspect it is looking for a gwt.xml file for RequestFactory somewhere
> > but i snot finding it. I am not sure what dependencies I am missing.
>
> > Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:
> > 2.4.0:compile (default) on project GWTPrototype: GWT Module
> > com.google.web.bindery.requestfactory.RequestFactory not found in
> > project sources or resources.
>
> > my Project gwt.xml
>
> > 
> >  > EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.4.0/distro-
> > source/core/src/gwt-module.dtd">
>
> > 
> >         
> >          > name='com.google.web.bindery.requestfactory.RequestFactory' />
> >         
> >         
>
> >         
> >         
> > 
>
> > Here are my maven dependencies:
>
> >         
> >                 
> >                         org.hibernate.javax.persistence
> >                         hibernate-jpa-2.0-api
> >                         1.0.1.Final
> >                 
> >                 
> >                         com.google.gwt
> >                         gwt-servlet
> >                         2.4.0
> >                 
> >                 
> >                         org.hibernate
> >                         hibernate-validator
> >                         4.3.0.Alpha1
> >                 
> >                 
> >                         com.google.web.bindery
> >                         requestfactory-server
> >                         2.4.0
> >                 
>
> gwt-servlet contains the classes from requestfactory-server, so you don't
> need that one (or gwt-servlet, depends if you use something else than
> RequestFactory on the server-side or not).
>
> >                 
> >                         com.google.web.bindery
> >                         requestfactory-server
> >                         2.4.0
> >                         sources
> >                 
>
> You don't need it (particularly if you keep the default !)
>
> >         
>
> Where's gwt-user?
> Add it with provided so as to not deploy it into your WAR.
>
> > Maven plugin configuration:
>
> >                         
> >                                 org.codehaus.mojo
> >                                 gwt-maven-plugin
> >                                 2.4.0
>
> Latest version is 2.4.0-1.
>
>
>
>
>
>
>
>
>
> >                                 
> >                                         
> >                                                 
> >                                                         compile
>
> >                                                         test
> >                                                 
> >                                         
> >                                 
> >                                 
> >                                         index.html
> >                                         
> > com.avaya.gwtproto.GWTPrototype
>
> >                                         
> >                                                 
> > com.google.web.bindery.requestfactory
> > compileSourcesArtifact>
> >                                         
>
> Remove the compileSourcesArtifacts (plus: the value you give here is not an
> artifact's identifier; see the very end 
> ofhttp://mojo.codehaus.org/gwt-maven-plugin/user-guide/project.html)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compile Error - RequestFactory not found in project sources or resources

2012-04-04 Thread Thomas Broyer


On Wednesday, April 4, 2012 5:49:40 PM UTC+2, otth2oskier wrote:
>
> I get the following message when I do a Maven compile of my project. I 
> suspect it is looking for a gwt.xml file for RequestFactory somewhere 
> but i snot finding it. I am not sure what dependencies I am missing. 
>
> Failed to execute goal org.codehaus.mojo:gwt-maven-plugin: 
> 2.4.0:compile (default) on project GWTPrototype: GWT Module 
> com.google.web.bindery.requestfactory.RequestFactory not found in 
> project sources or resources. 
>
> my Project gwt.xml 
>
>  
>  EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.4.0/distro- 
> source/core/src/gwt-module.dtd">
>  
>
>  
>  
>  name='com.google.web.bindery.requestfactory.RequestFactory' /> 
>  
>  
>
>  
>  
>  
>
> Here are my maven dependencies: 
>
>  
>  
> org.hibernate.javax.persistence 
> hibernate-jpa-2.0-api 
> 1.0.1.Final 
>  
>  
> com.google.gwt 
> gwt-servlet 
> 2.4.0 
>  
>  
> org.hibernate 
> hibernate-validator 
> 4.3.0.Alpha1 
>  
>  
> com.google.web.bindery 
> requestfactory-server 
> 2.4.0 
> 
>

gwt-servlet contains the classes from requestfactory-server, so you don't 
need that one (or gwt-servlet, depends if you use something else than 
RequestFactory on the server-side or not).
 

>  
> com.google.web.bindery 
> requestfactory-server 
> 2.4.0 
> sources 
> 
>

You don't need it (particularly if you keep the default !)
 

> 
>

Where's gwt-user?
Add it with provided so as to not deploy it into your WAR.


> Maven plugin configuration: 
>
>
>  
> org.codehaus.mojo 
> gwt-maven-plugin 
> 2.4.0 
>

Latest version is 2.4.0-1.
 

>  
>  
>  
> compile 
>
> test 
>  
>  
>  
>  
> index.html 
> 
> com.avaya.gwtproto.GWTPrototype 
>
>  
> 
> com.google.web.bindery.requestfactory
> compileSourcesArtifact> 
>  
>

Remove the compileSourcesArtifacts (plus: the value you give here is not an 
artifact's identifier; see the very end of 
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/project.html)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/qqaptuOx5vYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Compile Error - RequestFactory not found in project sources or resources

2012-04-04 Thread otth2oskier
I get the following message when I do a Maven compile of my project. I
suspect it is looking for a gwt.xml file for RequestFactory somewhere
but i snot finding it. I am not sure what dependencies I am missing.

Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:
2.4.0:compile (default) on project GWTPrototype: GWT Module
com.google.web.bindery.requestfactory.RequestFactory not found in
project sources or resources.

my Project gwt.xml


http://google-web-toolkit.googlecode.com/svn/tags/2.4.0/distro-
source/core/src/gwt-module.dtd">










Here are my maven dependencies:



org.hibernate.javax.persistence
hibernate-jpa-2.0-api
1.0.1.Final


com.google.gwt
gwt-servlet
2.4.0


org.hibernate
hibernate-validator
4.3.0.Alpha1


com.google.web.bindery
requestfactory-server
2.4.0


com.google.web.bindery
requestfactory-server
2.4.0
sources



Maven plugin configuration:



org.codehaus.mojo
gwt-maven-plugin
2.4.0



compile
test




index.html

com.avaya.gwtproto.GWTPrototype


com.google.web.bindery.requestfactory




-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



warningThreshold compile error

2012-02-08 Thread Alan Chaney
I have a project that worked fine up until this morning. By accident, I 
removed the GWT SDK from the C/P and now I'm getting:


   [ERROR] Unexpected internal compiler error
java.lang.NoSuchFieldError: warningThreshold
at 
com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:413)
at 
com.google.gwt.dev.jdt.AbstractCompiler.getCompilerOptions(AbstractCompiler.java:561)
at 
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox.(AbstractCompiler.java:474)
at 
com.google.gwt.dev.jdt.AbstractCompiler.(AbstractCompiler.java:574)
at 
com.google.gwt.dev.jdt.BasicWebModeCompiler.(BasicWebModeCompiler.java:56)
at 
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.(WebModeCompilerFrontEnd.java:65)
at 
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:52)
at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:569)
at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)

at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at 
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)

at com.google.gwt.dev.Compiler.main(Compiler.java:177)
Shutting down PersistentUnitCache thread

I've looked on the web and seen comments about moving the build order in 
eclipse, and although I've tried various combinations I can't seem to 
find anything that works.


Any suggestions?

Thanks

Alan



(eclipse helios/latest 2.4.0 SDK/Win 7 x64)

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to get gwt compile error in a gwt generator

2012-01-31 Thread Patrice De Saint Steban
Hello,

I'm created a generator for automatically build the activityMapper. The 
generator scan alls Activities defined in the project and build the 
activityMapper.
I use the JClassType.getSubtypes() for get all subtypes of Activity in the 
application.
My problems is when a developper do a GWT error in his activity (like add 
an incorrect import), the generator didn't know the Activity didn't build 
the activityMapper with the error activity.
Has there are no others references in the project for this activity, the 
error file is ignored by GWT, and the compilation work well (there are just 
a NOTICE logged not displayed if the developpers use WARN has debug level).
When the developper test his application, there nothing displayed, there no 
error.

How can I get all file with error in my generator and stop the compilation, 
if there are an error in an activity file.

I'm trying to do this with java reflection, but I can't have all subtype 
from an super class or interface, I trying to scan all classes in the class 
path, load the class and check if the class is present in the type oracle, 
but when I load a file with static GWT code (like GWT.create) it's not 
loaded in Java.

Thanks for the response,

Patrice de Saint Stéban

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/EyF0-e60tngJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt requestfactory compile error Deobfuscator.Builder; did you forget to inherit a required module

2012-01-29 Thread Thomas Broyer


On Thursday, January 26, 2012 9:48:42 PM UTC+1, Johann wrote:
>
> hi everyone,
>
> i build my first gwt requestfactory app and got first an error in the 
> development output..
>
> 21:43:01.805 [INFO] x] Ignored 1 unit with compilation errors in first 
> pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
> errors.
>
> i did it and the console says:
>
> Validating newly compiled units
>  [ERROR] Errors in 
> 'file:/D:/Active%20Workspace/Indigo/x/.apt_generated/de/xx/shared/xxxRequestFactoryDeobfuscatorBuilder.java'
>  [ERROR] Line 7: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you 
> forget to inherit a required module?
>  [ERROR] Line 9: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget 
> to inherit a required module?
>  [ERROR] Line 10: No source code is available for type 
> com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did 
> you forget to inherit a required module?
>  [ERROR] Aborting compile due to errors in some input files
>
> any idea what im missing?
>

Nothing, you can safely ignore this warning; this class is server-side 
only; so don't compile in -strict mode and ignore the "INFO" message. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/cMFVIpadZFAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT RequestFactory compile error Deobfuscator.Builder

2012-01-28 Thread Johann
I already suspected that I should use maven build tool. 
ok thanks for ur hint. that make sense.  i will test it

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/gBtqD62ToAoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt requestfactory compile error Deobfuscator.Builder; did you forget to inherit a required module

2012-01-28 Thread Johann
thank you for your reply, 

im using gwt 2.4 with eclipse 3.7 Indigo. 
the containing gwt jars are directly copied from the plugin folder 
e.g requestfactory-server.jar

how can i determine what version im using of this libaries? 

greez

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/gqsCJBc0jZ4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT RequestFactory compile error Deobfuscator.Builder

2012-01-27 Thread Thomas Broyer
None. This is server-side code. Whether you'll see the error or not really 
depends on how you compile your project. When your project grows, I'd 
suggest using 2 Eclipse/Maven/whatever projects for client and server code 
(and possibly a third one for shared code), then you'd compile client-side 
and server-side code separately and won't see this message anymore. In the 
mean time, you can safely ignore it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/89e9oU-4rpgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt requestfactory compile error Deobfuscator.Builder; did you forget to inherit a required module

2012-01-27 Thread strcin
Check your java build path entries contain proper version of gwt that
is 2.4.0. This kind of thing happens when you try to run
RequestFactoryValidation with older version of gwt jars.


On 26 sij, 21:48, Johann  wrote:
> hi everyone,
>
> i build my first gwt requestfactory app and got first an error in the
> development output..
>
> 21:43:01.805 [INFO] x] Ignored 1 unit with compilation errors in first
> pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
> errors.
>
> i did it and the console says:
>
> Validating newly compiled units
>          [ERROR] Errors in
> 'file:/D:/Active%20Workspace/Indigo/x/.apt_generated/de/xx/shared/x­xxRequestFactoryDeobfuscatorBuilder.java'
>          [ERROR] Line 7: No source code is available for type
> com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you
> forget to inherit a required module?
>          [ERROR] Line 9: No source code is available for type
> com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget
> to inherit a required module?
>          [ERROR] Line 10: No source code is available for type
> com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did
> you forget to inherit a required module?
>          [ERROR] Aborting compile due to errors in some input files
>
> any idea what im missing?
>
> best regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



gwt requestfactory compile error Deobfuscator.Builder; did you forget to inherit a required module

2012-01-26 Thread Johann
hi everyone,

i build my first gwt requestfactory app and got first an error in the 
development output..

21:43:01.805 [INFO] x] Ignored 1 unit with compilation errors in first 
pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
errors.

i did it and the console says:

Validating newly compiled units
 [ERROR] Errors in 
'file:/D:/Active%20Workspace/Indigo/x/.apt_generated/de/xx/shared/xxxRequestFactoryDeobfuscatorBuilder.java'
 [ERROR] Line 7: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you 
forget to inherit a required module?
 [ERROR] Line 9: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget 
to inherit a required module?
 [ERROR] Line 10: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did 
you forget to inherit a required module?
 [ERROR] Aborting compile due to errors in some input files

any idea what im missing?

best regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/kBKA6ao3-F0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT RequestFactory compile error Deobfuscator.Builder

2012-01-26 Thread Johann
Hi everyone,

i try to build my first project with gwt requestfactory.  

after many other errors e.g annotation and missing jason classes. 

the development output show me an hint 
" [INFO] [x] - Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
errors."

i did it, 

console says:

[ERROR] Line 7: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder; did you 
forget to inherit a required module?
 [ERROR] Line 9: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you forget 
to inherit a required module?
 [ERROR] Line 10: No source code is available for type 
com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder; did 
you forget to inherit a required module?

does anyone know which module is here required? 

best regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/rhdDTyhXGAkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Javac compile error

2011-12-29 Thread misko237
Hi to all gwt developers.

I have one strange problem. Until recently, everything worked fine,
but then, when I'm in development mode, first time I start my browser,
I got java compiler error.

HTTP ERROR: 500

Compile failed; see the compiler error output for details.

RequestURI=/index.jsp
Caused by:

Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:
382)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
511)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
295)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1097)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
66)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:
118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:
113)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1088)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
360)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
49)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
395)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)

Powered by Jetty://

Can anyone help me? Some suggestion?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegro

GWT compile error- AsyncFragmentLoader.onLoad

2011-11-18 Thread Nupur
Hi,
I posted this some where else, but not sure if it was in the right
place. Sorry if this qualifies as cross-posting, but I really need to
solve this problem.

I have created a GWT project in Eclipse. It compiles fine from
Eclipse, but on GWT compile, I get

[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unable to locate
index method: AsyncFragmentLoader.onLoad
at com.google.gwt.dev.jjs.ast.JProgram.getIndexedMethod(JProgram.java:
767)
at
com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer.(ControlFlowAnalyzer.java:
858)
at com.google.gwt.dev.jjs.impl.Pruner.execImpl(Pruner.java:600)
at com.google.gwt.dev.jjs.impl.Pruner.exec(Pruner.java:489)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.optimizeLoop(JavaToJavaScriptCompiler.java:
830)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.optimize(JavaToJavaScriptCompiler.java:
745)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
684)
at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
88)
at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)


I would be so grateful for some help. I have looked at the classpath,
there are no duplicates.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: abstract classes in a different package and compile error

2011-11-16 Thread András Csányi
On 16 November 2011 15:55, Juan Pablo Gardella
 wrote:
> At first try copy sources to another project only to verify if this is the
> error. If compile, you don't have in the compile classpath the sources of
> the libs. You can generate mylib-sources.jar and add to the pom.
> For example a source dependency with maven that I use:
> 
> javax.inject
> javax.inject
> 1
> sources
> provided
> jar
> 
> See provided scope.

Ahhh... for some reason I commented out the module inheriting in the
gwt.xml file. The problem is solved! Juan, thank you for your time! :)

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: abstract classes in a different package and compile error

2011-11-16 Thread András Csányi
On 16 November 2011 15:46, Juan Pablo Gardella
 wrote:
> "  [ERROR] : public abstract class
> com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract"
> Add you source files to your classpath?

I think I did. The dependencies of the DiLibWebClient project there is
the SAGWTLib project (I use NetBeans) and the pom.xml file of SAGWTLib
project contains this:



src/main/java

**/*.java
**/*.gwt.xml




As far as I know this would be enough to use external libs for gwt.
Should I double-check again the whole stuff?

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: abstract classes in a different package and compile error

2011-11-16 Thread Juan Pablo Gardella
At first try copy sources to another project only to verify if this is the
error. If compile, you don't have in the compile classpath the sources of
the libs. You can generate mylib-sources.jar and add to the pom.

For example a source dependency with maven that I use:


javax.inject
javax.inject
1
sources
provided
jar


See provided scope.


2011/11/16 András Csányi 

> On 16 November 2011 15:46, Juan Pablo Gardella
>  wrote:
> > "  [ERROR] : public abstract class
> > com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract"
> > Add you source files to your classpath?
>
> I think I did. The dependencies of the DiLibWebClient project there is
> the SAGWTLib project (I use NetBeans) and the pom.xml file of SAGWTLib
> project contains this:
>
> 
>
>src/main/java
>
>**/*.java
>**/*.gwt.xml
>
>
>
>
> As far as I know this would be enough to use external libs for gwt.
> Should I double-check again the whole stuff?
>
> --
> - -
> --  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
> http://facebook.com/andras.csanyi
> --  ""Trust in God and keep your gunpowder dry!" - Cromwell
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: abstract classes in a different package and compile error

2011-11-16 Thread Juan Pablo Gardella
"  [ERROR] : public abstract class
com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract"

Add you source files to your classpath?

2011/11/16 András Csányi 

> Dear All,
>
> There is a beautiful idea in my mind to split my application to
> different, logical parts. According to this idea I have a
> DiLibWebClient, an EJB, a Lib and a SAGWTLib module in my maven
> project. The DiLibWebClient contiains everything which is needed to
> build a web application but my small common stuff based on GWT. EJB
> project contains the EJB part and the Lib contains the DTOs. I'm using
> GWT-RPC.
>
> I made an abstract class which is describe a field, basically a grid
> to list and manipulate data, and I would like to use this grid heavily
> through my applications. So, I placed it in the SAGWTLib project. To
> use this grid I have to extend 2 abstract classes (1 for the field and
> another for RPC calls) and an abstract method in DiLibWebClient
> project. To put in simplier form:
>
> DiLibWebClient project
> public class ListOfSources extends GridAbstract{}
>
> SAGWTLib project:
> public abstract class GridAbstract extends Composite {}
>
> When I would like to compile the WebClient project it fails always.
> The output is attached to end of this letter.
>
> According to my java developer friend the java part of my code is ok
> and he said that It could have been something gwt specific thing.
>
> Before I'm going to do something with this problem I would like to ask
> your help. Should I reorganize my project? If so, what is the
> recommended way? Have to be in the same project the abstract classes
> and the extending classes?
>
> The DiLibWebClient is compiled as a gwt project. The SAGWTLib project
> is compiled as a simple java project, sources are attached. Should I
> compile it as a gwt project?
>
> I've searched on the internet and I found a ticket in the bugtracker
> system of GWT and according to this I should change my code but there
> was no further information about this.
>
> Thank you very much any help in advance or suggestions!
>
>
> auto discovered modules [com.sayusiando.java.dilib.DiLibWebClient]
> Compiling module com.sayusiando.java.dilib.DiLibWebClient
>   Validating newly compiled units
>  Ignored 4 units with compilation errors in first pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
> errors.
>   [ERROR] An internal compiler exception occurred
> com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
>at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140)
>at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:730)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.process(BuildTypeMap.java:814)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.access$700(BuildTypeMap.java:99)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.process(BuildTypeMap.java:325)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTypeMap.java:244)
>at
> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1198)
>at
> org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:637)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
>at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
>at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:599)
>at
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
>at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
>at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
>at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
>at com.google.gwt.dev.Compiler.run(Compiler.java:232)
>at com.google.gwt.dev.Compiler.run(Compiler.java:198)
>at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
>at
> com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
>at
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
>at com.google.gwt.dev.Compiler.main(Compiler.java:177)
>  [ERROR] : public abstract class
> com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract
>extends com.google.gwt.user.client.ui.Composite
> /*   fields   */
> private [unresolved] java.lang.Integer amountOfContentColumn
> private [unresolved] java.lang.Integer colspanOfGridTitle
> private [unresolved] java.lang.Integer firstColumnOfGrid
> private [unresolved] java.lang.Integer firstRowOfGrid
> private [unresolved] Unresolved type
> com.sayusiando.java.gwt.lib.salib.grid.dto.GridSetupDTO 

abstract classes in a different package and compile error

2011-11-16 Thread András Csányi
Dear All,

There is a beautiful idea in my mind to split my application to
different, logical parts. According to this idea I have a
DiLibWebClient, an EJB, a Lib and a SAGWTLib module in my maven
project. The DiLibWebClient contiains everything which is needed to
build a web application but my small common stuff based on GWT. EJB
project contains the EJB part and the Lib contains the DTOs. I'm using
GWT-RPC.

I made an abstract class which is describe a field, basically a grid
to list and manipulate data, and I would like to use this grid heavily
through my applications. So, I placed it in the SAGWTLib project. To
use this grid I have to extend 2 abstract classes (1 for the field and
another for RPC calls) and an abstract method in DiLibWebClient
project. To put in simplier form:

DiLibWebClient project
public class ListOfSources extends GridAbstract{}

SAGWTLib project:
public abstract class GridAbstract extends Composite {}

When I would like to compile the WebClient project it fails always.
The output is attached to end of this letter.

According to my java developer friend the java part of my code is ok
and he said that It could have been something gwt specific thing.

Before I'm going to do something with this problem I would like to ask
your help. Should I reorganize my project? If so, what is the
recommended way? Have to be in the same project the abstract classes
and the extending classes?

The DiLibWebClient is compiled as a gwt project. The SAGWTLib project
is compiled as a simple java project, sources are attached. Should I
compile it as a gwt project?

I've searched on the internet and I found a ticket in the bugtracker
system of GWT and according to this I should change my code but there
was no further information about this.

Thank you very much any help in advance or suggestions!


auto discovered modules [com.sayusiando.java.dilib.DiLibWebClient]
Compiling module com.sayusiando.java.dilib.DiLibWebClient
   Validating newly compiled units
  Ignored 4 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
   [ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140)
at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:730)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.process(BuildTypeMap.java:814)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.access$700(BuildTypeMap.java:99)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.process(BuildTypeMap.java:325)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTypeMap.java:244)
at 
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1198)
at 
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687)
at 
com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:637)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:599)
at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
  [ERROR] : public abstract class
com.sayusiando.java.gwt.lib.salib.grid.abstracts.GridAbstract
extends com.google.gwt.user.client.ui.Composite
/*   fields   */
private [unresolved] java.lang.Integer amountOfContentColumn
private [unresolved] java.lang.Integer colspanOfGridTitle
private [unresolved] java.lang.Integer firstColumnOfGrid
private [unresolved] java.lang.Integer firstRowOfGrid
private [unresolved] Unresolved type
com.sayusiando.java.gwt.lib.salib.grid.dto.GridSetupDTO gridSetupDTO
private [unresolved] java.lang.Integer positionOfCheckboxesColumn
private [unresolved] java.lang.Integer positionOfCommonsButtonRow
private [unresolved] java.lang.Integer positionOfDropDownFilterRow
private [unresolved] java.lang.Integer positionOfFirstButtonColumn
private [unresolved] java.lang.Intege

Re: GWT 1.52 Compile error

2011-08-31 Thread John Huss
You can try regenerating the jar index by running this command:

jar i some-jar-file.jar

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/TkdaLOGtQDAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Update of Eclipse Plug In Causes Compile Error

2011-08-23 Thread Lenny
I just updated the GWT plug in from within Eclipse and am now getting
the following compile error when I try to compile my project:

WARNING: 'com.google.gwt.dev.GWTCompiler' is deprecated and will be
removed in a future release.
Use 'com.google.gwt.dev.Compiler' instead.
(To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM
arg.)
Unknown argument: -war

I have never gotten this error before and did not manually change any
of my build settings.  I was using GWT 2.3.0 previously.  The versions
of the GWT software are:

  Google Plugin for Eclipse 3.6 2.3.3.r36v201107211953
com.google.gdt.eclipse.suite.e36.feature.feature.group
  Google Web Toolkit SDK 2.3.0  2.3.0.r36v201105191508
com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group
  GWT Designer Core 2.3.2.r36x201107161253
com.google.gdt.eclipse.designer.hosted.feature.feature.group
  GWT Designer Editor   2.3.2.r36x201107161302
com.google.gdt.eclipse.designer.editor.feature.feature.group
  GWT Designer GPE  2.3.2.r36x201107161423
com.google.gdt.eclipse.designer.gpe.feature.feature.group
  WindowBuilder Core1.1.0.r36x201107161214
org.eclipse.wb.core.feature.feature.group
  WindowBuilder CSS Support 1.1.0.r36x201107161057
org.eclipse.wb.css.feature.feature.group
  WindowBuilder XML Core1.1.0.r36x201107161221
org.eclipse.wb.core.xml.feature.feature.group

Please let me know what is wrong with my configuration.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compile Error - Method Not Implemented

2011-08-07 Thread Nick Apperley
Made a silly mistake of having the interface extend EventListener
instead of having the class implement EventListener. In the class the
required method was already implemented. With that corrected the
compile works without any errors.

Would be good if the Console window had more meaningful output on
where the error occurred (it did not mention about the interface).


On Aug 5, 2:21 am, Jeffrey Chimene  wrote:
> On 8/3/2011 7:56 PM, Nick Apperley wrote:> Is there a way to do a clean build 
> from scratch?
>
> You can always delete the compiler output (including .class files). If
> you're using Eclipse, the "clean" function will accomplish that task.> When a 
> compile is
> > done is any caching involved?
>
> I think the answer at the level of problem you're having is "no".
> I qualify the "no", because if you are using Gin, and are using
> development mode, and you change the Gin binding information, then it's
> wise to recompile (i.e. restart development mode). That doesn't seem to
> be the case here.
>
> I'm fairly sure you will find the problem is some unexplored linkage
> between the .java and the .ui.xml. I've outlined a resolution path
> below. I know this can be frustrating. In cases like this, the wisdom to
> strategically cripple your application is crucial to isolating the
> failure point.
>
> On Aug 3, 2:28 am, Jeffrey Chimene  wrote:
>
>
>
>
>
>
>
> >> I see nothing there either.
>
> >> I'd try a few things:
> >> o Simplify the file. Use VerticalPanel or HorizontalPanel or a
> >> combination of them to replace the g:grid when laying out the labels.
>
> >> o Focus on getting a clean compilation w/o reference to the ui.xml
> >> (obviously, it won't run...) Start commenting out the UiField and
> >> UiHandler annotations one by one. Donotcomment out the field references.
>
> >> o Does the Template Editor do anything interesting when invoked on this
> >> ui.xml?
>
> >> o Look at the generated javascript and see if you can find the linkage
> >> to the Problem Child.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compile Error - Method Not Implemented

2011-08-04 Thread Jeffrey Chimene

On 8/3/2011 7:56 PM, Nick Apperley wrote:

Is there a way to do a clean build from scratch?
You can always delete the compiler output (including .class files). If 
you're using Eclipse, the "clean" function will accomplish that task.

When a compile is
done is any caching involved?

I think the answer at the level of problem you're having is "no".
I qualify the "no", because if you are using Gin, and are using 
development mode, and you change the Gin binding information, then it's 
wise to recompile (i.e. restart development mode). That doesn't seem to 
be the case here.


I'm fairly sure you will find the problem is some unexplored linkage 
between the .java and the .ui.xml. I've outlined a resolution path 
below. I know this can be frustrating. In cases like this, the wisdom to 
strategically cripple your application is crucial to isolating the 
failure point.


On Aug 3, 2:28 am, Jeffrey Chimene  wrote:

I see nothing there either.

I'd try a few things:
o Simplify the file. Use VerticalPanel or HorizontalPanel or a
combination of them to replace the g:grid when laying out the labels.

o Focus on getting a clean compilation w/o reference to the ui.xml
(obviously, it won't run...) Start commenting out the UiField and
UiHandler annotations one by one. Donotcomment out the field references.

o Does the Template Editor do anything interesting when invoked on this
ui.xml?

o Look at the generated javascript and see if you can find the linkage
to the Problem Child.


--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compile Error - Method Not Implemented

2011-08-03 Thread Nick Apperley
Is there a way to do a clean build from scratch? When a compile is
done is any caching involved?


On Aug 3, 2:28 am, Jeffrey Chimene  wrote:
> I see nothing there either.
>
> I'd try a few things:
> o Simplify the file. Use VerticalPanel or HorizontalPanel or a
> combination of them to replace the g:grid when laying out the labels.
>
> o Focus on getting a clean compilation w/o reference to the ui.xml
> (obviously, it won't run...) Start commenting out the UiField and
> UiHandler annotations one by one. Donotcomment out the field references.
>
> o Does the Template Editor do anything interesting when invoked on this
> ui.xml?
>
> o Look at the generated javascript and see if you can find the linkage
> to the Problem Child.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compile Error - Method Not Implemented

2011-08-02 Thread Jeffrey Chimene

On 8/1/2011 9:12 PM, Nick Apperley wrote:

Had another look at the UI file (LoginPage.ui.xml) and didn't see
anything related to the issue. Below is the contents of that file:

I see nothing there either.

I'd try a few things:
o Simplify the file. Use VerticalPanel or HorizontalPanel or a 
combination of them to replace the g:grid when laying out the labels.


o Focus on getting a clean compilation w/o reference to the ui.xml 
(obviously, it won't run...) Start commenting out the UiField and 
UiHandler annotations one by one. Do not comment out the field references.


o Does the Template Editor do anything interesting when invoked on this 
ui.xml?


o Look at the generated javascript and see if you can find the linkage 
to the Problem Child.


--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compile Error - Method Not Implemented

2011-08-01 Thread Nick Apperley
Had another look at the UI file (LoginPage.ui.xml) and didn't see
anything related to the issue. Below is the contents of that file:

=
http://dl.google.com/gwt/DTD/xhtml.ent";>


























New 
Button
New Button




=

On Aug 2, 3:41 pm, Jeffrey Chimene  wrote:
> There's something in the associated ui.xml not matching the .java

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compile Error - Method Not Implemented

2011-08-01 Thread Jeffrey Chimene

On 8/1/2011 7:54 PM, Nick Apperley wrote:

Whenever I try to do a compile the method not implemented error
appears. The LoginPage.java file has the required method commented
out. This should resolve the problem but the compile error still
occurs. Below is the result of the compile:

WAG:  There's something in the associated ui.xml not matching the .java

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Compile Error - Method Not Implemented

2011-08-01 Thread Nick Apperley
Whenever I try to do a compile the method not implemented error
appears. The LoginPage.java file has the required method commented
out. This should resolve the problem but the compile error still
occurs. Below is the result of the compile:


Adding '2' new generated units
 Validating newly compiled units
[ERROR] Errors in 'generated://
48656C47A1796EF8C5CCC8F2542B4F02/com/darc/autohome/automatortool/
client/gui/LoginPage_LoginPageUiBinderImpl.java'
   [ERROR] Line 8: The type
LoginPage_LoginPageUiBinderImpl must implement the inherited abstract
method EventListener.onBrowserEvent(Event)
   See snapshot: /tmp/
com.darc.autohome.automatortool.client.gui.LoginPage_LoginPageUiBinderImpl4841949816845375900.java
   [ERROR] Errors in 'generated://48656C47A1796EF8C5CCC8F2542B4F02/com/
darc/autohome/automatortool/client/gui/
LoginPage_LoginPageUiBinderImpl.java'
  [ERROR] Line 8:  The type LoginPage_LoginPageUiBinderImpl must
implement the inherited abstract method
EventListener.onBrowserEvent(Event)
   [ERROR] Cannot proceed due to previous errors


Is there anything that can be checked which could be causing the error
to appear?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 2.4 beta | compile Error

2011-06-03 Thread xelibrety
I try to migrate from gwt 2.3 to 2.4beta. Unfortunately I'm not not
able to compile:
Here's the relevant error:

 [ERROR] Errors in 'jar:file/*/gwt-user-2.4.jar!/com/google/
gwt/validation/client/spi/GwtValidationProvider.java'
[INFO]   [ERROR] Line 36:  Rebind result
'javax.validation.ValidatorFactory' must be a class
[INFO][ERROR] Errors in 'jar:file:*/gwt-user-2.4.jar!/com/
google/gwt/validation/client/BaseMessageInterpolator.java'
[INFO]   [ERROR] Line 93:  Rebind result
'com.google.gwt.validation.client.ProviderValidationMessageResolver'
must be a class
[INFO][ERROR] Cannot proceed due to previous errors

Thanks for any help!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Strange gwt compile error: JPrimitiveType JReferenceType

2011-05-25 Thread Raphael André Bauer
On Fri, May 20, 2011 at 3:34 PM, Raphael André Bauer
 wrote:
> On Fri, May 20, 2011 at 3:15 PM, Brian Reilly  wrote:
...
Just a quick follow-up:
- Bug 2478 seems to be related and I added a description of our
problem (http://code.google.com/p/google-web-toolkit/issues/detail?id=2478#c11)
- Hotfix: If you run into the error you can change the char[] to
Character[] in Base64Coder.java - and the error goes away magically.

So far,

Raphael

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Strange gwt compile error: JPrimitiveType JReferenceType

2011-05-20 Thread Raphael André Bauer
On Fri, May 20, 2011 at 3:15 PM, Brian Reilly  wrote:
> Have you recently moved to a newer version of GWT? The errors look
> vaguely like the kinds of errors that 3rd party libraries ran into
> when GWT 2.2 was released. However, I don't see any 3rd party packages
> listed in the stack trace. My best guess is that you may have multiple
> versions of the GWT jars on your classpath during compilation.
>
> It might help if you can provide the versions of GWT and any 3rd party
> libraries you're using.
>
> -- Brian

Hi Brian,


thanks for the reply :)
We had 2.1.0 / 2.2.0 probs as well, but afaik the symptom was
something like: java.lang.IncompatibleClassChangeError: Found
interface com.google.gwt.core.ext.typeinfo.JClassType, but class was
expected . So I guess it's yet another problem...

After some debugging I found out that Base64Coder.java [1] might refer
to a 3rd party lib we are using: Emite (An excellent jabber / xmpp GWT
library).

I am currently asking on their list if they know anything [2]...

Any help still appreciated...

I'll keep you updated,


Best,

Raphael


[1] 
https://github.com/EmiteGWT/emite/blob/master/src/main/java/com/calclab/emite/core/client/xmpp/sasl/Base64Coder.java
[2] http://groups.google.com/group/emite/browse_thread/thread/eb6c469c9593fbb2

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Strange gwt compile error: JPrimitiveType JReferenceType

2011-05-20 Thread Brian Reilly
Have you recently moved to a newer version of GWT? The errors look
vaguely like the kinds of errors that 3rd party libraries ran into
when GWT 2.2 was released. However, I don't see any 3rd party packages
listed in the stack trace. My best guess is that you may have multiple
versions of the GWT jars on your classpath during compilation.

It might help if you can provide the versions of GWT and any 3rd party
libraries you're using.

-- Brian


On Fri, May 20, 2011 at 6:19 AM, Raphael André Bauer
 wrote:
> On Fri, May 20, 2011 at 10:49 AM, Raphael André Bauer
>  wrote:
>> On Fri, May 20, 2011 at 10:29 AM, Raphael André Bauer
>>  wrote:
>>> Hi GWTlist,
>>>
>>>
>>> we are getting a strange compile exception and we are not sure where
>>> it comes from. The project is
>>> up and running for months now, but "out of a sudden" stopped working...
>>> Maybe somebody knows something like that (there is an issue [1] here,
>>> but I am not sure if it's related).
>>
>> I added '-Dgwt.draftCompile=true' and it works again. But that's not
>> really an option for us...
>
> 0
> also fixes the issue, but again - not an option as the generated files
> are approx. 6 times the size.
>
> Again - any hints regarding debugging the issue are appreciated.
>
>
> Thanks :)
>
>
> Raphael
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Strange gwt compile error: JPrimitiveType JReferenceType

2011-05-20 Thread Raphael André Bauer
On Fri, May 20, 2011 at 10:49 AM, Raphael André Bauer
 wrote:
> On Fri, May 20, 2011 at 10:29 AM, Raphael André Bauer
>  wrote:
>> Hi GWTlist,
>>
>>
>> we are getting a strange compile exception and we are not sure where
>> it comes from. The project is
>> up and running for months now, but "out of a sudden" stopped working...
>> Maybe somebody knows something like that (there is an issue [1] here,
>> but I am not sure if it's related).
>
> I added '-Dgwt.draftCompile=true' and it works again. But that's not
> really an option for us...

0
also fixes the issue, but again - not an option as the generated files
are approx. 6 times the size.

Again - any hints regarding debugging the issue are appreciated.


Thanks :)


Raphael

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Strange gwt compile error: JPrimitiveType JReferenceType

2011-05-20 Thread Raphael André Bauer
On Fri, May 20, 2011 at 10:29 AM, Raphael André Bauer
 wrote:
> Hi GWTlist,
>
>
> we are getting a strange compile exception and we are not sure where
> it comes from. The project is
> up and running for months now, but "out of a sudden" stopped working...
> Maybe somebody knows something like that (there is an issue [1] here,
> but I am not sure if it's related).

I added '-Dgwt.draftCompile=true' and it works again. But that's not
really an option for us...

Any ideas?


Thanks :)

Raphael

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Strange gwt compile error: JPrimitiveType JReferenceType

2011-05-20 Thread Raphael André Bauer
Hi GWTlist,


we are getting a strange compile exception and we are not sure where
it comes from. The project is
up and running for months now, but "out of a sudden" stopped working...
Maybe somebody knows something like that (there is an issue [1] here,
but I am not sure if it's related).

Does anybody have a good starting point to get to the root of the
problem? At the end it seems we or
any 3rd party library we are using is causing the problem. But the
stacktrace does not give any
exact information on that. Stacktrace is attached below.

Any help appreciated...

Thanks,


Raphael

[1] http://code.google.com/p/google-web-toolkit/issues/detail?id=2478




[INFO]Compiling 18 permutations
[INFO]   Compiling permutation 0...
[INFO]   Process output
[INFO]  Compiling
[INFO] Compiling permutation 1...
[INFO]   [ERROR] An internal compiler exception occurred
[INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected
error during visit.
[INFO]  at 
com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:108)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:277)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:266)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:115)
[INFO]  at 
com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java:82)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:362)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:274)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:266)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:115)
[INFO]  at 
com.google.gwt.dev.jjs.ast.JWhileStatement.traverse(JWhileStatement.java:44)
[INFO]  at 
com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
[INFO]  at 
com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:337)
[INFO]  at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:362)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:274)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:136)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:132)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:362)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:274)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:266)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:329)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:297)
[INFO]  at 
com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
[INFO]  at 
com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:337)
[INFO]  at com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:80)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:362)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:288)
[INFO]  at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:1124)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:362)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:274)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:266)
[INFO]  at 
com.google.gwt.dev.jjs.impl.EqualityNormalizer.execImpl(EqualityNormalizer.java:223)
[INFO]  at 
com.google.gwt.dev.jjs.impl.EqualityNormalizer.exec(EqualityNormalizer.java:208)
[INFO]  at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(JavaToJavaScriptCompiler.java:302)
[INFO]  at 
com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:136)
[INFO]  at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:192)
[INFO]  at 
com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:49)
[INFO]  at 
com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:73)
[INFO]  at java.lang.Thread.run(Thread.java:680)
[INFO] Caused by: java.lang.ClassCastException:
com.google.gwt.dev.jjs.ast.JPrimitiveType cannot be cast to
com.google.gwt.dev.jjs.ast.JReferenceType
[INFO]  at 
com.google.gwt.dev.jjs.impl.EqualityNormalizer$BreakupAssignOpsVisitor.endVisit(EqualityNormalizer.java:85)
[INFO]  at 
com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java:84)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:362)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:274)
[INFO]  ... 38 more
[INFO]  [ERROR] at Base64Coder.java(73): in[iLen - 1] == '='
[INFO] 

Re: Incubator has compile error with 2.3

2011-05-06 Thread Thad
I don't use the incubator for much, only the DateTimePicker (oh, why
is this not in GWT?!) and SliderBar (which uses Gen2CssInjector). I
didn't see the com.google.gwt.gen2.commonwidget.client.DecoratorPanel
error described when compiling my project, but I did see an error on
ClientConsoleLogHandlerImpl.Popup. I fixed this by adding  to the relevant portion
of com.google.gwt.gen2.logging.CoreLogging.gwt.xml

Although there is a lot to grok in the incubator, rebuilding it has
been straight forward. Check out incubator and gwt-tools, set
GWT_TOOLS and GWT_HOME, and let 'er rip:

$ ant
Buildfile: /home/thad/gwt-devel/gwt-incubator-20110310-r1773/build.xml

checksetup:
 [echo] gwt.home = /opt/gwt-2.3.0
 [echo] gwt.tools = /home/thad/gwt-devel/gwt-tools
 [echo] gwt.platform = linux

compile:
[mkdir] Created dir: /home/thad/gwt-devel/gwt-incubator-20110310-
r1773/build/bin
 [echo] Compiling source...
[gwt.javac] /home/thad/gwt-devel/gwt-incubator-20110310-r1773/
build.xml:282: warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[gwt.javac] Compiling 560 source files to /home/thad/gwt-devel/gwt-
incubator-20110310-r1773/build/bin
[gwt.javac] Note: Some input files use or override a deprecated API.
[gwt.javac] Note: Recompile with -Xlint:deprecation for details.
[gwt.javac] Note: Some input files use unchecked or unsafe operations.
[gwt.javac] Note: Recompile with -Xlint:unchecked for details.

build:
[mkdir] Created dir: /home/thad/gwt-devel/gwt-incubator-20110310-
r1773/build/dist
  [jar] Building jar: /home/thad/gwt-devel/gwt-incubator-20110310-
r1773/build/dist/gwt-incubator.jar

BUILD SUCCESSFUL
Total time: 8 seconds

Another change:  I don't use the incubator's logging, and got tired of
Eclipse warning me that I should include the RemoteLoggingServiceImpl
servlet in my web.xml. So I commented out that servlet from
com.google.gwt.gen2.logging.handler.LogHandler.gwt.xml and
com.google.gwt.libideas.Logging.gwt.xml

I've dubbed my new jar gwt-incubator-r1773.jar.  For what I use it
for, it seems fine.

On May 4, 5:32 pm, David Chandler  wrote:
> No... As we announced earlier, the GWT team no longer supports the
> incubator. It would make sense for a good open source citizen who wants to
> continue using the deprecated incubator to do this and post it on this
> thread and the gwt-incubator wiki, however ;-)
>
> /dmc
>
>
>
>
>
>
>
>
>
> On Wed, May 4, 2011 at 4:42 PM, jay  wrote:
> > Would it make sense for the GWT team to simply release a re-compiled
> > version of incubator, so everyone using it doesn't have to go through
> > the gyrations of checkout, build, etc?
>
> > thanks,
>
> > jay
>
> > On May 4, 5:56 am, David Chandler  wrote:
> > > Hi Gilles,
>
> > > You'll need to compile the incubator with GWT 2.3 if you want to keep
> > using
> > > it. The GWT team is no longer supporting the incubator. If you want to
> > keep
> > > up with new GWT versions, you'll want to take the plunge and rewrite
> > those
> > > tables, as we're working hard to make sure all new Widgets are compatible
> > > with the Cell widgets architecture.
>
> > > FYI, GWT Designer, now included with Google Plugin for Eclipse, makes it
> > > quite easy to write the Java code for CellTables.
>
> > > /dmc
>
> > > On Wed, May 4, 2011 at 6:57 AM, Gilles B 
> > wrote:
> > > > Using the last incubator version (drop for 2.1.0) with GWT 2.3
> > > > generate a compile error:
>
> > > > [DEBUG] Validating newly compiled units
> > > > [ERROR] Errors in 'jar:file:/D:/.../WEB-INF/lib/gwt-incubator.jar!/com/
> > > > google/gwt/gen2/commonwidget/client/DecoratorPanel.java'
> > > > [ERROR] Line 35: The constructor SimplePanel(Widget) is ambiguous
>
> > > > I know 98% of incubator ideas are available in current version but I
> > > > keep on using the FlexTable, FixedWidthFlexTable and such components
> > > > to manage some grids. First because I have a lot of code to rewrite
> > > > with CellTable (rather different logic) and also because of some
> > > > features like resize of columns using mouse or a fixed row height
> > > > (CellTable height change with content) that I appreciate.
>
> > > > Regards. Gilles.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Google Web Toolkit" group.
> > > > To post to this group, send email to
> > google-web-toolkit@googlegroups.com.
> > > > T

Re: Incubator has compile error with 2.3

2011-05-04 Thread David Chandler
No... As we announced earlier, the GWT team no longer supports the
incubator. It would make sense for a good open source citizen who wants to
continue using the deprecated incubator to do this and post it on this
thread and the gwt-incubator wiki, however ;-)

/dmc

On Wed, May 4, 2011 at 4:42 PM, jay  wrote:

> Would it make sense for the GWT team to simply release a re-compiled
> version of incubator, so everyone using it doesn't have to go through
> the gyrations of checkout, build, etc?
>
> thanks,
>
> jay
>
> On May 4, 5:56 am, David Chandler  wrote:
> > Hi Gilles,
> >
> > You'll need to compile the incubator with GWT 2.3 if you want to keep
> using
> > it. The GWT team is no longer supporting the incubator. If you want to
> keep
> > up with new GWT versions, you'll want to take the plunge and rewrite
> those
> > tables, as we're working hard to make sure all new Widgets are compatible
> > with the Cell widgets architecture.
> >
> > FYI, GWT Designer, now included with Google Plugin for Eclipse, makes it
> > quite easy to write the Java code for CellTables.
> >
> > /dmc
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Wed, May 4, 2011 at 6:57 AM, Gilles B 
> wrote:
> > > Using the last incubator version (drop for 2.1.0) with GWT 2.3
> > > generate a compile error:
> >
> > > [DEBUG] Validating newly compiled units
> > > [ERROR] Errors in 'jar:file:/D:/.../WEB-INF/lib/gwt-incubator.jar!/com/
> > > google/gwt/gen2/commonwidget/client/DecoratorPanel.java'
> > > [ERROR] Line 35: The constructor SimplePanel(Widget) is ambiguous
> >
> > > I know 98% of incubator ideas are available in current version but I
> > > keep on using the FlexTable, FixedWidthFlexTable and such components
> > > to manage some grids. First because I have a lot of code to rewrite
> > > with CellTable (rather different logic) and also because of some
> > > features like resize of columns using mouse or a fixed row height
> > > (CellTable height change with content) that I appreciate.
> >
> > > Regards. Gilles.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > --
> > David Chandler
> > Developer Programs Engineer, Google Web Toolkit
> > w:http://code.google.com/
> > b:http://googlewebtoolkit.blogspot.com/
> > t: @googledevtools
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Incubator has compile error with 2.3

2011-05-04 Thread jay
Would it make sense for the GWT team to simply release a re-compiled
version of incubator, so everyone using it doesn't have to go through
the gyrations of checkout, build, etc?

thanks,

jay

On May 4, 5:56 am, David Chandler  wrote:
> Hi Gilles,
>
> You'll need to compile the incubator with GWT 2.3 if you want to keep using
> it. The GWT team is no longer supporting the incubator. If you want to keep
> up with new GWT versions, you'll want to take the plunge and rewrite those
> tables, as we're working hard to make sure all new Widgets are compatible
> with the Cell widgets architecture.
>
> FYI, GWT Designer, now included with Google Plugin for Eclipse, makes it
> quite easy to write the Java code for CellTables.
>
> /dmc
>
>
>
>
>
>
>
>
>
> On Wed, May 4, 2011 at 6:57 AM, Gilles B  wrote:
> > Using the last incubator version (drop for 2.1.0) with GWT 2.3
> > generate a compile error:
>
> > [DEBUG] Validating newly compiled units
> > [ERROR] Errors in 'jar:file:/D:/.../WEB-INF/lib/gwt-incubator.jar!/com/
> > google/gwt/gen2/commonwidget/client/DecoratorPanel.java'
> > [ERROR] Line 35: The constructor SimplePanel(Widget) is ambiguous
>
> > I know 98% of incubator ideas are available in current version but I
> > keep on using the FlexTable, FixedWidthFlexTable and such components
> > to manage some grids. First because I have a lot of code to rewrite
> > with CellTable (rather different logic) and also because of some
> > features like resize of columns using mouse or a fixed row height
> > (CellTable height change with content) that I appreciate.
>
> > Regards. Gilles.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
> w:http://code.google.com/
> b:http://googlewebtoolkit.blogspot.com/
> t: @googledevtools

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Incubator has compile error with 2.3

2011-05-04 Thread David Chandler
Hi Gilles,

You'll need to compile the incubator with GWT 2.3 if you want to keep using
it. The GWT team is no longer supporting the incubator. If you want to keep
up with new GWT versions, you'll want to take the plunge and rewrite those
tables, as we're working hard to make sure all new Widgets are compatible
with the Cell widgets architecture.

FYI, GWT Designer, now included with Google Plugin for Eclipse, makes it
quite easy to write the Java code for CellTables.

/dmc

On Wed, May 4, 2011 at 6:57 AM, Gilles B  wrote:

> Using the last incubator version (drop for 2.1.0) with GWT 2.3
> generate a compile error:
>
> [DEBUG] Validating newly compiled units
> [ERROR] Errors in 'jar:file:/D:/.../WEB-INF/lib/gwt-incubator.jar!/com/
> google/gwt/gen2/commonwidget/client/DecoratorPanel.java'
> [ERROR] Line 35: The constructor SimplePanel(Widget) is ambiguous
>
> I know 98% of incubator ideas are available in current version but I
> keep on using the FlexTable, FixedWidthFlexTable and such components
> to manage some grids. First because I have a lot of code to rewrite
> with CellTable (rather different logic) and also because of some
> features like resize of columns using mouse or a fixed row height
> (CellTable height change with content) that I appreciate.
>
> Regards. Gilles.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Incubator has compile error with 2.3

2011-05-04 Thread Gilles B
Using the last incubator version (drop for 2.1.0) with GWT 2.3
generate a compile error:

[DEBUG] Validating newly compiled units
[ERROR] Errors in 'jar:file:/D:/.../WEB-INF/lib/gwt-incubator.jar!/com/
google/gwt/gen2/commonwidget/client/DecoratorPanel.java'
[ERROR] Line 35: The constructor SimplePanel(Widget) is ambiguous

I know 98% of incubator ideas are available in current version but I
keep on using the FlexTable, FixedWidthFlexTable and such components
to manage some grids. First because I have a lot of code to rewrite
with CellTable (rather different logic) and also because of some
features like resize of columns using mouse or a fixed row height
(CellTable height change with content) that I appreciate.

Regards. Gilles.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Compile error: "No source code is available for type"

2011-03-29 Thread drhender
I am attempting to get the wave-in-a-box project building on Windows,
and am seeing errors in the GWT compilation.

Compiling module org.waveprotocol.box.webclient.WebClient
   Validating newly compiled units
  [ERROR] Errors in 'file:/D:/dev/wave/WPL-wave-protocol/proto_src/
org/waveprotocol/box/common/comms/WaveClientRpc.java'
 [ERROR] Line 9: No source code is available for type
com.google.protobuf.ExtensionRegistry; did you forget to inherit a
required module?
 [ERROR] Line 12: No source code is available for type
com.google.protobuf.GeneratedMessage; did you forget to inherit a
required module?
 [ERROR] Line 33: No source code is available for type
com.google.protobuf.GeneratedMessage.FieldAccessorTable; did you
forget to inherit a required module?
 [ERROR] Line 52: No source code is available for type
com.google.protobuf.CodedOutputStream; did you forget to inherit a
required module?

WaveClientRpc.java doesn't include any import statements at all, which
is clearly the problem, but I am not familiar enough with GWT to know
how to fix it.

I attempted to add
   
to the .gwt.xml file, but then the compiler complains that it can't
find protobuf.gwt.xml.

Any assistance would be greatly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XmlAdapter compile error

2010-12-30 Thread ciosbel
I suppose you are trying to use that annotation on a client side
class; javax is not emulated by gwt compiler, so you couldn't use it
client side.

Why not moving the adapter to the server side? Does your client really
need it?
Annotated jaxb classes can be used by the client (with a couple of
tweaks and not for all annotations), but marshalling/unmarshalling to/
from xml, still need to be handled server side. In this point of view,
the adapter can be known only to your server.

I can tell you the tweak, but first try to move it server side.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



XmlAdapter compile error

2010-12-30 Thread kosaco
Hi!
In my gwt project, I use XmlAdapter class of the
javax.xml.bind.annotation.adapters package. When I'm compiling the
project, it has the follow error:

[ERROR] Line 11: No source code is available for type
javax.xml.bind.annotation.adapters.XmlAdapter;
did you forget to inherit a required module?

I have the javax.xml.bin jar in my classpath and in the war/WEB-INF/
lib. Anyone have any idea to solve this problem?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



XmlAdapter compile error

2010-12-30 Thread kosaco
Hi!
In my gwt project, I use XmlAdapter class of the
javax.xml.bind.annotation.adapters package. When I'm compiling the
project, it has the follow error:

[ERROR] Line 11: No source code is available for type
javax.xml.bind.annotation.adapters.XmlAdapter;
did you forget to inherit a required module?

I have the javax.xml.bin jar in my classpath and in the war/WEB-INF/
lib. Anyone have any idea to solve this problem?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread Thomas Broyer


On Tuesday, December 21, 2010 8:27:45 PM UTC+1, zixzigma wrote:
>
> are you suggesting we need to compile our custom annotations before 
> compiling other classes that use them ?
>

I mean you have to "javac" classes that are *referenced* from annotations 
(in this case, the PlaceTokenizer classes referenced from @WithTokenizers; 
that'd be true also of your service, domain object, locator or service 
locator with RequestFactory, unless you use @ServiceName and @ProxyForName).
Otherwise, GWT can work with only the *.java files, without the *.class.
 

> is this always the case ? or only if relying on generators ?
>

AFAICT, only when generators read the annotations (i.e. when the 
PlaceHistoryMapperGenerator calls getAnnotation(WithTokenizers.class))
 

> I encountered this problem when I defined my custom annotations, 
> which I used in conjunction with GIN BindingAnnotation. 
> and sometimes at initialization, I was getting exceptions, 
> suggesting the Annotations cannot be found, despite them being in 
> classpath.
>

GIN is a bit special, it works directly from the compiled classes, never 
from the *.java files (which also means it won't see your "super-source" 
versions of classes)

>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread zixzigma
are you suggesting we need to compile our custom annotations before
compiling other classes that use them ?

is this always the case ? or only if relying on generators ?


I encountered this problem when I defined my custom annotations,
which I used in conjunction with GIN BindingAnnotation.
and sometimes at initialization, I was getting exceptions,
suggesting the Annotations cannot be found, despite them being in
classpath.
(I noticed if I mvn clean, this happens, but on second run, it was
fine)

The annotations were not doing anything special,
just as markers for GIN Binding Annotations.


I thought it was Eclipse/Maven plugin problem, when I switched to
IntelliJ, everything worked just fine.
do you think the problem I had is related to scenario you described ?



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread Ferney
Sorry friends, but i don't understand GWT/MVP model.
I am a newbie and i consider GWT/MVP very dificult.

I need a good example with:
GWT/MVP, GAE, Request factory, Loggin, UIBinder,
and GWT/MVP, Request factory, loggin, UIBinder with other SQL database
(mysql or postgreSQL)

Thanks my friends...
(send or not send??? ok send...)

On 21 dic, 05:19, Thomas Broyer  wrote:
> Classes referenced from annotations have to be compiled for GWT to be able
> to process them from within generators (as is the case for @WithTokenizers
> on a PlaceHistoryMapper). GWT can work from *.java files only for everything
> else (AFAICT) but classes referenced from annotations.
>
> So, you just have to javac all your *.java to *.class (actually, only the
> HellowPlace and GoodbyePlace here, but by compiling everything you're sure
> you don't miss anything when you add a class or change an annotation's
> value) and put them in the classpath for Compile.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread Thomas Broyer
Classes referenced from annotations have to be compiled for GWT to be able 
to process them from within generators (as is the case for @WithTokenizers 
on a PlaceHistoryMapper). GWT can work from *.java files only for everything 
else (AFAICT) but classes referenced from annotations.

So, you just have to javac all your *.java to *.class (actually, only the 
HellowPlace and GoodbyePlace here, but by compiling everything you're sure 
you don't miss anything when you add a class or change an annotation's 
value) and put them in the classpath for Compile.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-20 Thread zixzigma
make sure you have this:
@WithTokenizers({HelloPlace.Tokenizer.class,
GoodbyePlace.Tokenizer.class})
public interface AppPlaceHistoryMapper extends PlaceHistoryMapper
{
}

also check the default Java Compiler for your project, make sure it is
version  1.5 or higher

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-20 Thread karthik reddy
I am trying to compile the HelloMVP application available at 
http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html 
. 
I did not make any changes to the code and just tried to compile it and was 
met with the following error. It basically says it cannot resolve 
 com.hellomvp.client.place.HelloPlace$Tokenizer. I double checked if the 
HelloPlace is indeed at the right location.  Would appreciate your thoughts 
as I am kinda stonewalled by this error.

thanks


Compiling module com.hellomvp.HelloMVP
   Resolving com.hellomvp.client.mvp.AppPlaceHistoryMapper
  Found type 'com.hellomvp.client.mvp.AppPlaceHistoryMapper'
 [ERROR] Annotation error: cannot resolve 
com.hellomvp.client.place.HelloPlace$Tokenizer
java.lang.ClassNotFoundException: 
com.hellomvp.client.place.HelloPlace$Tokenizer

at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at 
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:710)
at 
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:649)
.
.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 2.1.1 , HelloMVP (Google provide example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-20 Thread karthik reddy
I am trying to compile the HelloMVP application available at 
http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html 
. 
I did not make any changes to the code and just tried to compile it and was 
met with the following error. It basically says it cannot resolve 
 com.hellomvp.client.place.HelloPlace$Tokenizer. I double checked if the 
HelloPlace is indeed at the right location.  Would appreciate your thoughts 
as I am kinda stonewalled by this error.

thanks


Compiling module com.hellomvp.HelloMVP
   Resolving com.hellomvp.client.mvp.AppPlaceHistoryMapper
  Found type 'com.hellomvp.client.mvp.AppPlaceHistoryMapper'
 [ERROR] Annotation error: cannot resolve 
com.hellomvp.client.place.HelloPlace$Tokenizer
java.lang.ClassNotFoundException: 
com.hellomvp.client.place.HelloPlace$Tokenizer

at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at 
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:710)
at 
com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:649)
.
.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Compile Error with Tomcat (apache.commons) libary

2010-11-24 Thread ep

> I also read another guy's post. He put GWT in seperate project. So two
> projects, one for front end, one for back end.

it is indeed very common to do it this way, maven could also help you
here

>
> It will be ideal whenever eclipse rebuilds the project, it compiles GWT as

you can do so, by creating your build.xml file and registering a
custom builder in project properties, then eclipse will trigger the
builder everytime it detects changes in the project space.

> well. Or GWT stop override tomcat libary at least!

7of9 pointed out how to prevent GWT from overriding other classes (put
it at bottom of the classpath)

still, as your GWT addon is not an application, but rather an addon^^
you can handle it that way, just make it pluggable. you can also
"connect" the projects via eclipse project reference and configure the
gwt compiler plugin to flush the output into your masterproject's war
directory

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Compile Error with Tomcat (apache.commons) libary

2010-11-24 Thread Sophia Shek
Thanks for the response ep. I was thinking about that as well.

I also read another guy's post. He put GWT in seperate project. So two
projects, one for front end, one for back end.

It will be ideal whenever eclipse rebuilds the project, it compiles GWT as
well. Or GWT stop override tomcat libary at least!

=)



On Wed, Nov 24, 2010 at 2:24 PM, ep  wrote:

> you might think about moving the GWT client code (which contains
> client and shared packages) into custom project to not mixup
> classpaths during compile and runtime, after all GWT produces piece of
> JS which is actually the one your project needs. so you dont need to
> recompile everytime, rather update the produced "binaries" everytime
> at GWT compilation cycle.
>
>
> On 23 Nov., 10:58, Sophia Shek  wrote:
> > More details:
> >  I am using eclipse(Galileo)+tomcat plugin+gwt plugin, The java build
> > libraries’ order: JRE System libary
> > GWT SDK - GWT2.1.0
> > Apache Tomcat
> > Web App Libraries
> >
> > The project uses Spring MVC+ lots of JSP, only one part of the system
> using
> > GWT. That is for menu items.
> >
> > At the moment, every single time I check out a project, I have to compile
> > the GWT menu module which is kind of annoying.
> >
> > The problem is when I compile the GWT module, some source file got red
> lined
> > of using apache.common. digester. It compiled OK without GWT. It is
> confused
> > with the apache.common. digester and GWT digest Is this a known issue? I
> am
> > new to GWT, help please?
> >
> > On Mon, Nov 22, 2010 at 5:06 PM, 7of9 
> wrote:
> >
> > > When compile GWT,I receive the following error:
> >
> > > [ERROR] Unexpected
> > > java.lang.NoSuchFieldError:
> > > reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
> >
> > > I googled around and found the solution
> >
> > > - Right-click the project > Properties
> > > - Java Build Path > Order and Export
> > > - Move the GWT SDK above the Server Library (like Apache Tomcat or
> > > SpringSource tc Server)
> >
> > > This did solve the compile error. However the method used
> > > org.apache.commons.digester.Digester module are redlined. It tried to
> > > find the digest RuleSetBase interface in gwt-dev.jar.
> >
> > > Has anyone came cross similar problem before? Help please!!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Compile Error with Tomcat (apache.commons) libary

2010-11-24 Thread ep
you might think about moving the GWT client code (which contains
client and shared packages) into custom project to not mixup
classpaths during compile and runtime, after all GWT produces piece of
JS which is actually the one your project needs. so you dont need to
recompile everytime, rather update the produced "binaries" everytime
at GWT compilation cycle.


On 23 Nov., 10:58, Sophia Shek  wrote:
> More details:
>  I am using eclipse(Galileo)+tomcat plugin+gwt plugin, The java build
> libraries’ order: JRE System libary
> GWT SDK - GWT2.1.0
> Apache Tomcat
> Web App Libraries
>
> The project uses Spring MVC+ lots of JSP, only one part of the system using
> GWT. That is for menu items.
>
> At the moment, every single time I check out a project, I have to compile
> the GWT menu module which is kind of annoying.
>
> The problem is when I compile the GWT module, some source file got red lined
> of using apache.common. digester. It compiled OK without GWT. It is confused
> with the apache.common. digester and GWT digest Is this a known issue? I am
> new to GWT, help please?
>
> On Mon, Nov 22, 2010 at 5:06 PM, 7of9  wrote:
>
> > When compile GWT,I receive the following error:
>
> > [ERROR] Unexpected
> > java.lang.NoSuchFieldError:
> > reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
>
> > I googled around and found the solution
>
> > - Right-click the project > Properties
> > - Java Build Path > Order and Export
> > - Move the GWT SDK above the Server Library (like Apache Tomcat or
> > SpringSource tc Server)
>
> > This did solve the compile error. However the method used
> > org.apache.commons.digester.Digester module are redlined. It tried to
> > find the digest RuleSetBase interface in gwt-dev.jar.
>
> > Has anyone came cross similar problem before? Help please!!!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Compile Error with Tomcat (apache.commons) libary

2010-11-24 Thread 7of9
My solution is to compile the GWT module first and then move GWT SDK -
GWT2.1.0 after Apache Tomcat and Web App Libraries library. The
dynamic web project will then build itself. Restart Tomcat ,
everything works.
I am not sure if this is a good solution. Every time I check out a new
project, I have to add GWT module on the build path (we don’t
have .classpath checked in, everything in the .classpath are dynamic
as well), compile. Then move GWT library after other libraries,
compile again.
I am sure there is a better way.


On Nov 23, 9:58 am, Sophia Shek  wrote:
> More details:
>  I am using eclipse(Galileo)+tomcat plugin+gwt plugin, The java build
> libraries’ order: JRE System libary
> GWT SDK - GWT2.1.0
> Apache Tomcat
> Web App Libraries
>
> The project uses Spring MVC+ lots of JSP, only one part of the system using
> GWT. That is for menu items.
>
> At the moment, every single time I check out a project, I have to compile
> the GWT menu module which is kind of annoying.
>
> The problem is when I compile the GWT module, some source file got red lined
> of using apache.common. digester. It compiled OK without GWT. It is confused
> with the apache.common. digester and GWT digest Is this a known issue? I am
> new to GWT, help please?
>
> On Mon, Nov 22, 2010 at 5:06 PM, 7of9  wrote:
>
> > When compile GWT,I receive the following error:
>
> > [ERROR] Unexpected
> > java.lang.NoSuchFieldError:
> > reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
>
> > I googled around and found the solution
>
> > - Right-click the project > Properties
> > - Java Build Path > Order and Export
> > - Move the GWT SDK above the Server Library (like Apache Tomcat or
> > SpringSource tc Server)
>
> > This did solve the compile error. However the method used
> > org.apache.commons.digester.Digester module are redlined. It tried to
> > find the digest RuleSetBase interface in gwt-dev.jar.
>
> > Has anyone came cross similar problem before? Help please!!!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Compile Error with Tomcat (apache.commons) libary

2010-11-23 Thread Sophia Shek
More details:
 I am using eclipse(Galileo)+tomcat plugin+gwt plugin, The java build
libraries’ order: JRE System libary
GWT SDK - GWT2.1.0
Apache Tomcat
Web App Libraries

The project uses Spring MVC+ lots of JSP, only one part of the system using
GWT. That is for menu items.

At the moment, every single time I check out a project, I have to compile
the GWT menu module which is kind of annoying.

The problem is when I compile the GWT module, some source file got red lined
of using apache.common. digester. It compiled OK without GWT. It is confused
with the apache.common. digester and GWT digest Is this a known issue? I am
new to GWT, help please?

On Mon, Nov 22, 2010 at 5:06 PM, 7of9  wrote:

>
> When compile GWT,I receive the following error:
>
> [ERROR] Unexpected
> java.lang.NoSuchFieldError:
> reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
>
> I googled around and found the solution
>
> - Right-click the project > Properties
> - Java Build Path > Order and Export
> - Move the GWT SDK above the Server Library (like Apache Tomcat or
> SpringSource tc Server)
>
> This did solve the compile error. However the method used
> org.apache.commons.digester.Digester module are redlined. It tried to
> find the digest RuleSetBase interface in gwt-dev.jar.
>
> Has anyone came cross similar problem before? Help please!!!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT Compile Error and more

2010-11-23 Thread 7of9

When compile GWT,I receive the following error:

[ERROR] Unexpected
java.lang.NoSuchFieldError:
reportUnusedDeclaredThrownExceptionIncludeDocCommentReference

I googled around and found the solution

- Right-click the project > Properties
- Java Build Path > Order and Export
- Move the GWT SDK above the Server Library (like Apache Tomcat or
SpringSource tc Server)

This did solve the compile error. However the method used
org.apache.commons.digester.Digester module are redlined. It tried to
find the digest RuleSetBase interface in gwt-dev.jar.

Has anyone came cross similar problem before? Help please!!!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



  1   2   >