Re: Deprecation of VerticalSplitPanel/HorizontalSplitPanel

2014-02-05 Thread salk31
I agree, for what it is worth. We have ended up going to non-GWT CSS/HTML 
for layout. Our Designer/web monkey can just provide us CSS and the native 
layout engines are pretty powerful now.

On Tuesday, January 28, 2014 2:15:37 PM UTC, Mickael Leduque wrote:

 Hello,

 The *SplitPanel classes are deprecated.
 When deprecating a class, one generally provides a replacement, but I 
 can't seem to find one. What should I use to provide the same behaviour ?

 Note : SplitLayoutPanel is not a replacement. It has the layout panel 
 system limitations and can only be used when sizes are known or in 
 compatible context (ProvidesResize...). I am not in such a case.


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


Gantt Chart missing jar download

2014-02-05 Thread Davide Micheletti
Hi all, i was looking for these
https://code.google.com/p/gwtgantt/wiki/GettingStarted but i didn't find
any *.jar to download. I tried to search it on web and i'm not the only one
who don't find it.. So where i can find it?

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


Re: Gantt Chart missing jar download

2014-02-05 Thread Jens
Not sure if you want to use this anyways. Seems like its inactive and not 
compatible to GWT 2.4+.

That said you have to checkout source and build the jar yourself.

-- J.

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


Re: Gantt Chart missing jar download

2014-02-05 Thread Davide Micheletti
Oh .. Thanks Jens..

Davide


On Wed, Feb 5, 2014 at 11:05 AM, Jens jens.nehlme...@gmail.com wrote:

 Not sure if you want to use this anyways. Seems like its inactive and not
 compatible to GWT 2.4+.

 That said you have to checkout source and build the jar yourself.

 -- J.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How To : Write a GWT Generator

2014-02-05 Thread hablutzel1
Thanks to you, it just took me 15 minutes :)

On Monday, December 10, 2007 10:10:11 PM UTC-5, Riyaz Mansoor wrote:


 It took me a week to write my first generator (with help - thanks mP). 
 Am hoping that this How-To will save time for others. 

 This How-To is targetted for newbies and upwards. 

 A generator that returns a properties file as a Map. 

 Usage :: Map myPropertiesMap = (Map) GWT.create(MyPropertiesMap.class) 
 Valid :: HashMap myPropertiesMap = (HashMap) 
 GWT.create(MyPropertiesMap.class) 


 *** Step 1 ***  Write a marker interface/class. 
 ** 

 In the following example, extends Map is not necessary. I have 
 included it as it is more *descriptive*. This interface/class *must* 
 reside in a client side folder as it needs to be accessed by the 
 GWTCompiler to generate client side code (example location: 
 module.client[.generator]) 

 file :: PropertyMap.java 
  

 package rm.gwt.core.client.generator; 


 import java.util.Map; 


 public interface PropertyMap extends Map { 

 } 





 *** Step 2 ***  Write your generator. 
 ** 

 Writes out the source code for the new class. The source code is self 
 explanatory. This class *must* *not* reside in a client side folder. 
 This class can use *any* class available to it - it is *not* limited 
 to the GWT runtimes. By convention, it is placed in the module.rebind 
 folder. 


 file :: PropertyMapGenerator.java 
 = 


 package rm.gwt.core.rebind; 


 import com.google.gwt.core.ext.Generator; 
 import com.google.gwt.core.ext.GeneratorContext; 
 import com.google.gwt.core.ext.TreeLogger; 
 import com.google.gwt.core.ext.UnableToCompleteException; 

 import com.google.gwt.core.ext.typeinfo.JClassType; 
 import com.google.gwt.core.ext.typeinfo.TypeOracle; 

 import com.google.gwt.user.rebind.ClassSourceFileComposerFactory; 
 import com.google.gwt.user.rebind.SourceWriter; 

 import java.io.PrintWriter; 

 import java.util.Enumeration; 
 import java.util.HashMap; 
 import java.util.ResourceBundle; 


 /** 
  * GWT generator that returns a codeMap/code (codeHashMap/ 
 code) 
  * from a properties file. 
  * Usage :: Map myPropertyMap = (Map) GWT.create(MyPropertyMap.class); 
  * Where :: MyProperMap extends PropertyMap (marker interface) 
  *   :: MyPropertyMap.properties is in same package as 
 MyPropertyMap.java 
  * 
  * @author riyaz@gmail.com javascript: 
  * @version 2007.12-1 
  */ 
 public class PropertyMapGenerator extends Generator { 


 /** Simple name of class to be generated */ 
 private String className = null; 

 /** Package name of class to be generated */ 
 private String packageName = null; 

 /** Fully qualified class name passed into GWT.create() */ 
 private String typeName = null; 


 // inherited generator method 
 public String generate(TreeLogger logger, GeneratorContext 
 context, 
 String typeName) throws UnableToCompleteException { 

 this.typeName = typeName; 
 TypeOracle typeOracle = context.getTypeOracle(); 

 try { 

 // get classType and save instance variables 
 JClassType classType = typeOracle.getType(typeName); 
 packageName = classType.getPackage().getName(); 
 className = classType.getSimpleSourceName() + Wrapper; 
 // Generate class source code 
 generateClass(logger, context); 

 } catch (Exception e) { 

 // record to logger that Map generation threw an exception 
 logger.log(TreeLogger.ERROR, PropertyMap ERROR!!!, e); 

 } 

 // return the fully qualifed name of the class generated 
 return packageName + . + className; 

 } 

 /** 
  * Generate source code for new class. Class extends 
 codeHashMap/code. 
  * 
  * @param logger Logger object 
  * @param context Generator context 
  */ 
 private void generateClass(TreeLogger logger, GeneratorContext 
 context) { 

 // get print writer that receives the source code 
 PrintWriter printWriter = null; 
 printWriter = context.tryCreate(logger, packageName, className); 
 // print writer if null, source code has ALREADY been generated, 
 return 
 if (printWriter == null) return; 

 // init composer, set class properties, create source writer 
 ClassSourceFileComposerFactory composer = null; 
 composer = new ClassSourceFileComposerFactory(packageName, 
 className); 
 composer.setSuperclass(java.util.HashMap); 
 SourceWriter sourceWriter = null; 
 sourceWriter = composer.createSourceWriter(context, printWriter); 

 // generator constructor source code 
 generateConstructor(sourceWriter); 
 // close generated class 
 sourceWriter.outdent(); 
 sourceWriter.println(}); 

 // commit generated class 
 

Re: Using JSNI to create Labeled Marker cause Object function MarkerLabel_(marker, crossURL, handCursorURL){ …} has no method 'getSharedCross'

2014-02-05 Thread ichi San
I was having the same exact issues but got it work when mimicking 
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.8/examples/basic.html
 
as close as possible.. i.e.
i was loading the external libraries via in JavaScript..  i.e.
window.onload = loadScript(); 
I changed them to these: 
script type=text/javascript 
src=http://maps.googleapis.com/maps/api/js?v=3amp;sensor=false;/script
script type=text/javascript 
src=http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.8/src/markerwithlabel.js;/script

now it works for me 


On Saturday, January 5, 2013 11:57:20 PM UTC-5, bon...@gmail.com wrote:

 I tried to create a *Label Marker* by using *JSNI* to call 
 *google-maps-utility-library-v3 
 's markerwithlabel.js* . However, I always receive this exception :

 com.google.gwt.core.client.JavaScriptException: (TypeError) 
 @com.gwt.map.client.GWTMap::setLabeledMarker(Lcom/google/gwt/maps/client/base/LatLng;Lcom/google/gwt/maps/client/MapImpl;)([JavaScript
  object(51), JavaScript object(19)]): Object function MarkerLabel_(marker, 
 crossURL, handCursorURL){ ...} has no method 'getSharedCross'


 Here is the JSNI method I have created :

 public final native void setLabeledMarker(LatLng ll,MapImpl myMap)
 /*-{
var marker = new $wnd.MarkerWithLabel({
position: ll,
draggable: true,
raiseOnDrag: true,
labelContent: Hello,
labelAnchor: new $wnd.google.maps.Point(22, 0),
labelClass: labels, // the CSS class for the label
labelStyle: {opacity: 1.0}
  });

  marker.setMap(myMap); }-*/; 

 I'm using Branflake's GWT Map version 
 3.8.1https://github.com/branflake2267/GWT-Maps-V3-Api
  and google-maps-utility-library-v3 's 
 markerwithlabel.jshttp://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.7/src/

 Please help to give your advice
  

  



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


Re: Using JSNI to create Labeled Marker cause Object function MarkerLabel_(marker, crossURL, handCursorURL){ …} has no method 'getSharedCross'

2014-02-05 Thread ichi San
I'm also having this issue... can't seem to get passed it. -Rich

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


SourceMaps and CodeSplitting not debuggable

2014-02-05 Thread Klemens Schrage
Hello,
 
according to 
http://code.google.com/p/google-web-toolkit/issues/detail?id=8378 source-level 
debugging without Super Dev Mode should be possible. The mentioned 
-saveSource and -saveSourceOutput flags are included in the 2.6.0 release 
and work as expected. Chrome debugger finds the json files and downloads 
the sources. 
 
However, trying to set a breakpoint fails. It only flickers and disappears 
completely immediately after clicking (they are gone, no repositioning as 
seen in Super Dev Mode). After some reflection it came to my mind that 
there could be problems related to codesplitting. I searched the web but 
couldn't find any specific information about restrictions in this 
environment. Super Dev Mode doesn't produce fragments and doesn't have the 
problem. Our project has 6 fragments. After commenting out 
GWT.runasync... debugging works even in the production build. 
 
Is this a known issue or did I just miss something from the docs? Since 
it's an intranet application I don't have to use codesplitting although it 
would be nicer.
 
Best regards
Klemens Schrage
 
As a note: It was a bit difficult to find out the right value for 
includeSourceMapUrl. I ended up with 
sourceMaps/__HASH___sourceMap__FRAGMENT__.json while copying the *.json 
files found in modulename/symbolMaps to war/sourceMaps. Just in case 
someone else is having similar problems.

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


Re: How to set Ui:Field name for HTML tr tag (not Google Widget)?

2014-02-05 Thread Thomas Broyer


On Wednesday, February 5, 2014 2:44:18 AM UTC+1, Dapeng wrote:

 u can use the dom element class 

 @UiField Element myRow;


…or TableRowElement if you need/want a more tighter-typed value. 

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


JSONSplittable#setSize() fails if new size is bigger than existing size

2014-02-05 Thread Andreas Kohn
Hi,

I was working today with autobeans in a JSON format that is partially 
fixed, and partially open. The fixed parts we handle with regular autobean 
get/set methods, the open parts we handle with a single get/set pair that 
produces a MapString, Splittable.

One of the splittables I needed was an array of strings, and probably 
because of premature optimization I used #setSize() before filling the 
array:

ListString values = (coming from the caller)

Splittable valuesSplittable = StringQuoter.createIndexed();

valuesSplittable.setSize(values.size());
 
/// here.
for (int i = 0; i  values.size(); i++) {
Splittable valueSplittable = StringQuoter.create(values.get(i));
valueSplittable.assign(valuesSplittable, i);
}


This leads to an exception: 
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy18.setValues(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.google.web.bindery.autobean.vm.impl.ShimHandler.invoke(ShimHandler.java:85)
at com.sun.proxy.$Proxy18.setValues(Unknown Source)
at com.company.ClassTest.testSetValues(Unknown Source)
...
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.google.web.bindery.autobean.vm.impl.BeanMethod$5.invoke(BeanMethod.java:155)
at 
com.google.web.bindery.autobean.vm.impl.SimpleBeanHandler.invoke(SimpleBeanHandler.java:43)
... 32 more
Caused by: java.lang.RuntimeException: org.json.JSONException: JSONArray[0] 
not found.
at 
com.google.web.bindery.autobean.vm.impl.JsonSplittable.setSize(JsonSplittable.java:278)
at com.company.Class.setValues(Unknown Source)
... 38 more
Caused by: org.json.JSONException: JSONArray[0] not found.
at org.json.JSONArray.get(JSONArray.java:234)
at 
com.google.web.bindery.autobean.vm.impl.JsonSplittable.setSize(JsonSplittable.java:276)
... 39 more

It seems that #setSize() works fine when reducing the size of the array, 
but not when trying to increase it: #setSize() assumes that all indices 
from 0..newSize-1 are valid. 

1. Is this intentional? Or should the #setSize() method only copy to 
Min(newSize, oldSize), and fill up the array with 'null' if newSize  
oldSize, so that the assumption #size() returns the size set with 
#setSize() is retained?
2. Should a note be added to the javadoc to better specify the #setSize() 
method behavior to avoid such issues?

Regards,
Andreas

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


GWT sizing issue in iOS 7 Safari (with all apps using DockLayoutPanel?)

2014-02-05 Thread Wayne Rasmuss
I don't know anything about this specific issue, but I did just have similar 
problems with me mgwt based app getting cut off on iPhone 5(ish) and newer.

I fixed it by adjusting the viewport scale. I had been seeing it to 1 in the 
html and not setting it via mgwt utilities. This worked fine on my fourth gen 
ipod touch but not on an iphone 5.

Now I always set the viewport scale to 0.75 using mgwt on these devices.

This caused another problem where my app no longer filled the height of the 
iphone 5. I then discovered that the mgwt functions setWidthToDevicWidth and 
setHeightToDeviceHeight work better when setting the viewport for the second 
time. This fixed the second issue.

The short story is, it looks like not all cartoons of iDevices handle scaling 
the same way and messing with the viewport might help.

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


Re: GWT sizing issue in iOS 7 Safari (with all apps using DockLayoutPanel?)

2014-02-05 Thread Wayne Rasmuss
I don't know anything about this specific issue, but I did just have 
similar problems with me mgwt based app getting cut off on iPhone 5(ish) 
and newer.

I fixed it by adjusting the viewport scale. I had been seeing it to 1 in 
the html and not setting it via mgwt utilities. This worked fine on my 
fourth gen ipod touch but not on an iphone 5.

Now I always set the viewport scale to 0.75 using mgwt on these devices.

This caused another problem where my app no longer filled the height of the 
iphone 5. I then discovered that the mgwt functions setWidthToDevicWidth 
and setHeightToDeviceHeight work better when setting the viewport for the 
second time. This fixed the second issue.

The short story is, it looks like not all versions of iDevices handle 
scaling the same way and messing with the viewport might help.

On Tuesday, February 4, 2014 1:52:40 PM UTC-6, Phineas Gage wrote:

 It seems that with all GWT apps using DockLayoutPanel on iOS 7 Safari, 
 there is a vertical size issue where some content can get cut off. As an 
 example, take an iPad and check out the GWT Mail sample:

 http://gwt.googleusercontent.com/samples/Mail/Mail.html

 or even the tab bar in the MGWT showcase:

 http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCheckBox

 In both cases, some pixels from the bottom or top of the page can get cut 
 off. Changing device orientation can make it better, or worse.

 Does anyone know of a fix for this?


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


Re: JSONSplittable#setSize() fails if new size is bigger than existing size

2014-02-05 Thread Thomas Broyer
Splittable is supposed to represent any JavaScript value (except *undefined*, 
which is seen the same as *null*), and Array.length in JS is settable to 
any value (note that in some (edge?) cases, the length property is not set 
to the exact value assigned to it), extending the array with *undefined*
 items.
So I'd say it's a bug, and setSize should behave as you describe (in 
JsonSplittable; in JsoSplittable it just sets the length property of the 
underlying JS array)

On Wednesday, February 5, 2014 12:14:17 PM UTC+1, Andreas Kohn wrote:

 Hi,

 I was working today with autobeans in a JSON format that is partially 
 fixed, and partially open. The fixed parts we handle with regular autobean 
 get/set methods, the open parts we handle with a single get/set pair that 
 produces a MapString, Splittable.

 One of the splittables I needed was an array of strings, and probably 
 because of premature optimization I used #setSize() before filling the 
 array:
 
 ListString values = (coming from the caller)

 Splittable valuesSplittable = StringQuoter.createIndexed();
 
 valuesSplittable.setSize(values.size());  

 /// here.
 for (int i = 0; i  values.size(); i++) {
 Splittable valueSplittable = 
 StringQuoter.create(values.get(i));
 valueSplittable.assign(valuesSplittable, i);
 }
 

 This leads to an exception: 
 java.lang.reflect.UndeclaredThrowableException
 at com.sun.proxy.$Proxy18.setValues(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 com.google.web.bindery.autobean.vm.impl.ShimHandler.invoke(ShimHandler.java:85)
 at com.sun.proxy.$Proxy18.setValues(Unknown Source)
 at com.company.ClassTest.testSetValues(Unknown Source)
 ...
 Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 com.google.web.bindery.autobean.vm.impl.BeanMethod$5.invoke(BeanMethod.java:155)
 at 
 com.google.web.bindery.autobean.vm.impl.SimpleBeanHandler.invoke(SimpleBeanHandler.java:43)
 ... 32 more
 Caused by: java.lang.RuntimeException: org.json.JSONException: 
 JSONArray[0] not found.
 at 
 com.google.web.bindery.autobean.vm.impl.JsonSplittable.setSize(JsonSplittable.java:278)
 at com.company.Class.setValues(Unknown Source)
 ... 38 more
 Caused by: org.json.JSONException: JSONArray[0] not found.
 at org.json.JSONArray.get(JSONArray.java:234)
 at 
 com.google.web.bindery.autobean.vm.impl.JsonSplittable.setSize(JsonSplittable.java:276)
 ... 39 more

 It seems that #setSize() works fine when reducing the size of the array, 
 but not when trying to increase it: #setSize() assumes that all indices 
 from 0..newSize-1 are valid. 

 1. Is this intentional? Or should the #setSize() method only copy to 
 Min(newSize, oldSize), and fill up the array with 'null' if newSize  
 oldSize, so that the assumption #size() returns the size set with 
 #setSize() is retained?
 2. Should a note be added to the javadoc to better specify the #setSize() 
 method behavior to avoid such issues?

 Regards,
 Andreas


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


Re: Development Mode will not be supported in Firefox 27+

2014-02-05 Thread Wayne Rasmuss
I second the bi-directional breakpoints idea. That's the biggest pain point 
for me with SDM. It stinks to track down some code in your IDE then have to 
track it down again in your browser to set the break point. If I didn't 
have to do that, I wouldn't miss debugging in the IDE much.

On Tuesday, February 4, 2014 7:52:18 AM UTC-6, Ümit Seren wrote:

 Playing devil's advocate here: 
 I code in IntelliJ but I must say that I really like the experience that 
 the Chrome Developer Tools are providing. 
 From pure debugging point of view (stepping through the code) I actually 
 prefer the Dev Tools over the IDE because with the Dev Tools I can easily 
 change CSS styles, modify the DOM and see the results directly in the 
 browser. 
 Furthermore Chrome Dev Tools has some really good performance and 
 profiling tools built in. 

 There are a couple of pain points of course and things I would like to see 
 changed. 
 - Bi-directional breakpoints:  Currently if I want to set a breakpoint I 
 have to do it inside Chrome Deve Tools. It would be nice to be able to set 
 the breakpoint in my IDE and then debug inside Chrome Dev Tools and vice 
 versa. 
 - Sometimes Dev Tools crash or freeze (if you debug a huge project) or try 
 to display an array with many values. 



 On Tuesday, February 4, 2014 12:05:30 PM UTC+1, Cristiano wrote:


 No, really, the way forward is better tooling for SuperDevMode to 
 provide a similar experience to DevMode (i.e. never leave the IDE), and 
 even allow setting breakpoints and do step-by-step within JSNI.
  
 Oh if this is possible than I'm ok, I was thinking that with 
 SuperDevMode I would had been obliged to debug and breakpointing on browser 
 development tools.
 Then I need to have a look at it. 

 ...and yes if that is possible I agree that it is the way forward.



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


Newbie question: best practices for view update from Composite

2014-02-05 Thread DT79
Hi everyone,

I apologize for the stupid question buy I'm new to GWT.

I have a single page application composed with some nested custom widgets 
(composites).
I need, from a Composite, to change the main view (i. e. updating the 
widgets in the entry point class).
Which is the recommended way or the best practice to do that?
Should I use event bus?

Thanks in advance.

D.

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


Re: Newbie question: best practices for view update from Composite

2014-02-05 Thread Juan Pablo Gardella
Take a look to Activities and Places.


2014-02-05 DT79 davide.tabare...@gmail.com:

 Hi everyone,

 I apologize for the stupid question buy I'm new to GWT.

 I have a single page application composed with some nested custom widgets
 (composites).
 I need, from a Composite, to change the main view (i. e. updating the
 widgets in the entry point class).
 Which is the recommended way or the best practice to do that?
 Should I use event bus?

 Thanks in advance.

 D.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: error 500 server-side

2014-02-05 Thread Juan Pablo Gardella
Could you send the server side log?


2014-02-05 Davide Micheletti d.michelett...@gmail.com:

 Hi all, i have that error but only in run-mode.. The error says that i've
 to see the server log but i don't know how.. Someone can help me?? However
 why does the error come only in run-mode and not in dev-mode?

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Using GWT SuperDevMode in application containing many modules

2014-02-05 Thread Ivan Lazov
Jens,

I've tried your suggestion. Created a new module which inherits the 
submodule that I want to work on and entered an EntryPoint class (but I've 
left the onModuleLoad() method empty, cause I can't instantiate my 
moduledon't havy any mechanism which allow me to load any of my submodules. 
Actually all my submodules are injected using GIN in my main module). After 
that I ran my app, execute an RPC call to the server and received Error 404 
Not Found.

Also I've tried once again the SDM to see what the output will be, and I 
end up with no compiled js code.

*EDIT*:
I've created a test project with GWT 2.6 in which I want to show you how is 
my production app organized - *link*https://github.com/IvanLazov/superdevmode/

1) On branch master is the initial setup of the project containing single 
module App.gwt.xml with entry point App.
In the app.html I'm loading app/app.nocache.js file.

Running the codeserver and making some change on the client code, after 
recompile I'm able to retrieve the changes. Everything is working as it 
should.

2) On branch admin, I've created a new module Admin.gwt.xml without 
specifying the entry point class(this is actually the case in my production 
app), and an AdminView class which is a Widget in which I'm showing an 
alert message.
In the app.html page I've added the second js script admin/admin.nocache.js.

After compiling the main module App.gwt.xml with the codeserver, I've 
received only compiled classes that were used in the entry point class App.
Tried to compile only the Admin.gwt.xml module and again no results. 

After that in the Admin.gwt.xml module I specified the EntryPoint and 
created a new instance of AdminView which I had there.
After compiling again with the codeserver I was able to receive the source 
maps for this module too.

*That leads me to the point that the codeserver only compiles classes that 
are loaded in the EntryPoint, correct me if I'm wrong.*

3) In my third case, I created branch admintest, in which I tried the 
suggestion that @Jens told me.
Added a new AdminTest.gwt.xml module and defined an empty EntryPoint class.
Both the App.gwt.xml and AdminTest.gwt.xml inhertis the Admin.gwt.xml 
module and are renamed to app.

But while compiling, the generated js script files are overwritten.

Hope with this example you'll get an idea of the way the modules in my 
production app are.


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


Re: error 500 server-side

2014-02-05 Thread Davide Micheletti
is that the prob.. i don't know how see it..


On Wed, Feb 5, 2014 at 4:54 PM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 Could you send the server side log?


 2014-02-05 Davide Micheletti d.michelett...@gmail.com:

 Hi all, i have that error but only in run-mode.. The error says that i've
 to see the server log but i don't know how.. Someone can help me?? However
 why does the error come only in run-mode and not in dev-mode?

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
 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.
For more options, visit https://groups.google.com/groups/opt_out.


error 500 server-side

2014-02-05 Thread Davide Micheletti
Hi all, i have that error but only in run-mode.. The error says that i've
to see the server log but i don't know how.. Someone can help me?? However
why does the error come only in run-mode and not in dev-mode?

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


Re: error 500 server-side

2014-02-05 Thread Davide Micheletti
i'm developing in Eclipse with GWT 2.5.1..


On Wed, Feb 5, 2014 at 5:07 PM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 Which server are you using?


 2014-02-05 Davide Micheletti d.michelett...@gmail.com:

 is that the prob.. i don't know how see it..


 On Wed, Feb 5, 2014 at 4:54 PM, Juan Pablo Gardella 
 gardellajuanpa...@gmail.com wrote:

 Could you send the server side log?


 2014-02-05 Davide Micheletti d.michelett...@gmail.com:

 Hi all, i have that error but only in run-mode.. The error says that
 i've to see the server log but i don't know how.. Someone can help me??
 However why does the error come only in run-mode and not in dev-mode?

  --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
 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.
 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.
 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: error 500 server-side

2014-02-05 Thread Juan Pablo Gardella
Which server are you using?


2014-02-05 Davide Micheletti d.michelett...@gmail.com:

 is that the prob.. i don't know how see it..


 On Wed, Feb 5, 2014 at 4:54 PM, Juan Pablo Gardella 
 gardellajuanpa...@gmail.com wrote:

 Could you send the server side log?


 2014-02-05 Davide Micheletti d.michelett...@gmail.com:

 Hi all, i have that error but only in run-mode.. The error says that
 i've to see the server log but i don't know how.. Someone can help me??
 However why does the error come only in run-mode and not in dev-mode?

  --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com
 .
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
 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.
 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: error 500 server-side

2014-02-05 Thread Thomas Broyer
That doesn't answer the question: how/where are you deploying the app? If 
you're using DevMode as the server, then have a look at the Console view in 
Eclipse.
Note that you can very well use Debug As… → Web Application and run your 
app in prod mode (just don't use the ?gwt.codesvr= in the URL); that way 
you can debug your server-side code.

On Wednesday, February 5, 2014 5:14:27 PM UTC+1, Davide Micheletti wrote:

 i'm developing in Eclipse with GWT 2.5.1..


 On Wed, Feb 5, 2014 at 5:07 PM, Juan Pablo Gardella 
 gardella...@gmail.comjavascript:
  wrote:

 Which server are you using?


 2014-02-05 Davide Micheletti d.miche...@gmail.com javascript::

 is that the prob.. i don't know how see it..


 On Wed, Feb 5, 2014 at 4:54 PM, Juan Pablo Gardella 
 gardella...@gmail.com javascript: wrote:

 Could you send the server side log?


 2014-02-05 Davide Micheletti d.miche...@gmail.com javascript::

 Hi all, i have that error but only in run-mode.. The error says that 
 i've to see the server log but i don't know how.. Someone can help me?? 
 However why does the error come only in run-mode and not in dev-mode? 
  
  -- 
 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.comjavascript:
 .
 To post to this group, send email to 
 google-we...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 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.comjavascript:
 .
 To post to this group, send email to 
 google-we...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 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.comjavascript:
 .
 To post to this group, send email to 
 google-we...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 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 javascript:.
 To post to this group, send email to 
 google-we...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Using GWT SuperDevMode in application containing many modules

2014-02-05 Thread Jens


 *That leads me to the point that the codeserver only compiles classes that 
 are loaded in the EntryPoint, correct me if I'm wrong.*


GWT does remove unused Java code before compiling to JS. So if your 
EntryPoint is empty, then GWT will remove everything and doesn't compile 
anything except the empty EntryPoint.
 

3) In my third case, I created branch admintest, in which I tried the 
 suggestion that @Jens told me.
 Added a new AdminTest.gwt.xml module and defined an empty EntryPoint class.
 Both the App.gwt.xml and AdminTest.gwt.xml inhertis the Admin.gwt.xml 
 module and are renamed to app.

 But while compiling, the generated js script files are overwritten.


What I meant was that you only run AdminTest in SDM and in the EntryPoint 
class of AdminTest you would create your AdminView you are working on.

Taking your admintest branch:

1.) move EntryPoint of Admintest to com/sdm/app/client/admin/client/
2.) move Admintest.gwt.xml to com/sdm/app/client/admin/ and update the 
entry point path in your xml.
3.) In your Admintest EntryPoint create an AdminView and put it on the 
RootPanel. ( = bootstrap your sub module)
4.) Run Admintest using SDM.

(in your html file only reference app.nocache.js)

Now SDM should only see and compile code from your admin module. In your 
production app to bootstrap a sub module you most likely need a core module 
or similar that contains your infrastructure code like GIN injector, 
GWT-RPC services, etc.


Because our app needs to be migrated to multiple modules as well, I can put 
up a github project showing how I plan to layout our app (including GIN).


-- J.

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


Re: error 500 server-side

2014-02-05 Thread Davide Micheletti
Sorry.. I didn't understand.. However, i have deploied the app on tomcat
server (in the same pc) after exported it with maven plug in ..

Il mercoledì 5 febbraio 2014, Thomas Broyer t.bro...@gmail.com ha scritto:

 That doesn't answer the question: how/where are you deploying the app? If
 you're using DevMode as the server, then have a look at the Console view in
 Eclipse.
 Note that you can very well use Debug As… → Web Application and run your
 app in prod mode (just don't use the ?gwt.codesvr= in the URL); that way
 you can debug your server-side code.

 On Wednesday, February 5, 2014 5:14:27 PM UTC+1, Davide Micheletti wrote:

 i'm developing in Eclipse with GWT 2.5.1..


 On Wed, Feb 5, 2014 at 5:07 PM, Juan Pablo Gardella 
 gardella...@gmail.com wrote:

 Which server are you using?


 2014-02-05 Davide Micheletti d.miche...@gmail.com:

 is that the prob.. i don't know how see it..


 On Wed, Feb 5, 2014 at 4:54 PM, Juan Pablo Gardella 
 gardella...@gmail.com wrote:

 Could you send the server side log?


 2014-02-05 Davide Micheletti d.miche...@gmail.com:

 Hi all, i have that error but only in run-mode.. The error says that
 i've to see the server log but i don't know how.. Someone can help me??
 However why does the error come only in run-mode and not in dev-mode?

  --
 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-we...@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit
 .
 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-we...@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 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-we...@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 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-we...@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 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.comjavascript:_e(%7B%7D,'cvml','google-web-toolkit%2bunsubscr...@googlegroups.com');
 .
 To post to this group, send email to 
 google-web-toolkit@googlegroups.comjavascript:_e(%7B%7D,'cvml','google-web-toolkit@googlegroups.com');
 .
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
Davide Micheletti

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


Compile time with a large project

2014-02-05 Thread James Wendel
We have a fairly large single GWT project that we feel has out-grown itself 
at this point.  It's setup in a way where we could split it out into a 
collection of smaller projects (though this is not a simple task).  What 
I'm looking to find out: does compile time of large GWT projects scale 
linearly with the size of the project?  Meaning, if we do split the project 
up into a bunch of smaller chunks, would we really save much during the 
compile process?

We're running GWT 2.4.0 with a collection of various libraries (GXT2.2.5, 
GXT3.0.6, GWTP, and other goodies).

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


Re: Compile time with a large project

2014-02-05 Thread Jim Douglas
Just curious, how long is your compilation time?  I think our GWT project 
is relatively big (well over 100,000 lines of client-side Java source code; 
the split point report shows total generated code size about 1.5MB), and it 
compiles 5 permutations in about 70 seconds on my system.  (We compile more 
permutations on production, but English-only is enough for most of my 
testing.)

On Wednesday, February 5, 2014 9:18:02 AM UTC-8, James Wendel wrote:

 We have a fairly large single GWT project that we feel has out-grown 
 itself at this point.  It's setup in a way where we could split it out into 
 a collection of smaller projects (though this is not a simple task).  What 
 I'm looking to find out: does compile time of large GWT projects scale 
 linearly with the size of the project?  Meaning, if we do split the project 
 up into a bunch of smaller chunks, would we really save much during the 
 compile process?

 We're running GWT 2.4.0 with a collection of various libraries (GXT2.2.5, 
 GXT3.0.6, GWTP, and other goodies).


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


NPE when generating a RequestContext with a Map

2014-02-05 Thread Nicolas Morel
Hello, 

I wanted to test the new Map support in RF with GWT 2.6.0 and my first test 
failed :( 

Here is my RequestContext :

@Service( MyService.class )
public interface MyServiceContext extends RequestContext {
RequestMapInteger, Integer getMap();
}

When I compile, I have this NullPointerException :

[INFO] java.lang.NullPointerException
[INFO] at 
com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator.writeContextImplementations(RequestFactoryGenerator.java:407)
[INFO] at 
com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator.generate(RequestFactoryGenerator.java:203)
[INFO] at 
com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[INFO] at 
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:676)

If I change the MapInteger, Integer to a ListInteger, it works.

Before I open an issue, is there something I'm not doing correctly ?

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


Re: Compile time with a large project

2014-02-05 Thread Jens
I assume with multiple projects you mean multiple apps each having its own 
html host page? I don't think you will gain a lot because at the end you 
have to compile the same amount of source files regardless if its one big 
project or 10 smaller projects.

If your app takes really that long to compile, I would first go for 
distributed compilation so you can compile your permutations in parallel on 
multiple hosts.

https://code.google.com/p/google-web-toolkit/wiki/DistributedBuilds

-- J.

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


Re: NPE when generating a RequestContext with a Map

2014-02-05 Thread Jens
Your map must be a property of an Entity/ValueProxy. At least thats my 
impression after skimming through the tests 
of https://gwt-review.googlesource.com/#/c/3186/10

-- J.

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


Re: Compile time with a large project

2014-02-05 Thread James Wendel
On our build machine (which isn't the fastest thing in the world), it takes 
40 minutes to run javac + build 18 permutations.  Running the compileReport 
on it, tie Full code size is just under 5MB.

And yes, multiple apps, each having their own html host pages.  I was 
thinking that splitting them out would reduce the global optimization work 
done by the GWT compiler.


On Wednesday, February 5, 2014 12:37:09 PM UTC-6, Jens wrote:

 I assume with multiple projects you mean multiple apps each having its own 
 html host page? I don't think you will gain a lot because at the end you 
 have to compile the same amount of source files regardless if its one big 
 project or 10 smaller projects.

 If your app takes really that long to compile, I would first go for 
 distributed compilation so you can compile your permutations in parallel on 
 multiple hosts.

 https://code.google.com/p/google-web-toolkit/wiki/DistributedBuilds

 -- J.


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


Re: Compile time with a large project

2014-02-05 Thread James Wendel
To add.  the permutation-0.js generated by the compileReport is 640MB. 
 And using cloc http://cloc.sourceforge.net/, we are at 200k lines of 
code for java+xml (for uiBinder).

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


Re: Compile time with a large project

2014-02-05 Thread Jens


 On our build machine (which isn't the fastest thing in the world), it 
 takes 40 minutes to run javac + build 18 permutations.  Running the 
 compileReport on it, tie Full code size is just under 5MB.


Sounds like your build machine is either really slow or CPU is not at 100% 
during compilation. Do you use -localWorkers during compile? A single 
permutation of our app is 3MB and we compile 5 permutations. On a developer 
machine (Mac Mini - 16 GB RAM) it only takes a couple of minutes.

Does your build machine have enough RAM? Maybe it is swapping all the time..

-- J.


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


Re: Compile time with a large project

2014-02-05 Thread Jim Douglas
Right.  On a fast machine (Core i7 with a lot of RAM and using 
-localWorkers 2), that should be maybe 5-10 minutes, not 40.

On Wednesday, February 5, 2014 11:23:11 AM UTC-8, Jens wrote:

 On our build machine (which isn't the fastest thing in the world), it 
 takes 40 minutes to run javac + build 18 permutations.  Running the 
 compileReport on it, tie Full code size is just under 5MB.


 Sounds like your build machine is either really slow or CPU is not at 100% 
 during compilation. Do you use -localWorkers during compile? A single 
 permutation of our app is 3MB and we compile 5 permutations. On a developer 
 machine (Mac Mini - 16 GB RAM) it only takes a couple of minutes.

 Does your build machine have enough RAM? Maybe it is swapping all the 
 time..

 -- J.




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


Re: Compile time with a large project

2014-02-05 Thread James Wendel
It's a VM with 4 CPU cores (X5690 CPU, Xeon's are from Q1 2011), and 10GB 
of ram.  It looks like the 40 minute quote was doing with localWorkers=1. 
 On another build with localWorkers=3, the build time was 12 minutes 30 
seconds.

It looks like on the GWT compile we set:
-XX:MaxPermSize=128M
-Xmx1536M
-XX:+UseGCOverheadLimit


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


Re: Compile time with a large project

2014-02-05 Thread Jim Douglas
That's a lot better than 40 minutes.  It would get even better if there 
wasn't a VM in the mix.

On Wednesday, February 5, 2014 11:44:35 AM UTC-8, James Wendel wrote:

 It's a VM with 4 CPU cores (X5690 CPU, Xeon's are from Q1 2011), and 10GB 
 of ram.  It looks like the 40 minute quote was doing with localWorkers=1. 
  On another build with localWorkers=3, the build time was 12 minutes 30 
 seconds.

 It looks like on the GWT compile we set:
 -XX:MaxPermSize=128M
 -Xmx1536M
 -XX:+UseGCOverheadLimit




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


Re: Compile time with a large project

2014-02-05 Thread Andrei
Splitting one project into several projects will dramatically increase the 
compilation time and the total size of your code. There will be a lot of 
duplicate work for GWT to do on each project, and each project will have to 
import a lot of the same classes.

I would only recommend splitting out a project if you have a very distinct 
use case (i.e. Admin app that very few users are allowed to access, or 
Setup add that is required only for new users, etc.), and if you rarely 
make changes to it. Then it will mostly compile the main project, and it 
will be slightly faster.

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


GWT wrapper for JSPlumb

2014-02-05 Thread Srini v
Guys,

is there already a GWT wrapper to JSPlumb js file. If there is, can you
please point out the location

Cheers
GVS

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


Re: GWT wrapper for JSPlumb

2014-02-05 Thread Juan Pablo Gardella
I found with the first google jsplumb gwt, I didn't try it:

https://code.google.com/p/gwt-jsplumb/


2014-02-05 Srini v gvssrini...@gmail.com:

 Guys,

 is there already a GWT wrapper to JSPlumb js file. If there is, can you
 please point out the location

 Cheers
 GVS

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT wrapper for JSPlumb

2014-02-05 Thread Srini v
there is nothing in it, i cant see the  source code unfortunately , looks
like a dead project


On Thu, Feb 6, 2014 at 2:42 AM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 I found with the first google jsplumb gwt, I didn't try it:

 https://code.google.com/p/gwt-jsplumb/


 2014-02-05 Srini v gvssrini...@gmail.com:

 Guys,

 is there already a GWT wrapper to JSPlumb js file. If there is, can you
 please point out the location

 Cheers
 GVS

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compile time with a large project

2014-02-05 Thread David
Are you using a 64bit JVM ? My experience is that when you use 64bit on VMs
that it is about twice as fast as a 32bit version.


On Wed, Feb 5, 2014 at 9:53 PM, Jim Douglas jdou...@basis.com wrote:

 That's a lot better than 40 minutes.  It would get even better if there
 wasn't a VM in the mix.

 On Wednesday, February 5, 2014 11:44:35 AM UTC-8, James Wendel wrote:

 It's a VM with 4 CPU cores (X5690 CPU, Xeon's are from Q1 2011), and 10GB
 of ram.  It looks like the 40 minute quote was doing with localWorkers=1.
  On another build with localWorkers=3, the build time was 12 minutes 30
 seconds.

 It looks like on the GWT compile we set:
 -XX:MaxPermSize=128M
 -Xmx1536M
 -XX:+UseGCOverheadLimit


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/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.
For more options, visit https://groups.google.com/groups/opt_out.


[gwt-contrib] Using JIRA as issue tracker instead of google code - and other things

2014-02-05 Thread Gilberto Torrezan Filho
Hi,

I was wondering if you have considered using JIRA as issue tracker instead 
of the suplied by google code. Many open source projects uses it (such as 
JBoss Errai, at https://issues.jboss.org/browse/ERRAI ) and I think it is 
far superior than the vanilla google code issue tracker - for the 
developers and for the community.

I was thinking about it because of the fact most of (all?) the issues fixed 
on 2.6.0 release are marked as Fixed_Not_Released - which implies you 
don't have an automatic script to update those issues on release... and I 
don't know if this kind of task could be scripted using google code APIs. 
The fact is you can do that using JIRA, beside all other advantages.

Anyway, using JIRA, google code or any other issue tracker, I think you 
should automatize the process of releasing the package (including uploads 
of the binary, the source and the javadoc to gwtproject.org and to Maven 
central) and closing the related issues at the issue tracker,
 to avoid awkward situations with the project documentation.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Using JIRA as issue tracker instead of google code - and other things

2014-02-05 Thread Brian Slesinsky
I just ran a bulk edit to change all 2.6 bugs marked fixed not released
to fixed. Thanks for catching that!

(Switching to a different issue tracker is a whole different discussion.)

- Brian



On Wed, Feb 5, 2014 at 11:22 AM, Gilberto Torrezan Filho 
gilberto.torre...@gmail.com wrote:

 Hi,

 I was wondering if you have considered using JIRA as issue tracker instead
 of the suplied by google code. Many open source projects uses it (such as
 JBoss Errai, at https://issues.jboss.org/browse/ERRAI ) and I think it is
 far superior than the vanilla google code issue tracker - for the
 developers and for the community.

 I was thinking about it because of the fact most of (all?) the issues
 fixed on 2.6.0 release are marked as Fixed_Not_Released - which implies
 you don't have an automatic script to update those issues on release... and
 I don't know if this kind of task could be scripted using google code APIs.
 The fact is you can do that using JIRA, beside all other advantages.

 Anyway, using JIRA, google code or any other issue tracker, I think you
 should automatize the process of releasing the package (including uploads
 of the binary, the source and the javadoc to gwtproject.org and to Maven
 central) and closing the related issues at the issue tracker,
  to avoid awkward situations with the project documentation.

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 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 GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.