[gwt-contrib] Re: Fix for issue 516 (issue612802)

2010-07-01 Thread Marko Vuksanovic
I could do that easily tomorrow... On Thu, Jul 1, 2010 at 7:56 PM, Ray Ryan rj...@google.com wrote: The original request was just to have this method on RootPanel, and then I opened my mouth and broadened its scope. Perhaps that was a mistake? Should we just ask Marko to define

[gwt-contrib] WebSockets in GWT

2010-06-28 Thread Marko Vuksanovic
Are web sockets going to be implemented in GWT any time soon? Does google or more precisely, GWT team, have that in the roadmap? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Noticeable performance difference on Windows and Linux...

2010-06-24 Thread Marko Vuksanovic
I have created a simple hello world project. I have only one simple UiBinder widget in the project (almost just a textbox) and the compile times are very different in windows and linux environment. On my windows machine (2.2Ghz, 4Gb ram, Xms 256m, Xmx2048m) compile time of the project is around

[gwt-contrib] Re: Noticeable performance difference on Windows and Linux...

2010-06-24 Thread Marko Vuksanovic
ubuntu installation in a vm and the results were again pretty much the same as when running ubuntu on real hardware. On 6/24/10, John Tamplin j...@google.com wrote: On Thu, Jun 24, 2010 at 11:43 AM, Marko Vuksanovic markovuksano...@gmail.com wrote: I have created a simple hello world project. I

[gwt-contrib] Re: Noticeable performance difference on Windows and Linux...

2010-06-24 Thread Marko Vuksanovic
On win7 it takes around 20sec, on ubnutu it takes 40-45 secs. What about your machines? On 6/24/10, John Tamplin j...@google.com wrote: On Thu, Jun 24, 2010 at 2:11 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: Yes, it's the same hardware. The files are stored locally. I might have

[gwt-contrib] Can linkers access source files?

2010-06-21 Thread Marko Vuksanovic
Is it possible to use a linker to scan the source files which were compiled? I would think that linker has access only to files that are actually output of the compilePerms (and possible PreCompile), but I may very well be wrong If I cannot use linker to analyze java code, is there a hook

[gwt-contrib] Re: Can linkers access source files?

2010-06-21 Thread Marko Vuksanovic
Thanks for the response, John. Are there any plans to implement something like this? On Jun 21, 3:16 pm, John Tamplin j...@google.com wrote: On Mon, Jun 21, 2010 at 9:06 AM, Marko Vuksanovic markovuksano...@gmail.com wrote: Is it possible to use a linker to scan the source files which were

[gwt-contrib] Re: Can linkers access source files?

2010-06-21 Thread Marko Vuksanovic
the input to the compiler through (a chain of) filters to do some work (code improvement, code analysis, code modification, gathering statistical info and so on...) - something similar to what linkers do. On 6/21/10, John Tamplin j...@google.com wrote: On Mon, Jun 21, 2010 at 9:23 AM, Marko

[gwt-contrib] which jdk to use for development

2010-06-08 Thread Marko Vuksanovic
Which JDK do you suggest to use with gwt - open jdk or sun's one? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-02 Thread Marko Vuksanovic
I've created a patch (and submitted it for code review - http://gwt-code-reviews.appspot.com/579801/show). It seems to be working correctly for me On Tue, Jun 1, 2010 at 10:54 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I have modified the code to check the resource oracle (patch

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-01 Thread Marko Vuksanovic
); } On Mon, May 31, 2010 at 8:46 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I just tried classLoader.getResource(hr/example/orka/ client/panels/MainPanel.ui.xml) and this worked ok. The resource was correctly fetched. On Mon, May 31, 2010 at 7:42 PM, Marko Vuksanovic

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-01 Thread Marko Vuksanovic
, Marko Vuksanovic markovuksano...@gmail.com wrote: I just narrowed down the problem to the following - even thought the classpath context is changed before running CompilePerms (as shown below), UiBinder's classpath loader isn't able to access the resources. classpathURLs.add(new File(uuid

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-01 Thread Marko Vuksanovic
or the resource oracle, which is essentially an optimized way of checking the context class loader). Does this mean that if context class loader is checked, then it is not necessary to check resource oracle? And vice versa. On Tue, Jun 1, 2010 at 7:00 PM, Scott Blum sco...@google.com wrote:

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-01 Thread Marko Vuksanovic
Class Loaders are checked in parent to child direction - so if you try to fetch a resource from a context class loader, system class loader is the first that will be checked and only after resource is not found there, next child will be checked... and so on... So if something is found in context

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-01 Thread Marko Vuksanovic
for it, and generally some other generator will, so it's better to just use it. But in theory, if you've only got one generator and it only looks for a few files, it's slower to build the resource oracle. On Tue, Jun 1, 2010 at 1:06 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: or the resource oracle

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-01 Thread Marko Vuksanovic
, 2010 at 9:17 PM, Lex Spoon sp...@google.com wrote: On Tue, Jun 1, 2010 at 2:35 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: Class Loaders are checked in parent to child direction - so if you try to fetch a resource from a context class loader, system class loader is the first

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-01 Thread Marko Vuksanovic
the resource oracle the path is not constructed correctly. I reckon the resource should be added as 0002\src\hr\tkd\orka\client\panels\MainPanel.ui.xml... On Tue, Jun 1, 2010 at 10:05 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I don't believe it's necessarily true for the system loader

[gwt-contrib] CompilePerms and classpath loading problem.

2010-05-31 Thread Marko Vuksanovic
I'm working on a distributed build system for gwt and I seem to have run into 2 problems. First problem is related to UiBinder. Once I transfer all the files to the remote machine (that is src, required jars and result emitted by precompile step) I changed the classpath context and executed

[gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-05-31 Thread Marko Vuksanovic
On May 31, 7:20 pm, Scott Blum sco...@google.com wrote: On Mon, May 31, 2010 at 12:41 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I'm working on a distributed build system for gwt and I seem to have run into 2 problems. First problem is related to UiBinder. Once I

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-05-31 Thread Marko Vuksanovic
I just tried classLoader.getResource(hr/example/orka/ client/panels/MainPanel.ui.xml) and this worked ok. The resource was correctly fetched. On Mon, May 31, 2010 at 7:42 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: On May 31, 7:20 pm, Scott Blum sco...@google.com wrote: On Mon

Re: [gwt-contrib] Re: Question about CompilePerms and adding gwt module source at runtime.

2010-05-04 Thread Marko Vuksanovic
(prevUrlClassloader); /Marko On Tue, May 4, 2010 at 6:06 PM, Lex Spoon sp...@google.com wrote: On Mon, May 3, 2010 at 7:36 AM, Marko Vuksanovic markovuksano...@gmail.com wrote: I solved the problem... This had nothing to do with the GWT. The problem was with adding a folder to java class path dynamically

[gwt-contrib] Re: Question about CompilePerms and adding gwt module source at runtime.

2010-05-04 Thread Marko Vuksanovic
Thanks, I will try that. This is a much nicer solution compared to the one I presented. /Marko On 5/4/10, Lex Spoon sp...@google.com wrote: On Tue, May 4, 2010 at 12:25 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: Hi Lex, The first solution seems interesting... could you please

[gwt-contrib] Question about CompilePerms and adding gwt module source at runtime.

2010-05-03 Thread Marko Vuksanovic
I am trying to distribute my gwt build process so that compilePerms step is executed on a remote machine. I am making a small java program for that purpose. I have successfully transfered the result of the Precompile step to the other computer as well as the source files... So I now have a folder

[gwt-contrib] Re: Question about CompilePerms and adding gwt module source at runtime.

2010-05-03 Thread Marko Vuksanovic
it... http://gist.github.com/387972 As you can see, a call to protected method is required in order to add a folder to class path. On May 3, 10:54 am, Marko Vuksanovic markovuksano...@gmail.com wrote: I am trying to distribute my gwt build process so that compilePerms step is executed

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-19 Thread Marko Vuksanovic
Can I find, somewhere, what arguments I need to pass to com.google.gwt.junit.JUnitShell when I want to start a gwt test... I always end up with error message there no URL was supplied. Is there some specific URL that I need to supply for GWT Test case? On Apr 17, 2:24 pm, Marko Vuksanovic

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-19 Thread Marko Vuksanovic
I've added a patch set 3 which contains patch for tools folder with only junit4 jars added - junit3 jars still there. On Mon, Apr 19, 2010 at 4:38 PM, Freeland Abbott fabb...@google.com wrote: On Sat, Apr 17, 2010 at 8:24 AM, Marko Vuksanovic markovuksano...@gmail.com wrote: Here's

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-19 Thread Marko Vuksanovic
And I've deleted patch set which contained deleted jars. On Mon, Apr 19, 2010 at 5:23 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I've added a patch set 3 which contains patch for tools folder with only junit4 jars added - junit3 jars still there. On Mon, Apr 19, 2010 at 4:38 PM

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-19 Thread Marko Vuksanovic
what I can see, it might be very hard to make JUnit4 and GWT work together nicely. I'm sure there would be a way but I don't think it would be a nice and easy one... The other solution might be to mimic JUnit4 style in GWT TestCases On Apr 19, 7:35 pm, Marko Vuksanovic markovuksano...@gmail.com

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-17 Thread Marko Vuksanovic
patches On Apr 16, 10:49 pm, Marko Vuksanovic markovuksano...@gmail.com wrote: Ok, I'll just save you some time... :) but will first check if everything is ok once the dependencies are replaced... On Fri, Apr 16, 2010 at 10:46 PM, Freeland Abbott fabb...@google.comwrote: I think that's

[gwt-contrib] GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
Shouldn't GWTTestCase extend JClassType somehow? -Marko -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
annotation - maybe @GwtSetUp to some method which would have the same effect as gwtSetup method in the GWTTestCase now. On Apr 16, 6:45 pm, John Tamplin j...@google.com wrote: On Fri, Apr 16, 2010 at 12:05 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: Shouldn't GWTTestCase extend

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
the refelection package. The problem is that that package cannot be used in translatable code. Obviously I'm missing something here... On Apr 16, 8:28 pm, John Tamplin j...@google.com wrote: On Fri, Apr 16, 2010 at 1:26 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: Basically, I'm trying

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
I just noticed that there is HasAnnotations interface... I might try putting that to use... On Apr 16, 9:38 pm, Marko Vuksanovic markovuksano...@gmail.com wrote: Well I've been looking at the existing code and I have seen that JClassType implements getMethods(). Then I would be able to check

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
I like challenges :):) On Fri, Apr 16, 2010 at 10:09 PM, John Tamplin j...@google.com wrote: On Fri, Apr 16, 2010 at 3:45 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I just noticed that there is HasAnnotations interface... I might try putting that to use... On Apr 16, 9:38 pm

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
One more question - why aren't JUnit 4 libraries used? I think junit4 supports junit3 test style? Am I right? On Fri, Apr 16, 2010 at 10:12 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I like challenges :):) On Fri, Apr 16, 2010 at 10:09 PM, John Tamplin j...@google.com wrote

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
... On Fri, Apr 16, 2010 at 4:39 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: One more question - why aren't JUnit 4 libraries used? I think junit4 supports junit3 test style? Am I right? On Fri, Apr 16, 2010 at 10:12 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I like

[gwt-contrib] Re: Add support for creating Grid elements using UiBinder.

2010-03-08 Thread Marko Vuksanovic
One more question - how to know which person to invite for a code review? On Mar 7, 11:11 am, Marko Vuksanovic markovuksano...@gmail.com wrote: I have created a patch that enables user to create Grid and its child elements using UiBinder (issue 4705 -http://code.google.com/p/google-web

[gwt-contrib] Add support for creating Grid elements using UiBinder.

2010-03-06 Thread Marko Vuksanovic
I have created a patch that enables user to create Grid and its child elements using UiBinder (issue 4705 - http://code.google.com/p/google-web-toolkit/issues/detail?id=4705). Something like... I have also submitted the patch for public code review - http://gwt-code-reviews.appspot.com/154810. So

[gwt-contrib] Re: Define Listbox widget items in *.ui.xml

2010-02-24 Thread Marko Vuksanovic
Ping... -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Define Listbox widget items in *.ui.xml

2010-02-21 Thread Marko Vuksanovic
I noticed that, at the moment, it is not possible to define a listobx's items directly in the ui.xml file. I have created an issue for that (issue no 4654 - http://code.google.com/p/google-web-toolkit/issues/detail?id=4654)... And submitted a path for that... So if somebody from the gwt team

[gwt-contrib] StackPanelLayout and applying additional style when hovering header.

2010-02-09 Thread Marko Vuksanovic
I thought it would be nice if it was possible to have hovering effect on StackPanelLayout header so I created an issue for that (issue nuber is 4561, or direct link

[gwt-contrib] Eclipse project Readme file outdated.

2010-02-02 Thread Marko Vuksanovic
that they are renamed into user and dev, respectively. Could somebody verify this? If I am right - should I rename the projects into gwt-user and gwt-dev, or should I replace the references in other projects? Thanks in advance. - Marko Vuksanovic. -- http://groups.google.com/group/Google-Web

[gwt-contrib] Re: Eclipse project Readme file outdated.

2010-02-02 Thread Marko Vuksanovic
have set up sth wrong? On Tue, Feb 2, 2010 at 4:56 PM, Marko Vuksanovic markovuksano...@gmail.comwrote: Hi, I have tried to set up the eclipse development environment as described in /trunk/eclipse/readme but when I have imported projects into the eclipse workspace I noticed that all