Bazel rule for gwt dev-mode

2018-12-13 Thread mikhail . obidin
Hi All, In our project, we want to run gwt dev-mode via bazel. We use this rule for building gwt for production, but it is not very useful for our dev-mode because of our project structure. In our project, we have more than 100 source roots, and each source root could contain several bazel

Re: Can a GWT Dev Mode plugin be rewritten for Chrome using NACL?

2016-11-06 Thread Thomas Broyer
On Sunday, November 6, 2016 at 10:55:56 AM UTC+1, Max Fromberger wrote: > > From my point of view the only future proof (because never to be > deprecated) way of debugging is debugging in JS, i.e. super dev mode. This > is going to work until the end of browsers. > I still believe one could

Re: Can a GWT Dev Mode plugin be rewritten for Chrome using NACL?

2016-11-06 Thread Max Fromberger
>>> >>> Is theoretically possible to port GWT Dev Mode plugin for Chrome using >>> PNACL or NACL >>> >>> >> No. >> >> Because communication between JS and NaCl is asynchronous, and DevMode >> MUST be blocking (and reentrant). &g

Re: Can a GWT Dev Mode plugin be rewritten for Chrome using NACL?

2016-11-05 Thread Kirill Prazdnikov
Viera wrote: >> >> Is theoretically possible to port GWT Dev Mode plugin for Chrome using >> PNACL or NACL >> >> > No. > > Because communication between JS and NaCl is asynchronous, and DevMode > MUST be blocking (and reentrant). > (we've already had that conversation ma

Re: Can a GWT Dev Mode plugin be rewritten for Chrome using NACL?

2016-11-05 Thread Thomas Broyer
On Saturday, November 5, 2016 at 11:23:33 AM UTC+1, Ariel Viera wrote: > > Is theoretically possible to port GWT Dev Mode plugin for Chrome using > PNACL or NACL > > No. Because communication between JS and NaCl is asynchronous, and DevMode MUST be blocking (and reentrant). (we

Can a GWT Dev Mode plugin be rewritten for Chrome using NACL?

2016-11-05 Thread Ariel Viera
Is theoretically possible to port GWT Dev Mode plugin for Chrome using PNACL or NACL see: https://developer.chrome.com/native-client Best Regards, Ariel -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this grou

How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object. (Specifically, I need to clone the object, so I simply create a new JS object, copy the properties from the original JS object, and assign a new hash value.)

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Thomas Broyer
On Tuesday, February 25, 2014 8:53:39 AM UTC+1, Benjamin Bitdiddle wrote: For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object. (Specifically, I need to clone the object, so I simply create a new JS object,

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
Thanks for the quick response. I haven't tried it yet, but will soon. I want to use Object.clone() because I have a situation where I need to create a (shallow) duplicate of a Java class that differs from the original only by virtue of pointing to a different JS object (with one member). *The

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
On Tuesday, February 25, 2014 3:19:29 AM UTC-6, Thomas Broyer wrote: On Tuesday, February 25, 2014 8:53:39 AM UTC+1, Benjamin Bitdiddle wrote: For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object.

GWT dev mode memory leak with simple use case

2014-01-30 Thread Phineas Gage
Any widget that is added to the DOM seems to never get garbage collected when using dev mode, even if it's removed from the DOM. Here is the sample source, with just two classes: public class GwtMemEntryPoint implements EntryPoint { @Override public void onModuleLoad() { for (int i =

Re: GWT dev mode memory leak with simple use case

2014-01-30 Thread Jens
FireFox plugin currently has a memory leak: https://groups.google.com/forum/#!searchin/google-web-toolkit-contributors/firefox/google-web-toolkit-contributors/9YUqQ3vzwV4/3mUd4Y9u8GAJ But even if you find memory leaks in Java it does not mean that its a JavaScript memory leak. Also you might

Re: GWT dev mode memory leak with simple use case

2014-01-30 Thread Phineas Gage
OK, that's clear. This simple use case does not leak per the JavaScript profiler in Chrome (note to future readers to compile with at least Output style: Pretty). I was originally tracking down a leak in my own code, but it turns out that doesn't leak in JS either. I suppose that in super dev

Re: GWT dev mode and GIN and dependency injection in general

2013-03-01 Thread alucard
to save the .java source file and the gwt dev mode server automatically incorporates the changes. Can someone confirm this or is it my own fault? I believe you're right. If you mess with DI stuff (for example add a new parameter to a constructor annotated with @Inject) the code will break

GWT dev mode and GIN and dependency injection in general

2013-02-28 Thread Marc
Hello! I just experimented somewhat with Gin and realized that it (v2.0) seems to break the incremental compilation feature of GWT's development mode, ie. where I just have to save the .java source file and the gwt dev mode server automatically incorporates the changes. Can someone confirm

Re: GWT dev mode and GIN and dependency injection in general

2013-02-28 Thread Jens
I just experimented somewhat with Gin and realized that it (v2.0) seems to break the incremental compilation feature of GWT's development mode, ie. where I just have to save the .java source file and the gwt dev mode server automatically incorporates the changes. Not exactly sure what

Re: GWT dev mode and GIN and dependency injection in general

2013-02-28 Thread alucard
On Thursday, February 28, 2013 6:43:11 PM UTC+1, Marc wrote: Hello! I just experimented somewhat with Gin and realized that it (v2.0) seems to break the incremental compilation feature of GWT's development mode, ie. where I just have to save the .java source file and the gwt dev mode

Re: GWT dev mode and GIN and dependency injection in general

2013-02-28 Thread Thomas Broyer
. where I just have to save the .java source file and the gwt dev mode server automatically incorporates the changes. Can someone confirm this or is it my own fault? I believe you're right. If you mess with DI stuff (for example add a new parameter to a constructor annotated with @Inject

Re: GWT dev mode and GIN and dependency injection in general

2013-02-28 Thread Jens
I believe you're right. If you mess with DI stuff (for example add a new parameter to a constructor annotated with @Inject) the code will break when you reload. You have to rebuild the project at that point. I believe this is due to gin using generators which are not triggered on

Re: Urgent help with GWT dev mode performance required

2012-11-16 Thread joerg.hohwil...@googlemail.com
Hi Jens, thanks for your feedback. The memory leak is also what we discovered. You can see that with -verbose:gc, We are in the progress of migrating to x64 and adding lots of RAM. Your hints give some hope that this will help. So far we can only use 3,5 GB RAM what is too little. We already

Urgent help with GWT dev mode performance required

2012-11-15 Thread joerg.hohwil...@googlemail.com
optimization I could add is creating a development dialog that allows to reset all views so if a dialog is reopened the view is recreated. This helps for changes that get hot-synced by GWT. However most changes are not and require a fresh start of GWT dev mode (10 minutes). Ideally I would also

Re: Urgent help with GWT dev mode performance required

2012-11-15 Thread Jens
2-3 minutes really hurts! How large is your app? We have about 150k LOC and a refresh in Firefox takes ~5 seconds. As DevMode with Firefox seems to be leaking memory sometimes I have configured DevMode to use 1,5G heap space and 1G permgen space. Our app uses GWT-RPC (single service with lots

GWT dev mode crashes with IE9

2012-03-12 Thread Alexander Philippi
Hi, I tried to update our project from gwt 2.0.X to gwt 2.4 to get the IE9 target. Compiling and deploying works fine, but when I try to start the debug mode through the google eclipse-plugin the Internet Explorer 9 crashes. First I thought thats a project-issue. But I get the same crash when

Re: GWT Dev Mode - Ideal memory settings

2011-12-12 Thread Ed
Your settings are ok. I use: -Xms1024m -Xmx1512m For a large gwt app 1 MB initial download unzipped. I have a quad core with 8MB ram. Check your dev computer and make sure your app does things lazily and not create all at the beginning. - Ed On Dec 12, 7:04 am, Kanagaraj M

Re: GWT Dev Mode - Ideal memory settings

2011-12-12 Thread Thomas Broyer
Not much related to memory I think. Sure, more memory helps, but there are other things to check, the most important probably being: 1. reduce the DevMode classpath to the minimum necessary. One common mistake (which the GPE or mvn gwt:run do by default, but they technically cannot do

Re: GWT Dev Mode - Ideal memory settings

2011-12-12 Thread Kanagaraj M
Thanks for your response. I removed some unwanted maven dependencies, as my application is a set of maven modules. I removed the unused ones. Now i saved nearly 30 seconds of startup time. But i have another problem, i have dependency with a framework module (which i dont have access). Which

Re: GWT Dev Mode - Ideal memory settings

2011-12-12 Thread Ed
How can i avoid them to included in my classpath? I think you should setup your package structure well. Preferable right from the start as it overcomes GWT warnings/problems (I still have to change some of my packages). Example: server-project: com.bla.server client-project: com.bla.client

Re: GWT Dev Mode - Ideal memory settings

2011-12-12 Thread qwertz
In Maven you can exclude transitive dependendies: dependencies dependency groupIdcom.example/groupId artifactIdyour-framework-dependency/artifactId versionX.y/version exclusions exclusion groupIdcom.example/groupId

GWT Dev Mode - Ideal memory settings

2011-12-11 Thread Kanagaraj M
I am running a big GWT (Maven + Hibernate) application in dev mode (eclipse). My memory settings are *-Xmx1024M -XX:MaxPermSize=384m* But, the application is taking too much time to start. and i have to wait for long time to see the page. Any solutions for this? Thanks in advance. -- You

Re: GWT dev. mode Plugin Irresponsive

2011-02-10 Thread Chris Conroy
There's been some contention in plugin-futures about allowing plugins to disable the hang monitors. The current winds are against us in this cause, and, at least for the short term, this is an annoyance we have to live with. I'm assuming you're talking about the chrome plugin here. In that case,

GWT dev. mode Plugin Irresponsive

2011-02-07 Thread Sztranyovszky
I downloaded a StockWatcher tutorial and when I debug it iEclipse throws a window named Plug-in Unresponsive. With a text The following plug-in is unresponsive: Unknown Would you likde to stop it?: Options Yes and No Could please someone explaing what da hell is gooing down

Re: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-12-22 Thread Thomas Broyer
On Tuesday, November 30, 2010 5:05:54 PM UTC+1, Thomas Broyer wrote: I'm lost. I'm very new to Eclipse WTP (a couple of weeks) and not much less to Maven (5 months), so maybe it's just me; but really, I don't understand why it worked, then deleted everything, then now works again... I

Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
Everytime I try to do GWT Dev mode (gwt 2.1) with Chrome on OSX, it gives me the Failed to connect to server error message i've tried bindAddress 0.0.0.0 and a pile of other workarounds. Anyone have this problem/success with this? Note - works 100% of the time using firefox.. i'd just like

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Matthew Hill
I thought that there wasn't a dev plugin for Chrome on OS X? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Chris Conroy
Matthew: There is a plugin as of a few weeks ago. Roger: Do you see the GWT toolbox in the URL bar turn gray? If so this means you have a permissions issue and you need to click the toolbox (or just go directly to the extension's options page) to add the host. On Wed, Dec 22, 2010 at 9:49 AM,

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
Yeah, toolbox stays red/no permissions issue.. I did go ahead and add localhost localhost:9997 127.0.0.1 127.0.0.1:9997 etc etc before I figured there might just be a bug ;) Roger On Dec 22, 2010, at 10:17 AM, Chris Conroy wrote: Matthew: There is a plugin as of a few weeks ago. Roger:

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Chris Conroy
Roger, Try launching Chrome from the command line (close all open windows that you may have first). And see what the log reports. Also, can you verify that you can telnet into your codeserver? e.g. $ telnet 127.0.0.1 9997 Connected to 127.0.0.1. Escape character is '^]'. asdf Connection closed

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Roger Studner
Well, I definitely can telnet to 127.0.0.1 When I try to run it from command line: /Applications/Google Chrome/Contents/MacOS/Google Chome.app (not exactly whta it is, but you get the drfit) it actually crashes with:

Re: Chrome, GWT Dev Mode, OSX

2010-12-22 Thread Matthew Hill
I get the connection error too. It works just fine in Firefox. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-12-21 Thread Chris
On Nov 30, 11:05 am, Thomas Broyer t.bro...@gmail.com wrote: On 30 nov, 16:42, Thomas Broyer t.bro...@gmail.com wrote: I just faced that very same issue, and a coworker too! Forgot to precise: I'm on Win XP Pro SP3, my coworker is on Ubuntu 10.10; same configuration otherwise (Eclipse,

SLF4J with GWT dev mode not works?

2010-11-30 Thread Ed
I am using Spring 3.0.5 with SLF4J. Spring is loaded in the web.xml that is picked up when starting dev mode. Spring then complains that it can't find SLF4J: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory When putting the SLF4J in the WEB-INF/lib folder, it all works well. Other people

Re: SLF4J with GWT dev mode not works?

2010-11-30 Thread Ed
Just noticed that it has a related issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3496 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To

Re: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-11-30 Thread Thomas Broyer
On 17 nov, 15:45, Chris crehb...@gmail.com wrote: On Nov 17, 6:03 am, Thomas Broyer t.bro...@gmail.com wrote: Well, if your resources are to be shared with GWT apps only, then how about making a GWT module and putting them in the public path, so the GWT compiler copies them to the output

Re: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-11-30 Thread Thomas Broyer
On 30 nov, 16:42, Thomas Broyer t.bro...@gmail.com wrote: I just faced that very same issue, and a coworker too! Forgot to precise: I'm on Win XP Pro SP3, my coworker is on Ubuntu 10.10; same configuration otherwise (Eclipse, m2eclipse, GPE) Eclipse 3.6 SR1 GPE 1.4.0 Maven projects using

Re: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-11-17 Thread Thomas Broyer
On 16 nov, 17:41, Chris crehb...@gmail.com wrote: Hi, I'm working on upgrading our development environment from GWT 2.0.4 to 2.1 - this involved upgrading GPE to 1.4 as well as the gwt-maven- plugin to 2.1.  So far things have gone pretty smoothly except for one nagging problem. We have

Re: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-11-17 Thread Chris
On Nov 17, 6:03 am, Thomas Broyer t.bro...@gmail.com wrote: Well, if your resources are to be shared with GWT apps only, then how about making a GWT module and putting them in the public path, so the GWT compiler copies them to the output folder? Because we have 5 GWT apps using the same

Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-11-16 Thread Chris
Hi, I'm working on upgrading our development environment from GWT 2.0.4 to 2.1 - this involved upgrading GPE to 1.4 as well as the gwt-maven- plugin to 2.1. So far things have gone pretty smoothly except for one nagging problem. We have in our code tree a POM module that holds just shared

Re: createLoginUrl not working in gwt dev mode (GWT and GAE tutorial)

2010-10-22 Thread nacho
-- From: Billy billy_turc...@hotmail.com Date: 19 Mag, 02:55 Subject:createLoginUrlnotworkingin gwt dev mode - loses gwt.codesvr parameter To: Google Web Toolkit I have an application using GWT and AppEngine (more or less following the StockWatcher tutorial) which I access

Re: createLoginUrl not working in gwt dev mode (GWT and GAE tutorial)

2010-10-21 Thread BrianP
Subject:createLoginUrlnotworkingin gwt dev mode - loses gwt.codesvr parameter To: Google Web Toolkit I have an application using GWT and AppEngine (more or less following the StockWatcher tutorial) which I access locally as: http://127.0.0.1:/mypage.jsp?gwt.codesvr=127.0.0.1:9997 I am creating a login url using

Re: createLoginUrl not working in gwt dev mode (GWT and GAE tutorial)

2010-10-21 Thread David Chandler
' (but the debug still didn't work) -- Forwarded message -- From: Billy billy_turc...@hotmail.com Date: 19 Mag, 02:55 Subject:createLoginUrlnotworkingin gwt dev mode - loses gwt.codesvr parameter To: Google Web Toolkit I have an application using GWT and AppEngine (more

Re: gwt-dev mode

2010-10-16 Thread Sorinel C
GWT = Java + JS.compiler == JavaScript Web app DevMode is called when you run debug your application from within Eclipse, and using a browser Gwt Dev Plugin to communicate between the browser, where your app is running, and the server, which runs in eclipse. Here's more about installing the

gwt-dev mode

2010-10-15 Thread mudassir
Please any one tell me what is gwt-dev mode. using NetBean. I am new to gwt and know how to place component but know what is gwt- dev mode. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google

Re: GWT Dev mode Changes in the Java class is not reflecting when refresh the browser

2010-09-30 Thread Daniel Kurka
What you are describing can be caused by many things, so I will try to take a lucky guess? Do you have the gwt.codesrv parameter in the url? (otherwise you are not using the out of process hosted mode, you are just looking at the compiled app) Changes on the server side are only visible after

GWT Dev mode Changes in the Java class is not reflecting when refresh the browser

2010-09-29 Thread Marianandan Arockiasamy
Hi, I have an issue with GWT development mode. Recently I migrated grom GWT 1.6 to GWT 2.0.4 in my current project. I also use Eclipse 3.5, GXT 2.2.0, JDK 1.6 and Jetty as development environment. I have to spend lot of time every time whenever make even a small change in my client side / Server

Re: Can we run selenium tests in GWT dev mode?

2010-09-20 Thread Brian Reilly
It should work fine. Just make sure that the URL that you point your selenium test at contains the gwt.codesvr query parameter. -Brian On Fri, Sep 17, 2010 at 4:18 AM, Andrey mino...@gmail.com wrote: That doesn't work. My question is: how should we run selenium in dev mode? On Sep 16, 6:13

Re: Can we run selenium tests in GWT dev mode?

2010-09-17 Thread Andrey
That doesn't work. My question is: how should we run selenium in dev mode? On Sep 16, 6:13 pm, András Csányi sayusi.a...@gmail.com wrote: On 16 September 2010 16:07, Andrey mino...@gmail.com wrote: Or we should compile the app first? I think you can run the test because dev mode uses the

Can we run selenium tests in GWT dev mode?

2010-09-16 Thread Andrey
Or we should compile the app first? Thanks in advance! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Can we run selenium tests in GWT dev mode?

2010-09-16 Thread András Csányi
On 16 September 2010 16:07, Andrey mino...@gmail.com wrote: Or we should compile the app first? I think you can run the test because dev mode uses the browser. Basicly you can see in the browser. But - this is my opinion - this way not so effective. You can check that the test are okay or not

createLoginUrl not working in gwt dev mode (GWT and GAE tutorial)

2010-09-03 Thread moriones
/ the system.out worked just one time after i made a 'gwt compile' (but the debug still didn't work) -- Forwarded message -- From: Billy billy_turc...@hotmail.com Date: 19 Mag, 02:55 Subject: createLoginUrl not working in gwt dev mode - loses gwt.codesvr parameter To: Google Web Toolkit I have

createLoginUrl not working in gwt dev mode - loses gwt.codesvr parameter

2010-05-19 Thread Billy
I have an application using GWT and AppEngine (more or less following the StockWatcher tutorial) which I access locally as: http://127.0.0.1:/mypage.jsp?gwt.codesvr=127.0.0.1:9997 I am creating a login url using: userService.createLoginURL(requestUri) where requestUri is passed to my

GWT dev mode with pre-installed tomcat

2010-01-08 Thread Nuno
Hello everybody, I'm implementing gwt on a existing project. and i need to use dev mode with the already installed tomcat. Can anybody help me configure this? I'm using gwt 2.0 Att Bruno Bilescky -- Wants to learn Javascript? Read my blog / Quer aprender a programar? leia meu blog

Re: GWT dev mode with pre-installed tomcat

2010-01-08 Thread Chris Ramsdale
What specific issues are you running into? On Fri, Jan 8, 2010 at 8:21 AM, Nuno brun...@gmail.com wrote: Hello everybody, I'm implementing gwt on a existing project. and i need to use dev mode with the already installed tomcat. Can anybody help me configure this? I'm using gwt 2.0

Re: GWT dev mode with pre-installed tomcat

2010-01-08 Thread Sebastian
Hello, I use IntelliJ as IDE but basically what I do is to start the Tomcat as normal and to start the GWT class com.google.gwt.dev.DevMode with the following params. -noserver -gen /Users/hennebrueder/workspaces/default/bund-apfel/ target/bund-apfel-gen -war

Re: GWT dev mode with pre-installed tomcat

2010-01-08 Thread Martin D'Aloia
Create a new Run configuration in Eclipse with these parameters: Main class: com.google.gwt.dev.DevMode Arguments: -noserver -startupUrl http://localhost:8080/your_context/com.package.to.your.AppModule In Classpath tab: under User Entries add your source folder. On