Need help getting CodeServer config back to working state

2024-06-11 Thread Mathias
Hello, for some reason my codeserver/server jetty setup has stopped 
working, and I can't seem to get it back. I'm feeling more confused than 
usual, so I hope someone can help me out.
Have a bunch of projects using the old gwt plugins which work fine, but my 
new project is using the new tbroyer setup and that's what has stopped 
working.

So, if I create and run the multimodule-example app, what happens when you 
start the codeserver is that /gwt/codeserver is where stuff is compiled, 
and right away output to be used by the webserver is put in 
/gwt/launcherDir.

But for me, when I start codeserver I can see that it compiles right away, 
and the output ends up in /gwt/codeserver/module/compile-1 as expected. 
However, nothing is created in the launcherDir! So there's nothing for the 
webserver to use.

I have looked at the archetype-project, and i can't see anything wrong 
compared to my setup...

If anyone would care to look at it and see if there's something obvious, or 
give some hints as to what i can look for to see why it's not producing the 
output, i'd be grateful. Details follow below:

In my multimodule project, the clientmodule is called "webclient" and the 
server is called "webapp". I am starting both things standing in the root 
directory.

plugin config, in webclient.pom:

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

com.mymodule.App
nw
compile



plugin-config, in the root pom:

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


-noserver




-javaagent:/Users/mathias/.m2/repository/org/projectlombok/lombok/1.18.32/lombok-1.18.32.jar=ECJ





i start the codeserver with:

mvn gwt:codeserver -pl webclient -am -P web

this is the relevant (i think) console output, there seems to be nothing 
suspicious? : 

[INFO] Super Dev Mode starting up
[INFO]workDir: /Users/mathias/.projects/myproject/target/gwt/codeserver
[INFO][WARN] Deactivated PrecompressLinker
[INFO] 16:09:38.226 [main] DEBUG org.eclipse.jetty.util.log - Logging to 
Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog
[INFO] 16:09:38.238 [main] INFO org.eclipse.jetty.util.log - Logging 
initialized @899ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] 16:09:38.243 [main] DEBUG org.eclipse.jetty.http.PreEncodedHttpField 
- HttpField encoders loaded: [org.eclipse.jetty.http.Http1FieldPreEncoder]
[INFO]Loading Java files in com.mymodule.App.
[INFO]Module setup completed in 2124 ms

-- 
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/6e2eafc2-bc7f-4893-a7b9-4a62e34a64den%40googlegroups.com.


Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-15 Thread 'Frank Hossfeld' via GWT Users
Are you certain, that the annotation processor had ran?
I have not digged into domino-jackson, but I think, the @JsonMapper 
annotation triggers a annotation processor. The generated classes will be 
found under  'target/generated-sources/annotatins'

Marco Tenti (IoProgrammo88) schrieb am Montag, 15. April 2024 um 09:16:49 
UTC+2:

> The problem i cannot find the generate class "Person_MapperImpl" is under 
> the target folder somewhere ?
>
> Il giorno venerdì 12 aprile 2024 alle 18:25:30 UTC+2 Thomas Broyer ha 
> scritto:
>
>> Aren't you supposed to directly use the generated class rather than using 
>> GWT.create() ? (unless you also added a  in your gwt.xml)
>>
>> https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/quick-start
>>
>> On Friday, April 12, 2024 at 1:20:27 PM UTC+2 tenti...@gmail.com wrote:
>>
>>> I'm upgrading a old project and i want to replace the old gwt-jackson (
>>> https://dominokit.com/solutions/domino-jackson/v1)  with the 
>>> domino-jackson project (https://github.com/DominoKit/domino-jackson).
>>>
>>> It should be a simple transiction, but i cannot understand how to let 
>>> the GWT compilation "see" the implementations classes of the ObjectMapper 
>>> interface.
>>>
>>> *Here the "old" code from gwt-jackson*
>>>
>>> *public static interface AltriMetadatiDTOMapper extends 
>>> com.github.nmorel.gwtjackson.client.ObjectMapper>>
>>>  
>>> {} *
>>>
>>> * ... *
>>>
>>> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
>>> GWT.create(AltriMetadatiDTOMapper.class); String jsonAltriMetadati = 
>>> altriMetadatiDTOMapper.write(object); *
>>>
>>> *Here the "new" code from domino-jackson*
>>> *@org.dominokit.jackson.annotation.JSONMapper public interface 
>>> AltriMetadatiDTOMapper extends 
>>> org.dominokit.jackson.ObjectMapper>> {}*
>>>
>>> * ... *
>>>
>>> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
>>> GWT.create(AltriMetadatiDTOMappe.class); String jsonAltriMetadati = 
>>> altriMetadatiDTOMapper.write(object); *
>>>
>>> but it give to me this error
>>> [ERROR] Errors in 'xxx.java' [INFO] [ERROR] Line 662: Rebind result 
>>> 'xxx.AltriMetadatiDTOMapper' must be a class
>>>
>>> Did anyone know what i'm doing wrong ?
>>>
>>

-- 
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/b1089cf5-e4fc-4032-a588-b6bbb73a94dfn%40googlegroups.com.


Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-15 Thread 'Frank Hossfeld' via GWT Users
Are you certain, that the annotation processor already run?
I have not digged into domino-jackson, but I think, the @JsonMapper 
annotation triggers a annotation processor. The generated classes will be 
found under  'target/generated-sources/annotatins'


Marco Tenti (IoProgrammo88) schrieb am Montag, 15. April 2024 um 09:16:49 
UTC+2:

> The problem i cannot find the generate class "Person_MapperImpl" is under 
> the target folder somewhere ?
>
> Il giorno venerdì 12 aprile 2024 alle 18:25:30 UTC+2 Thomas Broyer ha 
> scritto:
>
>> Aren't you supposed to directly use the generated class rather than using 
>> GWT.create() ? (unless you also added a  in your gwt.xml)
>>
>> https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/quick-start
>>
>> On Friday, April 12, 2024 at 1:20:27 PM UTC+2 tenti...@gmail.com wrote:
>>
>>> I'm upgrading a old project and i want to replace the old gwt-jackson (
>>> https://dominokit.com/solutions/domino-jackson/v1)  with the 
>>> domino-jackson project (https://github.com/DominoKit/domino-jackson).
>>>
>>> It should be a simple transiction, but i cannot understand how to let 
>>> the GWT compilation "see" the implementations classes of the ObjectMapper 
>>> interface.
>>>
>>> *Here the "old" code from gwt-jackson*
>>>
>>> *public static interface AltriMetadatiDTOMapper extends 
>>> com.github.nmorel.gwtjackson.client.ObjectMapper>>
>>>  
>>> {} *
>>>
>>> * ... *
>>>
>>> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
>>> GWT.create(AltriMetadatiDTOMapper.class); String jsonAltriMetadati = 
>>> altriMetadatiDTOMapper.write(object); *
>>>
>>> *Here the "new" code from domino-jackson*
>>> *@org.dominokit.jackson.annotation.JSONMapper public interface 
>>> AltriMetadatiDTOMapper extends 
>>> org.dominokit.jackson.ObjectMapper>> {}*
>>>
>>> * ... *
>>>
>>> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
>>> GWT.create(AltriMetadatiDTOMappe.class); String jsonAltriMetadati = 
>>> altriMetadatiDTOMapper.write(object); *
>>>
>>> but it give to me this error
>>> [ERROR] Errors in 'xxx.java' [INFO] [ERROR] Line 662: Rebind result 
>>> 'xxx.AltriMetadatiDTOMapper' must be a class
>>>
>>> Did anyone know what i'm doing wrong ?
>>>
>>

-- 
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/bd148277-b238-46d0-8448-8d3c5f4009bbn%40googlegroups.com.


Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-15 Thread 'RobW' via GWT Users
Note sure if this will gelp you much - we're a Gradle user, and don't use 
intellij. But the basic principles are the same.

When we migrated to the latest GWT we also updated our top level gradle 
build file to have a gwtSuperDev task which does all the heavy lifting for 
us:

task gwtSuperDev(dependsOn: 'build') {
// probably a nicer way of getting these (e.g through project 
sourcepaths)
def gwtapi_src = file('tas/gwtapi/src')
def webui_src = file('webui/src')

doLast {
def compilerArgs = [
"-strict", "-noincremental", "-noprecompile", 
"-src", "${gwtapi_src}/", 
"-src", "${webui_src}/", 
"com.ascert.webui.vt.VtWebUi-dev" 
]

javaexec {
main = 'com.google.gwt.dev.codeserver.CodeServer'
// Leverage the Gradle create classpaths for gwtapi and 
webui subprojects
// Make sure GWT build libs are at the front to ensure the 
vanilla GWT jetty classes are used by codeserver
classpath += configurations.gwtBuild
// These classpaths will duplicate some of the above, but 
doing this way ensures our custom jetty does not get 
// picked up by GWT codeserver, which causes class 
inconsistencies.
classpath += 
project(':proj:webui').configurations.compileClasspath
classpath += 
project(':proj:tas:gwtapi').configurations.compileClasspath

maxHeapSize = "1000m"

args = compilerArgs.flatten()
}
}
}

Our 2 main source trees are defined by gwtapi_src and webui_src. The 
com.ascert.webui.vt.VtWebUi-dev 
is our dev GWT XML file name. It's slightly different to our prod one as it 
has debug flags on and only creates a single large permutation.

That's really the main part. We also have the source modules on the 
classpath as :proj:webui and :proj:gwtapi - for reasons as per the comments.

The only other crucial part is the configurations.gwtBuild. This is a 
gradle configuration with all the JARs needed for codeserver (gwt_dev, 
gwt_user, various js lib jars such as GXT etc.). It's really just a 
convenient way of handling classpath JARs and nothing more. If/when we 
update the versions of any of those, the above automatically pulls in the 
updated dependency versions.

There's really nothing that special about CodeServer apart from making sure 
all your own sources and JARs are on the classpath, plus the standard GWT 
ones and any 3rd party libs you use. Although the above is for Gradle, the 
same principles and approach ought to apply for MVN or any other build tool.

Good luck!

-Rob


On Monday 15 April 2024 at 10:13:19 UTC+1 Mathias wrote:

> Hi Thomas
>
> unfortunately, I'm still stuck. I thought I'd attack the Lombok dependency 
> first, since that's a third-party it depends on. I don't suppose you've 
> ever been exposed to that? 
> I tried setting the 
> *compile *to the "configuration" setting 
> of the plugin def in pluginmanagement of the root pom. That didn't help. 
> (neither compile+runtime)
>
> In the intellij GWT-plugin I got it working while running by setting the 
> argument "-javaagent:/...path/lombok-1.16.14.jar=ECJ , not sure if that 
> could change anything. I mean this breaks at compile so I don't know.
>
> I have gone through the configuration line-by line with both your 
> archetype project and the NaluKit Marco tipped me about. I can't see any 
> relevant difference. I don't have *gwt-lib *on any 
> dependency, but neither does any of the other projects I look at.
>
> I also tried adding lombok dependency to the plugin, it didn't help either.
>
> I am basically stuck, this is not great. Would you have time to look at 
> the plugin config if I pasted it?
>
> On Friday 12 April 2024 at 11:20:01 UTC+2 Thomas Broyer wrote:
>
>> On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote:
>>
>> -My dependencies should be ok since i can build it with the plugin, so 
>> i'm a bit at a loss as to how make this work.
>>
>>
>> Dependencies for gwt:compile and gwt:codeserver aren't the same: 
>> https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
>> You might have to either adjust the  of dependencies (e.g. from 
>> provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. 
>> from runtime to compile+runtime or compile)
>>  
>>
>> as a final aside:
>> The "neither a gwt-lib or jar" warning messages in the error log below - 
>> i still get it if i add the gwt-lib type to the dependency, and the 
>> archetype project print

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-15 Thread Mathias
Hi Thomas

unfortunately, I'm still stuck. I thought I'd attack the Lombok dependency 
first, since that's a third-party it depends on. I don't suppose you've 
ever been exposed to that? 
I tried setting the 
*compile *to the "configuration" setting 
of the plugin def in pluginmanagement of the root pom. That didn't help. 
(neither compile+runtime)

In the intellij GWT-plugin I got it working while running by setting the 
argument "-javaagent:/...path/lombok-1.16.14.jar=ECJ , not sure if that 
could change anything. I mean this breaks at compile so I don't know.

I have gone through the configuration line-by line with both your archetype 
project and the NaluKit Marco tipped me about. I can't see any relevant 
difference. I don't have *gwt-lib *on any dependency, but 
neither does any of the other projects I look at.

I also tried adding lombok dependency to the plugin, it didn't help either.

I am basically stuck, this is not great. Would you have time to look at the 
plugin config if I pasted it?

On Friday 12 April 2024 at 11:20:01 UTC+2 Thomas Broyer wrote:

> On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote:
>
> -My dependencies should be ok since i can build it with the plugin, so i'm 
> a bit at a loss as to how make this work.
>
>
> Dependencies for gwt:compile and gwt:codeserver aren't the same: 
> https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
> You might have to either adjust the  of dependencies (e.g. from 
> provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. 
> from runtime to compile+runtime or compile)
>  
>
> as a final aside:
> The "neither a gwt-lib or jar" warning messages in the error log below - i 
> still get it if i add the gwt-lib type to the dependency, and the archetype 
> project prints the same error when created.
>
>
> Note that it's an info, not a warning 
>

-- 
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/7ae59c63-c4a1-44a2-8d96-f1734a52708cn%40googlegroups.com.


Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-15 Thread Marco Tenti (IoProgrammo88)
I also try to use the external approach described here 
https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/define-mappers
 
but it should be the same i must have the XXMapperImpl somewhere , but the 
java compiler tell me that class do not exists. Maybe there is some maven 
configuration to add somewehre ?

Il giorno lunedì 15 aprile 2024 alle 09:16:49 UTC+2 Marco Tenti 
(IoProgrammo88) ha scritto:

> The problem i cannot find the generate class "Person_MapperImpl" is under 
> the target folder somewhere ?
>
> Il giorno venerdì 12 aprile 2024 alle 18:25:30 UTC+2 Thomas Broyer ha 
> scritto:
>
>> Aren't you supposed to directly use the generated class rather than using 
>> GWT.create() ? (unless you also added a  in your gwt.xml)
>>
>> https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/quick-start
>>
>> On Friday, April 12, 2024 at 1:20:27 PM UTC+2 tenti...@gmail.com wrote:
>>
>>> I'm upgrading a old project and i want to replace the old gwt-jackson (
>>> https://dominokit.com/solutions/domino-jackson/v1)  with the 
>>> domino-jackson project (https://github.com/DominoKit/domino-jackson).
>>>
>>> It should be a simple transiction, but i cannot understand how to let 
>>> the GWT compilation "see" the implementations classes of the ObjectMapper 
>>> interface.
>>>
>>> *Here the "old" code from gwt-jackson*
>>>
>>> *public static interface AltriMetadatiDTOMapper extends 
>>> com.github.nmorel.gwtjackson.client.ObjectMapper>>
>>>  
>>> {} *
>>>
>>> * ... *
>>>
>>> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
>>> GWT.create(AltriMetadatiDTOMapper.class); String jsonAltriMetadati = 
>>> altriMetadatiDTOMapper.write(object); *
>>>
>>> *Here the "new" code from domino-jackson*
>>> *@org.dominokit.jackson.annotation.JSONMapper public interface 
>>> AltriMetadatiDTOMapper extends 
>>> org.dominokit.jackson.ObjectMapper>> {}*
>>>
>>> * ... *
>>>
>>> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
>>> GWT.create(AltriMetadatiDTOMappe.class); String jsonAltriMetadati = 
>>> altriMetadatiDTOMapper.write(object); *
>>>
>>> but it give to me this error
>>> [ERROR] Errors in 'xxx.java' [INFO] [ERROR] Line 662: Rebind result 
>>> 'xxx.AltriMetadatiDTOMapper' must be a class
>>>
>>> Did anyone know what i'm doing wrong ?
>>>
>>

-- 
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/226c4807-d150-4d8b-8baa-9426c0686e08n%40googlegroups.com.


Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-15 Thread Marco Tenti (IoProgrammo88)
The problem i cannot find the generate class "Person_MapperImpl" is under 
the target folder somewhere ?

Il giorno venerdì 12 aprile 2024 alle 18:25:30 UTC+2 Thomas Broyer ha 
scritto:

> Aren't you supposed to directly use the generated class rather than using 
> GWT.create() ? (unless you also added a  in your gwt.xml)
>
> https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/quick-start
>
> On Friday, April 12, 2024 at 1:20:27 PM UTC+2 tenti...@gmail.com wrote:
>
>> I'm upgrading a old project and i want to replace the old gwt-jackson (
>> https://dominokit.com/solutions/domino-jackson/v1)  with the 
>> domino-jackson project (https://github.com/DominoKit/domino-jackson).
>>
>> It should be a simple transiction, but i cannot understand how to let the 
>> GWT compilation "see" the implementations classes of the ObjectMapper 
>> interface.
>>
>> *Here the "old" code from gwt-jackson*
>>
>> *public static interface AltriMetadatiDTOMapper extends 
>> com.github.nmorel.gwtjackson.client.ObjectMapper>>
>>  
>> {} *
>>
>> * ... *
>>
>> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
>> GWT.create(AltriMetadatiDTOMapper.class); String jsonAltriMetadati = 
>> altriMetadatiDTOMapper.write(object); *
>>
>> *Here the "new" code from domino-jackson*
>> *@org.dominokit.jackson.annotation.JSONMapper public interface 
>> AltriMetadatiDTOMapper extends 
>> org.dominokit.jackson.ObjectMapper>> {}*
>>
>> * ... *
>>
>> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
>> GWT.create(AltriMetadatiDTOMappe.class); String jsonAltriMetadati = 
>> altriMetadatiDTOMapper.write(object); *
>>
>> but it give to me this error
>> [ERROR] Errors in 'xxx.java' [INFO] [ERROR] Line 662: Rebind result 
>> 'xxx.AltriMetadatiDTOMapper' must be a class
>>
>> Did anyone know what i'm doing wrong ?
>>
>

-- 
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/ebe6821a-dc64-4cd9-bf5f-5d9e4d230e40n%40googlegroups.com.


Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-12 Thread Thomas Broyer
Aren't you supposed to directly use the generated class rather than using 
GWT.create() ? (unless you also added a  in your gwt.xml)
https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/quick-start

On Friday, April 12, 2024 at 1:20:27 PM UTC+2 tenti...@gmail.com wrote:

> I'm upgrading a old project and i want to replace the old gwt-jackson (
> https://dominokit.com/solutions/domino-jackson/v1)  with the 
> domino-jackson project (https://github.com/DominoKit/domino-jackson).
>
> It should be a simple transiction, but i cannot understand how to let the 
> GWT compilation "see" the implementations classes of the ObjectMapper 
> interface.
>
> *Here the "old" code from gwt-jackson*
>
> *public static interface AltriMetadatiDTOMapper extends 
> com.github.nmorel.gwtjackson.client.ObjectMapper>>
>  
> {} *
>
> * ... *
>
> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
> GWT.create(AltriMetadatiDTOMapper.class); String jsonAltriMetadati = 
> altriMetadatiDTOMapper.write(object); *
>
> *Here the "new" code from domino-jackson*
> *@org.dominokit.jackson.annotation.JSONMapper public interface 
> AltriMetadatiDTOMapper extends 
> org.dominokit.jackson.ObjectMapper>> {}*
>
> * ... *
>
> * AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
> GWT.create(AltriMetadatiDTOMappe.class); String jsonAltriMetadati = 
> altriMetadatiDTOMapper.write(object); *
>
> but it give to me this error
> [ERROR] Errors in 'xxx.java' [INFO] [ERROR] Line 662: Rebind result 
> 'xxx.AltriMetadatiDTOMapper' must be a class
>
> Did anyone know what i'm doing wrong ?
>

-- 
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/2deba265-8fee-4643-8677-9236c83ae253n%40googlegroups.com.


Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Mathias
Thomas, Marco showed me a project that made me see one thing I hadn't 
thought about, which was configured the same in the archetype project. It's 
regarding the sources.

In my project, I only have one jar that contain both classes and source 
files for those jar files that are needed, i.e. no sources-jar anywhere. 
This was a long time ago, but I think it was because we also needed to 
include things like .properties-files for i18n which are in submodules as 
well, so we use the  tags to define them.

In any case - this apparently works fine for the compile, but could this be 
a reason for CodeServer not finding the class files? On the other hand, it 
doesn't find Lombok either which worked before, and I don't have any lombok 
sources.jar in my repo. Perhaps it doesn't need the Lombok sources since 
it's just annotations? 

On Friday 12 April 2024 at 11:20:01 UTC+2 Thomas Broyer wrote:

> On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote:
>
> -My dependencies should be ok since i can build it with the plugin, so i'm 
> a bit at a loss as to how make this work.
>
>
> Dependencies for gwt:compile and gwt:codeserver aren't the same: 
> https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
> You might have to either adjust the  of dependencies (e.g. from 
> provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. 
> from runtime to compile+runtime or compile)
>  
>
> as a final aside:
> The "neither a gwt-lib or jar" warning messages in the error log below - i 
> still get it if i add the gwt-lib type to the dependency, and the archetype 
> project prints the same error when created.
>
>
> Note that it's an info, not a warning 
>

-- 
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/a1d39578-5eff-4ede-9e2f-12d73422c98en%40googlegroups.com.


Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Mathias
Thanks! That's a great resource and got me to see one thing I'd missed.

On Friday 12 April 2024 at 15:11:45 UTC+2 Marco Tenti (IoProgrammo88) wrote:

> This project has many good examples to check out 
> https://github.com/NaluKit/nalu-examples, it help me a lot.
>
> Il giorno venerdì 12 aprile 2024 alle 14:39:16 UTC+2 Mathias ha scritto:
>
>> Hey Jens, thanks for replying!
>>
>> re. the gwt-type:
>>
>> 1. I only have one maven module that contains the entry point. the "gwt 
>> client" module
>> 2. All dependencies are either on third-party such as Lombok, or my own 
>> other modules that only contain java classes and are built as jar-files.
>> 3. I added the "type" gwt-lib to the dependencies in the "gwt client" 
>> pom, but I didn't do anything to the pom files in the jar modules that the 
>> gwt client depend on. I mean, Lombok doesn't have a packaging 
>> gwt-lib in its pom, either. 
>>
>> On Friday 12 April 2024 at 11:15:38 UTC+2 Jens wrote:
>>
>>> A full example for multiple maven modules (more than just three) can be 
>>> found here: 
>>> https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e
>>>
>>> You have to add gwt-lib to your own maven library 
>>> modules that contain a module.gwt.xml file. Maybe you forgot that?
>>>
>>> -- J.
>>>
>>> Mathias schrieb am Freitag, 12. April 2024 um 07:50:42 UTC+2:
>>>
>>>> I *really* could use some help getting my project up for development 
>>>> after moving to gwt 2.10 and Java 11.
>>>> I can unfortunately nolonger use the GWT intellij plugin i've loved and 
>>>> used for 12 years apparently, and i'm struggling a bit to get the 
>>>> codeserver running for my project.
>>>>
>>>> *CURRENT STATUS:*
>>>> My project is over 12 years, but i migrated it from the old gwt mojo 
>>>> plugin to the new tbroyer one last year.
>>>> It builds into a war fine and deploys on tomcat. Prior to the migration 
>>>> to GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT 
>>>> Intellij plugin, which I've loved and used for those same 12 years. 
>>>> But now the plugin unfortunately doesn't work, and from what I can tell 
>>>> due to the JettyLauncher, (I get lots of classnotfounds for for example 
>>>> javax.sql.DataSource)  it's kind of impossible to make it run? So I 
>>>> thought 
>>>> I'd try what people have been saying, move to the manual thing with server 
>>>> and code server, even though it's a more cumbersome setup.
>>>>
>>>> As part of trying to get this show on the road, i created an archetype 
>>>> project and got codeserver and server running according to the new v2 
>>>> tutorial. This works fine.
>>>>
>>>> *PROBLEM:*
>>>> Basically i can't get the codeserver to run. My project is pretty large 
>>>> so my "webclient" module that contains my gwt client has a bunch of 
>>>> dependencies on my own child modules, and a couple of third-party ones 
>>>> such 
>>>> as Lombok.
>>>>
>>>>
>>>> When i try the codeserver with this command (from the tutorial)
>>>> * mvn gwt:codeserver -pl webclient -am*
>>>>
>>>> ,where the webclient is the module containing the gwt code and entry 
>>>> point, standing in the root dir of my project,
>>>> ,i get page up and page down filled with missing dependencies from 
>>>> stuff and "did you forget to inherit"-errors. (see error extract at the 
>>>> bottom)
>>>>
>>>> -I'm not sure if this has something to do with the "workdir", the 
>>>> directory i stand in when i try to start the codeserver as described 
>>>> above, 
>>>> some dependency declaration i'm missing or something else.
>>>>
>>>> -My dependencies should be ok since i can build it with the plugin, so 
>>>> i'm a bit at a loss as to how make this work.
>>>>
>>>> -Help would be much appreciated, right now i can't develop and rolling 
>>>> our project back to 2.8 and Java 8 wouldn't be great and take time. Man 
>>>> how 
>>>> I wish that the intellij plugin had just kept working.
>>>>
>>>> as a final aside:
>>>> The "neither a gwt-lib or jar" warning messages in the error log below 
>>>> - i still get it if i add the gwt-l

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Marco Tenti (IoProgrammo88)
This project has many good examples to check 
out https://github.com/NaluKit/nalu-examples, it help me a lot.

Il giorno venerdì 12 aprile 2024 alle 14:39:16 UTC+2 Mathias ha scritto:

> Hey Jens, thanks for replying!
>
> re. the gwt-type:
>
> 1. I only have one maven module that contains the entry point. the "gwt 
> client" module
> 2. All dependencies are either on third-party such as Lombok, or my own 
> other modules that only contain java classes and are built as jar-files.
> 3. I added the "type" gwt-lib to the dependencies in the "gwt client" pom, 
> but I didn't do anything to the pom files in the jar modules that the gwt 
> client depend on. I mean, Lombok doesn't have a packaging 
> gwt-lib in its pom, either. 
>
> On Friday 12 April 2024 at 11:15:38 UTC+2 Jens wrote:
>
>> A full example for multiple maven modules (more than just three) can be 
>> found here: 
>> https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e
>>
>> You have to add gwt-lib to your own maven library 
>> modules that contain a module.gwt.xml file. Maybe you forgot that?
>>
>> -- J.
>>
>> Mathias schrieb am Freitag, 12. April 2024 um 07:50:42 UTC+2:
>>
>>> I *really* could use some help getting my project up for development 
>>> after moving to gwt 2.10 and Java 11.
>>> I can unfortunately nolonger use the GWT intellij plugin i've loved and 
>>> used for 12 years apparently, and i'm struggling a bit to get the 
>>> codeserver running for my project.
>>>
>>> *CURRENT STATUS:*
>>> My project is over 12 years, but i migrated it from the old gwt mojo 
>>> plugin to the new tbroyer one last year.
>>> It builds into a war fine and deploys on tomcat. Prior to the migration 
>>> to GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT 
>>> Intellij plugin, which I've loved and used for those same 12 years. 
>>> But now the plugin unfortunately doesn't work, and from what I can tell 
>>> due to the JettyLauncher, (I get lots of classnotfounds for for example 
>>> javax.sql.DataSource)  it's kind of impossible to make it run? So I thought 
>>> I'd try what people have been saying, move to the manual thing with server 
>>> and code server, even though it's a more cumbersome setup.
>>>
>>> As part of trying to get this show on the road, i created an archetype 
>>> project and got codeserver and server running according to the new v2 
>>> tutorial. This works fine.
>>>
>>> *PROBLEM:*
>>> Basically i can't get the codeserver to run. My project is pretty large 
>>> so my "webclient" module that contains my gwt client has a bunch of 
>>> dependencies on my own child modules, and a couple of third-party ones such 
>>> as Lombok.
>>>
>>>
>>> When i try the codeserver with this command (from the tutorial)
>>> * mvn gwt:codeserver -pl webclient -am*
>>>
>>> ,where the webclient is the module containing the gwt code and entry 
>>> point, standing in the root dir of my project,
>>> ,i get page up and page down filled with missing dependencies from stuff 
>>> and "did you forget to inherit"-errors. (see error extract at the bottom)
>>>
>>> -I'm not sure if this has something to do with the "workdir", the 
>>> directory i stand in when i try to start the codeserver as described above, 
>>> some dependency declaration i'm missing or something else.
>>>
>>> -My dependencies should be ok since i can build it with the plugin, so 
>>> i'm a bit at a loss as to how make this work.
>>>
>>> -Help would be much appreciated, right now i can't develop and rolling 
>>> our project back to 2.8 and Java 8 wouldn't be great and take time. Man how 
>>> I wish that the intellij plugin had just kept working.
>>>
>>> as a final aside:
>>> The "neither a gwt-lib or jar" warning messages in the error log below - 
>>> i still get it if i add the gwt-lib type to the dependency, and the 
>>> archetype project prints the same error when created.
>>>
>>> *Extract from the error log:*
>>>
>>> [INFO] Ignoring com.myproject:generalcommons:jar:1.0-SNAPSHOT; neither a 
>>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
>>> dependency declaration?
>>> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a 
>>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
>>> dependency declaration?
>

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Mathias
Hey Jens, thanks for replying!

re. the gwt-type:

1. I only have one maven module that contains the entry point. the "gwt 
client" module
2. All dependencies are either on third-party such as Lombok, or my own 
other modules that only contain java classes and are built as jar-files.
3. I added the "type" gwt-lib to the dependencies in the "gwt client" pom, 
but I didn't do anything to the pom files in the jar modules that the gwt 
client depend on. I mean, Lombok doesn't have a packaging 
gwt-lib in its pom, either. 

On Friday 12 April 2024 at 11:15:38 UTC+2 Jens wrote:

> A full example for multiple maven modules (more than just three) can be 
> found here: 
> https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e
>
> You have to add gwt-lib to your own maven library 
> modules that contain a module.gwt.xml file. Maybe you forgot that?
>
> -- J.
>
> Mathias schrieb am Freitag, 12. April 2024 um 07:50:42 UTC+2:
>
>> I *really* could use some help getting my project up for development 
>> after moving to gwt 2.10 and Java 11.
>> I can unfortunately nolonger use the GWT intellij plugin i've loved and 
>> used for 12 years apparently, and i'm struggling a bit to get the 
>> codeserver running for my project.
>>
>> *CURRENT STATUS:*
>> My project is over 12 years, but i migrated it from the old gwt mojo 
>> plugin to the new tbroyer one last year.
>> It builds into a war fine and deploys on tomcat. Prior to the migration 
>> to GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT 
>> Intellij plugin, which I've loved and used for those same 12 years. 
>> But now the plugin unfortunately doesn't work, and from what I can tell 
>> due to the JettyLauncher, (I get lots of classnotfounds for for example 
>> javax.sql.DataSource)  it's kind of impossible to make it run? So I thought 
>> I'd try what people have been saying, move to the manual thing with server 
>> and code server, even though it's a more cumbersome setup.
>>
>> As part of trying to get this show on the road, i created an archetype 
>> project and got codeserver and server running according to the new v2 
>> tutorial. This works fine.
>>
>> *PROBLEM:*
>> Basically i can't get the codeserver to run. My project is pretty large 
>> so my "webclient" module that contains my gwt client has a bunch of 
>> dependencies on my own child modules, and a couple of third-party ones such 
>> as Lombok.
>>
>>
>> When i try the codeserver with this command (from the tutorial)
>> * mvn gwt:codeserver -pl webclient -am*
>>
>> ,where the webclient is the module containing the gwt code and entry 
>> point, standing in the root dir of my project,
>> ,i get page up and page down filled with missing dependencies from stuff 
>> and "did you forget to inherit"-errors. (see error extract at the bottom)
>>
>> -I'm not sure if this has something to do with the "workdir", the 
>> directory i stand in when i try to start the codeserver as described above, 
>> some dependency declaration i'm missing or something else.
>>
>> -My dependencies should be ok since i can build it with the plugin, so 
>> i'm a bit at a loss as to how make this work.
>>
>> -Help would be much appreciated, right now i can't develop and rolling 
>> our project back to 2.8 and Java 8 wouldn't be great and take time. Man how 
>> I wish that the intellij plugin had just kept working.
>>
>> as a final aside:
>> The "neither a gwt-lib or jar" warning messages in the error log below - 
>> i still get it if i add the gwt-lib type to the dependency, and the 
>> archetype project prints the same error when created.
>>
>> *Extract from the error log:*
>>
>> [INFO] Ignoring com.myproject:generalcommons:jar:1.0-SNAPSHOT; neither a 
>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
>> dependency declaration?
>> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a 
>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
>> dependency declaration?
>> [INFO] Ignoring com.myproject:webmaps:jar:1.0-SNAPSHOT; neither a gwt-lib 
>> or jar:sources; Did you forget to use gwt-lib in the 
>> dependency declaration?
>> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a 
>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
>> dependency declaration?
>> [INFO] Turning off precompile in incremental mode.
>> [INFO] Super Dev Mode starting up
>> [INFO]workDir: 
>> /Users/mathias/.projects/myproject/target/gwt/code

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Mathias
Fair enough mate, I just remarked on it since when I built the archetype 
from scratch and saw that, my first thought was "huh wonder why that is, 
surely it won't work now since it doesn't pull in the classes from shared", 
but it did :) 

On Friday 12 April 2024 at 11:20:01 UTC+2 Thomas Broyer wrote:

> On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote:
>
> -My dependencies should be ok since i can build it with the plugin, so i'm 
> a bit at a loss as to how make this work.
>
>
> Dependencies for gwt:compile and gwt:codeserver aren't the same: 
> https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
> You might have to either adjust the  of dependencies (e.g. from 
> provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. 
> from runtime to compile+runtime or compile)
>  
>
> as a final aside:
> The "neither a gwt-lib or jar" warning messages in the error log below - i 
> still get it if i add the gwt-lib type to the dependency, and the archetype 
> project prints the same error when created.
>
>
> Note that it's an info, not a warning 
>

-- 
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/023512cf-2680-4f82-937e-ef853cb1e422n%40googlegroups.com.


Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-12 Thread Marco Tenti (IoProgrammo88)
I'm upgrading a old project and i want to replace the old gwt-jackson 
(https://dominokit.com/solutions/domino-jackson/v1)  with the 
domino-jackson project (https://github.com/DominoKit/domino-jackson).

It should be a simple transiction, but i cannot understand how to let the 
GWT compilation "see" the implementations classes of the ObjectMapper 
interface.

*Here the "old" code from gwt-jackson*

*public static interface AltriMetadatiDTOMapper extends 
com.github.nmorel.gwtjackson.client.ObjectMapper>>
 
{} *

* ... *

* AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
GWT.create(AltriMetadatiDTOMapper.class); String jsonAltriMetadati = 
altriMetadatiDTOMapper.write(object); *

*Here the "new" code from domino-jackson*
*@org.dominokit.jackson.annotation.JSONMapper public interface 
AltriMetadatiDTOMapper extends 
org.dominokit.jackson.ObjectMapper>> {}*

* ... *

* AltriMetadatiDTOMapper altriMetadatiDTOMapper = 
GWT.create(AltriMetadatiDTOMappe.class); String jsonAltriMetadati = 
altriMetadatiDTOMapper.write(object); *

but it give to me this error
[ERROR] Errors in 'xxx.java' [INFO] [ERROR] Line 662: Rebind result 
'xxx.AltriMetadatiDTOMapper' must be a class

Did anyone know what i'm doing wrong ?

-- 
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/bc645145-3583-48ea-a757-ec2a2ad700c5n%40googlegroups.com.


Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Thomas Broyer


On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote:

-My dependencies should be ok since i can build it with the plugin, so i'm 
a bit at a loss as to how make this work.


Dependencies for gwt:compile and gwt:codeserver aren't the 
same: https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
You might have to either adjust the  of dependencies (e.g. from 
provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. 
from runtime to compile+runtime or compile)
 

as a final aside:
The "neither a gwt-lib or jar" warning messages in the error log below - i 
still get it if i add the gwt-lib type to the dependency, and the archetype 
project prints the same error when created.


Note that it's an info, not a warning 

-- 
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/22b7fe06-6d3e-4215-979f-da5477c44508n%40googlegroups.com.


Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Jens
A full example for multiple maven modules (more than just three) can be 
found here: https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e

You have to add gwt-lib to your own maven library 
modules that contain a module.gwt.xml file. Maybe you forgot that?

-- J.

Mathias schrieb am Freitag, 12. April 2024 um 07:50:42 UTC+2:

> I *really* could use some help getting my project up for development 
> after moving to gwt 2.10 and Java 11.
> I can unfortunately nolonger use the GWT intellij plugin i've loved and 
> used for 12 years apparently, and i'm struggling a bit to get the 
> codeserver running for my project.
>
> *CURRENT STATUS:*
> My project is over 12 years, but i migrated it from the old gwt mojo 
> plugin to the new tbroyer one last year.
> It builds into a war fine and deploys on tomcat. Prior to the migration to 
> GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT Intellij 
> plugin, which I've loved and used for those same 12 years. 
> But now the plugin unfortunately doesn't work, and from what I can tell 
> due to the JettyLauncher, (I get lots of classnotfounds for for example 
> javax.sql.DataSource)  it's kind of impossible to make it run? So I thought 
> I'd try what people have been saying, move to the manual thing with server 
> and code server, even though it's a more cumbersome setup.
>
> As part of trying to get this show on the road, i created an archetype 
> project and got codeserver and server running according to the new v2 
> tutorial. This works fine.
>
> *PROBLEM:*
> Basically i can't get the codeserver to run. My project is pretty large so 
> my "webclient" module that contains my gwt client has a bunch of 
> dependencies on my own child modules, and a couple of third-party ones such 
> as Lombok.
>
>
> When i try the codeserver with this command (from the tutorial)
> * mvn gwt:codeserver -pl webclient -am*
>
> ,where the webclient is the module containing the gwt code and entry 
> point, standing in the root dir of my project,
> ,i get page up and page down filled with missing dependencies from stuff 
> and "did you forget to inherit"-errors. (see error extract at the bottom)
>
> -I'm not sure if this has something to do with the "workdir", the 
> directory i stand in when i try to start the codeserver as described above, 
> some dependency declaration i'm missing or something else.
>
> -My dependencies should be ok since i can build it with the plugin, so i'm 
> a bit at a loss as to how make this work.
>
> -Help would be much appreciated, right now i can't develop and rolling our 
> project back to 2.8 and Java 8 wouldn't be great and take time. Man how I 
> wish that the intellij plugin had just kept working.
>
> as a final aside:
> The "neither a gwt-lib or jar" warning messages in the error log below - i 
> still get it if i add the gwt-lib type to the dependency, and the archetype 
> project prints the same error when created.
>
> *Extract from the error log:*
>
> [INFO] Ignoring com.myproject:generalcommons:jar:1.0-SNAPSHOT; neither a 
> gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
> dependency declaration?
> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a 
> gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
> dependency declaration?
> [INFO] Ignoring com.myproject:webmaps:jar:1.0-SNAPSHOT; neither a gwt-lib 
> or jar:sources; Did you forget to use gwt-lib in the 
> dependency declaration?
> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a 
> gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
> dependency declaration?
> [INFO] Turning off precompile in incremental mode.
> [INFO] Super Dev Mode starting up
> [INFO]workDir: /Users/mathias/.projects/myproject/target/gwt/codeserver
> [INFO][WARN] Deactivated PrecompressLinker
> [INFO] 19:00:51.710 [main] INFO org.eclipse.jetty.util.log - Logging 
> initialized @778ms to org.eclipse.jetty.util.log.Slf4jLog
> [INFO] 19:00:51.714 [main] DEBUG 
> org.eclipse.jetty.http.PreEncodedHttpField - HttpField encoders loaded: 
> [org.eclipse.jetty.http.Http1FieldPreEncoder]
> [INFO]Loading Java files in com.myproject.client.
> [INFO]Tracing compile failure path for type 
> 'com.myproject.client.domain.group.GroupDragDropLayout'
> [INFO]   [ERROR] Errors in 
> 'file:/Users/mathias/.projects/myproject/webgwtcommons/src/main/java/com/myproject/client/domain/group/GroupDragDropLayout.java'
> [INFO]  [ERROR] Line 18: The import lombok cannot be resolved
> [INFO]  [ERROR] Line 7: The import com.myproject.common cannot be 
> resolved
> [INFO]  [ERROR] Line 32: Getter cannot be resolved to a type
&g

Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-11 Thread Mathias
I *really* could use some help getting my project up for development after 
moving to gwt 2.10 and Java 11.
I can unfortunately nolonger use the GWT intellij plugin i've loved and 
used for 12 years apparently, and i'm struggling a bit to get the 
codeserver running for my project.

*CURRENT STATUS:*
My project is over 12 years, but i migrated it from the old gwt mojo plugin 
to the new tbroyer one last year.
It builds into a war fine and deploys on tomcat. Prior to the migration to 
GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT Intellij 
plugin, which I've loved and used for those same 12 years. 
But now the plugin unfortunately doesn't work, and from what I can tell due 
to the JettyLauncher, (I get lots of classnotfounds for for example 
javax.sql.DataSource)  it's kind of impossible to make it run? So I thought 
I'd try what people have been saying, move to the manual thing with server 
and code server, even though it's a more cumbersome setup.

As part of trying to get this show on the road, i created an archetype 
project and got codeserver and server running according to the new v2 
tutorial. This works fine.

*PROBLEM:*
Basically i can't get the codeserver to run. My project is pretty large so 
my "webclient" module that contains my gwt client has a bunch of 
dependencies on my own child modules, and a couple of third-party ones such 
as Lombok.


When i try the codeserver with this command (from the tutorial)
* mvn gwt:codeserver -pl webclient -am*

,where the webclient is the module containing the gwt code and entry point, 
standing in the root dir of my project,
,i get page up and page down filled with missing dependencies from stuff 
and "did you forget to inherit"-errors. (see error extract at the bottom)

-I'm not sure if this has something to do with the "workdir", the directory 
i stand in when i try to start the codeserver as described above, some 
dependency declaration i'm missing or something else.

-My dependencies should be ok since i can build it with the plugin, so i'm 
a bit at a loss as to how make this work.

-Help would be much appreciated, right now i can't develop and rolling our 
project back to 2.8 and Java 8 wouldn't be great and take time. Man how I 
wish that the intellij plugin had just kept working.

as a final aside:
The "neither a gwt-lib or jar" warning messages in the error log below - i 
still get it if i add the gwt-lib type to the dependency, and the archetype 
project prints the same error when created.

*Extract from the error log:*

[INFO] Ignoring com.myproject:generalcommons:jar:1.0-SNAPSHOT; neither a 
gwt-lib or jar:sources; Did you forget to use gwt-lib in the 
dependency declaration?
[INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a gwt-lib 
or jar:sources; Did you forget to use gwt-lib in the 
dependency declaration?
[INFO] Ignoring com.myproject:webmaps:jar:1.0-SNAPSHOT; neither a gwt-lib 
or jar:sources; Did you forget to use gwt-lib in the 
dependency declaration?
[INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a gwt-lib 
or jar:sources; Did you forget to use gwt-lib in the 
dependency declaration?
[INFO] Turning off precompile in incremental mode.
[INFO] Super Dev Mode starting up
[INFO]workDir: /Users/mathias/.projects/myproject/target/gwt/codeserver
[INFO][WARN] Deactivated PrecompressLinker
[INFO] 19:00:51.710 [main] INFO org.eclipse.jetty.util.log - Logging 
initialized @778ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] 19:00:51.714 [main] DEBUG org.eclipse.jetty.http.PreEncodedHttpField 
- HttpField encoders loaded: [org.eclipse.jetty.http.Http1FieldPreEncoder]
[INFO]Loading Java files in com.myproject.client.
[INFO]Tracing compile failure path for type 
'com.myproject.client.domain.group.GroupDragDropLayout'
[INFO]   [ERROR] Errors in 
'file:/Users/mathias/.projects/myproject/webgwtcommons/src/main/java/com/myproject/client/domain/group/GroupDragDropLayout.java'
[INFO]  [ERROR] Line 18: The import lombok cannot be resolved
[INFO]  [ERROR] Line 7: The import com.myproject.common cannot be 
resolved
[INFO]  [ERROR] Line 32: Getter cannot be resolved to a type
[INFO]  [ERROR] Line 114: CSConstants cannot be resolved to a 
variable
[INFO]Tracing compile failure path for type 
'com.google.gwt.validation.client.impl.ConstraintFinderImpl'
[INFO]   [ERROR] Errors in 
'jar:file:/Users/mathias/.m2/repository/org/gwtproject/gwt-user/2.10.0/gwt-user-2.10.0.jar!/com/google/gwt/validation/client/impl/ConstraintFinderImpl.java'
[INFO]  [ERROR] Line 38: No source code is available for type 
javax.validation.metadata.ElementDescriptor.ConstraintFinder; did you 
forget to inherit a required module?
[INFO]  [ERROR] Line 70: No source code is available for type 
javax.validation.metadata.ConstraintDescriptor; did you forget to 
inherit a required module?
[INFO]  [ERROR] Line 

Re: help to understand uiRenderer

2023-04-05 Thread Axel R.
hello,
is it possible to delete this post ? 

thanks you

On Tuesday, 8 January 2013 at 09:52:55 UTC-5 Axel REGNOULT wrote:

> ok, I close this topic, my error was the importance to use the same 
> parameter name Contact in the render method. 
>
>
> void render(SafeHtmlBuilder sb, Contact *contact*);
>
> field='*contact*'
>   type='com.MS.client.core.MODEL.admin.Contact_database.Contact' />
>

-- 
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/59b2615f-a935-4c29-9998-90921519998dn%40googlegroups.com.


Re: Can anyone help me to copy the text to clipboard in a simple way and which works on all browsers

2022-10-20 Thread Pramod Patil
Hi, Did you get solution for your problem?

On Monday, 21 March 2016 at 19:16:23 UTC+5:30 Dhinakar wrote:

> Can anyone help me to copy the text to clipboard in a simple way and which 
> works on all browsers especially on Safari, Chrome and IE and with out the 
> need of flash or any other apps. Thanks in advance
>
> public static native void 
> copyFrom(com.google.gwt.user.client.Element element) /*-{
>   $wnd.window.clipboardData.setData('text', element.innerText);
> }-*/;
> public static native void pasteTo(com.google.gwt.user.client.Element 
> element) /*-{
>   $wnd.window.clipboardData.getData(element);
> }-*/; 
> This code only works on IE and returns an exception on Chrome.
>
> I need to process this event on a button click.
>

-- 
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/84f249f5-e548-407e-bfde-cfd42b2f5cc4n%40googlegroups.com.


Re: GWT super Dev Mode help

2021-08-13 Thread Yibin Li
I created a new GWT project by V3 and it can run DevMode to debug.  I will 
compare old project setup with new one's to see the differences 

On Monday, August 9, 2021 at 11:39:47 AM UTC-5 Yibin Li wrote:

> 1. We do not use Maven
> 2. We use GWT 2.5.1 + Firefox  Version 42 (old version)
>
> Currently, we just use right click the project
>
> Debug As -> Web Application The link 
> http://127.0.0.1:/My_Project.html?gwt.codesvr=127.0.0.1:9997 is 
> generated. I just need to click the link to debug the My_Project
>
> Now, I upgrated the GWT to 2.9.2 and JDK 11. When I right click the project
>
> The Debug As gives me multiple options
> 1. GWT Compiler
> 2. GWT Development Mode with Jetty
> 3. GWT Legacy Development Mode with Jetty
> 4. GWT Development Mode
>
> I setup Dev Mode on on Chrome
>
> when I click GWT Development Mode with Jetty , Eclipse generates 
> http://127.0.0.1:/My_Project.html
>
> When I click GWT Legacy Development Mode with Jetty, eclipse generates
> http://127.0.0.1:/My_Project.html?gwt.codesvr=127.0.0.1:9997
>
> But when I put the link in Chrome browser
>
> I got 
>
> HTTP ERROR: 503
>
> Problem accessing /ARIES.html. Reason:
> Service Unavailable
>
> *Powered by Jetty://*
>
>
> When I put http://127.0.0.1:9876/ (Jetty server) 
>
> I got popup window  Can't find any GWT Modules on this page. 
> http://127.0.0.1:9876
>
> How can I make super dev mode work in GWT 2.9
>
> Any help is appreciated 
>
> Yibin LI
>

-- 
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/ac4d02cf-feea-48bf-8579-eb22c7f23debn%40googlegroups.com.


GWT super Dev Mode help

2021-08-09 Thread Yibin Li
1. We do not use Maven
2. We use GWT 2.5.1 + Firefox  Version 42 (old version)

Currently, we just use right click the project

Debug As -> Web Application The 
link http://127.0.0.1:/My_Project.html?gwt.codesvr=127.0.0.1:9997 is 
generated. I just need to click the link to debug the My_Project

Now, I upgrated the GWT to 2.9.2 and JDK 11. When I right click the project

The Debug As gives me multiple options
1. GWT Compiler
2. GWT Development Mode with Jetty
3. GWT Legacy Development Mode with Jetty
4. GWT Development Mode

I setup Dev Mode on on Chrome

when I click GWT Development Mode with Jetty , Eclipse 
generates http://127.0.0.1:/My_Project.html

When I click GWT Legacy Development Mode with Jetty, eclipse generates
http://127.0.0.1:/My_Project.html?gwt.codesvr=127.0.0.1:9997

But when I put the link in Chrome browser

I got 

HTTP ERROR: 503

Problem accessing /ARIES.html. Reason:
Service Unavailable

*Powered by Jetty://*


When I put http://127.0.0.1:9876/ (Jetty server) 

I got popup window  Can't find any GWT Modules on this 
page. http://127.0.0.1:9876

How can I make super dev mode work in GWT 2.9

Any help is appreciated 

Yibin LI

-- 
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/5b4ad025-c110-4e72-ba99-c1041c014849n%40googlegroups.com.


Re: Need help debugging 2.0.3 (IE/Chrome - Eclipse Neon)

2020-01-17 Thread Thomas Broyer
Back in the days, DevMode used to require a browser plugin and actually ran 
the code in Java (rather than compiling it to JS as SuperDevMode does 
nowadays).
You can find the plugin for IE at 
https://gwt.googlesource.com/gwt-plugins/+/refs/heads/master/ie/prebuilt/ 
(plugins 
for other browsers no longer work, unless you can find a very old Firefox 
version, such as 24 –btw, this is the very reason SuperDevMode had to be 
built–; but IIRC the IE plugin still works even in IE 11).
You'll then run DevMode in debug from Eclipse and set breakpoints in your 
Java code and debug it as if it was a standard Java application.

Please note that GWT 2.0.3 is very old (will be 10 YEARS OLD in a month 
from now <http://www.gwtproject.org/release-notes.html#Release_Notes_2_0_3>) 
so you're highly encouraged to upgrade to GWT 2.8.2 (already more than 2 
years old, but still working great with current browsers). Your main 
blockers are likely to be third-party dependencies though…

On Wednesday, January 15, 2020 at 6:06:35 PM UTC+1, Luis Soto Sepulveda 
wrote:
>
> Hi Everyone:
>
> I'm working on this web application (Intranet JEE / Rest Services 
> application) and is using an OLD GWT version (probably 2.0.3 as i can see 
> in the code)...
>
> This application works fine running on Internet explorer and chrome, but 
> here "development team" told me that i can "not perform direct debug in 
> some java classes, mainly java files on Eclipse in front end (starting from 
> GWT Entry Point and then...)
>
> But i can debug some parts of back end with eclipse (rest services backend 
> layer)...
>
> So i need help with the following:
>
> 1) Can i debug GWT 2.0 using IE / chrome and Eclipse IDE (Neon) ???, IF 
> YES please send me here any URL with this kind information...
>
> As i can see i can not use "super dev mode" since i have no access to 
> source maps in order to debug GWT and point this to JEE class files 
> (because this is supported in GWT 2.5 or above)...
>
> SO, how can i debug GWT if i have no access to Source maps ???
>
> (i'm also not administrator user in my machine, so i can not install 
> software using windows installers)
>
> Best Regards.
>

-- 
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/76bc9cf8-9420-459d-9ef5-5b1c74297d12%40googlegroups.com.


Re: Need help debugging 2.0.3 (IE/Chrome - Eclipse Neon)

2020-01-17 Thread Michael Conrad

Suggestions:

a) request a dev box or context to host your debugging efforts that you 
can deploy to on demand.

=or=
b) setup a special project that can proxy via localhost requests to the 
API that you can deploy on your own machine that you also have setup to 
host the front-end you are working with

=then=
c) Convert entire project to version 2.8.2, make code adjustments to 
match 2.8.2, then you can debug via your dev setup using something like 
the GWT SuperDev debug via Eclipse chrome debug plugin or similar.


On 1/15/20 9:11 AM, Luis Soto Sepulveda wrote:

Hi Everyone:

I'm working on this web application (Intranet JEE / Rest Services 
application) and is using an OLD GWT version (probably 2.0.3 as i can 
see in the code)...


This application works fine running on Internet explorer and chrome, 
but here "development team" told me that i can "not perform direct 
debug in some java classes, mainly java files on Eclipse in front end 
(starting from GWT Entry Point and then...)


But i can debug some parts of back end with eclipse (rest services 
backend layer)...


So i need help with the following:

1) Can i debug GWT 2.0 using IE / chrome and Eclipse IDE (Neon) ???, 
IF YES please send me here any URL with this kind information...


As i can see i can not use "super dev mode" since i have no access to 
source maps in order to debug GWT and point this to JEE class files 
(because this is supported in GWT 2.5 or above)...


SO, how can i debug GWT if i have no access to Source maps ???

(i'm also not administrator user in my machine, so i can not install 
software using windows installers)


Best Regards.
--
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 
<mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/d9be9ad7-7b2c-415e-a3f6-a4082c9f5583%40googlegroups.com 
<https://groups.google.com/d/msgid/google-web-toolkit/d9be9ad7-7b2c-415e-a3f6-a4082c9f5583%40googlegroups.com?utm_medium=email_source=footer>.


--
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/dc10a529-d604-8ded-f6f2-aa71434ceeaa%40newsrx.com.


Need help debugging 2.0.3 (IE/Chrome - Eclipse Neon)

2020-01-15 Thread Luis Soto Sepulveda
Hi Everyone:

I'm working on this web application (Intranet JEE / Rest Services 
application) and is using an OLD GWT version (probably 2.0.3 as i can see 
in the code)...

This application works fine running on Internet explorer and chrome, but 
here "development team" told me that i can "not perform direct debug in 
some java classes, mainly java files on Eclipse in front end (starting from 
GWT Entry Point and then...)

But i can debug some parts of back end with eclipse (rest services backend 
layer)...

So i need help with the following:

1) Can i debug GWT 2.0 using IE / chrome and Eclipse IDE (Neon) ???, IF YES 
please send me here any URL with this kind information...

As i can see i can not use "super dev mode" since i have no access to 
source maps in order to debug GWT and point this to JEE class files 
(because this is supported in GWT 2.5 or above)...

SO, how can i debug GWT if i have no access to Source maps ???

(i'm also not administrator user in my machine, so i can not install 
software using windows installers)

Best Regards.

-- 
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/d9be9ad7-7b2c-415e-a3f6-a4082c9f5583%40googlegroups.com.


Re: Help: Error in Call RPC - GWT , 404 the server responded with a status of 404 (Not Found)

2019-07-10 Thread Thomas Broyer
com.emp.mid.web.wkf.Wkf is the name of your GWT module (here, probably the 
name of your gwt.xml file: com/emp/mid/web/wkf/Wkf.gwt.xml; though most of 
the time, I believe, people rename it to a shorter name, through the 
rename-to="" attribute in the gwt.xml file)
You can change the service URL on the client-side by casting your service 
"async" to a ServiceDefTarget and calling setServiceEntryPoint; but I'd 
rather suggest you fix the servlet mapping on the server-side, or using 
rename-to="com.emp.mid.web.wkf" in your gwt.xml (please note that this will 
also change the URL to the *.nocache.js, so update your HTML page too)

On Wednesday, July 10, 2019 at 11:54:44 AM UTC+2, Silvia wrote:
>
> Introducir código aquí...
>
> Hi all,
>
> Sorry about my english,
>
> I have a problem with any Error in Call RPC - GWT , 404 the server 
> responded with a status of 404 (Not Found)
>
> The trace of error is:
>
> -
> (404) 404 Not Found 
> 
> 
> Error 404 Not Found
> 
> HTTP ERROR 404
> Problem accessing /com.emp.mid.web.wkf.Wkf/Service. Reason:
> Not FoundPowered by 
> Jetty:// 
>
>
> 
>
> I don't understand why gwt add a "Wkf" to the module address. I mean this 
> should be: 
>
>  /com.emp.mid.web.wkf/Service  
>
> without "Wkf" particle
>
> I'm calling the gwt module by means a HTML: Wkf.html
>
> How can I change the module address in order gwt can find the service?
>
>
>
> Can anybody help me?
>
> Thanks in advance for some help,
>
> Sil
>

-- 
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/395b2451-b6cf-4886-93f8-2f2c6a9c84e6%40googlegroups.com.


Help: Error in Call RPC - GWT , 404 the server responded with a status of 404 (Not Found)

2019-07-10 Thread Silvia
Introducir código aquí...

Hi all,

Sorry about my english,

I have a problem with any Error in Call RPC - GWT , 404 the server 
responded with a status of 404 (Not Found)

The trace of error is:

-
(404) 404 Not Found 


Error 404 Not Found

HTTP ERROR 404
Problem accessing /com.emp.mid.web.wkf.Wkf/Service. Reason:
Not FoundPowered by 
Jetty:// 
   
   


I don't understand why gwt add a "Wkf" to the module address. I mean this 
should be: 

 /com.emp.mid.web.wkf/Service  

without "Wkf" particle

I'm calling the gwt module by means a HTML: Wkf.html

How can I change the module address in order gwt can find the service?



Can anybody help me?

Thanks in advance for some help,

Sil

-- 
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/98828a3c-1369-4aba-bcf1-d71f8c7c135f%40googlegroups.com.


Re: Deferred Binding - Help!

2018-09-15 Thread Radu Matasaru
Matthew,
what you describe sounds like the Turducken. Have a look at:
https://www.slideshare.net/RobertKeane1/turducken-divide-and-conquer-large-gwt-apps-with-multiple-teams
 
and
https://www.slideshare.net/gwtcon/diy-split-gwt-applications-using-turducken-approach-by-alberto-mancini

I vaguely remember Google Wave was done in GWT and had a plugin system: 
http://incubator.apache.org/projects/wave.html


On Friday, 14 September 2018 09:10:03 UTC-4, Matthew Bergshoeff wrote:
>
>  Hi Everyone - I've been searching everywhere for a solution to this and 
> haven't been able to resolve it. I don't think I've properly wrapped my 
> head around the issue, so hoping someone could provide some guidance.
>
> I am trying to build a modular GWT application - by that I mean that there 
> will be the core application, but it should support the addition of gwt 
> modules ("plugins") without having to rebuild. This is being accomplished 
> by updating parameters in the web.xml so that I can just stop the webapp, 
> add a .jar file to the /lib directory, define the new .jar in the web.xml 
> and restart the application. So far so good. The problem arises when trying 
> to initialize/access the classes within the plugins. 
>
> Let's imagine I had a PetStore application (classic example!). I have an 
> interface called *Pet* that is implemented by some classic examples (Cat, 
> Dog, Fish) in the core application. However, I want to be able to add a 
> plugin for an exotic pet (Borneo Pygmy Elephant), and have the application 
> (client-side) be able to load the class when a record comes up that refers 
> to it. I am able to do this server-side using a URLClassLoader, but can't 
> figure out how to use a Generator to instantiate all possible *Pet* 
> implementations within a module.
>
> If I am going to implement a generator, should it be in the plugin or in 
> the core application? I've found a few examples, but none seem to pinpoint 
> exactly what I'm trying to do. Appreciate any help...
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Deferred Binding - Help!

2018-09-14 Thread Josselin Bardet
Hi

As far has I know (I might be wrong), the generators are executed during
the compilation of the web app. So I think you can't do that without
recompiling you app.

If you recompile your app, with all your plugins in your classpath, you can
implement a generator that will scan for Pet implementations and
instanciate a given class for exemple.

Ex (generated code):
public Pet newPet(Class clazz) {
if (clazz.getName().equals("pet.Cat") return new pet.Cat();
if (clazz.getName().equals("pet.Dog") return new pet.Dog();
return null;
}

Le ven. 14 sept. 2018 à 15:09, Matthew Bergshoeff <
matthew.bergsho...@gmail.com> a écrit :

>  Hi Everyone - I've been searching everywhere for a solution to this and
> haven't been able to resolve it. I don't think I've properly wrapped my
> head around the issue, so hoping someone could provide some guidance.
>
> I am trying to build a modular GWT application - by that I mean that there
> will be the core application, but it should support the addition of gwt
> modules ("plugins") without having to rebuild. This is being accomplished
> by updating parameters in the web.xml so that I can just stop the webapp,
> add a .jar file to the /lib directory, define the new .jar in the web.xml
> and restart the application. So far so good. The problem arises when trying
> to initialize/access the classes within the plugins.
>
> Let's imagine I had a PetStore application (classic example!). I have an
> interface called *Pet* that is implemented by some classic examples (Cat,
> Dog, Fish) in the core application. However, I want to be able to add a
> plugin for an exotic pet (Borneo Pygmy Elephant), and have the application
> (client-side) be able to load the class when a record comes up that refers
> to it. I am able to do this server-side using a URLClassLoader, but can't
> figure out how to use a Generator to instantiate all possible *Pet*
> implementations within a module.
>
> If I am going to implement a generator, should it be in the plugin or in
> the core application? I've found a few examples, but none seem to pinpoint
> exactly what I'm trying to do. Appreciate any help...
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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: Deferred Binding - Help!

2018-09-14 Thread Thomas Broyer

On Friday, September 14, 2018 at 3:10:03 PM UTC+2, Matthew Bergshoeff wrote:
>
>  Hi Everyone - I've been searching everywhere for a solution to this and 
> haven't been able to resolve it. I don't think I've properly wrapped my 
> head around the issue, so hoping someone could provide some guidance.
>
> I am trying to build a modular GWT application - by that I mean that there 
> will be the core application, but it should support the addition of gwt 
> modules ("plugins") without having to rebuild. This is being accomplished 
> by updating parameters in the web.xml so that I can just stop the webapp, 
> add a .jar file to the /lib directory, define the new .jar in the web.xml 
> and restart the application. So far so good. The problem arises when trying 
> to initialize/access the classes within the plugins. 
>
> Let's imagine I had a PetStore application (classic example!). I have an 
> interface called *Pet* that is implemented by some classic examples (Cat, 
> Dog, Fish) in the core application. However, I want to be able to add a 
> plugin for an exotic pet (Borneo Pygmy Elephant), and have the application 
> (client-side) be able to load the class when a record comes up that refers 
> to it. I am able to do this server-side using a URLClassLoader, but can't 
> figure out how to use a Generator to instantiate all possible *Pet* 
> implementations within a module.
>
> If I am going to implement a generator, should it be in the plugin or in 
> the core application? I've found a few examples, but none seem to pinpoint 
> exactly what I'm trying to do. Appreciate any help...
>

What you're doing is put several totally distinct apps on a single page, 
and making them talk to each other.
Because they are totally distinct apps, their "initially-Java classes" are 
produced as different JS objects, obfuscated separately, etc.

Solutions:
 * think in terms of JS, not Java, and make the apps actually talk to each 
other (e.g. plugin "registers" into core); use JsInterop.
 * make a single app with GWT.runAsync() to split the payload, and 
configuration to enable/disable some code branches such that some 
GWT.runAsync() are never reached.

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


Deferred Binding - Help!

2018-09-14 Thread Matthew Bergshoeff
 Hi Everyone - I've been searching everywhere for a solution to this and 
haven't been able to resolve it. I don't think I've properly wrapped my 
head around the issue, so hoping someone could provide some guidance.

I am trying to build a modular GWT application - by that I mean that there 
will be the core application, but it should support the addition of gwt 
modules ("plugins") without having to rebuild. This is being accomplished 
by updating parameters in the web.xml so that I can just stop the webapp, 
add a .jar file to the /lib directory, define the new .jar in the web.xml 
and restart the application. So far so good. The problem arises when trying 
to initialize/access the classes within the plugins. 

Let's imagine I had a PetStore application (classic example!). I have an 
interface called *Pet* that is implemented by some classic examples (Cat, 
Dog, Fish) in the core application. However, I want to be able to add a 
plugin for an exotic pet (Borneo Pygmy Elephant), and have the application 
(client-side) be able to load the class when a record comes up that refers 
to it. I am able to do this server-side using a URLClassLoader, but can't 
figure out how to use a Generator to instantiate all possible *Pet* 
implementations within a module.

If I am going to implement a generator, should it be in the plugin or in 
the core application? I've found a few examples, but none seem to pinpoint 
exactly what I'm trying to do. Appreciate any help...

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Need help with JsonpRequestBuilder

2017-10-28 Thread Anita Vajirkar
Hi omsrobert,
I am trying get simple JSONP example. Can you please let me know how you 
set callback?
Since I also did that in URL as well as using "setCallbackParam" method, 
but no luck. Still timeout error.

I see request going through in firebug and has 
"=__gwt_jsonp__.P0.onSuccess" appended with URL automatically.

Thank you
Anita

On Tuesday, March 2, 2010 at 11:34:10 PM UTC-5, omsrobert wrote:
>
> I got it to work.  I had to set the callback param and use
> requestObject() with a type of JavaScriptObject instead of String.
>

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


Help finding UK based get developers

2017-08-03 Thread Ben Potter
Hi guys, I'm looking for some help if you would be so kind.

I am looking for a gwt developer in the south of England. 

I'm having trouble finding a gwt specialist rather than someone who has just 
used it at some point in the past.

If anyone could point me in the right direction or recommend anyone it would be 
greatly appreciated.

Thanks

-- 
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: Help

2017-02-16 Thread natan clara

  
  
I usually work with google chrome and any other browse


Em 16/02/2017 09:15, 114joan escreveu:


  I will like to know way is GWT not working in
Google Chrom, and how can i resolve this problem.
Can eny one Help Me? Thanks 
  
  -- 
  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.


Help

2017-02-16 Thread 114joan
I will like to know way is GWT not working in Google Chrom, and how can i 
resolve this problem.
Can eny one Help Me? Thanks 

-- 
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: com.google.gwt.core.client.JavaScriptException: (Error) description: Out of Memory number: -2146828281 __gwt$exception: : Out of memory Can anyone help me fix this error? I am using

2017-01-20 Thread Jens
You might want to use IE 11 developer tools to see memory consumption and 
if it keeps growing the longer you use your app. I don't think anyone can 
help here, you have to analyze your app in IE 11.

-- J.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: com.google.gwt.core.client.JavaScriptException: (Error) description: Out of Memory number: -2146828281 __gwt$exception: : Out of memory Can anyone help me fix this error? I am using

2017-01-20 Thread Pam Coffey
This is occurring on a Web Client Application we use to run jobs.  It seems 
to occur when the App is not logged out of for long periods of time.

On Friday, January 20, 2017 at 6:56:58 AM UTC-5, Frank wrote:
>
> I think a little bit more information would be usefull.
>
> When does this error appear ? While compiling, while running code ?
> What code ?
>

-- 
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: com.google.gwt.core.client.JavaScriptException: (Error) description: Out of Memory number: -2146828281 __gwt$exception: : Out of memory Can anyone help me fix this error? I am using

2017-01-20 Thread Frank
I think a little bit more information would be usefull.

When does this error appear ? While compiling, while running code ?
What code ?

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


com.google.gwt.core.client.JavaScriptException: (Error) description: Out of Memory number: -2146828281 __gwt$exception: : Out of memory Can anyone help me fix this error? I am using IE 1

2017-01-19 Thread Pam Coffey
Can anyone help me fix this error?  I am using IE 11

-- 
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 1.7 to 2.7(migration). EXT-JS help

2016-12-18 Thread Alain Ekambi
Try ext4j.our gwt wrap per for ext js. we used it to write Dikalo
https://www.dklo.co  it Supports GWT 2.7

Am 12.12.2016 18:09 schrieb :

> Hi,
>
>  I have recently started migrating my application from GWT 1.7 to GWT 2.7.
> With  a limited availability of information online I was finding difficulty
> in updating.
>
> Currently my 1.7 GWT application runs on GWTEXT 2.0.4. and the last
> released GWTEXT version in the market is 2.0.6.(http://gwt-ext.com/)
>
>
>  My question-  *Does GWTEXT 2.0.6 support GWT 2.7, and is it compatible
> with browsers like IE9,10 and Microsoft edge.??*
>
> *  Is there any other available GWTEXT versions in the
> market, compatible with 2.7 GWT??*
>
>
>
> Thanks in advance.
>
>  Venkat
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 1.7 to 2.7(migration). EXT-JS help

2016-12-17 Thread 敏陈
just try it

if makes Error 

post it out!

在 2016年12月13日星期二 UTC+8上午1:09:55,venkata...@gmail.com写道:
>
> Hi,
>
>  I have recently started migrating my application from GWT 1.7 to GWT 2.7. 
> With  a limited availability of information online I was finding difficulty 
> in updating.
>
> Currently my 1.7 GWT application runs on GWTEXT 2.0.4. and the last 
> released GWTEXT version in the market is 2.0.6.(http://gwt-ext.com/)
>
>
>  My question-  *Does GWTEXT 2.0.6 support GWT 2.7, and is it compatible 
> with browsers like IE9,10 and Microsoft edge.??*
>
> *  Is there any other available GWTEXT versions in the 
> market, compatible with 2.7 GWT??*
>
>
>
> Thanks in advance.
>  
>  Venkat
>

-- 
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: Need some help with debugging an issue in GWT SDM compiler

2016-12-16 Thread Kirill Prazdnikov
the bug here has been for long time already, 
sometimes SDM woks, sometimes not and yo have to rebuild with temp-clean
this is not C++ compiler

суббота, 17 декабря 2016 г., 4:24:31 UTC+3 пользователь Nándor Előd Fekete 
написал:
>
> Well, yes, of course, I can always start from scratch, but that's around 
> 3+ minutes (it's a bigger project), which is worse than what I currently 
> do, "touching" the Java source file that the compiler is having problem 
> generating correct code for. The biggest problem is that it's breaking my 
> workflow, and I'd rather spend some time finding a probable bug in the 
> compiler itself and give back to the community by fixing it than constantly 
> working around the issue.
>
> On Saturday, December 17, 2016 at 2:11:09 AM UTC+1, Kirill Prazdnikov 
> wrote:
>>
>> mvn clean and clean temp folder before compile will help
>>
>>
>>  суббота, 17 декабря 2016 г., 0:49:30 UTC+3 пользователь Nándor Előd 
>> Fekete написал:
>>>
>>> Hi!
>>>
>>> I have this strange problem in SDM, where a method in the generated 
>>> output JS gets defined under a name, but gets referenced under another name.
>>>
>>> I'll try to show it through actual compiled JS code vs original code.
>>>
>>> function *getBoundingClientRect_3_g$*(this$static_0_g$, 
>>> withinOffsetParent_0_g$){
>>>   $clinit_ElementOverlayMixin_0_g$();
>>>   var deltaX_0_g$, deltaY_0_g$, offsetParent_0_g$, parentBCR_0_g$;
>>>   offsetParent_0_g$ = $getOffsetParent_0_g$(this$static_0_g$);
>>>   if (is_4_g$(offsetParent_0_g$)) {
>>> parentBCR_0_g$ = 
>>> *$getBoundingClientRect_2_g$*(as_58_g$(offsetParent_0_g$), 
>>> true);
>>> deltaY_0_g$ = $getScrollTop_0_g$(offsetParent_0_g$) - 
>>> parentBCR_0_g$.getTop_15_g$();
>>> deltaX_0_g$ = $getScrollLeft_0_g$(offsetParent_0_g$) - 
>>> parentBCR_0_g$.getLeft_16_g$();
>>>   }
>>>else {
>>> deltaY_0_g$ = getScrollTop_4_g$();
>>> deltaX_0_g$ = getScrollLeft_6_g$();
>>>   }
>>>   return 
>>> withinOffsetParent_0_g$?$getBoundingClientRect_1_g$(this$static_0_g$).translated_1_g$(deltaX_0_g$,
>>>  
>>> deltaY_0_g$):$getBoundingClientRect_1_g$(this$static_0_g$);
>>> }
>>> getBoundingClientRect_3_g$.displayName = 
>>> 'ElementOverlayMixin.$getBoundingClientRect';
>>>
>>>
>>> This is the original Java source of the method:
>>>
>>> public final ClientRect *getBoundingClientRect*(boolean 
>>> withinOffsetParent) {
>>> float deltaY;
>>> float deltaX;
>>> Element offsetParent = getOffsetParent();
>>> if (Element.is(offsetParent)) {
>>> ClientRect parentBCR = ElementOverlayMixin.as(offsetParent).
>>> *getBoundingClientRect*(true);
>>> deltaY = offsetParent.getScrollTop() - parentBCR.getTop();
>>> deltaX = offsetParent.getScrollLeft() - parentBCR.getLeft();
>>> } else {
>>> deltaY = Window.getScrollTop();
>>> deltaX = Window.getScrollLeft();
>>> }
>>> return withinOffsetParent ? getBoundingClientRect().translated(deltaX, 
>>> deltaY) : getBoundingClientRect();
>>> }
>>>
>>> I've highlighted the important parts with bold+red/green. Note that it's 
>>> a recursive method invoking itself on another object. In the generated 
>>> output, the name of the function in the function declaration and the name 
>>> used while referring to the same function is different.
>>>
>>> After a "touch" on the source code file, the compiler now generates the 
>>> correct JS output:
>>>
>>> function *$getBoundingClientRect_2_g$*(this$static_0_g$, 
>>> withinOffsetParent_0_g$){
>>>   $clinit_ElementOverlayMixin_0_g$();
>>>   var deltaX_0_g$, deltaY_0_g$, offsetParent_0_g$, parentBCR_0_g$;
>>>   offsetParent_0_g$ = $getOffsetParent_0_g$(this$static_0_g$);
>>>   if (is_4_g$(offsetParent_0_g$)) {
>>> parentBCR_0_g$ = 
>>> *$getBoundingClientRect_2_g$*(as_58_g$(offsetParent_0_g$), 
>>> true);
>>> deltaY_0_g$ = $getScrollTop_0_g$(offsetParent_0_g$) - 
>>> parentBCR_0_g$.getTop_15_g$();
>>> deltaX_0_g$ = $getScrollLeft_0_g$(offsetParent_0_g$) - 
>>> parentBCR_0_g$.getLeft_16_g$();
>>>   }
>>>else {
>>> deltaY_0_g$ = getScrollTop_4_g$();
>>> deltaX_0_g$ = getScrollLeft_6_g$();
>>>   }
>>>   return 
>>> withinOffsetParent_0_g$?$getBoundingClientRect_1_g$(this$static

Re: Need some help with debugging an issue in GWT SDM compiler

2016-12-16 Thread Nándor Előd Fekete
Well, yes, of course, I can always start from scratch, but that's around 3+ 
minutes (it's a bigger project), which is worse than what I currently do, 
"touching" the Java source file that the compiler is having problem 
generating correct code for. The biggest problem is that it's breaking my 
workflow, and I'd rather spend some time finding a probable bug in the 
compiler itself and give back to the community by fixing it than constantly 
working around the issue.

On Saturday, December 17, 2016 at 2:11:09 AM UTC+1, Kirill Prazdnikov wrote:
>
> mvn clean and clean temp folder before compile will help
>
>
>  суббота, 17 декабря 2016 г., 0:49:30 UTC+3 пользователь Nándor Előd 
> Fekete написал:
>>
>> Hi!
>>
>> I have this strange problem in SDM, where a method in the generated 
>> output JS gets defined under a name, but gets referenced under another name.
>>
>> I'll try to show it through actual compiled JS code vs original code.
>>
>> function *getBoundingClientRect_3_g$*(this$static_0_g$, 
>> withinOffsetParent_0_g$){
>>   $clinit_ElementOverlayMixin_0_g$();
>>   var deltaX_0_g$, deltaY_0_g$, offsetParent_0_g$, parentBCR_0_g$;
>>   offsetParent_0_g$ = $getOffsetParent_0_g$(this$static_0_g$);
>>   if (is_4_g$(offsetParent_0_g$)) {
>> parentBCR_0_g$ = 
>> *$getBoundingClientRect_2_g$*(as_58_g$(offsetParent_0_g$), 
>> true);
>> deltaY_0_g$ = $getScrollTop_0_g$(offsetParent_0_g$) - 
>> parentBCR_0_g$.getTop_15_g$();
>> deltaX_0_g$ = $getScrollLeft_0_g$(offsetParent_0_g$) - 
>> parentBCR_0_g$.getLeft_16_g$();
>>   }
>>else {
>> deltaY_0_g$ = getScrollTop_4_g$();
>> deltaX_0_g$ = getScrollLeft_6_g$();
>>   }
>>   return 
>> withinOffsetParent_0_g$?$getBoundingClientRect_1_g$(this$static_0_g$).translated_1_g$(deltaX_0_g$,
>>  
>> deltaY_0_g$):$getBoundingClientRect_1_g$(this$static_0_g$);
>> }
>> getBoundingClientRect_3_g$.displayName = 
>> 'ElementOverlayMixin.$getBoundingClientRect';
>>
>>
>> This is the original Java source of the method:
>>
>> public final ClientRect *getBoundingClientRect*(boolean 
>> withinOffsetParent) {
>> float deltaY;
>> float deltaX;
>> Element offsetParent = getOffsetParent();
>> if (Element.is(offsetParent)) {
>> ClientRect parentBCR = ElementOverlayMixin.as(offsetParent).
>> *getBoundingClientRect*(true);
>> deltaY = offsetParent.getScrollTop() - parentBCR.getTop();
>> deltaX = offsetParent.getScrollLeft() - parentBCR.getLeft();
>> } else {
>> deltaY = Window.getScrollTop();
>> deltaX = Window.getScrollLeft();
>> }
>> return withinOffsetParent ? getBoundingClientRect().translated(deltaX, 
>> deltaY) : getBoundingClientRect();
>> }
>>
>> I've highlighted the important parts with bold+red/green. Note that it's 
>> a recursive method invoking itself on another object. In the generated 
>> output, the name of the function in the function declaration and the name 
>> used while referring to the same function is different.
>>
>> After a "touch" on the source code file, the compiler now generates the 
>> correct JS output:
>>
>> function *$getBoundingClientRect_2_g$*(this$static_0_g$, 
>> withinOffsetParent_0_g$){
>>   $clinit_ElementOverlayMixin_0_g$();
>>   var deltaX_0_g$, deltaY_0_g$, offsetParent_0_g$, parentBCR_0_g$;
>>   offsetParent_0_g$ = $getOffsetParent_0_g$(this$static_0_g$);
>>   if (is_4_g$(offsetParent_0_g$)) {
>> parentBCR_0_g$ = 
>> *$getBoundingClientRect_2_g$*(as_58_g$(offsetParent_0_g$), 
>> true);
>> deltaY_0_g$ = $getScrollTop_0_g$(offsetParent_0_g$) - 
>> parentBCR_0_g$.getTop_15_g$();
>> deltaX_0_g$ = $getScrollLeft_0_g$(offsetParent_0_g$) - 
>> parentBCR_0_g$.getLeft_16_g$();
>>   }
>>else {
>> deltaY_0_g$ = getScrollTop_4_g$();
>> deltaX_0_g$ = getScrollLeft_6_g$();
>>   }
>>   return 
>> withinOffsetParent_0_g$?$getBoundingClientRect_1_g$(this$static_0_g$).translated_1_g$(deltaX_0_g$,
>>  
>> deltaY_0_g$):$getBoundingClientRect_1_g$(this$static_0_g$);
>> }
>>
>> $getBoundingClientRect_2_g$.displayName = 
>> 'ElementOverlayMixin.$getBoundingClientRect';
>>
>> I'm using incremental mode, but I think it happened on the first 
>> compilation too with all previous compilation caches cleared.
>>
>> Do you guys have any tips on where to look in the compiler code where the 
>> method name handling / mangling happens?
>>
>> Many thanks!
>>
>> Nandi.
>>
>>

-- 
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: Need some help with debugging an issue in GWT SDM compiler

2016-12-16 Thread Kirill Prazdnikov
mvn clean and clean temp folder before compile will help


 суббота, 17 декабря 2016 г., 0:49:30 UTC+3 пользователь Nándor Előd Fekete 
написал:
>
> Hi!
>
> I have this strange problem in SDM, where a method in the generated output 
> JS gets defined under a name, but gets referenced under another name.
>
> I'll try to show it through actual compiled JS code vs original code.
>
> function *getBoundingClientRect_3_g$*(this$static_0_g$, 
> withinOffsetParent_0_g$){
>   $clinit_ElementOverlayMixin_0_g$();
>   var deltaX_0_g$, deltaY_0_g$, offsetParent_0_g$, parentBCR_0_g$;
>   offsetParent_0_g$ = $getOffsetParent_0_g$(this$static_0_g$);
>   if (is_4_g$(offsetParent_0_g$)) {
> parentBCR_0_g$ = 
> *$getBoundingClientRect_2_g$*(as_58_g$(offsetParent_0_g$), 
> true);
> deltaY_0_g$ = $getScrollTop_0_g$(offsetParent_0_g$) - 
> parentBCR_0_g$.getTop_15_g$();
> deltaX_0_g$ = $getScrollLeft_0_g$(offsetParent_0_g$) - 
> parentBCR_0_g$.getLeft_16_g$();
>   }
>else {
> deltaY_0_g$ = getScrollTop_4_g$();
> deltaX_0_g$ = getScrollLeft_6_g$();
>   }
>   return 
> withinOffsetParent_0_g$?$getBoundingClientRect_1_g$(this$static_0_g$).translated_1_g$(deltaX_0_g$,
>  
> deltaY_0_g$):$getBoundingClientRect_1_g$(this$static_0_g$);
> }
> getBoundingClientRect_3_g$.displayName = 
> 'ElementOverlayMixin.$getBoundingClientRect';
>
>
> This is the original Java source of the method:
>
> public final ClientRect *getBoundingClientRect*(boolean 
> withinOffsetParent) {
> float deltaY;
> float deltaX;
> Element offsetParent = getOffsetParent();
> if (Element.is(offsetParent)) {
> ClientRect parentBCR = ElementOverlayMixin.as(offsetParent).
> *getBoundingClientRect*(true);
> deltaY = offsetParent.getScrollTop() - parentBCR.getTop();
> deltaX = offsetParent.getScrollLeft() - parentBCR.getLeft();
> } else {
> deltaY = Window.getScrollTop();
> deltaX = Window.getScrollLeft();
> }
> return withinOffsetParent ? getBoundingClientRect().translated(deltaX, 
> deltaY) : getBoundingClientRect();
> }
>
> I've highlighted the important parts with bold+red/green. Note that it's a 
> recursive method invoking itself on another object. In the generated 
> output, the name of the function in the function declaration and the name 
> used while referring to the same function is different.
>
> After a "touch" on the source code file, the compiler now generates the 
> correct JS output:
>
> function *$getBoundingClientRect_2_g$*(this$static_0_g$, 
> withinOffsetParent_0_g$){
>   $clinit_ElementOverlayMixin_0_g$();
>   var deltaX_0_g$, deltaY_0_g$, offsetParent_0_g$, parentBCR_0_g$;
>   offsetParent_0_g$ = $getOffsetParent_0_g$(this$static_0_g$);
>   if (is_4_g$(offsetParent_0_g$)) {
> parentBCR_0_g$ = 
> *$getBoundingClientRect_2_g$*(as_58_g$(offsetParent_0_g$), 
> true);
> deltaY_0_g$ = $getScrollTop_0_g$(offsetParent_0_g$) - 
> parentBCR_0_g$.getTop_15_g$();
> deltaX_0_g$ = $getScrollLeft_0_g$(offsetParent_0_g$) - 
> parentBCR_0_g$.getLeft_16_g$();
>   }
>else {
> deltaY_0_g$ = getScrollTop_4_g$();
> deltaX_0_g$ = getScrollLeft_6_g$();
>   }
>   return 
> withinOffsetParent_0_g$?$getBoundingClientRect_1_g$(this$static_0_g$).translated_1_g$(deltaX_0_g$,
>  
> deltaY_0_g$):$getBoundingClientRect_1_g$(this$static_0_g$);
> }
>
> $getBoundingClientRect_2_g$.displayName = 
> 'ElementOverlayMixin.$getBoundingClientRect';
>
> I'm using incremental mode, but I think it happened on the first 
> compilation too with all previous compilation caches cleared.
>
> Do you guys have any tips on where to look in the compiler code where the 
> method name handling / mangling happens?
>
> Many thanks!
>
> Nandi.
>
>

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


Need some help with debugging an issue in GWT SDM compiler

2016-12-16 Thread Nándor Előd Fekete
Hi!

I have this strange problem in SDM, where a method in the generated output 
JS gets defined under a name, but gets referenced under another name.

I'll try to show it through actual compiled JS code vs original code.

function *getBoundingClientRect_3_g$*(this$static_0_g$, 
withinOffsetParent_0_g$){
  $clinit_ElementOverlayMixin_0_g$();
  var deltaX_0_g$, deltaY_0_g$, offsetParent_0_g$, parentBCR_0_g$;
  offsetParent_0_g$ = $getOffsetParent_0_g$(this$static_0_g$);
  if (is_4_g$(offsetParent_0_g$)) {
parentBCR_0_g$ = *$getBoundingClientRect_2_g$*(as_58_g$(offsetParent_0_g$), 
true);
deltaY_0_g$ = $getScrollTop_0_g$(offsetParent_0_g$) - 
parentBCR_0_g$.getTop_15_g$();
deltaX_0_g$ = $getScrollLeft_0_g$(offsetParent_0_g$) - 
parentBCR_0_g$.getLeft_16_g$();
  }
   else {
deltaY_0_g$ = getScrollTop_4_g$();
deltaX_0_g$ = getScrollLeft_6_g$();
  }
  return 
withinOffsetParent_0_g$?$getBoundingClientRect_1_g$(this$static_0_g$).translated_1_g$(deltaX_0_g$,
 
deltaY_0_g$):$getBoundingClientRect_1_g$(this$static_0_g$);
}
getBoundingClientRect_3_g$.displayName = 
'ElementOverlayMixin.$getBoundingClientRect';


This is the original Java source of the method:

public final ClientRect *getBoundingClientRect*(boolean withinOffsetParent) 
{
float deltaY;
float deltaX;
Element offsetParent = getOffsetParent();
if (Element.is(offsetParent)) {
ClientRect parentBCR = ElementOverlayMixin.as(offsetParent).
*getBoundingClientRect*(true);
deltaY = offsetParent.getScrollTop() - parentBCR.getTop();
deltaX = offsetParent.getScrollLeft() - parentBCR.getLeft();
} else {
deltaY = Window.getScrollTop();
deltaX = Window.getScrollLeft();
}
return withinOffsetParent ? getBoundingClientRect().translated(deltaX, 
deltaY) : getBoundingClientRect();
}

I've highlighted the important parts with bold+red/green. Note that it's a 
recursive method invoking itself on another object. In the generated 
output, the name of the function in the function declaration and the name 
used while referring to the same function is different.

After a "touch" on the source code file, the compiler now generates the 
correct JS output:

function *$getBoundingClientRect_2_g$*(this$static_0_g$, 
withinOffsetParent_0_g$){
  $clinit_ElementOverlayMixin_0_g$();
  var deltaX_0_g$, deltaY_0_g$, offsetParent_0_g$, parentBCR_0_g$;
  offsetParent_0_g$ = $getOffsetParent_0_g$(this$static_0_g$);
  if (is_4_g$(offsetParent_0_g$)) {
parentBCR_0_g$ = *$getBoundingClientRect_2_g$*(as_58_g$(offsetParent_0_g$), 
true);
deltaY_0_g$ = $getScrollTop_0_g$(offsetParent_0_g$) - 
parentBCR_0_g$.getTop_15_g$();
deltaX_0_g$ = $getScrollLeft_0_g$(offsetParent_0_g$) - 
parentBCR_0_g$.getLeft_16_g$();
  }
   else {
deltaY_0_g$ = getScrollTop_4_g$();
deltaX_0_g$ = getScrollLeft_6_g$();
  }
  return 
withinOffsetParent_0_g$?$getBoundingClientRect_1_g$(this$static_0_g$).translated_1_g$(deltaX_0_g$,
 
deltaY_0_g$):$getBoundingClientRect_1_g$(this$static_0_g$);
}

$getBoundingClientRect_2_g$.displayName = 
'ElementOverlayMixin.$getBoundingClientRect';

I'm using incremental mode, but I think it happened on the first 
compilation too with all previous compilation caches cleared.

Do you guys have any tips on where to look in the compiler code where the 
method name handling / mangling happens?

Many thanks!

Nandi.

-- 
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 1.7 to 2.7(migration). EXT-JS help

2016-12-12 Thread venkatasaimada
Hi,

 I have recently started migrating my application from GWT 1.7 to GWT 2.7. 
With  a limited availability of information online I was finding difficulty 
in updating.

Currently my 1.7 GWT application runs on GWTEXT 2.0.4. and the last 
released GWTEXT version in the market is 2.0.6.(http://gwt-ext.com/)


 My question-  *Does GWTEXT 2.0.6 support GWT 2.7, and is it compatible 
with browsers like IE9,10 and Microsoft edge.??*

*  Is there any other available GWTEXT versions in the 
market, compatible with 2.7 GWT??*



Thanks in advance.
 
 Venkat

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


Help modifying celltable styles with gss

2016-11-16 Thread Raymond Hawkins
I'm in the process of updating to GWT 2.8, and I have the following code 
from 2.7:
public interface DataGridResource extends DataGrid.Resources {
  public interface Style2 extends Style {}

  @Source({DataGrid.Style.DEFAULT_CSS, "MaterialDataGrid.css"})
  Style2 dataGridStyle();
}

Following the instructions on 
http://www.gwtproject.org/articles/gss_migration.html, I'm trying to switch 
to using all gss. however, when I try to change MaterialDataGrid.css 
to MaterialDataGrid.gss, I get the following error: "[ERROR] Only either 
css files or gss files are supported on one interface".

I assume this is because "You cannot mix css and gss on the same method 
(@Source annotation)." and DataGrid.Style.DEFAULT_CSS points 
to com/google/gwt/user/cellview/client/DataGrid.css. 

If I manually use "com/google/gwt/user/cellview/client/DataGrid.gss", it 
works fine, but there doesn't appear to be a constant for the gss path. Am 
I missing anything here, or should I just either use the full path in my 
code or replace ".css" with ".gss" on DataGrid.Style.DEFAULT_CSS?

Thank you!

-- 
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: Please help: GWT generates .class files to src folder

2016-08-31 Thread JonL
If you are running in Eclipse, this is an eclipse setting in the Project 
Properties -> Java Build Path, make sure "Allow output folders for source 
folders" is unchecked or make sure that each source folder is pointing its 
output folder to a desired location.

On Wednesday, August 31, 2016 at 1:45:08 AM UTC-7, Florian Heymel wrote:
>
> Hello all,
>
> i got a strange issue recently. If i launch gwt superdev mode gwt somehow 
> compiles classes on demand, as soon as they are used (servlets or daos 
> etc). What i dont understand is, why they occure in my src folder?
>
> Can anyone hep with that issue? That is really annoying because it totaly 
> confuses my svn.
>
> Eclipse mars/GWT 2.7
>
> Best regards 
> Florian
>

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


Please help: GWT generates .class files to src folder

2016-08-31 Thread 'Florian Heymel' via GWT Users
Hello all,

i got a strange issue recently. If i launch gwt superdev mode gwt somehow 
compiles classes on demand, as soon as they are used (servlets or daos 
etc). What i dont understand is, why they occure in my src folder?

Can anyone hep with that issue? That is really annoying because it totaly 
confuses my svn.

Eclipse mars/GWT 2.7

Best regards 
Florian

-- 
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-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-22 Thread Thomas Broyer
See the README-MAVEN.txt file in each sample. One uses gwt:devmode, the other 
appengine:devserver_start followed by gwt:codeserver.

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


Re: [gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-21 Thread Brandon Donnelson
I was trying to test the Maven samples, although each one of them seem to 
have some sort of issue. Could be I'm missing a step, or maybe some code 
configuration tuning is needed. I haven't noticed any blockers or other 
issues outside of that for IE9 on Win7. I'll aim for another browser 
tomorrow. 

I'm assuming that mvn gwt:run doesn't exist b/c I don't see it in the goals 
list, so I'm wondering what's the best testing goal for the smoke test. 

-Brandon

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


Re: [gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-21 Thread 'Daniel Kurka' via GWT Contributors
submitting thomas two fixes and then recutting.

On Thu, Jul 21, 2016 at 12:57 PM Brandon Donnelson 
wrote:

> Where's the link to the GWT 2.8.0-rc1.zip?
>
>
> On Thursday, July 21, 2016 at 7:22:11 AM UTC-7, Thomas Broyer wrote:
>>
>>
>>
>> On Thursday, July 21, 2016 at 4:11:09 PM UTC+2, Michael Joyner wrote:
>>>
>>> Can it be tagged and pulled via jitpack.io ?
>>>
>>
>> Ha ha, jitpack wouldn't know how to build and deploy it:
>> https://jitpack.io/docs/BUILDING/
>> …and the RC1 tag can still "move" if we find bugs during the smoke tests
>> (it **would** move, as I found small issues, e.g.
>> https://gwt-review.googlesource.com/15445)
>>
>> Ideally, you should use the gwt-2.8.0-rc1.zip provided by Daniel as input
>> to the maven/push-gwt.sh script from the GWT repo (select 2.8.0-rc1 and
>> 1.0.0 for gwt and jsinterop versions respectively)
>> Currently, 2.8.0-SNAPSHOT are the same as 2.8.0-rc1, so you could also
>> use that (but if you're planning on doing formal DOA/smoke tests before the
>> RC1 release, you should use the maven/push-gwt.sh script)
>>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/80338352-9133-4404-ad51-8147b01431d7%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-21 Thread Brandon Donnelson
Where's the link to the GWT 2.8.0-rc1.zip? 

On Thursday, July 21, 2016 at 7:22:11 AM UTC-7, Thomas Broyer wrote:
>
>
>
> On Thursday, July 21, 2016 at 4:11:09 PM UTC+2, Michael Joyner wrote:
>>
>> Can it be tagged and pulled via jitpack.io ?
>>
>
> Ha ha, jitpack wouldn't know how to build and deploy it: 
> https://jitpack.io/docs/BUILDING/
> …and the RC1 tag can still "move" if we find bugs during the smoke tests 
> (it **would** move, as I found small issues, e.g. 
> https://gwt-review.googlesource.com/15445)
>
> Ideally, you should use the gwt-2.8.0-rc1.zip provided by Daniel as input 
> to the maven/push-gwt.sh script from the GWT repo (select 2.8.0-rc1 and 
> 1.0.0 for gwt and jsinterop versions respectively)
> Currently, 2.8.0-SNAPSHOT are the same as 2.8.0-rc1, so you could also use 
> that (but if you're planning on doing formal DOA/smoke tests before the RC1 
> release, you should use the maven/push-gwt.sh script)
>

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


Re: [gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-21 Thread Michael Joyner

  
  
Can it be tagged and pulled via jitpack.io ?


On 07/20/2016 05:57 PM, 'Daniel Kurka'
  via GWT Contributors wrote:


  We just fixed a bug in rc1, I'll redo the release
now and give you guys a download link.
  
  
On Wed, Jul 20, 2016 at 10:18 AM Manuel Carrasco
  Moñino 
  wrote:


  I don't see 2.8.0-rc1 anywhere,  what is the
branch/tag/commit cut I have to use ? 
  

  


  




-- 
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/14b629fa-5a0c-3d34-afc5-410ae30c1c59%40newsrx.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-21 Thread Thomas Broyer
FWIW, I did all my testing with a JDK 7 (and some also with a JDK 8)

On Wednesday, July 20, 2016 at 11:57:15 PM UTC+2, Daniel Kurka wrote:
>
> We just fixed a bug in rc1, I'll redo the release now and give you guys a 
> download link.
>
> On Wed, Jul 20, 2016 at 10:18 AM Manuel Carrasco Moñino <man...@apache.org> 
> wrote:
>
>> I don't see 2.8.0-rc1 anywhere,  what is the branch/tag/commit cut I have 
>> to use ? 
>>
>> El mié., 20 jul. 2016 a las 19:07, Manuel Carrasco Moñino (<
>> man...@apache.org>) escribió:
>>
>>> I can help with windows testing as well on Friday.
>>> Brandon let me know what platforms are you going to test, I have XP with 
>>> IE8, Win8 IE10, and Win8.1 IE11,  ready machines with everything set for 
>>> GWT, but I don't have any win7 
>>>
>>> - Manolo
>>>
>>> El mié., 20 jul. 2016 a las 17:41, Brandon Donnelson (<
>>> branflake2...@gmail.com>) escribió:
>>>
>>>> I can work on some of the windows testing. I've scheduled time for 
>>>> Thursday and will continue on Friday if needed. 
>>>>
>>>>
>>>> https://docs.google.com/spreadsheets/d/1DmF8V3fSxN1N2UgQ9zToZz6xCwtx53lOSy8_u1xTC6Q
>>>>
>>>> -Brandon
>>>>
>>>> On Wednesday, July 20, 2016 at 1:53:36 AM UTC-7, Thomas Broyer wrote:
>>>>>
>>>>> I'll test on Linux / Chrome.
>>>>>
>>>>> On Wednesday, July 20, 2016 at 3:09:08 AM UTC+2, Daniel Kurka wrote:
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> we have build the preliminary GWT 2.8.0-rc1 version and now need help 
>>>>>> with DOA testing (making sure its not dead on arrival).
>>>>>>
>>>>>> We are currently missing testers for:
>>>>>>
>>>>>> Linux / Chrome
>>>>>> Windows 7 / IE8/IE9
>>>>>> Windows 7 / IE 10
>>>>>> Windows 7 / IE 11
>>>>>>
>>>>>> If you are interested in spending ~1h in testing the new GWT release, 
>>>>>> please reach out to me.
>>>>>>
>>>>>> -Daniel
>>>>>>
>>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "GWT Contributors" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to 
>>>> google-web-toolkit-contributors+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/0c51fdb5-2f3d-4952-ada2-b9c9fdeffd7d%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/0c51fdb5-2f3d-4952-ada2-b9c9fdeffd7d%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Contributors" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAuVBry6rGTbF_RuCAKv_9SXogPvVKrvoQWaCjkEfy%3D%3DBA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAuVBry6rGTbF_RuCAKv_9SXogPvVKrvoQWaCjkEfy%3D%3DBA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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


Re: [gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-20 Thread Brandon Donnelson
Good to hear Manolo. So, I've got Windows 7 with IE9 and IE10 and can start
with those then. I don't have Windows 7 IE11, instead I have Windows 8
IE11. Come to think of it, there seems to be to many of the windows 7's. I
think Windows 8 would work for IE11, would that be ok? And would it be of
interest to test MS Edge on Windows 10?

-Brandon



On Wed, Jul 20, 2016 at 10:07 AM Manuel Carrasco Moñino <man...@apache.org>
wrote:

> I can help with windows testing as well on Friday.
> Brandon let me know what platforms are you going to test, I have XP with
> IE8, Win8 IE10, and Win8.1 IE11,  ready machines with everything set for
> GWT, but I don't have any win7
>
> - Manolo
>
> El mié., 20 jul. 2016 a las 17:41, Brandon Donnelson (<
> branflake2...@gmail.com>) escribió:
>
>> I can work on some of the windows testing. I've scheduled time for
>> Thursday and will continue on Friday if needed.
>>
>>
>> https://docs.google.com/spreadsheets/d/1DmF8V3fSxN1N2UgQ9zToZz6xCwtx53lOSy8_u1xTC6Q
>>
>> -Brandon
>>
>> On Wednesday, July 20, 2016 at 1:53:36 AM UTC-7, Thomas Broyer wrote:
>>>
>>> I'll test on Linux / Chrome.
>>>
>>> On Wednesday, July 20, 2016 at 3:09:08 AM UTC+2, Daniel Kurka wrote:
>>>>
>>>> Hi all,
>>>>
>>>> we have build the preliminary GWT 2.8.0-rc1 version and now need help
>>>> with DOA testing (making sure its not dead on arrival).
>>>>
>>>> We are currently missing testers for:
>>>>
>>>> Linux / Chrome
>>>> Windows 7 / IE8/IE9
>>>> Windows 7 / IE 10
>>>> Windows 7 / IE 11
>>>>
>>>> If you are interested in spending ~1h in testing the new GWT release,
>>>> please reach out to me.
>>>>
>>>> -Daniel
>>>>
>>>> --
>>
> You received this message because you are subscribed to the Google Groups
>> "GWT Contributors" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
>
>
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/0c51fdb5-2f3d-4952-ada2-b9c9fdeffd7d%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/0c51fdb5-2f3d-4952-ada2-b9c9fdeffd7d%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Contributors" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit-contributors/WegHJlSMoos/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAte3oXuCVTTxxxBeR4oTOJ5OWr_wzSngEwgv6KzMMbBJw%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAte3oXuCVTTxxxBeR4oTOJ5OWr_wzSngEwgv6KzMMbBJw%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-20 Thread Manuel Carrasco Moñino
I don't see 2.8.0-rc1 anywhere,  what is the branch/tag/commit cut I have
to use ?

El mié., 20 jul. 2016 a las 19:07, Manuel Carrasco Moñino (<
man...@apache.org>) escribió:

> I can help with windows testing as well on Friday.
> Brandon let me know what platforms are you going to test, I have XP with
> IE8, Win8 IE10, and Win8.1 IE11,  ready machines with everything set for
> GWT, but I don't have any win7
>
> - Manolo
>
> El mié., 20 jul. 2016 a las 17:41, Brandon Donnelson (<
> branflake2...@gmail.com>) escribió:
>
>> I can work on some of the windows testing. I've scheduled time for
>> Thursday and will continue on Friday if needed.
>>
>>
>> https://docs.google.com/spreadsheets/d/1DmF8V3fSxN1N2UgQ9zToZz6xCwtx53lOSy8_u1xTC6Q
>>
>> -Brandon
>>
>> On Wednesday, July 20, 2016 at 1:53:36 AM UTC-7, Thomas Broyer wrote:
>>>
>>> I'll test on Linux / Chrome.
>>>
>>> On Wednesday, July 20, 2016 at 3:09:08 AM UTC+2, Daniel Kurka wrote:
>>>>
>>>> Hi all,
>>>>
>>>> we have build the preliminary GWT 2.8.0-rc1 version and now need help
>>>> with DOA testing (making sure its not dead on arrival).
>>>>
>>>> We are currently missing testers for:
>>>>
>>>> Linux / Chrome
>>>> Windows 7 / IE8/IE9
>>>> Windows 7 / IE 10
>>>> Windows 7 / IE 11
>>>>
>>>> If you are interested in spending ~1h in testing the new GWT release,
>>>> please reach out to me.
>>>>
>>>> -Daniel
>>>>
>>>> --
>> You received this message because you are subscribed to the Google Groups
>> "GWT Contributors" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/0c51fdb5-2f3d-4952-ada2-b9c9fdeffd7d%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/0c51fdb5-2f3d-4952-ada2-b9c9fdeffd7d%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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


[gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-20 Thread Brandon Donnelson
I can work on some of the windows testing. I've scheduled time for Thursday 
and will continue on Friday if needed. 

https://docs.google.com/spreadsheets/d/1DmF8V3fSxN1N2UgQ9zToZz6xCwtx53lOSy8_u1xTC6Q

-Brandon

On Wednesday, July 20, 2016 at 1:53:36 AM UTC-7, Thomas Broyer wrote:
>
> I'll test on Linux / Chrome.
>
> On Wednesday, July 20, 2016 at 3:09:08 AM UTC+2, Daniel Kurka wrote:
>>
>> Hi all,
>>
>> we have build the preliminary GWT 2.8.0-rc1 version and now need help 
>> with DOA testing (making sure its not dead on arrival).
>>
>> We are currently missing testers for:
>>
>> Linux / Chrome
>> Windows 7 / IE8/IE9
>> Windows 7 / IE 10
>> Windows 7 / IE 11
>>
>> If you are interested in spending ~1h in testing the new GWT release, 
>> please reach out to me.
>>
>> -Daniel
>>
>>

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


Re: [gwt-contrib] GWT 2.8 RC1 Help with testing

2016-07-20 Thread Thomas Broyer
Please reply to the original 
thread: 
https://groups.google.com/d/topic/google-web-toolkit-contributors/WegHJlSMoos/discussion

(fwiw, I already did most of the smoke tests on linux/chrome)

On Wednesday, July 20, 2016 at 4:46:53 PM UTC+2, Natanael Clara wrote:
>
> Hi,
>
> We have interest in Linux / Chrome.
>
> Natan.
>
>
>
> Em 20/07/2016 09:31, Michael Joyner escreveu:
>
> (I'm cross posting this here from 
> google-web-toolkit-contribut...@googlegroups.com as being highly relevant)
>
> Hi all, 
>
> we have build the preliminary GWT 2.8.0-rc1 version and now need help with 
> DOA testing (making sure its not dead on arrival).
>
> We are currently missing testers for:
>
> Linux / Chrome
> Windows 7 / IE8/IE9
> Windows 7 / IE 10
> Windows 7 / IE 11
>
> If you are interested in spending ~1h in testing the new GWT release, 
> please reach out to me.
>
> -Daniel
>
> Discussion link:  
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujipOWx590QLZs0OKED12%2BW5jKmNsnY1zQw0XshxyY5yM6w%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujipOWx590QLZs0OKED12%2BW5jKmNsnY1zQw0XshxyY5yM6w%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] GWT 2.8 RC1 Help with testing

2016-07-20 Thread natan clara

  
  
Hi,
            We have interest in Linux / Chrome.
Natan.




Em 20/07/2016 09:31, Michael Joyner
  escreveu:


  
  (I'm cross posting this here from google-web-toolkit-contribut...@googlegroups.com
as being highly relevant)

Hi all,


we have build the preliminary GWT 2.8.0-rc1 version and now
  need help with DOA testing (making sure its not dead on
  arrival).


We are currently missing testers for:



  Linux / Chrome
  Windows 7 / IE8/IE9
  Windows 7 / IE 10
  Windows 7 / IE 11



If you are interested in spending ~1h in testing the new
  GWT release, please reach out to me.


-Daniel

Discussion link:  https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujipOWx590QLZs0OKED12%2BW5jKmNsnY1zQw0XshxyY5yM6w%40mail.gmail.com.
  
  
  -- 
  You received this message because you are subscribed to the Google
  Groups "GWT Users" group.
  To unsubscribe from this group and stop receiving emails from it,
  send an email to google-web-toolkit+unsubscr...@googlegroups.com.
  To 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.


[gwt-contrib] GWT 2.8 RC1 Help with testing

2016-07-20 Thread Michael Joyner

  
  
(I'm cross posting this here from
  google-web-toolkit-contribut...@googlegroups.com as being highly
  relevant)
  
  Hi all,
  
  
  we have build the preliminary GWT 2.8.0-rc1 version and now
need help with DOA testing (making sure its not dead on
arrival).
  
  
  We are currently missing testers for:
  
  
  
Linux / Chrome
Windows 7 / IE8/IE9
Windows 7 / IE 10
Windows 7 / IE 11
  
  
  
  If you are interested in spending ~1h in testing the new GWT
release, please reach out to me.
  
  
  -Daniel
  
  Discussion link:  https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujipOWx590QLZs0OKED12%2BW5jKmNsnY1zQw0XshxyY5yM6w%40mail.gmail.com.


  




-- 
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com.
To 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-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-20 Thread Thomas Broyer
I'll test on Linux / Chrome.

On Wednesday, July 20, 2016 at 3:09:08 AM UTC+2, Daniel Kurka wrote:
>
> Hi all,
>
> we have build the preliminary GWT 2.8.0-rc1 version and now need help with 
> DOA testing (making sure its not dead on arrival).
>
> We are currently missing testers for:
>
> Linux / Chrome
> Windows 7 / IE8/IE9
> Windows 7 / IE 10
> Windows 7 / IE 11
>
> If you are interested in spending ~1h in testing the new GWT release, 
> please reach out to me.
>
> -Daniel
>
>

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


[gwt-contrib] GWT 2.8 RC1 Help with testing

2016-07-19 Thread 'Daniel Kurka' via GWT Contributors
Hi all,

we have build the preliminary GWT 2.8.0-rc1 version and now need help with
DOA testing (making sure its not dead on arrival).

We are currently missing testers for:

Linux / Chrome
Windows 7 / IE8/IE9
Windows 7 / IE 10
Windows 7 / IE 11

If you are interested in spending ~1h in testing the new GWT release,
please reach out to me.

-Daniel

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


GWT 2.8 last call & help with testing

2016-07-13 Thread Michael Joyner

  
  
FROM: 'Daniel Kurka'
  google-web-toolkit-contribut...@googlegroups.com
  
  Hi all,
  
  
  the last patch that is needed for 2.8 (https://gwt-review.googlesource.com/15193)
is about to land.
  
  
  I will cut the release candidate on Friday morning (MTV
time). This means that we need one clean build before hand in
Jenkins. So we will be blocking master from any more patches
starting tomorrow morning MTV time.
  Anything that is not relevant
  to the GWT 2.8 release will have to wait until 2.8.0 final (or
  even slightly longer if we anticipate a 2.8.1).
  
  
  
  We also need someone to coordinate testing on the open source
side as well as tester to do the actual testing.
  Let me know if you want to take over coordination or testing
and I will help you get started.
  
  
  -Daniel
  
  
  


  




-- 
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-contrib] GWT 2.8 last call & help with testing

2016-07-13 Thread Thomas Broyer
We have a regression due to Java 8 changes in c.g.g.emul and generators, that 
affects at least AutoBeans. I'll try to work on fixes tomorrow, Friday 
otherwise. I'll file (or reopen) an issue for better tracking.

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


Re: Newbie Help - how to retrieve data from another website?

2016-06-13 Thread Thomas Broyer


On Monday, June 13, 2016 at 9:40:34 AM UTC+2, Hans Dampf wrote:
>
> Hi everyone,
>
> opening an URL like http://randomserver.com/file?get=randomXML returns a 
> XML-file. I don't have access to the server.
> Now i am trying to receive this data and give it out in my gwt-app.
> I have tried modifying the code from this tutorial : 
> http://www.gwtproject.org/javadoc/latest/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
>  
> but i failed miserably.
> Can anyone kindly give me a hint on what to implement / how to do it 
> properly in order to read the XML and put its content in an object that i 
> can modify / give out in my gwt-app?
> Thanks in advance!
>

If the other server sends CORS headers in the response, then you can just 
use XMLHttpRequest or RequestBuilder: http://caniuse.com/#feat=cors
Otherwise, you'll have to make the request from your server (acting as a 
proxy) to workaround the same-origin policy.
JSON-P, despite what its name suggests, is simply about retrieving a 
JavaScript and having it executed in the current web page using a 

Newbie Help - how to retrieve data from another website?

2016-06-13 Thread Hans Dampf
Hi everyone,

opening an URL like http://randomserver.com/file?get=randomXML returns a 
XML-file. I don't have access to the server.
Now i am trying to receive this data and give it out in my gwt-app.
I have tried modifying the code from this tutorial : 
http://www.gwtproject.org/javadoc/latest/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
 
but i failed miserably.
Can anyone kindly give me a hint on what to implement / how to do it 
properly in order to read the XML and put its content in an object that i 
can modify / give out in my gwt-app?
Thanks in advance!

-- 
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: Need help with an ideea on file processing

2016-05-17 Thread Marteijn Nouwens
Sound like basic call form the client. Upload the file. Place in a temp 
file and then send command to server wich return's html.

Done stuff like this with uploading pdf's and the showing preview. Is 
basicly the same.



Op maandag 16 mei 2016 21:48:11 UTC+2 schreef Olar Andrei:
>
> Hello,
>
> I have a application, which has 2 main places. The AdminPlace, for the 
> admin, and the UserPlace for the Users. I made a helper class, which 
> generates html from excel, which I want to use it like this: The admin 
> uploads an excel file, from which html code gets generated and displayed in 
> the UserPlace for the users. By now, I don't have the AdminPlace 
> implemented. I know I need to send my file, once selected, to the server, 
> where it gets processed and returns my String or HTML to the client. I know 
> how to send my file to the server, but I don't know how to retrieve the 
> result to the client.
>
> I try to create the widget here: How do I get the String/HTML from server, 
> what requests do I have to do and how should it be implemented ?
>
> upkeepMenu.addItem(UserMenuConstants.MENU_ITEM_GENERAL_VIEW, new Command() 
> {
>
> @Override
> public void execute() {
> scroller.clear();
> Widget generalCostsView = new HTML(/*String returned from server, or 
> directly HTML*/);
> scroller.add(generalCostsView);
> }
> });
>
> Thanks in advence
>

-- 
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: Need help with an ideea on file processing

2016-05-16 Thread natan aguiar
Source from server file to client.

import java.io.FileInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Locale;

import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class ReturnFile extends HttpServlet {

private static final long serialVersionUID = -5297473193366880189L;

public void doPost(HttpServletRequest requisicao, HttpServletResponse 
resposta)
throws ServletException, IOException {
this.processeRelatorio(requisicao, resposta);
}

protected void processeRelatorio(HttpServletRequest requisicao, 
HttpServletResponse resposta)
throws IOException {
PrintWriter out = null;
ServletOutputStream outstream = null;
try {
// name report
String nameFile = requisicao.getParameter("r000");
FileInputStream entrada = new FileInputStream(nameFile);
byte[] bytesFile = new byte[entrada.available()];
entrada.read(bytesFile, 0, entrada.available());
entrada.close();
entrada = null;
outstream = resposta.getOutputStream();
resposta.setLocale(new Locale("pt,BR"));
// type file.
resposta.setContentType("application/pdf");
resposta.setContentLength(bytesFile.length);
resposta.setHeader("Content-disposition", "inline; 
filename=\"Report.pdf\"");
outstream.write(bytesFile);
bytesFile = null;
} catch (IOException ioe) {
out = resposta.getWriter();
out.println(ioe.getLocalizedMessage());
out.println(ioe.getCause());
} finally {
if (out != null) {
out.flush();
out.close();
}
if (outstream != null) {
outstream.flush();
outstream.close();
}
}
}
}

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


Need help with an ideea on file processing

2016-05-16 Thread Olar Andrei
Hello,

I have a application, which has 2 main places. The AdminPlace, for the 
admin, and the UserPlace for the Users. I made a helper class, which 
generates html from excel, which I want to use it like this: The admin 
uploads an excel file, from which html code gets generated and displayed in 
the UserPlace for the users. By now, I don't have the AdminPlace 
implemented. I know I need to send my file, once selected, to the server, 
where it gets processed and returns my String or HTML to the client. I know 
how to send my file to the server, but I don't know how to retrieve the 
result to the client.

I try to create the widget here: How do I get the String/HTML from server, 
what requests do I have to do and how should it be implemented ?

upkeepMenu.addItem(UserMenuConstants.MENU_ITEM_GENERAL_VIEW, new Command() {

@Override
public void execute() {
scroller.clear();
Widget generalCostsView = new HTML(/*String returned from server, or 
directly HTML*/);
scroller.add(generalCostsView);
}
});

Thanks in advence

-- 
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: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Jens,
Thanks .. this seems to work:





@JsType(isNative = true, name = "Checkbox", namespace = "checkbox")
public class SUICheckbox extends JQueryContext {
...
   
 @JsType(isNative = true, name = "Object", namespace = GLOBAL)
public static class SettingsClass {
@JsProperty public Functions.Func onChecked;
}
}



On Wednesday, April 20, 2016 at 3:16:31 PM UTC-7, Jens wrote:
>
> I think your Settings class should have @JsType(isNative = true, 
> namespace = GLOBAL, name = "Object") to make it a JavaScript object 
> literal. 
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Jens,
So how do I create an instance of it?

-- 
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: Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Jens
I think your Settings class should have @JsType(isNative = true, namespace 
= GLOBAL, name = "Object") to make it a JavaScript object literal. 

-- J.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Struggling with gwt 2.8/JsInterop and jQuery, help please!

2016-04-20 Thread Hristo Stoyanov
Hi all,

I need to interface with JQuery API that looks like this:

http://semantic-ui.com/modules/checkbox.html#/examples

$('.callback.example .checkbox') .checkbox() .first()
.checkbox({ onChecked: function() {...}, onUnchecked: function() {...}, 
onEnable: function() {...}, onDisable: function() {...}, onDeterminate: 
function() {..}, onIndeterminate: function() {...}, onChange: function() 
{...} });
===

I am trying to use JsInterop and getting a weird JS error, because the 
jQuery API above does not like the SUICheckbox.Settings class, which I 
thought would be just a map of callbacks. *Any hints? How do you do tackle 
this with JsInterop?*

Here is the JS error:
===
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot 
convert undefined or null to object at Unknown.hasOwnProperty(Unknown@-1) 
at 
Unknown.jQuery.extend.isPlainObject(http://127.0.0.1:8080/xxx/jquery.js@13:289)


Here is the GWT usage code:
===
SUICheckbox.Settings settings = new SUICheckbox.Settings(); 
settings.onChecked = ()->Console.log("Checked: "+this.toString()); 
settings.onUnchecked = ()->Console.log("Unchecked: "+this.toString()); 
settings.onEnabled = ()->Console.log("Unchecked: "+this.toString()); String 
checkboxSelector = "#"+planChoices.getElement().getId()+" .checkbox"; 
SUICheckbox checkBoxContext = 
JQuery
.$(checkboxSelector) //This is fine!
.checkbox(settings); //BOOM error!!!


Here is the GWT JSInertop wrapper code:
==
@JsType(isNative = true) public class JQuery { @JsMethod(namespace = 
JsPackage.GLOBAL) public static native JQueryContext $(String selector);
}

@JsType(name = "jQuery", isNative = true, namespace = JsPackage.GLOBAL) 
public class JQueryContext { public native SUICheckbox 
checkbox(SUICheckbox.Settings setings); }
public interface Functions {
@FunctionalInterface  @JsFunction // No Return Type
interface Func {void call();}
}
@JsType(isNative = true, name = "Checkbox", namespace = "checkbox") public 
class SUICheckbox extends JQueryContext{ @JsType public static class 
Settings { @JsProperty public Functions.Func onChecked; @JsProperty public 
Functions.Func onEnabled; @JsProperty public Functions.Func onUnchecked; } }




-- 
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: Help running DevMode with GWT 2.7 and no bookmarklets

2016-04-13 Thread Thomas Broyer
-launcherDir's equivalent for DevMode is -war and is not optional. If you use 
DevMode with -noserver then it's equivalent to using CodeServer with 
-launcherDir.
You're otherwise right.

Just a note: for people coming from "legacy DevMode" in 2.6, 2.7 didn't change 
anything, except their workflow automatically switched to SDM when upgrading. 
Only those people having use SDM before are a bit lost.

-- 
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: Help running DevMode with GWT 2.7 and no bookmarklets

2016-04-13 Thread shaun . tarves
Hi Thomas -

That was the missing piece. I can now get the automatic re-compile on 
browser refresh. However, the launcherDir parameter is only available in 
the gwt-maven-plugin:run-codeserver mojo. Doesn't that start Super Dev Mode 
directly? I thought that *wasn't* the correct way to do things in a 2.7+ 
world.

I'm pretty confused about how we should be debugging GWT apps at this point 
- maybe it's just a terminology thing.

Best I can tell, the GWT Super Dev Mode CodeServer is now launched either 
explicitly (using the CodeServer main or from the 
gwt-maven-plugin:run-codeserver mojo) OR implicitly by using the 
gwt-maven-plugin:run mojo (which starts DevMode, but now defaults to 
SuperDevMode and starts the code server). Is that accurate?

If so, it seems like the  parameter should be added to the run 
mojo, no?


On Tuesday, April 12, 2016 at 6:23:48 PM UTC-4, Thomas Broyer wrote:
>
> If you were already using CodeServer, then just add -launcherDir pointing 
> to the exploded war folder in your Tomcat. This will generate a new 
> nocache.js overwriting the original one that will trigger SDM on load, so 
> you have nothing to do but load your app.

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


Help running DevMode with GWT 2.7 and no bookmarklets

2016-04-12 Thread Thomas Broyer
If you were already using CodeServer, then just add -launcherDir pointing to 
the exploded war folder in your Tomcat. This will generate a new nocache.js 
overwriting the original one that will trigger SDM on load, so you have nothing 
to do but load your app.

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


Help running DevMode with GWT 2.7 and no bookmarklets

2016-04-12 Thread shaun . tarves
Hi guys -

I've spent more than a day now on a quest to get DevMode running properly 
for GWT 2.7 with my multi-module GWT application. NOTE: I can run SDM 
completely fine using the bookmarklets, but I'm not sure that's the right 
way to do things now.

As background, I use the gwt-maven-plugin in my project.

It started (innocently enough) with an attempt to rectify the "[ERROR] 
Current binding properties are expanding to more than one permutation but 
per-file compilation requires that each compile operate on only one 
permutation." error I was seeing when attempting to just press the "Dev 
Mode On" button after changing code without first turning off dev mode. 
That was a bit of an annoyance that I thought I could get around.

After reading this 
post: 
http://stackoverflow.com/questions/27267704/gwt-super-dev-mode-recompile-doesnt-work,
 
which led to this google group 
post: 
https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/5lgtM77-1tM,
 
it appears that directly running SDM and using the bookmarklets is not the 
proper way to do things in GWT 2.7+

My "project" was set up using @tbroyer's GWT multi-module archetype back on 
GWT 2.5. I build my project, deploy to a local Tomcat instance running at 
localhost:8080, and from there, I use the mvn:run-codeserver command to 
start the SDM server at localhost:9876. I navigate my browser to 
localhost:8080, then I can hit the Dev Mode On button and compile my 
applicable modules and I'm good to go with sourcemaps and debugging in the 
browser.

How do I get standard Dev Mode with no bookmarklets (which I know starts 
SDM by default and I think is the *right 2.7 way* to do things) to work in 
this configuration?

My pom includes:
true
http://localhost:8080

and I started the code server (I think) using 
mvn gwt:debug

. This seems to start up okay and I see:

[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
xxx-gui-client ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 76 resources

[INFO] 

[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
xxx-gui-client ---

*[INFO] Nothing to compile - all classes are up to date*

[INFO] 

[INFO] <<< gwt-maven-plugin:2.7.0:debug (default-cli) < process-classes @ 
xxx-gui-client <<<

[INFO] --- gwt-maven-plugin:2.7.0:debug (default-cli) @ xxx-gui-client ---

[INFO] starting debugger on port 8000 in suspend mode

[INFO] create exploded Jetty webapp in 
/Users/xxx/Workspace/xxx/xxx/xxx-gui/client/target/xxx-client-5.7.0-SNAPSHOT

[INFO] Listening for transport dt_socket at address: 8000


Is Dev Mode not seeing my modules? When I run 
mvn get:run-codeserver

I see similar output, but it finds all the classes it needs to compile:


[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
xxx-gui-client ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 76 resources

[INFO] 

[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
xxx-gui-client ---

*[INFO] Changes detected - recompiling the module!*

*[INFO] Compiling 1335 source files to 
/Users/xxx/Workspace/xxx/xxx/xxx-gui/client/target/xxx-client-5.7.0-SNAPSHOT/WEB-INF/classes*

[INFO] 

[INFO] <<< gwt-maven-plugin:2.7.0:run-codeserver (default-cli) < 
process-classes @ xxx-gui-client <<<

[INFO] 

[INFO] --- gwt-maven-plugin:2.7.0:run-codeserver (default-cli) @ 
xxx-gui-client ---

[INFO] Turning off precompile in incremental mode.

[INFO] Super Dev Mode starting up


What's the link between that and my Tomcat instance? How do I "activate" 
dev mode in the browser? I see no red refresh button, there are no 
compilations happening in the code server terminal. What am I missing? Do I 
need an IDE to get a debugger going or do I need to tell Chrome to look at 
the code server? Would I be better served moving away from the older 
gwt-mvn-plugin and using tboyer's newer version?


I feel like this step:


Compile your application once using the ant build target. Ideally, you can 
> use GWT’s -war option to generate output files directly into your external 
> server’s static content folder. Otherwise, you’ll need to copy the GWT 
> output folder from war/ to your external server’s static 
> content.


from this page: 
http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html 
could be the key, but I'm not understanding how that translates to using 
mvn gwt:debug. I've tried using the  parameter and set it 
to where my local tomcat serves the GWT-generated files from, but nothing 
seems to get written there.

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

Re: Can anyone help me to copy the text to clipboard in a simple way and which works on all browsers

2016-03-30 Thread Harald Pehl
I'm using an implementation based on http://zeroclipboard.org/ [1]. 
ZeroClipboard is used by GitHub and should work on all modern browsers. My 
implementation is built using JsInterop and provides a subset of 
ZeroClipboard's API. It should be pretty easy to add more methods if you 
need them. 

Here's a sample how to use it:

Element button = Browser.getDocument().createButtonElement();
Clipboard clipboard = new Clipboard(button);
clipboard.onCopy(event -> event.client.setText("This text gets copied to 
the clipboard"));


[1] 
https://github.com/hal/hal.next/blob/develop/ballroom/src/main/java/org/jboss/hal/ballroom/Clipboard.java

Am Mittwoch, 30. März 2016 12:00:21 UTC+2 schrieb Vassilis Virvilis:
>
> That was indeed very insightful and helpful. Thanks for sharing and 
> congrats to the lucid guys for the guide.
>
> On Wed, Mar 30, 2016 at 2:50 AM, JonL <jo...@percsolutions.com 
> > wrote:
>
>> This might be helpful:
>>
>>
>> https://www.lucidchart.com/techblog/2014/12/02/definitive-guide-copying-pasting-javascript/
>>
>>
>> On Monday, March 28, 2016 at 12:06:42 PM UTC-7, Dhinakar Reddy Pothireddi 
>> wrote:
>>>
>>> Sorry Ed, I didn't work and even this is not what I need. I want to 
>>> access the clipboard in the Chrome with some appropriate JSNI. The code I 
>>> posted previously works for IE but fails on Chrome. Thanks.
>>>
>>> On Monday, March 21, 2016 at 7:48:50 PM UTC+5:30, Ed wrote:
>>>>
>>>> Hi,
>>>>
>>>> Try this:
>>>>   
>>>>  final HTML CopyIcon = new HTML("Copy");
>>>> 
>>>> CopyIcon.setStyleName("gwt-HTMLGreen");
>>>> CopyIcon.setTitle("Drag and Drop");
>>>> 
>>>> CopyIcon.getElement().setDraggable(Element.DRAGGABLE_TRUE);
>>>>
>>>> CopyIcon.addDomHandler(new 
>>>> DragStartHandler() {
>>>>
>>>> @Override
>>>> public void 
>>>> onDragStart(DragStartEvent event) {
>>>>
>>>> event.setData("text/plain", 
>>>> YOURDATATOCOPY);
>>>>
>>>> 
>>>> event.getDataTransfer().setDragImage(CopyIcon.getElement(), 10, 10);
>>>>
>>>> }
>>>>
>>>> }, DragStartEvent.getType());
>>>>
>>>> Hope this helps
>>>>
>>>> Ed
>>>>
>>>>
>>>> On Mon, Mar 21, 2016 at 8:10 AM, Dhinakar Reddy Pothireddi <
>>>> dhinaka...@gmail.com> wrote:
>>>>
>>>>> Can anyone help me to copy the text to clipboard in a simple way and 
>>>>> which works on all browsers especially on Safari, Chrome and IE and with 
>>>>> out the need of flash or any other apps. Thanks in advance
>>>>>
>>>>> public static native void 
>>>>> copyFrom(com.google.gwt.user.client.Element element) /*-{
>>>>>   $wnd.window.clipboardData.setData('text', element.innerText);
>>>>> }-*/;
>>>>> public static native void pasteTo(com.google.gwt.user.client.Element 
>>>>> element) /*-{
>>>>>   $wnd.window.clipboardData.getData(element);
>>>>> }-*/; 
>>>>> This code only works on IE and returns an exception on Chrome.
>>>>>
>>>>> I need to process this event on a button click.
>>>>>
>>>>> -- 
>>>>> 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-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.
>>
>
>
>
> -- 
> Vassilis Virvilis
>

-- 
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: Can anyone help me to copy the text to clipboard in a simple way and which works on all browsers

2016-03-30 Thread Vassilis Virvilis
That was indeed very insightful and helpful. Thanks for sharing and
congrats to the lucid guys for the guide.

On Wed, Mar 30, 2016 at 2:50 AM, JonL <j...@percsolutions.com> wrote:

> This might be helpful:
>
>
> https://www.lucidchart.com/techblog/2014/12/02/definitive-guide-copying-pasting-javascript/
>
>
> On Monday, March 28, 2016 at 12:06:42 PM UTC-7, Dhinakar Reddy Pothireddi
> wrote:
>>
>> Sorry Ed, I didn't work and even this is not what I need. I want to
>> access the clipboard in the Chrome with some appropriate JSNI. The code I
>> posted previously works for IE but fails on Chrome. Thanks.
>>
>> On Monday, March 21, 2016 at 7:48:50 PM UTC+5:30, Ed wrote:
>>>
>>> Hi,
>>>
>>> Try this:
>>>
>>>  final HTML CopyIcon = new HTML("Copy");
>>>
>>> CopyIcon.setStyleName("gwt-HTMLGreen");
>>> CopyIcon.setTitle("Drag and Drop");
>>>
>>> CopyIcon.getElement().setDraggable(Element.DRAGGABLE_TRUE);
>>>
>>> CopyIcon.addDomHandler(new
>>> DragStartHandler() {
>>>
>>> @Override
>>> public void
>>> onDragStart(DragStartEvent event) {
>>>
>>> event.setData("text/plain",
>>> YOURDATATOCOPY);
>>>
>>>
>>> event.getDataTransfer().setDragImage(CopyIcon.getElement(), 10, 10);
>>>
>>> }
>>>
>>> }, DragStartEvent.getType());
>>>
>>> Hope this helps
>>>
>>> Ed
>>>
>>>
>>> On Mon, Mar 21, 2016 at 8:10 AM, Dhinakar Reddy Pothireddi <
>>> dhinaka...@gmail.com> wrote:
>>>
>>>> Can anyone help me to copy the text to clipboard in a simple way and
>>>> which works on all browsers especially on Safari, Chrome and IE and with
>>>> out the need of flash or any other apps. Thanks in advance
>>>>
>>>> public static native void
>>>> copyFrom(com.google.gwt.user.client.Element element) /*-{
>>>>   $wnd.window.clipboardData.setData('text', element.innerText);
>>>> }-*/;
>>>> public static native void pasteTo(com.google.gwt.user.client.Element
>>>> element) /*-{
>>>>   $wnd.window.clipboardData.getData(element);
>>>> }-*/;
>>>> This code only works on IE and returns an exception on Chrome.
>>>>
>>>> I need to process this event on a button click.
>>>>
>>>> --
>>>> 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.
>



-- 
Vassilis Virvilis

-- 
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: Can anyone help me to copy the text to clipboard in a simple way and which works on all browsers

2016-03-29 Thread JonL
This might be helpful:

https://www.lucidchart.com/techblog/2014/12/02/definitive-guide-copying-pasting-javascript/

On Monday, March 28, 2016 at 12:06:42 PM UTC-7, Dhinakar Reddy Pothireddi 
wrote:
>
> Sorry Ed, I didn't work and even this is not what I need. I want to access 
> the clipboard in the Chrome with some appropriate JSNI. The code I posted 
> previously works for IE but fails on Chrome. Thanks.
>
> On Monday, March 21, 2016 at 7:48:50 PM UTC+5:30, Ed wrote:
>>
>> Hi,
>>
>> Try this:
>>   
>>  final HTML CopyIcon = new HTML("Copy");
>> 
>> CopyIcon.setStyleName("gwt-HTMLGreen");
>> CopyIcon.setTitle("Drag and Drop");
>> 
>> CopyIcon.getElement().setDraggable(Element.DRAGGABLE_TRUE);
>>
>> CopyIcon.addDomHandler(new 
>> DragStartHandler() {
>>
>> @Override
>> public void 
>> onDragStart(DragStartEvent event) {
>>
>> event.setData("text/plain", 
>> YOURDATATOCOPY);
>>
>> 
>> event.getDataTransfer().setDragImage(CopyIcon.getElement(), 10, 10);
>>
>> }
>>
>> }, DragStartEvent.getType());
>>
>> Hope this helps
>>
>> Ed
>>
>>
>> On Mon, Mar 21, 2016 at 8:10 AM, Dhinakar Reddy Pothireddi <
>> dhinaka...@gmail.com> wrote:
>>
>>> Can anyone help me to copy the text to clipboard in a simple way and 
>>> which works on all browsers especially on Safari, Chrome and IE and with 
>>> out the need of flash or any other apps. Thanks in advance
>>>
>>> public static native void 
>>> copyFrom(com.google.gwt.user.client.Element element) /*-{
>>>   $wnd.window.clipboardData.setData('text', element.innerText);
>>> }-*/;
>>> public static native void pasteTo(com.google.gwt.user.client.Element 
>>> element) /*-{
>>>   $wnd.window.clipboardData.getData(element);
>>> }-*/; 
>>> This code only works on IE and returns an exception on Chrome.
>>>
>>> I need to process this event on a button click.
>>>
>>> -- 
>>> 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: Can anyone help me to copy the text to clipboard in a simple way and which works on all browsers

2016-03-28 Thread Dhinakar Reddy Pothireddi
Sorry Ed, I didn't work and even this is not what I need. I want to access 
the clipboard in the Chrome with some appropriate JSNI. The code I posted 
previously works for IE but fails on Chrome. Thanks.

On Monday, March 21, 2016 at 7:48:50 PM UTC+5:30, Ed wrote:
>
> Hi,
>
> Try this:
>   
>  final HTML CopyIcon = new HTML("Copy");
> CopyIcon.setStyleName("gwt-HTMLGreen");
> CopyIcon.setTitle("Drag and Drop");
> 
> CopyIcon.getElement().setDraggable(Element.DRAGGABLE_TRUE);
>
> CopyIcon.addDomHandler(new 
> DragStartHandler() {
>
> @Override
> public void 
> onDragStart(DragStartEvent event) {
>
> event.setData("text/plain", 
> YOURDATATOCOPY);
>
> 
> event.getDataTransfer().setDragImage(CopyIcon.getElement(), 10, 10);
>
> }
>
> }, DragStartEvent.getType());
>
> Hope this helps
>
> Ed
>
>
> On Mon, Mar 21, 2016 at 8:10 AM, Dhinakar Reddy Pothireddi <
> dhinaka...@gmail.com > wrote:
>
>> Can anyone help me to copy the text to clipboard in a simple way and 
>> which works on all browsers especially on Safari, Chrome and IE and with 
>> out the need of flash or any other apps. Thanks in advance
>>
>> public static native void 
>> copyFrom(com.google.gwt.user.client.Element element) /*-{
>>   $wnd.window.clipboardData.setData('text', element.innerText);
>> }-*/;
>> public static native void pasteTo(com.google.gwt.user.client.Element 
>> element) /*-{
>>   $wnd.window.clipboardData.getData(element);
>> }-*/; 
>> This code only works on IE and returns an exception on Chrome.
>>
>> I need to process this event on a button click.
>>
>> -- 
>> 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: Can anyone help me to copy the text to clipboard in a simple way and which works on all browsers

2016-03-21 Thread Ed
Hi,

Try this:

 final HTML CopyIcon = new HTML("Copy");
CopyIcon.setStyleName("gwt-HTMLGreen");
CopyIcon.setTitle("Drag and Drop");

CopyIcon.getElement().setDraggable(Element.DRAGGABLE_TRUE);

CopyIcon.addDomHandler(new
DragStartHandler() {

@Override
public void
onDragStart(DragStartEvent event) {

event.setData("text/plain",
YOURDATATOCOPY);


event.getDataTransfer().setDragImage(CopyIcon.getElement(), 10, 10);

}

}, DragStartEvent.getType());

Hope this helps

Ed


On Mon, Mar 21, 2016 at 8:10 AM, Dhinakar Reddy Pothireddi <
dhinakarred...@gmail.com> wrote:

> Can anyone help me to copy the text to clipboard in a simple way and which
> works on all browsers especially on Safari, Chrome and IE and with out the
> need of flash or any other apps. Thanks in advance
>
> public static native void
> copyFrom(com.google.gwt.user.client.Element element) /*-{
>   $wnd.window.clipboardData.setData('text', element.innerText);
> }-*/;
> public static native void pasteTo(com.google.gwt.user.client.Element
> element) /*-{
>   $wnd.window.clipboardData.getData(element);
> }-*/;
> This code only works on IE and returns an exception on Chrome.
>
> I need to process this event on a button click.
>
> --
> 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.


Can anyone help me to copy the text to clipboard in a simple way and which works on all browsers

2016-03-21 Thread Dhinakar Reddy Pothireddi
Can anyone help me to copy the text to clipboard in a simple way and which 
works on all browsers especially on Safari, Chrome and IE and with out the 
need of flash or any other apps. Thanks in advance

public static native void 
copyFrom(com.google.gwt.user.client.Element element) /*-{
  $wnd.window.clipboardData.setData('text', element.innerText);
}-*/;
public static native void pasteTo(com.google.gwt.user.client.Element 
element) /*-{
  $wnd.window.clipboardData.getData(element);
}-*/; 
This code only works on IE and returns an exception on Chrome.

I need to process this event on a button click.

-- 
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-contrib] Re: Help testing the GWT 2.8 release

2015-11-30 Thread Brandon Donnelson
Regards to testing, I've added a patch to help with importing the samples 
or web application project into Eclipse. 

Problem:
- running ant eclipse.generate on the samples does not create a .project 
file with the GWT nature enabled. 

Solution:
This adds the GWT nature to the Eclipse .project file so importing a GWT 
project will automatically be set up. 
https://gwt-review.googlesource.com/#/c/14032

Thanks,
Brandon

On Monday, November 2, 2015 at 12:14:07 PM UTC-8, Daniel Kurka wrote:
>
> Hi all,
>
> the GWT team needs help testing the GWT 2.8.1-beta1 release. As always, 
> before we publicize the release we are doing a bunch of DOA (dead on 
> arrival tests) before we open the release to the broader community.
>
> Platforms that need testing:
>
>- Chrome (Linux or mac),
>- Window IE11,
>- Windows IE8
>- Window IE9
>- OSX safari
>- Firefox (Linux or mac)
>
> We should have either chrome on mac and firefox on linux or the other way 
> around.
>
> If you are interested in helping to test the release send me an email and 
> I'll share details with you!
>
> -Daniel
>

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


[gwt-contrib] Re: Need help with test case

2015-11-17 Thread Rene Hangstrup Møller
Thank you, that helped a lot.

/Rene

Den tirsdag den 17. november 2015 kl. 10.28.55 UTC+1 skrev Jens:
>
> At the top is a "reply" button. When you enter text in the corresponding 
> text box it is a general reply for the CL. You can also add comments for a 
> file or for a line of source code. To do so navigate to the desired patch 
> set (top right drop down) and open the file. At the top middle is a small 
> icon which allows you to do a file based comment. Alternatively you can 
> click any line number you want to comment in the file view or mark some 
> code using the mouse and press "c". On both cases you have to click the 
> small "save" button to save your comment as draft. To publish all your 
> file/line comments you need to use the "reply" button at the top again (and 
> you can still add a general comment as well in the reply box)
>
> If you want to reply a specific general comment you can open that comment 
> and click the small reply arrow on the very right side. For file/line based 
> comments there is a small reply button in the yellow comment box in the 
> file view.
>
> Hope that helps.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/29a4b729-2d82-4fbf-9e72-402f080061d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Re: Need help with test case

2015-11-17 Thread Rene Hangstrup Møller
I am still a bit puzzled by the gerrit interface.

What is the correct way to add a comment to a patch set, or reply to a 
comment from a reviewer?

Den mandag den 16. november 2015 kl. 22.32.18 UTC+1 skrev Rene Hangstrup 
Møller:
>
> I would also like a tip on how to run that testcase alone.
>
> Right now I am doing this:
>
> (cd user && ant test -Dtest.emma.selenium.disable=true 
> -Dtest.draft.htmlunit.disable=true -Dtest.coverage.htmlunit.disable=true 
> -Dtest.nometa.htmlunit.disable=true -Dtest.nongwt.disable=true 
> -Dtest.dev.htmlunit.disable=true -Dtest.web.htmlunit.disable=true 
> -Dgwt.junit.testcase.includes=**/SerializableTypeOracleBuilderTest.class)
>
> Can I narrow it further down
>
> Best regards
> Rene
>
> Den mandag den 16. november 2015 kl. 22.28.31 UTC+1 skrev Rene Hangstrup 
> Møller:
>>
>> Hi
>>
>> I am trying to write a test case for 
>> https://github.com/gwtproject/gwt/issues/7247
>>
>> There was an old test in 
>> https://github.com/gwtproject/gwt/issues/7247#issue-87058425 that 
>> reproduces the problem.
>>
>> I am trying to narrow it down and implement it as part of the existing 
>> SerializableTypeOracleBuilderTest instead, but so far I cannot make it fail 
>> (after removing the change to SerializableTypeOracleBuilder)
>>
>> By adding tracing to the original test case that reproduced the problem I 
>> can see that computeTypeInstantiability() visits the classes in this order: 
>>
>> Level1, Root, Parameter, Level2, AnInterface
>>
>> But in my new test case they are visited in this order:
>>
>> Root, Level1, Level2, Parameter, AnInterface
>>
>> My theory is that the test will fail if they are visited in the same 
>> order as in the original setup.
>>
>> Any suggestions for either
>> - how I can force the classes to be visited in the desired order?
>> - how I can make the test closer to the original setup?
>>
>> Best regards
>> Rene
>>
>>
>>
>>

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


[gwt-contrib] Re: Need help with test case

2015-11-17 Thread Jens
At the top is a "reply" button. When you enter text in the corresponding 
text box it is a general reply for the CL. You can also add comments for a 
file or for a line of source code. To do so navigate to the desired patch 
set (top right drop down) and open the file. At the top middle is a small 
icon which allows you to do a file based comment. Alternatively you can 
click any line number you want to comment in the file view or mark some 
code using the mouse and press "c". On both cases you have to click the 
small "save" button to save your comment as draft. To publish all your 
file/line comments you need to use the "reply" button at the top again (and 
you can still add a general comment as well in the reply box)

If you want to reply a specific general comment you can open that comment 
and click the small reply arrow on the very right side. For file/line based 
comments there is a small reply button in the yellow comment box in the 
file view.

Hope that helps.

-- J.

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


[gwt-contrib] Need help with test case

2015-11-16 Thread Rene Hangstrup Møller
Hi

I am trying to write a test case for 
https://github.com/gwtproject/gwt/issues/7247

There was an old test in 
https://github.com/gwtproject/gwt/issues/7247#issue-87058425 that 
reproduces the problem.

I am trying to narrow it down and implement it as part of the existing 
SerializableTypeOracleBuilderTest instead, but so far I cannot make it fail 
(after removing the change to SerializableTypeOracleBuilder)

By adding tracing to the original test case that reproduced the problem I 
can see that computeTypeInstantiability() visits the classes in this order: 

Level1, Root, Parameter, Level2, AnInterface

But in my new test case they are visited in this order:

Root, Level1, Level2, Parameter, AnInterface

My theory is that the test will fail if they are visited in the same order 
as in the original setup.

Any suggestions for either
- how I can force the classes to be visited in the desired order?
- how I can make the test closer to the original setup?

Best regards
Rene



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


[gwt-contrib] Re: Need help with test case

2015-11-16 Thread Rene Hangstrup Møller
I would also like a tip on how to run that testcase alone.

Right now I am doing this:

(cd user && ant test -Dtest.emma.selenium.disable=true 
-Dtest.draft.htmlunit.disable=true -Dtest.coverage.htmlunit.disable=true 
-Dtest.nometa.htmlunit.disable=true -Dtest.nongwt.disable=true 
-Dtest.dev.htmlunit.disable=true -Dtest.web.htmlunit.disable=true 
-Dgwt.junit.testcase.includes=**/SerializableTypeOracleBuilderTest.class)

Can I narrow it further down

Best regards
Rene

Den mandag den 16. november 2015 kl. 22.28.31 UTC+1 skrev Rene Hangstrup 
Møller:
>
> Hi
>
> I am trying to write a test case for 
> https://github.com/gwtproject/gwt/issues/7247
>
> There was an old test in 
> https://github.com/gwtproject/gwt/issues/7247#issue-87058425 that 
> reproduces the problem.
>
> I am trying to narrow it down and implement it as part of the existing 
> SerializableTypeOracleBuilderTest instead, but so far I cannot make it fail 
> (after removing the change to SerializableTypeOracleBuilder)
>
> By adding tracing to the original test case that reproduced the problem I 
> can see that computeTypeInstantiability() visits the classes in this order: 
>
> Level1, Root, Parameter, Level2, AnInterface
>
> But in my new test case they are visited in this order:
>
> Root, Level1, Level2, Parameter, AnInterface
>
> My theory is that the test will fail if they are visited in the same order 
> as in the original setup.
>
> Any suggestions for either
> - how I can force the classes to be visited in the desired order?
> - how I can make the test closer to the original setup?
>
> Best regards
> Rene
>
>
>
>

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


[gwt-contrib] Re: Help testing the GWT 2.8 release

2015-11-10 Thread Brandon Donnelson
@stuckagain, contact Colin for getting signed up to test one of the OSes. 

@Petrica it will be GWT 2.8.0-beta1

On Tuesday, November 10, 2015 at 3:40:51 AM UTC-8, Petrică Clement Chiriac 
wrote:
>
> Daniel is GWT 2.8.1-beta1 or GWT 2.8.0-beta1 ?
>
> Thanks,
> Petrica Chiriac
>
>
> On Monday, November 2, 2015 at 10:14:07 PM UTC+2, Daniel Kurka wrote:
>>
>> Hi all,
>>
>> the GWT team needs help testing the GWT 2.8.1-beta1 release. As always, 
>> before we publicize the release we are doing a bunch of DOA (dead on 
>> arrival tests) before we open the release to the broader community.
>>
>> Platforms that need testing:
>>
>>- Chrome (Linux or mac),
>>- Window IE11,
>>- Windows IE8
>>- Window IE9
>>- OSX safari
>>- Firefox (Linux or mac)
>>
>> We should have either chrome on mac and firefox on linux or the other way 
>> around.
>>
>> If you are interested in helping to test the release send me an email and 
>> I'll share details with you!
>>
>> -Daniel
>>
>

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


[gwt-contrib] Re: Help testing the GWT 2.8 release

2015-11-10 Thread stuckagain
Hi Daniel,

I can help testing a bit on OSX Safari/Chrome/FireFox.

If those tests are also possible disconnected from the internet I could 
also try on Win7/IE11/Chrome/FireFox.

PS: How is Singular coming along ? I'm still waiting anxiously for a first 
release (even unstable) to play with it.

David

On Monday, November 2, 2015 at 9:14:07 PM UTC+1, Daniel Kurka wrote:
>
> Hi all,
>
> the GWT team needs help testing the GWT 2.8.1-beta1 release. As always, 
> before we publicize the release we are doing a bunch of DOA (dead on 
> arrival tests) before we open the release to the broader community.
>
> Platforms that need testing:
>
>- Chrome (Linux or mac),
>- Window IE11,
>- Windows IE8
>- Window IE9
>- OSX safari
>- Firefox (Linux or mac)
>
> We should have either chrome on mac and firefox on linux or the other way 
> around.
>
> If you are interested in helping to test the release send me an email and 
> I'll share details with you!
>
> -Daniel
>

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


[gwt-contrib] Re: Help testing the GWT 2.8 release

2015-11-10 Thread Petrică Clement Chiriac
Daniel is GWT 2.8.1-beta1 or GWT 2.8.0-beta1 ?

Thanks,
Petrica Chiriac


On Monday, November 2, 2015 at 10:14:07 PM UTC+2, Daniel Kurka wrote:
>
> Hi all,
>
> the GWT team needs help testing the GWT 2.8.1-beta1 release. As always, 
> before we publicize the release we are doing a bunch of DOA (dead on 
> arrival tests) before we open the release to the broader community.
>
> Platforms that need testing:
>
>- Chrome (Linux or mac),
>- Window IE11,
>- Windows IE8
>- Window IE9
>- OSX safari
>- Firefox (Linux or mac)
>
> We should have either chrome on mac and firefox on linux or the other way 
> around.
>
> If you are interested in helping to test the release send me an email and 
> I'll share details with you!
>
> -Daniel
>

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


[gwt-contrib] Re: Help testing the GWT 2.8 release

2015-11-09 Thread Brandon Donnelson
I can help, send me the instructions. 

On Monday, November 2, 2015 at 12:14:07 PM UTC-8, Daniel Kurka wrote:
>
> Hi all,
>
> the GWT team needs help testing the GWT 2.8.1-beta1 release. As always, 
> before we publicize the release we are doing a bunch of DOA (dead on 
> arrival tests) before we open the release to the broader community.
>
> Platforms that need testing:
>
>- Chrome (Linux or mac),
>- Window IE11,
>- Windows IE8
>- Window IE9
>- OSX safari
>- Firefox (Linux or mac)
>
> We should have either chrome on mac and firefox on linux or the other way 
> around.
>
> If you are interested in helping to test the release send me an email and 
> I'll share details with you!
>
> -Daniel
>

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


[gwt-contrib] Help testing the GWT 2.8 release

2015-11-02 Thread 'Daniel Kurka' via GWT Contributors
Hi all,

the GWT team needs help testing the GWT 2.8.1-beta1 release. As always,
before we publicize the release we are doing a bunch of DOA (dead on
arrival tests) before we open the release to the broader community.

Platforms that need testing:

   - Chrome (Linux or mac),
   - Window IE11,
   - Windows IE8
   - Window IE9
   - OSX safari
   - Firefox (Linux or mac)

We should have either chrome on mac and firefox on linux or the other way
around.

If you are interested in helping to test the release send me an email and
I'll share details with you!

-Daniel

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


Export CellTable to Excel ? HELP!

2015-10-07 Thread Aldo Pergjergji
Hi guys, 

i'm new in GWT and i need to export my CellTable to Excel (client side)?

Any example?

Thanks

Aldo

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


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-09-28 Thread Srinivasarao Makkena

I could get past it by removing *.gwtar from gwt-user-2.5.0.jar which are 
supposed to be loaded by gwt for increased performance.
Along with it removed gwt-Unit cache and complied...it rebuilt entire jar 
and worked fine.
--sri


On Thursday, February 12, 2015 at 11:08:07 PM UTC, Jens wrote:
>
> Its a JVM parameter for defining a system property and not a GWT 
> compiler/DevMode parameter.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Help with Super Dev Mode not showing content

2015-06-23 Thread rjcarr
I have an old project (been around since the early days of gwt) that's 
pretty large (the compiled javascript file is about 600KB).  I'm using GWT 
2.7 and at some point a while ago the old dev mode stopped working 
(basically the browser wouldn't load the plug-in) and so I've lived without 
it.  I didn't use it that much so I plodded and trudged through with 
development and eating the 90-180 second compile times for every change.

But now I finally have a breather and have time to look into super dev 
mode.  The write-up on it seems a bit old but I got it working without much 
trouble.  And it all seems to work fine using the bookmarklets and the code 
server.  However, my application is split up into (visual) sections and 
when trying to load one of the sections it simply doesn't work.  As in, you 
click the section tab for it to open and just nothing appears.  Turn dev 
mode off and everything is fine.

There's no indication of any kind of problem in the browser (chrome) nor 
from the code server (if that even makes sense).  It just doesn't work.  No 
indication of anything in either the sources nor console sections (or 
anywhere else) of the development tools.  

Is there anything else I can do?  It's only one section (of 6) that's 
having problems.  It is the most complicated section, but as I said turning 
off the dev mode everything is fine.

I'm just looking for some way to tell something to be more strict and alert 
me to problems.  Ideas?

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: Help with Super Dev Mode not showing content

2015-06-23 Thread Jens
Sounds strange. 

You can open Chrome Dev Tools and on the sources tab there is a small 
pause icon on the right which says Pause on exceptions. You can even 
tell Chrome to pause on any exception regardless if caught or not. 
So you could start your app and before clicking the tab that does not work 
you could activate that Chrome feature to see if any exception is thrown 
that might not reach the browser console for any reason.

Alternatively you could set a break point in Chrome debugger and then step 
through your code until it might fails. You could also place a 
GWT.debugger() call into your Java code and Chrome will stop at that 
location just like with break points.

Also as a general hint: If you use GWT 2.7. then the bookmarklets are 
generally not needed. When you launch the SuperDevMode CodeServer it will 
generate a special modulename.nocache.js file that triggers recompilation 
whenever you reload the browser. However I think GWT 2.7 has a timestamp 
bug and if that modulename.nocache.js file already exists because you 
have done some normal compilation then it might happen that the CodeServer 
does not replace that file. So to be sure you can delete the GWT output 
folder, restart SDM and then deploy the app with the newly generated 
modulename.nocache.js.

-- 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/d/optout.


Re: Help with Super Dev Mode not showing content

2015-06-23 Thread Robert J. Carr
Hi Jens-

Thanks, I also thought of using the debugger and I think I might already
have a lead.  Great advice!  I didn't know about the other debugging
features you mentioned so I'll make a note of those.

I am finding that I need to use the bookmarklets most of the time.  It
isn't a major nuisance so it isn't a problem, but thanks for the info.

I think the debugger will lead me to the problem so thanks again.  If
you're interested in what I find out please let me know.

Thanks!


On Tue, Jun 23, 2015 at 11:26 AM, Jens jens.nehlme...@gmail.com wrote:

 Sounds strange.

 You can open Chrome Dev Tools and on the sources tab there is a small
 pause icon on the right which says Pause on exceptions. You can even
 tell Chrome to pause on any exception regardless if caught or not.
 So you could start your app and before clicking the tab that does not work
 you could activate that Chrome feature to see if any exception is thrown
 that might not reach the browser console for any reason.

 Alternatively you could set a break point in Chrome debugger and then step
 through your code until it might fails. You could also place a
 GWT.debugger() call into your Java code and Chrome will stop at that
 location just like with break points.

 Also as a general hint: If you use GWT 2.7. then the bookmarklets are
 generally not needed. When you launch the SuperDevMode CodeServer it will
 generate a special modulename.nocache.js file that triggers recompilation
 whenever you reload the browser. However I think GWT 2.7 has a timestamp
 bug and if that modulename.nocache.js file already exists because you
 have done some normal compilation then it might happen that the CodeServer
 does not replace that file. So to be sure you can delete the GWT output
 folder, restart SDM and then deploy the app with the newly generated
 modulename.nocache.js.

 -- J.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/UNXCyvjnnTs/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.


-- 
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: Help with Super Dev Mode not showing content

2015-06-23 Thread Robert J. Carr
Hi Jens-

Just letting you know I found the problem using the pause on exceptions
feature.  Handy that!  Thanks for leading me in the right direction!

Robert

On Tue, Jun 23, 2015 at 11:32 AM, Robert J. Carr rjc...@gmail.com wrote:

 Hi Jens-

 Thanks, I also thought of using the debugger and I think I might already
 have a lead.  Great advice!  I didn't know about the other debugging
 features you mentioned so I'll make a note of those.

 I am finding that I need to use the bookmarklets most of the time.  It
 isn't a major nuisance so it isn't a problem, but thanks for the info.

 I think the debugger will lead me to the problem so thanks again.  If
 you're interested in what I find out please let me know.

 Thanks!


 On Tue, Jun 23, 2015 at 11:26 AM, Jens jens.nehlme...@gmail.com wrote:

 Sounds strange.

 You can open Chrome Dev Tools and on the sources tab there is a small
 pause icon on the right which says Pause on exceptions. You can even
 tell Chrome to pause on any exception regardless if caught or not.
 So you could start your app and before clicking the tab that does not
 work you could activate that Chrome feature to see if any exception is
 thrown that might not reach the browser console for any reason.

 Alternatively you could set a break point in Chrome debugger and then
 step through your code until it might fails. You could also place a
 GWT.debugger() call into your Java code and Chrome will stop at that
 location just like with break points.

 Also as a general hint: If you use GWT 2.7. then the bookmarklets are
 generally not needed. When you launch the SuperDevMode CodeServer it will
 generate a special modulename.nocache.js file that triggers recompilation
 whenever you reload the browser. However I think GWT 2.7 has a timestamp
 bug and if that modulename.nocache.js file already exists because you
 have done some normal compilation then it might happen that the CodeServer
 does not replace that file. So to be sure you can delete the GWT output
 folder, restart SDM and then deploy the app with the newly generated
 modulename.nocache.js.

 -- J.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/UNXCyvjnnTs/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.




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


  1   2   3   4   5   6   7   8   9   10   >