Re: Suggestion: Toggle style name

2009-07-23 Thread Adam T
Célio, GWT is of course open source, so you could easily create an issue in the issue manager (http://code.google.com/p/google-web-toolkit/issues/ list) and submit a patch including your code below on, presumably, the UIObject class. It could then get discussed and perhaps included in the main

rendering problem

2009-07-23 Thread Financial Risk Manager Handbook By Philippe Jorion
Hi , i have an application which is rich in data and processes , but i am having trouble with the data rendering in IE it is taking roughly 30 secs on LAN and 40+ secs on Internet but has better statistics in FF does any one have a solution to this ?? Cheers

Re: jetty classpath in hosted mode?

2009-07-23 Thread Daniel
come on. no one? On 22 Jul., 20:53, Daniel mail...@googlemail.com wrote: how can the classpath for the embedded jetty in hosted mode be configured? problem is that i need to read and write files from an rpc server implementation on the server side. as long as these files are located in the

write html into a text field

2009-07-23 Thread bhomass
I have the need to store content which is actual valid html text. and I am inputting such text using text fields written in GWT. It seems GWT is not able to distinguish what is literal text and what is in the original page content. after I enter a html fragment like table into the text field,

Re: Using SOYC

2009-07-23 Thread kuvera
Thanks. Now I was able to create the artifacts files with Compiler into an extra directory, but I still got the SoycDashboard error. Later I realized that the stream error was caused by the zero-length dependencies0.xml inside dependencies0.xml.gz. So I removed that file from the arguments and

Re: GWT 1.7 Now Available

2009-07-23 Thread Gert Scholten
On Jul 23, 12:54 am, Bruce Johnson br...@google.com wrote: Download here:http://code.google.com/p/google-web-toolkit/downloads/list?can=1q=GW... This link only lists the linux version (the search doesn't seem to work properly, or at least I can't figure out what it is searching in). Official

Re: GWT 1.7 Now Available

2009-07-23 Thread Gert Scholten
On Jul 23, 12:54 am, Bruce Johnson br...@google.com wrote: Download here:http://code.google.com/p/google-web-toolkit/downloads/list?can=1q=GW... This link only lists the linux version (the search doesn't seem to work properly, or at least I can't figure out what it is searching in). Official

Re: GWT Compile Error when using JPA managers in another project.

2009-07-23 Thread JonJ27
Again, I have answered my own question after a lot of brain straining and head banging. It suddenly occurred to me that even in satelittle modudle you still need to specify the *.client and *.server packages to seperate out the logic of that you want GWT to compile and that you dont. Putting my

Re: Selection of Widgets

2009-07-23 Thread Ewald Pankratz
Hi Adam I did something and it works partly. The text will not be selected as before but when I press the mouse and go out of the widget the full text will be selected again. Any idea? Regards, Ewald package g26v01.client; import com.google.gwt.dom.client.Element; import

Re: Command Pattern, MVP, EventBus

2009-07-23 Thread Kwhit
I think Jason has hit the nail on the head. The reason I got uncomfortable with the HasXxx's is that they expose the internal workings of the Viewer (Display in RR's terms). The name getSelectionButton() is a clue. The presenter doesn't and shouldn't care about how the Viewer decides how to trip

Re: Interface not RPC serializable

2009-07-23 Thread Paul Robinson
Nathan Wells wrote: I don't think so, as I believe that is how it's supposed to work. You're not supposed to have to put things in the same package to make serialization work. Can the OP put together a simple example that shows the error and post all the code? It could be that things that were

Re: Command Pattern, MVP, EventBus

2009-07-23 Thread Kwhit
See above positing ... 2/ Define Viewer interface (without thinking about how the Viewer might be implemented) ... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: GWT 1.7 Now Available

2009-07-23 Thread Sumit Chandel
Thanks for the correction, Gert. The correct download link to get GWT 1.7.0 is either (as Gert mentioned) is either: 1) From the official download site: http://code.google.com/download.html 2) From the list of proper search results on the GWT project page:

RequestBuilder + Response + Mapwidget + Marker

2009-07-23 Thread lumo
Hello NG! I'm stuck on a ajax query. i use a mapwidget and a marker. when i click on the marker(i extended marker and call it BioMarker, but functions of super, are still supported) i open a infowindow. while opening the window i am querying a php script and load some data. this data needs to be

Re: Profiling memory usage for large gwt application

2009-07-23 Thread David
Hi Ankur, Could it be that you are using ImageBundle in your application ? We had similar issues when using ImageBundle, even though we only had a very small collection of images. http://code.google.com/p/google-web-toolkit/issues/detail?id=3573 David On Wed, Jul 22, 2009 at 7:51 PM, ankur

Re: Selection of Widgets

2009-07-23 Thread Adam T
Hi Ewald, I guess it selects the whole of the html once you are out of it, as you are only preventing default on the html widget, once outside the html widget normal browser functionality is back in play. One way you could consider solving your issue is to have the elements you want to link

RequestBuilder, Response, Mapwidget, Marker

2009-07-23 Thread lumo
Hello NG! I'm stuck on a ajax query. i use a mapwidget and a marker. when i click on the marker(i extended marker and call it BioMarker, but functions of super, are still supported) i open a infowindow. while opening the window i am querying a php script and load some data. this data needs to be

[ERROR] Hint: Previous compiler errors may have made this type unavailable

2009-07-23 Thread BMax
Hi guys, please help me! I have to finish an important work but now my project is blocked by this error: Checking rule generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/ [ERROR] Unable to find type 'org.xlab.semantic.gwtext.client.Sisma' [ERROR]

Re: [ERROR] Hint: Previous compiler errors may have made this type unavailable

2009-07-23 Thread Norman Maurer
Hi, like stated in the error message... Do you have am inherits statment for org.xlab.semantic.gwtext.client.Sisma ? Bye, Norman 2009/7/23 BMax massimo.bo...@gmail.com: Hi guys, please help me! I have to finish an important work but now my project is blocked by this error: Checking rule

Re: Hint: Previous compiler errors may have made this type unavailable

2009-07-23 Thread BMax
Hi, I post here my module xml code: module inherits name='com.google.gwt.user.User'/ inherits name='com.gwtext.GwtExt' / entry-point class='org.xlab.semantic.gwtext.client.Sisma'/ stylesheet src=js/ext/resources/css/ext-all.css / script

Re: Command Pattern, MVP, EventBus

2009-07-23 Thread Thomas Broyer
On 23 juil, 10:20, Kwhit kwhitting...@gmail.com wrote: I think Jason has hit the nail on the head. The reason I got uncomfortable with the HasXxx's is that they expose the internal workings of the Viewer (Display in RR's terms). The name getSelectionButton() is a clue. The presenter

Re: write html into a text field

2009-07-23 Thread mars1412
what do you mean with text fields written in GWT? is it a textbox, a textarea or something you wrote? however, maybe RichTextArea is what you are looking for: http://code.google.com/intl/de-DE/webtoolkit/doc/1.6/RefWidgetGallery.html On Jul 23, 8:44 am, bhomass bhom...@gmail.com wrote: I have

Re: Command Pattern, MVP, EventBus

2009-07-23 Thread Nathan Wells
Small note... could show it next to the sign-in button for example). The generic AsyncCallback#onFailure processing is only used for unexpected server errors. On a successful login, then either the presenter or the If you prefer to have your failed authentication throw an exception (which is

Problem while loading stylesheet dynamically

2009-07-23 Thread Rick
Hi All I am building an application using GWT 1.6. In my application I need to load external stylesheet at runtime. But its not working. I am able to load stylesheet in an independent html file. But when I am using same with GWT, its not reflecting. Below is a sample code to produce this case.

Re: Command Pattern, MVP, EventBus

2009-07-23 Thread Eduardo Nunes
Shouldn't the server errors be treated as unchecked exceptions (extends RuntimeException)? Maybe a solution could be three methods, one for failures (unchecked exceptions), one for errors (checked exceptions) and another one for success. What do you think? Best regards, On Thu, Jul 23, 2009 at

Re: Interface not RPC serializable

2009-07-23 Thread Juraj Vitko
Nathan: The docs say: The type has at least one serializable subclass. I think that is my case - the type is an interface and it does have serializable subclasses, and only serializable subclasses. Paul: I've tried to replicate the problem in a dummy project, but was not able to. The project

Re: gwt hijacked javamail?

2009-07-23 Thread Juraj Vitko
I don't know, I can also see some yellow-ish color near their necks: http://windows.microsoft.com/en-US/windows7/products/features (the pic labeled Windows Live Essentials) oh, and the irony:) On Jul 23, 2:59 pm, brett.wooldridge brett.wooldri...@gmail.com wrote: Penguins are black and

Chare resources among several projects

2009-07-23 Thread magon
How can I share resources among several projects (diferent projects, not modules, for modules it work's ) for example if i have a ressources folder with several files (css, images, etc) and I want to use them in other project that just references the first one, how can i do this? ex: project1

Re: GWT App Gallery - it's for your apps, and your libraries too!

2009-07-23 Thread Juraj Vitko
Hi Fred, in the gallery, as a future development, maybe the libs could be more visibly separated from apps - to give a clearer idea to potential customers of GWT app providers, who find this site via search engine. And I will of course contribute when I have something:) J. On Jul 22, 5:27 

Re: Command Pattern, MVP, EventBus

2009-07-23 Thread Daniel Jue
@kwhittingham I found your implementation interesting. The current implementation: * Adds a generic RPC mechanism (the pipe) * Doesn't use the command pattern. Instead everything is an event. Selected events from the event bus are sent over the pipe and responses are fired back. This

doGet doPost

2009-07-23 Thread saurabh
hello I am still not getting how to use gwt for web applications. suppose I have fields username password on my loginpage.jsp fie. how it will interact with my servlet on server. if I am using gwt for my application then what is the use of jsp pages or any other dynamic pages ? how I

ComboBoxItem

2009-07-23 Thread Piotr Kirklewski
Hi How do I set ComboBoxItem to allow multiple choice please ? Does anyone knows ? Regards Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

eclipse, gwt plugin and overnight madness

2009-07-23 Thread dk
Hi, I have been using gwt 1.6, eclipse (Ganymede), and the gwt eclipse plug-in under Ubuntu for awhile. This morning I came in to find that my GWT imports have all gone away and there are a few sun... and javax... imports instead. import javax.swing.event.ChangeEvent; import

Re: Eclipse plugin for Eclipse 3.5 (Galileo)

2009-07-23 Thread Yaakov
Hi Rajeev, You guys are still going to support the version for Eclipse 3.4, right? I am just hoping that you guys don't forget that not everyone can be Google Wave and code against a constantly (and very rapidly) moving platform. Thanks, Yaakov. On Jul 22, 11:46 am, Rajeev Dayal

Re: doGet doPost

2009-07-23 Thread Neha Chachra
Hi, Have you gone through the entire Stockwatcher example in tutorialshttp://code.google.com/webtoolkit/tutorials/1.6/index.html? You wouldn't have these doubts once you are through with it. You can find all the information on client-server interaction there too. To answer your question, yes you

(Error): Not implemented number: -2147467263

2009-07-23 Thread Manish Kumar
Hi Everybody, After a long time, I have started working on GWT though I have been in touch all the time with this group. Could anybody help me to get rid of this error : :-- (Error): Not implemented number: -2147467263 As of I have checked it out in the code, I have found this method to be

GWT styling/layout approach

2009-07-23 Thread grue
Hi, I am completely new to GWT and I wonder how to create an application's UI the GWT way. Basically I want to create an application which constists of serveral pages, e.g. the user presses a button and the content which is displayed changes. In a traditional webapp I would simply redirect to

ConstantsWithLookup and @Key problem

2009-07-23 Thread IhorKo
Hi, I have a problem with implementing i18n in my application using ConstantsWithLookup interface. The exception is thrown: java.util.MissingResourceException: Cannot find constant 'METADATA2'; expecting a method name. The interface is: public interface AppConstants extends ConstantsWithLookup {

Is it possible (necessary) to pre-fetch image bundles?

2009-07-23 Thread Benjii
Hi all, I'm trying to avoid visible loading while my applet is displayed. I have a please wait screen in place, and pre-fetch my images. My question is about ImageBundle. I can see the images loading onto button faces, so I'm guessing there is no prefetch occurring behind the scenes. I've added

Howto define a configuration property

2009-07-23 Thread riejo
I stumbled over LinkerContext.getConfigurationProperties and wonder how to set the values it returns. For me this seems more suitable than LinkerContext.getProperties as the value set is volatile and, otherwise, must be extended before set. Cheers, Johannes

Can you embed (mashup) the reviews in Google Maps

2009-07-23 Thread Pulcinella
When you search for a company on Google Maps, the results come up with a Map at the top a tabbed number of options below (Overview, Details, Reviews etc) This is an example of the kind of page i'm describing:

Re: Is there a way to force serialization of a Class ?

2009-07-23 Thread AymenS
Hi Sumit, Thank you for your reply, You're right it's a bad practice, I implemented the second solution, I've had to do some plumbing in GileadRPCServiceExporter to bubble another exception, that I defined, whenever a StaleObjectStateException is detected. And use a custom implementation of

Fw: (Error): Not implemented number: -2147467263 - Not implemented

2009-07-23 Thread Manish Kumar
Hi, Looking forward to this problem : I just wanted to know all of with my latest find. I have observed that it's coming in IE8 and sometimes in Mozila. As I found the culprit for this is - dialogbox.show(); Could anybody help me out to get the reason behind or solution/work around Regards

java.lang.UnsupportedClassVersionError: Bad version number in .class file in eclipse-3.4 + mac osx

2009-07-23 Thread Norman Maurer
Hi all, after starting eclipse today on my mac and trying to start my application in hosted mode I get the following stacktrace. I already checked that the java version is set to 1.5. I'm using gwt-1.7.0. The same project work without any problem on my windows xp box. Any idea ? Here is the

Re: java.lang.UnsupportedClassVersionError: Bad version number in .class file in eclipse-3.4 + mac osx

2009-07-23 Thread John Ivens
I got this when I mixed classes compiled in one version with another. Beware of server side implementations compiled under one version and hosted in your application server mixed with classes compiled in the other version, possible other libraries someone else made? On Thu, Jul 23, 2009 at 9:47

Problems with hosted mode

2009-07-23 Thread Pavel Byles
I am using a JSP page as my startup page for my GWt/GAE project and hosted mode used to work just fine. Yesterday I started Eclipse and suddenly hosted mode doesn't work anymore. I only displays the html in the JSP page but doesn't run the linked myproject.nocache.js file and I get no errors.

Re: HTML 5 video

2009-07-23 Thread Joseph Arceneaux
Well, that really wasn't my question, but these issues would seem to throw some cold water on the use of video... On Sat, Jul 18, 2009 at 6:36 AM, twdarkflame darkfl...@gmail.com wrote: meh, we should all just use Ogg and let the rest catch up. Dailymotion and Wikipedia are big enough

Re: Eclipse plugin for Eclipse 3.5 (Galileo)

2009-07-23 Thread Miguel Méndez
Don't worry. Release 1.1 of the plugin will support Eclipse 3.3, 3.4 and 3.5. However, we are considering deprecating support for Eclipse 3.3 in the 1.2 release of our plugin. On Thu, Jul 23, 2009 at 12:01 PM, Yaakov yaakov.chai...@gmail.com wrote: Hi Rajeev, You guys are still going to

Re: Is there a way to force serialization of a Class ?

2009-07-23 Thread Sumit Chandel
Hi Aymen, Yes, that exactly what I meant. I'm guessing that by concurrent update problems, your AsyncCallback will probably just issue an error message saying that the form or data being modified is already in use (pessimistic concurrency control)? If so, that sounds like a workable solution to

Re: Is GWT's compiler java-javascript or java bytecode - javascript?

2009-07-23 Thread Sumit Chandel
Hi Mathijs, The reason why the GWT compiler works from Java source instead of bytecode is because of all the extra information we get from source that can be used in cross-compile optimization when going from Java to JavaScript. As the thread Paul pointed to indicates, it is possible to work from

onClick's onSuccess being called immediately....does not wait for rpc to server to finish....is that right?

2009-07-23 Thread Josephine
I have what feels like it should be quite simple, but it is not working for me. I have a button with a clickListener and an onClick method. In the onClick method, there are AsyncCallback's requisite onSuccess and onFailure methods to perform a search on the server. The search works fine and

Re: Is it possible (necessary) to pre-fetch image bundles?

2009-07-23 Thread Benjii
My original question still holds, but I just realized that prefetch only starts the process... it doesn't give any guarantees on its completion. I've setup my own prefetch w/ notification so that I can guarantee the images have loaded or failed before displaying the applet. On Jul 23, 10:02 am,

Regarding GWT Tree code

2009-07-23 Thread avinash
Hi, Can any one explain me how tis thing works: TreeNode[] fTreeNode = new TreeNode[]{ new TreeNode(IZIS, new TreeNode[]{ new TreeNode(Receipt Application, new TreeNode[]{ new TreeNode(BZA Application, new TreeNode[]{ new

Re: gwt 1.6 and oophm, how to?

2009-07-23 Thread Sumit Chandel
Hi Denis, Glad to know you were able to get OOPHM working with the stable 1.6 and 1.7 releases. Thanks for sharing on how you got it setup. Hopefully other developers will stumble upon this thread when they're looking to do something similar until OOPHM releases in the next major release. Cheers,

ColumnFormatter not working

2009-07-23 Thread badgerduke
Hello: In a FlexTable I have: ... this.setWidget(1, 1, new HTML(kpiLanguage.getString(grossMargin))); .. ColumnFormatter columnFormatter = new HTMLTable.ColumnFormatter(); columnFormatter.setStyleName(1, kpi_col1); columnFormatter.setWidth(1, 400px); this.setColumnFormatter(columnFormatter);

Re: HTML 5 video

2009-07-23 Thread Sumit Chandel
Hi Joseph, GWT support for HTML 5 is definitely something the team is looking at for an upcoming release. Until then, you can always use an HTMLPanel to contain the video tag and manage its use in your GWT code. That said, you'll have to look up online documentation about the HTML 5 spec and the

1.7 and Firebug logging

2009-07-23 Thread dk
Should the construct : static public native void LOG(String msg) /*-{ console.log(msg); }-*/; work under 1.7? This was in my 1.6.x code and works but I am not seeing anything with 1.7. I am going to roll back to 1.6 for the moment

Re: Problem while loading stylesheet dynamically

2009-07-23 Thread Adam T
Hi Rick, The last line in your native method should read: $doc.getElementsByTagName(head)[0].appendChild(fileref); As GWT uses $doc to refer to the pages document. See: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface //Adam On 23 Juli,

Re: gwt 1.6 and oophm, how to?

2009-07-23 Thread Sumit Chandel
Also, feel free to send an explanatory paragraph my way if you're interested in adding it to the UsingOOPHM documentation. I'd be happy to review it. However, once OOPHM is released, the document is likely to get stale and become deprecated. Cheers, -Sumit Chandel On Thu, Jul 23, 2009 at 1:34 PM,

Re: gwt + email

2009-07-23 Thread Petein
Thank you for answering but the GAE is unchecked. I still continue to get those errors. I tried many codes ive found but none of them worked properly. I want a full example to use. Regards On Jul 23, 9:24 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Petein, I believe your use of the

Re: onClick's onSuccess being called immediately....does not wait for rpc to server to finish....is that right?

2009-07-23 Thread Sean Loughran
Awesome, glad you got it figured out! Don't feel stupid, I've made every mistake under the sun when it comes to RPC's. :) Good Luck! On Thu, Jul 23, 2009 at 4:02 PM, Josephine josephine.schwa...@gmail.comwrote: Wow - do I feel stupid! performSearch is most certainly returning immediately!!!

GWT + Deploy to jetty

2009-07-23 Thread Petein
I created the war file and put it in the web apps dir. then i started jetty and opened firefox. wrote the address and the web page loaded ok. then i wanted to do something which uses a servlet. i get this error: h2HTTP ERROR 404/h2 pProblem accessing /myfacerecognitionwa/upload. Reason: /ppre

Re: doGet doPost

2009-07-23 Thread vasem want
here you need to understand first thing is why do you want to use GWT if you have a jsp page ??? you can create a dynamic interface with gwt and attach it to your servlet or what ever, you need to understand first that this is just a layer infront of your business object , you need to create an

Re: Problem while loading stylesheet dynamically

2009-07-23 Thread Rick
Hi Adam Thanks a lot. Its working fine now. On Jul 24, 2:50 am, Adam T adam.t...@gmail.com wrote: Hi Rick, The last line in your native method should read: $doc.getElementsByTagName(head)[0].appendChild(fileref); As GWT uses $doc to refer to the pages document.  

In Hosted mode, GWT Stopped displaying Widgets

2009-07-23 Thread Raju
Here's what I did: From a fresh eclipse 3.4 installation with ECLIPSE plug-in, I have been working on building an application (using ext-GWT). Everything was working fine for a couple of days, yesterday the application stopped rendering Widgets for some inexplicable reason. Additional

Fileupload does not work

2009-07-23 Thread kongxiaoyang
Hello guys, My fileupload function works pretty fine in the GWT default testing environment jetty, but when I compile the project to js files, and deploy it to TOMCAT, it does not work. When I click the Submit button, only the Window.alert() runs, but no file been uploaded. Below is all the

[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-23 Thread mescali...@gmail.com
update: I tried it on a ubuntu laptop and build flawlessy. perhaps my problem is Gentoo specific, or perhaps the build system is making some (wrong) assumptions about my system I'm working hard to provide a patch for making it compile on Gentoo. do you guys have any hints? signature.asc

[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-23 Thread brett.wooldridge
That one is going to be tough to track down. I would start by comparing the shell environments. You might also try running ant with the -d (debug option) and redirecting output to a file. If possible, make sure the directory names you are building in are identical between the Ubuntu machine and

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-23 Thread BobV
Would always on mean that it generates code even for browsers that have native stack traces (i.e. FF)? Yes, for the purpose of giving you consistency between browsers. Generally, as much as I hate to say it, it seems we'd want variations of the tests both with and without stack trace code,

[gwt-contrib] Re: More interfaces part 2

2009-07-23 Thread Joel Webber
I'm bringing this back up again because of a recent ping to an issue-tracker entry about more interfaces. I understand your pain, but these are issues with the Java language which we've discussed at length in the past, and to my knowledge reached no substantive conclusions other than: - A few

[gwt-contrib] Re: More interfaces part 2

2009-07-23 Thread Isaac Truett
A very good write-up, Joel. I especially like that you mentioned the union types. I recently discovered them myself, in that I found myself wanting a FooAndBar interface and I realized that just such a union was possible without actually declaring a new interface. It seems to be a pretty low

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-23 Thread Alen Vrecko
Separate the machine from the materials. I think this is good idea. Right now if you do a rename let say rename FooModule to BarModule @GinModules(FooModule.class) - @GinModules(BarModule.class) public class MyInjector{} and refresh the TypeOracleMediator will blow up with an NPE when

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-23 Thread BobV
Technically, wouldn't it just mean we should not pin down the value of the deferred binding property that controls it? It would double the number of permutations, tho. But wouldn't we actually want to run the instrumented code, to make sure that the instrumentation itself doesn't break

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-23 Thread Bruce Johnson
Yes, I think we would want to. My point is that we also would want to run the non-instrumented code. I have to think there could be subtle downstream behavioral differences (e.g. compiler optimizations that do/don't happen) based on whether the stack trace code is generated. Thus, I'm saying we

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-23 Thread BobV
On Thu, Jul 23, 2009 at 1:25 PM, Bruce Johnsonbr...@google.com wrote: Yes, I think we would want to. My point is that we also would want to run the non-instrumented code. I have to think there could be subtle downstream behavioral differences (e.g. compiler optimizations that do/don't happen)

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-23 Thread Scott Blum
If I follow you, I think that basically is what I was thinking. Except let's not continue calling it CCL (CompilingClassLoader, which is actually even a misnomer these days). It's a similar idea but this would be separate. Perhaps we can call it ClientModelClassLoader or

[gwt-contrib] Re: Add emma_ant.jar to tools directory

2009-07-23 Thread Scott Blum
Why does emma live in redist/ instead of /lib anyway? On Thu, Jul 23, 2009 at 2:47 PM, jlaba...@google.com wrote: Reviewers: bruce, Description: This patch adds the emma_ant jar to our tools directory so the GWT build file can use it to generate code coverage data. We already include

[gwt-contrib] Re: Add emma_ant.jar to tools directory

2009-07-23 Thread Scott Blum
Also, don't we need a version on emma_ant.jar? There should have been one put on emma.jar, but it looks like an oversight. On Thu, Jul 23, 2009 at 2:51 PM, Scott Blum sco...@google.com wrote: Why does emma live in redist/ instead of /lib anyway? On Thu, Jul 23, 2009 at 2:47 PM,

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-23 Thread Alen Vrecko
Cool. I can think of a few more GeneratorsClassLoader or GeneratorsClientModelClassLoader or NonGeneratorClientCodeClassLoader. Naming classes truly is an art in its own. I have tons of free time till Tuesday so if you don't mind will take a stab at it. What I have in mind is: Make the special

[gwt-contrib] Re: Add emma_ant.jar to tools directory

2009-07-23 Thread Amit Manjhi
emma.jar includes our modifications to emma. That is why redist was chosen instead of lib. The version is included in the name of zip file: emma-2.0.5312-src.zip When the zip file is expanded, it just includes 'emma.jar' with no version number. So, it made sense to make emma with our patch

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-23 Thread BobV
@Bruce, Per our phone conversation, JUnit will turn on the emulated stack trace code for browsers that do not provide stack data for native exceptions. -- Bob Vawter Google Web Toolkit Team --~--~-~--~~~---~--~~

[gwt-contrib] Re: Add emma_ant.jar to tools directory

2009-07-23 Thread John LaBanca
Now that our build file will depend on emma_ant.jar, I think it makes sense to extract it out. Since we already have an emma directory, I suggest we keep using it to avoid confusion. Any objections? Thanks, John LaBanca jlaba...@google.com On Thu, Jul 23, 2009 at 3:21 PM, Amit Manjhi

[gwt-contrib] Re: New lib jars to allow easyMock in tests

2009-07-23 Thread fabbott
LGTM. On 2009/07/16 23:52:23, Ray Ryan wrote: http://gwt-code-reviews.appspot.com/47820 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-23 Thread Scott Blum
On Thu, Jul 23, 2009 at 3:14 PM, Alen Vrecko alen_vre...@yahoo.com wrote: I have tons of free time till Tuesday so if you don't mind will take a stab at it. I would wait until John Tamplin lands his IHM changes first, that would have a huge impact on the solution. What I have in mind is:

[gwt-contrib] Re: Add emma_ant.jar to tools directory

2009-07-23 Thread Scott Blum
On Thu, Jul 23, 2009 at 3:21 PM, Amit Manjhi amitman...@google.com wrote: emma.jar includes our modifications to emma. That is why redist was chosen instead of lib. The version is included in the name of zip file: emma-2.0.5312-src.zip When the zip file is expanded, it just includes

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-23 Thread BobV
Here's a null-pointer deref in Safari. The location data here is accurate, you can call up RequestBuilder.java and see on line 396 that it's firing onResponseReceived. The offending Java code is: ((String) null).charAt(55); The exception reported through the JUnit console is

[gwt-contrib] Re: New lib jars to allow easyMock in tests

2009-07-23 Thread Ray Ryan
Committed revision 5778. On Thu, Jul 23, 2009 at 12:41 PM, fabb...@google.com wrote: LGTM. On 2009/07/16 23:52:23, Ray Ryan wrote: http://gwt-code-reviews.appspot.com/47820 --~--~-~--~~~---~--~~

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-23 Thread Scott Blum
As soon as we can auto-translated symbols, this will be awesome! On Thu, Jul 23, 2009 at 4:11 PM, BobV b...@google.com wrote: Here's a null-pointer deref in Safari. The location data here is accurate, you can call up RequestBuilder.java and see on line 396 that it's firing

[gwt-contrib] Re: Add emma_ant.jar to tools directory

2009-07-23 Thread John LaBanca
We can copy emma.jar and add a version a Scott suggested, and I'll add a version to emma_ant.jar. We're stuck with emma.jar, but that shouldn't be a big problem. Thanks, John LaBanca jlaba...@google.com On Thu, Jul 23, 2009 at 4:11 PM, Scott Blum sco...@google.com wrote: On Thu, Jul 23, 2009

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-23 Thread BobV
Committed at r5779. If anyone is interested in testing this out, you can take a look at or just inherit com.google.gwt.core.EmulateJsStack. Right now, this is kind of a blunt instrument, but the control mechanism will be refined with the addition of module property predicates. -- Bob Vawter

[gwt-contrib] Fix a catch block normalizer bug

2009-07-23 Thread scottb
Reviewers: , Description: Lex: can you double-check this please? Make declaration statements for the variables created in the catch block normalizer, instead of just assignment statements. Also fixes a problem where the same JLocalRef would appear in the tree multiple times. Patch by:

[gwt-contrib] Re: Fix a catch block normalizer bug

2009-07-23 Thread scottb
http://gwt-code-reviews.appspot.com/51813/diff/1/2 File dev/core/src/com/google/gwt/dev/jjs/impl/CatchBlockNormalizer.java (right): http://gwt-code-reviews.appspot.com/51813/diff/1/2#newcode66 Line 66: JLocal exObj = popTempLocal(); Actually, before I commit I should rename this to 'exVar' or

[gwt-contrib] Re: Fix a catch block normalizer bug

2009-07-23 Thread scottb
More detail to clarify. Given the following source code: try { Window.alert(Hello, AJAX); } catch (IndexOutOfBoundsException a) { Window.alert(a.toString()); } catch (RuntimeException b) { Window.alert(b.toString()); } catch (Throwable c) { Window.alert(c.toString()); } We were

[gwt-contrib] Re: Fix a catch block normalizer bug

2009-07-23 Thread spoon
LGTM. The new AST is cleaner and should be more robust. http://gwt-code-reviews.appspot.com/51813 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-23 Thread Alen Vrecko
What I have in mind is: Make the special CL per Generator. I'd set the CL to the Thread therefore Generators can access this functionality transparently by currentThread().getContextClassLoader() and modify TypeOracle to return classes in annotations from the special CL. Shouldn't be

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-23 Thread Alen Vrecko
Generators don't have client classes. Poor choice of words. What I had in mind is that when Generators are loaded they might reference a couple of client classes that are defined in some module. Now from Generators perspective this is all loaded in SystemCL. I am afraid that the

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-23 Thread Scott Blum
On Thu, Jul 23, 2009 at 6:37 PM, Alen Vrecko alen_vre...@yahoo.com wrote: I am thinking that the TypeOracleClassLoader would define the client classes minus the client classes of the generator. In the example the special CL would include FooModule and MyInjector but not @GinModules since it

[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-23 Thread Mark M
This happens on my Windows env. For some reason the alldeps.jar is not being built. It does not happen on my Linux env. Mark. On Jul 21, 8:51 am, mescali...@gmail.com mescali...@gmail.com wrote: Kango_V wrote: Same as Brett, that's all you need.  Using ant 1.7.1 java 6u14 amd64. On Jul