Can't get through the GWT Designer quick start guide
Hi, I try to use the GWT Designer and tried starting with the quick start guide (gwtdesigner quick_starthttps://developers.google.com/web-toolkit/tools/gwtdesigner/quick_start), but can't get through it. At step 1: I have installed a new Eclipse environment and installed the Google Plugin for Eclipse. I have selected all 6 plugins. At step 2: (*Install the latest GWT Designer build*) you can see installation instructions about how to install a plugin in eclipse, but not were you can find the GWT Designer. I think I have found it and installed the GWT Designer. I think step 1 and 2 are successfully done. At step 3: *If you have installed the GWT SDKhttps://developers.google.com/web-toolkit/download?hl=nl-NL, you need to specify the path to your GWT installation directoryhttps://developers.google.com/web-toolkit/tools/gwtdesigner/preferences/gwt/index?hl=nl-NL .*. I don't know were I can found the GWT installation directory. Where van I find that? At step 4 : *Create a new GWT project using the GPEhttps://developers.google.com/eclipse/docs/creating_new_webapp?hl=nl-NLor the GWT Designer GWT/Java project wizardhttps://developers.google.com/web-toolkit/tools/gwtdesigner/wizards/gwt/project?hl=nl-NL. *I want to create a GWT project with the GWT Designer but I can't find the menu options shown there. The image shows the menu items I have got now. Please help me starting GWT, Thanks https://lh6.googleusercontent.com/-b_baoawuQYw/UUNCA38zVjI/AAU/FfA5Ivvj9-Q/s1600/menu.jpg -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Can't get through the GWT Designer quick start
Hi, I try to use the GWT Designer and tried starting with the quick start guid, but can't get through it. At step 1: I have installed a new/fresh installation of Eclipse and installed all 6 available plugins using 'install new software' in Eclipse. At step 2 (*Install the latest GWT Designer build*) you can see installation instructions about how to install a plugin in eclipse, but not were you can find the GWT Designer. I think I have found it and installed the GWT Designer. I think step 1 and 2 are done successfully. At step 3: *If you have installed the GWT SDKhttps://developers.google.com/web-toolkit/download?hl=nl-NL, you need to specify the path to your GWT installation directoryhttps://developers.google.com/web-toolkit/tools/gwtdesigner/preferences/gwt/index?hl=nl-NL .*. I don't know were I can found the GWT installation directory. Where can I find taht one? At step 4 : *Create a new GWT project using the GPEhttps://developers.google.com/eclipse/docs/creating_new_webapp?hl=nl-NLor the GWT Designer GWT/Java project wizardhttps://developers.google.com/web-toolkit/tools/gwtdesigner/wizards/gwt/project?hl=nl-NL. *I want to create a GWT project with the GWT Designer but I can't find the menu options shown there. The image shows the menu items I have got now. Please help me starting GWT, Thanks https://lh6.googleusercontent.com/-b_baoawuQYw/UUNCA38zVjI/AAU/FfA5Ivvj9-Q/s1600/menu.jpg -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Get String Width in Pixels
Hey, is there a possibility to get the expected Srting width in pixel ? I need this because I have a navigation bar with a width of 300px. And there are varius names which I want to show in it. Now I want to truncate the String if it is longer than 300px. Thanks in advance -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Chrome GWT plugin 1.0.11357
Anyone, could you help me to download/install latest GWT develop plugin for Chrome? On Thursday, March 14, 2013 1:06:01 PM UTC+3, Igor Zubchenok wrote: Hi! Where can I download the plugin .crx file for manual installation? https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim?hl=en-US Chome Web Store does not allow to install the plugin and shows the error: This application is not supported on this computer. Installation has been disabled. Thanks Igor -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Chrome GWT plugin 1.0.11357
AFAICT, this file is the extension: https://gwt.googlesource.com/gwt-plugins/+/master/npapi/prebuilt/gwt-dev-plugin.zip (or at least what's needed to publish it to the Chrome Web Store) You're lucky enough that the latest revision was made before the complete move to Git for the plugins, so it can be downloaded from the SVN at https://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/npapi/prebuilt/gwt-dev-plugin.zip?r=11364 (otherwise you'd have had to clone the Git repo) HTH (BTW, are you using Windows 8? that must be the issue: https://code.google.com/p/google-web-toolkit/issues/detail?id=7778) On Thursday, March 14, 2013 11:06:01 AM UTC+1, Igor Zubchenok wrote: Hi! Where can I download the plugin .crx file for manual installation? https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim?hl=en-US Chome Web Store does not allow to install the plugin and shows the error: This application is not supported on this computer. Installation has been disabled. Thanks Igor -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
How to use Objects in SuggestBox instead of text Strings?
Hi, I want to extend my MultiValueSuggestBox to not display strings, but a specific String property of an Object (or DTO). My goal is: a user should create an objects with several properties, and only show one of these properties for suggetions. But when the user later renames this specific property that is used in the suggestions, I also want to apply the renaming there. So I somehow have to save the ID of the object in the suggestBox, but let it show another property from the object belonging to that id. class Foo { String bar; //to be displayed in suggest box, and renamable by the user int number; long id; //reference tracking for suggestbox } Could you get me started what I'd have to change in MultiValueSuggestBox for using Objects -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Get String Width in Pixels
On 18/03/2013 09:15, Dominic Warzok wrote: is there a possibility to get the expected Srting width in pixel ? I need this because I have a navigation bar with a width of 300px. And there are varius names which I want to show in it. Now I want to truncate the String if it is longer than 300px. You can use CSS to do this truncation for you, letting the browser to do the computation itself. -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Get String Width in Pixels
CSS example: http://quirksmode.org/css/user-interface/textoverflow.html -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Converting JavaScript project to GWT component
On 12/03/2013 17:52, Ben Cuthbert wrote: Has anyone got any good tutorials on converting Javascript projects like http://needim.github.com/noty/ to GWT components? Probably not, not to my knowledge. You can write a simple wrapper using JSNI. But if you mean to rewrite the functionality in pure GWT, you are probably on your own, as the logic and available objects are quite different. Note that GWT-Query (aka. GQuery) can be an interesting project for you: it emulates most of jQuery functionalities in pure GWT, and also provides a translation of some plugins as well (the drag'n'drop one is quite good). At least, it can be used for inspiration (how JS functionalities has been ported to GWT), and maybe it can be a solid ground on which to build your project, if you dive into this work. -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Displaying timezone in Eastern Time
On 08/03/2013 23:06, gusse...@gmail.com wrote: Need to display the timezone abbreviation for example this code produce: Date date = getPanelForm().getRecentDate();*return*DateTimeFormat./getFormat/(MM'/'dd/yy hh:mm z).format(date); Displays as : 03/08/13 04:21 UTC-5 would like : 03/08/13 04:21 ET According to JavaDoc http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html#timezone, Time zones are interpreted as text if they have names., otherwise it displays a numerical value. It looks like your ET time zone isn't part of the implementation. A possible workaround is to search / replace the string after the formating... -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Is there any ArrayMap?
Hi, I'd need some client-side ArrayMap: a combination of a LinkedHashMap that preserves the order of insertion, and some kind of index() method that provides insertion of an element at a specific index position (like ArrayList.add(index, object)). Is there anything build in GWT, or maybe a module that can be used like Guava? Or would I have to use both ArrayList and LinkedHashMap and keep them synchronized myself to achive both key-value access and index-aware listing? -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Chrome GWT plugin 1.0.11357
Thank you very much Thomas! Based on your idea I cloned the repository and packed GWT plugin manually. Everyone who has an issue with GWT plugin for Chrome in Windows 8 can download packed by me plugin here: https://www.dropbox.com/s/ldtpxuuh9ovof12/gwt-dev-plugin.crx version 1.0.11357 To install drag and drop it to to Chrome when Extensions page is open chrome://extensions/ On Monday, March 18, 2013 12:47:59 PM UTC+3, Thomas Broyer wrote: AFAICT, this file is the extension: https://gwt.googlesource.com/gwt-plugins/+/master/npapi/prebuilt/gwt-dev-plugin.zip (or at least what's needed to publish it to the Chrome Web Store) You're lucky enough that the latest revision was made before the complete move to Git for the plugins, so it can be downloaded from the SVN at https://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/npapi/prebuilt/gwt-dev-plugin.zip?r=11364 (otherwise you'd have had to clone the Git repo) HTH (BTW, are you using Windows 8? that must be the issue: https://code.google.com/p/google-web-toolkit/issues/detail?id=7778) On Thursday, March 14, 2013 11:06:01 AM UTC+1, Igor Zubchenok wrote: Hi! Where can I download the plugin .crx file for manual installation? https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim?hl=en-US Chome Web Store does not allow to install the plugin and shows the error: This application is not supported on this computer. Installation has been disabled. Thanks Igor -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Can't get through the GWT Designer quick start
When you install the GPE with GWT, your SDK dir will be something like this: eclipse install direclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.5.0.v201212122042-rel-r42\gwt-2.5.0 You should have selected to install the GWT Designer when you installed the GPE from here: https://developers.google.com/eclipse/docs/getting_started There is an old out of date GWT Designer update page here: https://developers.google.com/web-toolkit/tools/download-gwtdesigner but you should be using the update sites from the above link rather than this one. Selecting 'Web Application Project' from that list should get you the wizard to create your project. Then you should have something that you can use GWT Designer on. On Monday, March 18, 2013 4:10:29 AM UTC-4, o.vand...@xso.nl wrote: Hi, I try to use the GWT Designer and tried starting with the quick start guid, but can't get through it. At step 1: I have installed a new/fresh installation of Eclipse and installed all 6 available plugins using 'install new software' in Eclipse. At step 2 (*Install the latest GWT Designer build*) you can see installation instructions about how to install a plugin in eclipse, but not were you can find the GWT Designer. I think I have found it and installed the GWT Designer. I think step 1 and 2 are done successfully. At step 3: *If you have installed the GWT SDKhttps://developers.google.com/web-toolkit/download?hl=nl-NL, you need to specify the path to your GWT installation directoryhttps://developers.google.com/web-toolkit/tools/gwtdesigner/preferences/gwt/index?hl=nl-NL .*. I don't know were I can found the GWT installation directory. Where can I find taht one? At step 4 : *Create a new GWT project using the GPEhttps://developers.google.com/eclipse/docs/creating_new_webapp?hl=nl-NLor the GWT Designer GWT/Java project wizardhttps://developers.google.com/web-toolkit/tools/gwtdesigner/wizards/gwt/project?hl=nl-NL. *I want to create a GWT project with the GWT Designer but I can't find the menu options shown there. The image shows the menu items I have got now. Please help me starting GWT, Thanks https://lh6.googleusercontent.com/-b_baoawuQYw/UUNCA38zVjI/AAU/FfA5Ivvj9-Q/s1600/menu.jpg -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Can't get through the GWT Designer quick start
I took a look at the GWT Designer Quick Start Guide here: https://developers.google.com/web-toolkit/tools/gwtdesigner/quick_start And it is quite out of date. It has links and instructions for Eclipse 3.5 and 3.6. Also the screenshots on the linked pages are no longer accurate. There is a much more helpful presentation video here at Google I/O 2011 by Eric Clayberg: http://www.youtube.com/watch?v=kV5H3rGfqOElist=PL054F0C97D9D7706Bindex=12 On Monday, March 18, 2013 10:29:24 AM UTC-4, Michael Prentice wrote: When you install the GPE with GWT, your SDK dir will be something like this: eclipse install direclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.5.0.v201212122042-rel-r42\gwt-2.5.0 You should have selected to install the GWT Designer when you installed the GPE from here: https://developers.google.com/eclipse/docs/getting_started There is an old out of date GWT Designer update page here: https://developers.google.com/web-toolkit/tools/download-gwtdesigner but you should be using the update sites from the above link rather than this one. Selecting 'Web Application Project' from that list should get you the wizard to create your project. Then you should have something that you can use GWT Designer on. On Monday, March 18, 2013 4:10:29 AM UTC-4, o.vand...@xso.nl wrote: Hi, I try to use the GWT Designer and tried starting with the quick start guid, but can't get through it. At step 1: I have installed a new/fresh installation of Eclipse and installed all 6 available plugins using 'install new software' in Eclipse. At step 2 (*Install the latest GWT Designer build*) you can see installation instructions about how to install a plugin in eclipse, but not were you can find the GWT Designer. I think I have found it and installed the GWT Designer. I think step 1 and 2 are done successfully. At step 3: *If you have installed the GWT SDKhttps://developers.google.com/web-toolkit/download?hl=nl-NL, you need to specify the path to your GWT installation directoryhttps://developers.google.com/web-toolkit/tools/gwtdesigner/preferences/gwt/index?hl=nl-NL .*. I don't know were I can found the GWT installation directory. Where can I find taht one? At step 4 : *Create a new GWT project using the GPEhttps://developers.google.com/eclipse/docs/creating_new_webapp?hl=nl-NLor the GWT Designer GWT/Java project wizardhttps://developers.google.com/web-toolkit/tools/gwtdesigner/wizards/gwt/project?hl=nl-NL. *I want to create a GWT project with the GWT Designer but I can't find the menu options shown there. The image shows the menu items I have got now. Please help me starting GWT, Thanks https://lh6.googleusercontent.com/-b_baoawuQYw/UUNCA38zVjI/AAU/FfA5Ivvj9-Q/s1600/menu.jpg -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
How to make dotted strokes on a canvas?
Hi, how can I set the stroke style when drawing on a canvas? (trying to make a rectangle with dotted border) Looking for something like: context.setBorder(1px dotted black); -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to make dotted strokes on a canvas?
http://phrogz.net/tmp/canvas_dashed_line.html On Monday, March 18, 2013 12:52:48 PM UTC-4, membersound wrote: Hi, how can I set the stroke style when drawing on a canvas? (trying to make a rectangle with dotted border) Looking for something like: context.setBorder(1px dotted black); -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is there any ArrayMap?
Have you tried looking into guava-gwthttps://code.google.com/p/guava-libraries/ ? On Monday, March 18, 2013 1:40:06 PM UTC+1, membersound wrote: Hi, I'd need some client-side ArrayMap: a combination of a LinkedHashMap that preserves the order of insertion, and some kind of index() method that provides insertion of an element at a specific index position (like ArrayList.add(index, object)). Is there anything build in GWT, or maybe a module that can be used like Guava? Or would I have to use both ArrayList and LinkedHashMap and keep them synchronized myself to achive both key-value access and index-aware listing? -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Can't deploy my project anymore
Hi everybody, Since friday I can't deploy my project anymore. Went I start the war generation with the deploy button I instantly get an error *message saying*: Designer error occured. Select Details for more information. See the Error Log for more information. Reason: Parse error or internal Designer error, *The stack trace is this: * Plug-in Provider: Google Plug-in Name: Plug-in ID: org.eclipse java.lang.NoClassDefFoundError: org/eclipse/jdt/launching/IJavaLaunchConfigurationConstants at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.getGWTProjectClasspath(DeployModuleAction.java:364) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.createBuildScript(DeployModuleAction.java:150) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.access$1(DeployModuleAction.java:131) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:103) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Full stack trace (to see full context): java.lang.reflect.InvocationTargetException at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:114) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.NoClassDefFoundError: org/eclipse/jdt/launching/IJavaLaunchConfigurationConstants at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.getGWTProjectClasspath(DeployModuleAction.java:364) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.createBuildScript(DeployModuleAction.java:150) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.access$1(DeployModuleAction.java:131) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:103) ... 1 more I completely uninstalled the Google Plugin and reinstalled it. I still get this error. My last chance is probably to reinstall Eclipse from scratch, but I would like to avoid reinstalling and configuring all my dev envirronnement. Can somebody help me please. Am I the only one who got this problem since I tried to update the Google Plugin? -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Can't deploy my project anymore
These are all my Installed plugin and version if it can help. CollabNet Merge Client3.0.13 com.collabnet.subversion.merge.feature.feature.groupCollabNet Eclipse IDE for Java Developers1.5.2.20130211-1820 epp.package.javanull Google App Engine Java SDK 1.7.51.7.5 com.google.appengine.eclipse.sdkbundle.feature.feature.groupGoogle, Inc. Google Plugin for Eclipse 4.23.2.0.v201302131858-rel-r42 com.google.gdt.eclipse.suite.e42.feature.feature.groupGoogle, Inc. Google Web Toolkit SDK 2.5.12.5.1 com.google.gwt.eclipse.sdkbundle.feature.feature.groupGoogle, Inc. GWT Designer2.6.0.r38x201206111253 com.google.gdt.eclipse.designer.feature.feature.groupGoogle, Inc. GWT Designer Core3.1.2.r42x201302131702 com.google.gdt.eclipse.designer.hosted.feature.feature.groupGoogle, Inc. GWT Designer Editor3.1.2.r42x201302131711 com.google.gdt.eclipse.designer.editor.feature.feature.groupGoogle, Inc. GWT Designer GPE3.1.2.r42x201302131737 com.google.gdt.eclipse.designer.gpe.feature.feature.groupGoogle, Inc. Hibernate Tools3.5.1.v20130102-1835-H100-Final org.hibernate.eclipse.feature.feature.groupJBoss by Red Hat PyDev for Eclipse2.7.1.2012100913 org.python.pydev.feature.feature.groupAptana Pydev Mylyn Integration0.4.0 org.python.pydev.mylyn.feature.feature.groupFabio Zadrozny Subclipse (Required)1.8.18 org.tigris.subversion.subclipse.feature.grouptigris.org Subclipse Integration for Mylyn 3.x (Optional)3.0.0 org.tigris.subversion.subclipse.mylyn.feature.grouptigris.org Subversion Client Adapter (Required)1.8.3 org.tigris.subversion.clientadapter.feature.feature.grouptigris.org Subversion JavaHL Native Library Adapter1.7.8.1 org.tigris.subversion.clientadapter.javahl.feature.feature.group tigris.org Subversion Revision Graph1.1.1 org.tigris.subversion.subclipse.graph.feature.feature.grouptigris.org SVNKit Client Adapter (Not required)1.7.8.1 org.tigris.subversion.clientadapter.svnkit.feature.feature.group tigris.org WindowBuilder Core Documentation1.5.2.r42x201302111931 org.eclipse.wb.doc.user.feature.feature.groupEclipse.org WindowBuilder CSS Support1.5.2.r42x201302111914 org.eclipse.wb.css.feature.feature.groupEclipse.org WindowBuilder XML Core (requires Eclipse WTP/WST) 1.5.2.r42x201302111919org.eclipse.wb.core.xml.feature.feature.group Eclipse.org Le lundi 18 mars 2013 16:38:02 UTC-4, JoyaleXandre a écrit : Hi everybody, Since friday I can't deploy my project anymore. Went I start the war generation with the deploy button I instantly get an error *message saying*: Designer error occured. Select Details for more information. See the Error Log for more information. Reason: Parse error or internal Designer error, *The stack trace is this: * Plug-in Provider: Google Plug-in Name: Plug-in ID: org.eclipse java.lang.NoClassDefFoundError: org/eclipse/jdt/launching/IJavaLaunchConfigurationConstants at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.getGWTProjectClasspath(DeployModuleAction.java:364) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.createBuildScript(DeployModuleAction.java:150) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.access$1(DeployModuleAction.java:131) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:103) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Full stack trace (to see full context): java.lang.reflect.InvocationTargetException at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:114) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.NoClassDefFoundError: org/eclipse/jdt/launching/IJavaLaunchConfigurationConstants at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.getGWTProjectClasspath(DeployModuleAction.java:364) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.createBuildScript(DeployModuleAction.java:150) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.access$1(DeployModuleAction.java:131) at com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:103) ... 1 more I completely uninstalled the Google Plugin and reinstalled it. I still get this error. My last chance is probably to reinstall Eclipse from scratch, but I would like to avoid reinstalling and configuring all my dev envirronnement. Can somebody help me please. Am I the only one who got this problem since I tried to update the Google Plugin? -- You received this message
Re: How to make dotted strokes on a canvas?
Hm ok that might be a nice solution for a straight line. But what about curves? What if I eg create a Rectangle with round corners (which I want in the long). I thought there might be something to tell a line it should always be dashed/spaced. Cause the link you provided is probably not adaptable to any arc or bezier methods... 2013/3/18 Samyem Tuladhar sam...@gmail.com http://phrogz.net/tmp/canvas_dashed_line.html On Monday, March 18, 2013 12:52:48 PM UTC-4, membersound wrote: Hi, how can I set the stroke style when drawing on a canvas? (trying to make a rectangle with dotted border) Looking for something like: context.setBorder(1px dotted black); -- 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/lqM6BW6IGvU/unsubscribe?hl=en . 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Re: gwt rebranding
Ah ah, love that new acronym: GWT = Gorgeous Web Toolkit/box ;-) (I prefer toolkit to toolbox, it rhymes with GWiT) Ah right, as everyone likes rhymes toolkit should be preferred :) Just gives a better flow during a talk. -- J. -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Re: ie9 bug fixes. (issue1383809)
Marius: I agree with your comments, but this change has actually been merged already (despite not being closed here). Please file an issue and possibly provide a patch (preferably to Gerrit rather than Rietveld) As for the reasons of the method overrides, it probably has to do with this: http://stackoverflow.com/questions/2717252/document-body-scrolltop-is-always-0-in-ie-even-when-scrolling (though I haven't tested in IE9 how it actually behaves; keeping in mind that the DOMImplIE9 is only used for IE9 in IE9 Standards mode, i.e. documentMode = 9) http://gwt-code-reviews.appspot.com/1383809/ -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: fix mismatch in Double/Float.isInfinite between dev / produc...
Matthew Dempsky has posted comments on this change. Change subject: fix mismatch in Double/Float.isInfinite between dev / production .. Patch Set 1: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2250 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6e7a891ff1339a64f3d9aaa57978fac6b23fdb64 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Daniel Kurka kurka.dan...@gmail.com Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] dev tools
Hey, I know I've been quiet on the GWT front lately, but I've really enjoyed seeing all of the reviews/commits going by. Great stuff. You've probably seen it, but there's a Mozilla post about next-gen dev tools: http://paulrouget.com/e/devtoolsnext I posted a comment on it, but given we have GWT/Googlers here on the list, wanted to reiterate: it seems like if we ever want SuperDevMode editing/debugging to be anywhere near as sexy/seamless as JvmDevMode debugging, we'd want a simple *cross-browser* protocol for doing all of the IDE-ish things like step in/out/reload CSS/etc. I don't think GWT has the man power, either in Google or out, to build per-browser hacks into GPE to do all of this sexy stuff from scratch (i.e. we're trying to get out of the per-browser/extension game). Googlers, or anyone else, any comments on whether Chrome devs are thinking the same thing? I know Chrome has wire protocols, but specifically on a standard debugging protocol... Seems like a lot of the new Chrome dev tool stuff I've seen lately is about rebuilding an IDE inside of Chrome, which just seems so very backwards from what GWT users would like to see. - Stephen -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Avoid running JsInliner on the full JavaScript tree.
Roberto Lublinerman has abandoned this change. Change subject: Avoid running JsInliner on the full JavaScript tree. .. Abandoned Submitted, thanks! -- To view, visit https://gwt-review.googlesource.com/1930 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: abandon Gerrit-Change-Id: Iba3cedf4f001f216509f2c3d003ed7fe25725708 Gerrit-PatchSet: 9 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Roberto Lublinerman rlu...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: John A. Tamplin j...@jaet.org Gerrit-Reviewer: Ray Cromwell cromwell...@google.com Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: fix mismatch in Double/Float.isInfinite between dev / produc...
Brian Slesinsky has posted comments on this change. Change subject: fix mismatch in Double/Float.isInfinite between dev / production .. Patch Set 1: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2250 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6e7a891ff1339a64f3d9aaa57978fac6b23fdb64 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Daniel Kurka kurka.dan...@gmail.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Changes StackTraceDeobfuscator to abstract and provide vario...
Goktug Gokdogan has uploaded a new change for review. https://gwt-review.googlesource.com/2270 Change subject: Changes StackTraceDeobfuscator to abstract and provide various factory methods. .. Changes StackTraceDeobfuscator to abstract and provide various factory methods. This change will remove the need for extending StackTraceObfusctor most of the time as in almost all scenarios it is extended to get the symbol map from jar through the class loader (which makes sense). Also a factory is provided to get the symbol map from the file system. For all other cases, developers can construct the deobfuscator with a URL path or extend the class to override openInputStream method. Change-Id: I562e052caef8da7f3434319cf11b8984bc347fe5 --- M user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java M user/src/com/google/gwt/logging/server/StackTraceDeobfuscator.java 2 files changed, 63 insertions(+), 50 deletions(-) diff --git a/user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java b/user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java index 44d209b..7c4f191 100644 --- a/user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java +++ b/user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java @@ -25,9 +25,11 @@ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; +import java.net.URL; import java.util.HashMap; import java.util.HashSet; import java.util.Map; +import java.util.MissingResourceException; import java.util.Scanner; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; @@ -45,7 +47,48 @@ * directory is written. By default, the final codesymbolMaps/code directory is * codewar/WEB-INF/deploy/iyourmodulename/i/symbolMaps//code. */ -public class StackTraceDeobfuscator { +public abstract class StackTraceDeobfuscator { + + /** + * Creates a deobfuscator that loads symbol map files from the given resource path using + * {@link ClassLoader}. + */ + public static StackTraceDeobfuscator fromResource(String symbolMapsPath) { +final String basePath = symbolMapsPath.endsWith(/) ? symbolMapsPath : symbolMapsPath + /; +final ClassLoader classLoader = StackTraceDeobfuscator.class.getClassLoader(); +return new StackTraceDeobfuscator() { + protected InputStream openInputStream(String fileName) throws IOException { +String filePath = basePath + fileName; +InputStream inputStream = classLoader.getResourceAsStream(filePath); +if (inputStream == null) { + throw new MissingResourceException(Missing resource: + filePath, null, filePath); +} +return inputStream; + } +}; + } + + /** + * Creates a deobfuscator that loads symbol map files from the given file path. + */ + public static StackTraceDeobfuscator fromFileSystem(final String symbolMapsDirectory) { +return new StackTraceDeobfuscator() { + protected InputStream openInputStream(String fileName) throws IOException { +return new FileInputStream(new File(symbolMapsDirectory, fileName)); + } +}; + } + + /** + * Creates a deobfuscator that loads symbol map files from the given url path. + */ + public static StackTraceDeobfuscator fromFileSystem(final URL urlPath) { +return new StackTraceDeobfuscator() { + protected InputStream openInputStream(String fileName) throws IOException { +return new URL(urlPath, fileName).openStream(); + } +}; + } /** * A cache that maps obfuscated symbols to arbitrary non-null string values. The cache can assume @@ -105,36 +148,16 @@ private static final int LINE_NUMBER_UNKNOWN = -1; private static final String SYMBOL_DATA_UNKNOWN = ; - private final boolean lazyLoad; - private final File symbolMapsDirectory; private final MapString, SourceMapping sourceMaps = new HashMapString, SourceMapping(); private final SymbolCache symbolCache = new SymbolCache(); + private boolean lazyLoad = false; /** - * Creates a deobfuscator that loads symbol map files from the given directory. Symbol maps are - * generated into the location specified by the GWT compiler code-deploy/code command line - * argument. - * - * @param symbolMapsDirectory the codesymbolMaps/code directory, with or without trailing - *directory separator character + * If set to {@code true}, only symbols requested to be deobfuscated are cached and the rest is + * discarded. This provides a large memory savings at the expense of occasional extra disk reads. + * Note that, this has no effect on permutations that the symbols have already been loaded for. */ - public StackTraceDeobfuscator(String symbolMapsDirectory) { -this(symbolMapsDirectory, false); - } - - /** - * Creates a deobfuscator that loads
Re: [gwt-contrib] dev tools
Chrome already has a protocol for most of this stuff, a wire-debugging protocol and source-maps. IntelliJ/WebStorm have direct support for this. WebStorm 6 for example + Chrome will do much of what the Firefox announcement talks about. It even has Live Editing On Mon, Mar 18, 2013 at 10:36 AM, Stephen Haberman step...@exigencecorp.com wrote: Hey, I know I've been quiet on the GWT front lately, but I've really enjoyed seeing all of the reviews/commits going by. Great stuff. You've probably seen it, but there's a Mozilla post about next-gen dev tools: http://paulrouget.com/e/devtoolsnext I posted a comment on it, but given we have GWT/Googlers here on the list, wanted to reiterate: it seems like if we ever want SuperDevMode editing/debugging to be anywhere near as sexy/seamless as JvmDevMode debugging, we'd want a simple *cross-browser* protocol for doing all of the IDE-ish things like step in/out/reload CSS/etc. I don't think GWT has the man power, either in Google or out, to build per-browser hacks into GPE to do all of this sexy stuff from scratch (i.e. we're trying to get out of the per-browser/extension game). Googlers, or anyone else, any comments on whether Chrome devs are thinking the same thing? I know Chrome has wire protocols, but specifically on a standard debugging protocol... Seems like a lot of the new Chrome dev tool stuff I've seen lately is about rebuilding an IDE inside of Chrome, which just seems so very backwards from what GWT users would like to see. - Stephen -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Re: Change in gwt[master]: Updates ICU4J from 4.4.2 to 50.1.1
Any updates on this? Just did a pull and the jar is still missing. On Wednesday, February 6, 2013 8:24:52 PM UTC+2, Brian Slesinsky wrote: Brian Slesinsky has abandoned this change. Change subject: Updates ICU4J from 4.4.2 to 50.1.1 .. Abandoned Submitted. -- To view, visit https://gwt-review.googlesource.com/1700 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: abandon Gerrit-Change-Id: I75c9e0e07c4d29a75573701a676a19d6e83b91d9 Gerrit-PatchSet: 3 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: John A. Tamplin j...@jaet.org javascript: Gerrit-Reviewer: Andrew Bachmann andrewb...@google.com javascript: Gerrit-Reviewer: Brian Slesinsky skyb...@google.com javascript: Gerrit-Reviewer: John A. Tamplin j...@jaet.org javascript: -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [gwt-contrib] dev tools
Chrome already has a protocol for most of this stuff, a wire-debugging protocol and source-maps. Yes, I know. My point was that FF/Chrome should use the same wire protocol. That way if GPE ever learns to control the browser/JS debugger (e.g. for SuperDevMode debugging while staying in Eclipse/GPE), it doesn't have to implement a different protocol for each browser. Perhaps it is on the Firefox team's shoulders to play nice and be compatible with the Chrome protocol; same thing with IE. My point is that a pro-active let's share initiative might be in order here, to save the IDE developers of the world a lot of hurt. Vs. the Selenium/WebDriver re-active approach of only standardizing on a protocol after 5-10 years of wasting the Selenium team's lives trying to trick each browser into doing what they want. - Stephen -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Changes StackTraceDeobfuscator to abstract and provide vario...
Brian Slesinsky has posted comments on this change. Change subject: Changes StackTraceDeobfuscator to abstract and provide various factory methods. .. Patch Set 1: (8 comments) File user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java Line 54:* {@link ClassLoader}. that loads symbol map and source map files as resources under the given resource path. Uses StackTraceObfuscator's ClassLoader. Line 59: return new StackTraceDeobfuscator() { Stack traces will be easier to read if you convert these anonymous classes into nested classes, so it's clearer which one is in use. Line 72:* Creates a deobfuscator that loads symbol map files from the given file path. loads symbol and source map files from the given directory. Maybe the argument should be a File? Line 83:* Creates a deobfuscator that loads symbol map files from the given url path. loads symbol and source map files from a URL beneath the given parent. This seems rather dicy. We will end up doing two HTTP requests for each file (one for the symbol map and another for the source map). If the file doesn't exist, there's only one request, but still someone could use this API as a way to do a denial-of-service attack on whichever server we're loading the files from. Maybe leave out this constructor for now? Line 85: public static StackTraceDeobfuscator fromFileSystem(final URL urlPath) { fromUrl(final URL parentDir) Line 98: private static class SymbolCache { According to GWT's usual stye, nested classes go above static methods. However, I think it would be better to put the inner classes at the end. Line 158:* Note that, this has no effect on permutations that the symbols have already been loaded for. This will only have an effect on symbol maps that haven't been loaded yet. Line 338: protected abstract InputStream openInputStream(String fileName) throws IOException; This method will be called with a filename (not including a slash) for a symbol map or a source map file and the implementation should open the file in the appropriate directory, or throw an IOException if the file wasn't found. The returned InputStream doesn't need to be buffered. However, maybe we want to do a better job of logging unexpected errors? It seems like reporting a simple log message (not a full stack trace) for the first few missing files would make it easier to fix configuration errors, instead of dropping all IOExceptions silently like we do now. And if it's not just a missing file then I think it deserves a full stack trace. So perhaps we should have a specific exception for a normal file not found error, so we can catch it separately? -- To view, visit https://gwt-review.googlesource.com/2270 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I562e052caef8da7f3434319cf11b8984bc347fe5 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-HasComments: Yes -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Re: Change in gwt[master]: Updates ICU4J from 4.4.2 to 50.1.1
On Mon, Mar 18, 2013 at 5:30 PM, n.giamou...@gmail.com wrote: Any updates on this? Just did a pull and the jar is still missing. When you say a pull, did you mean svn up? gwt/tools is still managed under svn, and I picked it up just a couple of days ago when I synced. -- John A. Tamplin -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Re: Change in gwt[master]: Updates ICU4J from 4.4.2 to 50.1.1
Thanks for your reply. Pull as in git-svn. My bad - synced trunk but not tools :/ On Tuesday, March 19, 2013 12:20:06 AM UTC+2, John A. Tamplin wrote: On Mon, Mar 18, 2013 at 5:30 PM, n.gia...@gmail.com javascript: wrote: Any updates on this? Just did a pull and the jar is still missing. When you say a pull, did you mean svn up? gwt/tools is still managed under svn, and I picked it up just a couple of days ago when I synced. -- John A. Tamplin -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Attempt to continue after the JDT compiler aborts.
Brian Slesinsky has uploaded a new change for review. https://gwt-review.googlesource.com/2271 Change subject: Attempt to continue after the JDT compiler aborts. .. Attempt to continue after the JDT compiler aborts. This could occasionally work, but in my test case it just causes a RuntimeException later due to violating an internal JDT invariant. Still, it lets us print the names of a few more source files of death before dying. Change-Id: Ia94d998c6b4e56d880570c726aa09f004a4f552c --- M dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java b/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java index 05c038c..dfc37e0 100644 --- a/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java +++ b/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java @@ -226,11 +226,14 @@ } private class CompilerImpl extends Compiler { +private TreeLogger logger; +private int abortCount = 0; -public CompilerImpl() { +public CompilerImpl(TreeLogger logger) { super(new INameEnvironmentImpl(), DefaultErrorHandlingPolicies.proceedWithAllProblems(), getCompilerOptions(), new ICompilerRequestorImpl(), new DefaultProblemFactory( Locale.getDefault())); + this.logger = logger; } /** @@ -248,7 +251,19 @@ @Override public void process(CompilationUnitDeclaration cud, int i) { - super.process(cud, i); + try { +super.process(cud, i); + } catch (AbortCompilation e) { +abortCount++; +String filename = new String(cud.getFileName()); +logger.log(TreeLogger.Type.ERROR, +JDT aborted: + filename + : + e.problem.getMessage()); +return; // continue without it; it might be a server-side class. + } catch (RuntimeException e) { +logger.log(TreeLogger.Type.ERROR, +JDT died after + abortCount + previous errors, e); +throw new AbortCompilation(cud.compilationResult, e); + } ClassFile[] classFiles = cud.compilationResult().getClassFiles(); MapClassFile, CompiledClass results = new LinkedHashMapClassFile, CompiledClass(); for (ClassFile classFile : classFiles) { @@ -739,17 +754,19 @@ icus.add(new Adapter(builder)); } -compilerImpl = new CompilerImpl(); +compilerImpl = new CompilerImpl(logger); try { compilerImpl.compile(icus.toArray(new ICompilationUnit[icus.size()])); } catch (AbortCompilation e) { - if (e.problem.getOriginatingFileName() != null) { + if (e.problem == null) { +logger.log(TreeLogger.Type.ERROR, JDT compiler aborted); + } else if (e.problem.getOriginatingFileName() == null) { +logger.log(TreeLogger.Type.ERROR, JDT compiler aborted: + e.problem.getMessage()); + } else { String filename = new String(e.problem.getOriginatingFileName()); TreeLogger branch = logger.branch(TreeLogger.Type.ERROR, At + filename + : + e.problem.getSourceLineNumber()); branch.log(TreeLogger.Type.ERROR, JDT compiler aborted: + e.problem.getMessage()); - } else { -logger.log(TreeLogger.Type.ERROR, JDT compiler aborted: + e.problem.getMessage()); } throw new UnableToCompleteException(); } finally { -- To view, visit https://gwt-review.googlesource.com/2271 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia94d998c6b4e56d880570c726aa09f004a4f552c Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Brian Slesinsky skybr...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Remove early optimization from Precompile.
Roberto Lublinerman has uploaded a new change for review. https://gwt-review.googlesource.com/2280 Change subject: Remove early optimization from Precompile. .. Remove early optimization from Precompile. An early round of optimization results in increased compile time for large project. The reason is that the optimizations are run on a bigger AST that does not benefit of the prunning made available by instantiating a specific permutation. Change-Id: I26bad5f14735a9283021b53edadc5bde1a659c45 --- M dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java 1 file changed, 0 insertions(+), 8 deletions(-) diff --git a/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java b/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java index 5d1a2ab..17104e4 100644 --- a/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java +++ b/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java @@ -716,14 +716,6 @@ * reducing the total permutation count. */ optimize(options, jprogram); -} else { - /* - * Do only minimal early optimizations. This code path is used by the - * Precompile entry point. The external system might be able to - * perfectly parallelize the permutation compiles, so let's avoid - * doing potentially superlinear optimizations on the unified AST. - */ - optimizeLoop(Early Optimization, jprogram, false); } } -- To view, visit https://gwt-review.googlesource.com/2280 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I26bad5f14735a9283021b53edadc5bde1a659c45 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Roberto Lublinerman rlu...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Remove early optimization from Precompile.
Roberto Lublinerman has uploaded a new patch set (#2). Change subject: Remove early optimization from Precompile. .. Remove early optimization from Precompile. An early round of optimization results in increased compile time for large projects. The reason is that the optimizations are run on a bigger AST that does not benefit of the prunning made available by instantiating a specific permutation. Change-Id: I26bad5f14735a9283021b53edadc5bde1a659c45 Review-Link: https://gwt-review.googlesource.com/#/c/2280/ --- M dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java 1 file changed, 0 insertions(+), 8 deletions(-) -- To view, visit https://gwt-review.googlesource.com/2280 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I26bad5f14735a9283021b53edadc5bde1a659c45 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Roberto Lublinerman rlu...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Ray Cromwell cromwell...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Remove early optimization from Precompile.
Brian Slesinsky has posted comments on this change. Change subject: Remove early optimization from Precompile. .. Patch Set 2: Code-Review+1 It makes sense. It seems like the only way this could break something is if draftCompile was already broken? What do the numbers look like? -- To view, visit https://gwt-review.googlesource.com/2280 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I26bad5f14735a9283021b53edadc5bde1a659c45 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Roberto Lublinerman rlu...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Ray Cromwell cromwell...@google.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Changes StackTraceDeobfuscator to abstract and provide vario...
Goktug Gokdogan has posted comments on this change. Change subject: Changes StackTraceDeobfuscator to abstract and provide various factory methods. .. Patch Set 1: (8 comments) File user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java Line 54:* {@link ClassLoader}. Done Line 59: return new StackTraceDeobfuscator() { I don't think this will be a real issue, as if somebody really needs to know which anonymous class it is, it will be easy to follow by the line number. Line 72:* Creates a deobfuscator that loads symbol map files from the given file path. Done. About parameter type: As in most google3 scenarios, directory name is usually available as string, so this is more convenient for developer. Line 83:* Creates a deobfuscator that loads symbol map files from the given url path. Done. (javadoc) URL doesn't mean HTTP protocol. A file or resource from a jar can all be identified via URL. All other fromXXX methods above could have written by calling this method instead of anonymous class (I am just doing a minor optimization by not using this). For example; JunitHost will be using this one to get the files from the servlet context.. Line 85: public static StackTraceDeobfuscator fromFileSystem(final URL urlPath) { Opps. Thanks for catching that. Line 98: private static class SymbolCache { I also like them at the end if they are private. Especially, in this case keeping the public static methods on the top helps with discoverability. Google java style guide is more helpful on this as it only asks for logical order. Anyway I am OK to change it if this is a strict rule or this class is going to be of the few exceptions.. Line 158:* Note that, this has no effect on permutations that the symbols have already been loaded for. Done. There are 3 logical states here; loaded / partially loaded / not loaded. Applied that to your suggestion. Line 338: protected abstract InputStream openInputStream(String fileName) throws IOException; Added more description on the javadoc. Currently this method is also called repeatedly which usually doesn't make sense if it is a not found' error. I like none of that, however I have other priorities right now. We can defer it as the problem was always there. -- To view, visit https://gwt-review.googlesource.com/2270 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I562e052caef8da7f3434319cf11b8984bc347fe5 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-HasComments: Yes -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Changes StackTraceDeobfuscator to abstract and provide vario...
Goktug Gokdogan has uploaded a new patch set (#2). Change subject: Changes StackTraceDeobfuscator to abstract and provide various factory methods. .. Changes StackTraceDeobfuscator to abstract and provide various factory methods. This change will remove the need for extending StackTraceObfusctor most of the time as in almost all scenarios it is extended to get the symbol map from jar through the class loader (which makes sense). Also a factory is provided to get the symbol map from the file system. For all other cases, developers can construct the deobfuscator with a URL path or extend the class to override openInputStream method. Change-Id: I562e052caef8da7f3434319cf11b8984bc347fe5 Review-Link: https://gwt-review.googlesource.com/#/c/2270/ --- M user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java M user/src/com/google/gwt/logging/server/StackTraceDeobfuscator.java 2 files changed, 68 insertions(+), 50 deletions(-) -- To view, visit https://gwt-review.googlesource.com/2270 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I562e052caef8da7f3434319cf11b8984bc347fe5 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Changes StackTraceDeobfuscator to abstract and provide vario...
Brian Slesinsky has posted comments on this change. Change subject: Changes StackTraceDeobfuscator to abstract and provide various factory methods. .. Patch Set 2: (3 comments) File user/src/com/google/gwt/core/server/impl/StackTraceDeobfuscator.java Line 65: throw new MissingResourceException(Missing resource: + filePath, null, filePath); Should be FileNotFoundException, to agree with the javadoc. Line 86: public static StackTraceDeobfuscator fromURL(final URL urlPath) { Google style would be fromUrl instead of fromURL. In GWT it seems to be inconsistent - there is UrlBuilder and UrlUtils but there is also GWT.getModuleBaseURL. Line 89: return new URL(urlPath, fileName).openStream(); I don't know if this will throw FileNotFoundException if there is a 404 (or equivalent for other protocols). -- To view, visit https://gwt-review.googlesource.com/2270 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I562e052caef8da7f3434319cf11b8984bc347fe5 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-HasComments: Yes -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.