Re: ListBox vs ValueListBox

2014-09-03 Thread Thomas Broyer


On Wednesday, September 3, 2014 6:03:58 AM UTC+2, Mohammed Sameen wrote:
>
> Hi,
>   Can anyone Explain me the difference between ListBox vs ValueListBox? 
> When to use ValueListBox?Thanks in Advance..
>

ValueListBox uses "data binding"; you have a set of available values (of 
any type) and a selected value.
ListBox is only about Strings: you have a set of options, each with a label 
and optional (String) value, and a selected index (and you later ask the 
ListBox for the value at that particular index).

-- 
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/d/optout.


remove directory with contents on users requests

2014-09-03 Thread anna amat
Hi!

Does anyone knows how to remove from the server a Folder and its contents
on user's request?

I use a servlet to perform that for a single file using

File f = new File("FilePath");
f.delete();


It does work if "FilePath" is an empty Folder but not if it is not empty.

I would like something like "rm -r /blabla/myFolder" in Linux.


Thanks!
anna.

-- 
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/d/optout.


Re: ListBox vs ValueListBox

2014-09-03 Thread Jens
ListBox is a direct wrapper around HTML  element and thus can only 
hold strings. ValueListBox works on top of that and allows to handle any 
object.

-- 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/d/optout.


Re: remove directory with contents on users requests

2014-09-03 Thread Jens
You have to delete all files one by one. In Java7+ you can use 
Files.walkFileTree() to visit all files. If you are still on Java6 I am 
pretty sure Apache Commons or Guava will provide a similar utility method.

-- 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/d/optout.


Re: remove directory with contents on users requests

2014-09-03 Thread anna amat
ok!
Thanks Jens.


2014-09-03 10:39 GMT+02:00 Jens :

> You have to delete all files one by one. In Java7+ you can use
> Files.walkFileTree() to visit all files. If you are still on Java6 I am
> pretty sure Apache Commons or Guava will provide a similar utility method.
>
> -- 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/d/optout.
>

-- 
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/d/optout.


Re: ListBox vs ValueListBox

2014-09-03 Thread Mohammed Sameen
Thanks for your reply,
I am going to implement ValueListBox.Is there any way to create two 
dependent ValueListBox?See the screenshot.On the selection of category it 
will display the corresponding option in other listbox?

On Wednesday, September 3, 2014 9:33:58 AM UTC+5:30, Mohammed Sameen wrote:
>
> Hi,
>   Can anyone Explain me the difference between ListBox vs ValueListBox? 
> When to use ValueListBox?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.
For more options, visit https://groups.google.com/d/optout.


Re: ListBox vs ValueListBox

2014-09-03 Thread Mohammed Sameen
Thanks for your reply,
I am going to implement ValueListBox.Is there any way to create two 
dependent ValueListBox?See the screenshot.On the selection of category it 
will display the corresponding option in other listbox?And also i need the 
flexibility to type value in valuelistbox.It will list the values like 
smartGWT combobox?

On Wednesday, September 3, 2014 9:33:58 AM UTC+5:30, Mohammed Sameen wrote:
>
> Hi,
>   Can anyone Explain me the difference between ListBox vs ValueListBox? 
> When to use ValueListBox?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.
For more options, visit https://groups.google.com/d/optout.


Re: ListBox vs ValueListBox

2014-09-03 Thread Drew Spencer
Yes there is. Simply attach a ValueChangeHandler to the first 
ValueListBox, and then implement the code to change the values on the 
second one inside the onValueChange() method. You'll need to call 
setAcceptableValues() on the second box with whatever you want in there.

On Wednesday, 3 September 2014 10:49:11 UTC+1, Mohammed Sameen wrote:
>
> Thanks for your reply,
> I am going to implement ValueListBox.Is there any way to create two 
> dependent ValueListBox?See the screenshot.On the selection of category it 
> will display the corresponding option in other listbox?And also i need the 
> flexibility to type value in valuelistbox.It will list the values like 
> smartGWT combobox?
>
> On Wednesday, September 3, 2014 9:33:58 AM UTC+5:30, Mohammed Sameen wrote:
>>
>> Hi,
>>   Can anyone Explain me the difference between ListBox vs ValueListBox? 
>> When to use ValueListBox?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.
For more options, visit https://groups.google.com/d/optout.


Strange error while compiling with 2.7.0 snapshot

2014-09-03 Thread Klemens Schrage
Hi there,

I thought I could give GWT 2.7.0 a try and downloaded the latest snapshot 
builds.

When I try to compile my project (which uses GWT-RPC) with the new jars 
strange compile errors come up.

In essence I have an abstract baseclass (TransferEvent) and some subclasses 
of that class (ATransferEvent, BTransferEvent...). My remoteservice accepts 
a list (wrapped within another object) of those events as a parameter. All 
of the mentioned classes have a standard constructor and are Serializable. 
All of them are directly within my project. TransferEvent has 2 primitive 
fields, 1 static enum and 1 transient field.

Upon compiling the first subclass (let's say ATransferEvent) the compiler 
complains about not finding the TransferEvent baseclass ("The type 
TransferEvent cannot be resolved. It is indirectly referenced from required 
.class files"). And as a consequence he claims he cannot find the 
serialize(SerializationStreamWriter, ATransferEvent) method within 
TransferEvent_FieldSerializer. I think that's because of an unknown child 
relationship between ATransferEvent and TransferEvent. The funny thing is 
that the compiler generated a TransferEvent_FieldSerializer so he seems to 
know the baseclass very well. But even for the TransferEvent_FieldSerializer 
class he complains about not knowing TransferEvent. And that error is 
printed out considerably later in the log.

I tried to reproduce the problem with a small testcase and similar 
relationships. That compiled fine. Sadly I'm not able to post the project 
(If needed I have to strip down the project). The project compiles fine 
with GWT 2.6.

Is it a question of compile order? Is it possible to print out the exploded 
compile path to find out why he cannot find the class (-logLevel TRACE and 
-strict seem to be not enough)?

Best regards
Klemens Schrage

-- 
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/d/optout.


Re: Strange error while compiling with 2.7.0 snapshot

2014-09-03 Thread Jens
Could https://code.google.com/p/google-web-toolkit/issues/detail?id=8716 be 
the problem?

-- 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/d/optout.


Re: Using @UiChild with Elements not widgets, is this even possible?

2014-09-03 Thread stuckagain
Hi,
 
I would love seeing some improvements to UiBinder that it would allow 
String of SafeHtml for children. I don't want my templates to be full of 
HTMLPanel when just a String or SafeHtml would do. Specifying these 
"children" using attributes is not really a great idea since I don't want 
to escape html in an attribute in a UiBinder file.
 
David
 

On Saturday, October 5, 2013 11:48:17 PM UTC+2, Seth wrote:

> Hi Thomas,
>
> Just one last thing, are there still no plans for uibinder element parsing 
> functionality extension like the patch in this issue 
> ? 
> Would be preeetty awesome.
>
> On Saturday, October 5, 2013 10:54:36 PM UTC+2, Thomas Broyer wrote:
>>
>> Ah sorry, hadn't looked carefully at your code: with 
>> @UiChild(tagname="div"), UiBinder expects a  ("my" being the same 
>> as the containing widget):
>>
>> 
>>   
>> 
>>   foo
>> 
>>   
>> 
>>
>> That doesn't change the problem though: apparently (looking at the code), 
>> only widgets are allowed. With the above XML, the "my:div" only exists to 
>> call the @UiChild method, passing the HTMLPanel as argument.
>>
>> On Saturday, October 5, 2013 10:49:11 PM UTC+2, Thomas Broyer wrote:
>>>
>>> Looks like I was wrong and you can only use widgets (there's an explicit 
>>> "isImportedElement" test that checks the element is within a namespace 
>>> whose URI starts with “urn:import:”)
>>>
>>> BTW, isn't the error message rather “Expected child from a urn:import 
>>> namespace, found ” ?
>>>
>>> On Saturday, October 5, 2013 9:56:14 PM UTC+2, GWTter wrote:

 Hi all,

 Although the doc 
 
  does 
 say "...add a child widget to..." in my searching it seems as if you can 
 also use UiChild with DOM elements that extend 
 com.google.gwt.dom.client.Element class. Thomas Broyer gives a brief 
 description here 
 .
  
 Since it's Thomas I'm thinking this should indeed work, however for the 
 life of me I can't get it to. It always ends up in "found unexpected child 
 element: " when the child is a div element. 

 From the comments and the doc it seems that this is the setup you're 
 supposed to have:

 @UiChild(tagname = DivElement.TAG)
 public void addDiv(DivElement div) {  //note: I've even tried "adddiv" 
 just to be sure
   //do something 
 }

 and in uibinder:

 
   foo
 


 Do I just have code tunnel vision or is this not possible? Thanks in 
 advance.

 -Seth

>>>

-- 
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/d/optout.


Re: Strange error while compiling with 2.7.0 snapshot

2014-09-03 Thread Klemens Schrage
Fits for my case since I'm on Windows and ATransferEvent is in a subpackage 
transferevent relative to TransferEvent. I never had search into this 
direction. Will give it another try by renaming the package tomorrow...

Thanks a lot so far
Regard
Klemens

Am Mittwoch, 3. September 2014 14:42:34 UTC+2 schrieb Jens:
>
> Could https://code.google.com/p/google-web-toolkit/issues/detail?id=8716 
> be the problem?
>
> -- 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/d/optout.


Re: Make gwt website crawlable without hash symbol?

2014-09-03 Thread Ronan Quillevere
As you said when you change what is behind the # inside your url you do not 
reload the page. This is the default behavior of 
anchors. http://www.hypergurl.com/anchors.html

GWT and many other frameworks use that trick to create bookmarkable url and 
handling history without having to reload the whole page in a single page 
application.

If you remove the hash your browser will see a new resource and will make a 
new query. There is no way to remove the # from your GWT app without having 
to reload the whole page.



On Tuesday, September 2, 2014 8:06:03 PM UTC+2, Joseph Lust wrote:
>
> Most browsers can scrape sites, even with the hash bang. You just need to 
> follow GWT best practices. No hashbang browsing could be possible, perhaps 
> with the HTML5 PushState API, but your app will only work on the most 
> recent browsers.
>
> See 
> https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/hashbang
>
>
> Joe 
>

-- 
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/d/optout.


Re: Make gwt website crawlable without hash symbol?

2014-09-03 Thread Ronan Quillevere
Now you can maybe create a servlet redirecting froml 
www.abc.com/question/10245857. to the url with # ?


On Wednesday, September 3, 2014 3:47:14 PM UTC+2, Ronan Quillevere wrote:
>
> As you said when you change what is behind the # inside your url you do 
> not reload the page. This is the default behavior of anchors. 
> http://www.hypergurl.com/anchors.html
>
> GWT and many other frameworks use that trick to create bookmarkable url 
> and handling history without having to reload the whole page in a single 
> page application.
>
> If you remove the hash your browser will see a new resource and will make 
> a new query. There is no way to remove the # from your GWT app without 
> having to reload the whole page.
>
>
>
> On Tuesday, September 2, 2014 8:06:03 PM UTC+2, Joseph Lust wrote:
>>
>> Most browsers can scrape sites, even with the hash bang. You just need to 
>> follow GWT best practices. No hashbang browsing could be possible, perhaps 
>> with the HTML5 PushState API, but your app will only work on the most 
>> recent browsers.
>>
>> See 
>> https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/hashbang
>>
>>
>> Joe 
>>
>

-- 
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/d/optout.


Re: Make gwt website crawlable without hash symbol?

2014-09-03 Thread Thomas Broyer


On Wednesday, September 3, 2014 3:47:14 PM UTC+2, Ronan Quillevere wrote:
>
> As you said when you change what is behind the # inside your url you do 
> not reload the page. This is the default behavior of anchors. 
> http://www.hypergurl.com/anchors.html
>
> GWT and many other frameworks use that trick to create bookmarkable url 
> and handling history without having to reload the whole page in a single 
> page application.
>
> If you remove the hash your browser will see a new resource and will make 
> a new query. There is no way to remove the # from your GWT app without 
> having to reload the whole page.
>

Actually, yes, there is: pushState / 
onpopstate. http://caniuse.com/#feat=history (what Joseph called "HTML5 
PushState API" in his message)
That however means replacing your use of com.google.gwt.user.client.History 
with something else. If you're using GWT Places, it's easy 
though: https://gist.github.com/tbroyer/1883821

On Wednesday, September 3, 2014 3:49:23 PM UTC+2, Ronan Quillevere wrote:
>
> Now you can maybe create a servlet redirecting froml 
> www.abc.com/question/10245857. to the url with # ?
>

FWIW, that's what groups.google.com does; and it has "link" actions in 
menus to give you the link to share.
The advantage of this is that if your app needs authentication, redirects 
to the login form will preserve the original target URL.

-- 
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/d/optout.


GWT 2.5.1 Upgrade Issue Object doesn't support this property or method

2014-09-03 Thread robert . jackson
I just upgraded my application from GWT 2.3 to GWT 2.5.1 and SmartGWT 4p 
and viewing the app with IE 8.

The error occurs when I am just runnign the application and when I use the 
debugger.

Here is the call that fails.

private static native void setReportKeyonFlash(String reportkey) /*-{
var elem = @com.nscorp.npw.web.shared.event.AppEvent::FLASHNAME;
var swf = $doc[elem];
swf.setReportKey(reportkey);
}-*/;

The odd item is that this method is called a few times successfully. 
However after a number of clicks in the application I get the following 
failure. I have identified that failure is occurring prior to the Flex 
component being called. And it appears to come from inside 
BrowserChannelServer.invokeJavascript

This code runs successful in GWT 2.3 with SmartGWT 2.5.

When looking at the Javascript I can see all of the mapping between JS and 
the Flex component. After the error all of the mappings are null.

GWT error has occuredException caught: (TypeError) 
@com.nscorp.npw.web.shared.event.AppEvent::setReportKeyonFlash(Ljava/lang/String;)([string:
 
'dp_01_status_report_key']): Object doesn't support this property or method
com.google.gwt.event.shared.UmbrellaException: Exception caught: 
(TypeError) 
@com.nscorp.npw.web.shared.event.AppEvent::setReportKeyonFlash(Ljava/lang/String;)([string:
 
'dp_01_status_report_key']): Object doesn't support this property or method
at 
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
at 
com.google.gwt.user.client.impl.HistoryImpl.fireEvent(HistoryImpl.java:80)
at 
com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:43)
at 
com.google.gwt.user.client.impl.HistoryImpl.fireHistoryChangedImpl(HistoryImpl.java:87)
at com.google.gwt.user.client.impl.HistoryImpl.newItem(HistoryImpl.java:131)
at com.google.gwt.user.client.History.newItem(History.java:179)
at com.google.gwt.user.client.History.newItem(History.java:164)
at com.nscorp.npw.web.shared.URLUtils.createAndSetURL(URLUtils.java:54)
at com.nscorp.npw.web.shared.URLUtils.createAndSetURL(URLUtils.java:38)
at com.nscorp.npw.web.client.ModuleFactory.setTab(ModuleFactory.java:106)
at 
com.nscorp.npw.web.shared.linkadapter.LinkManager.navigate(LinkManager.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:619)

-- 
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/d/optout.


Re: Is GWT code server JDPA compliant?

2014-09-03 Thread schnell18
Hi Thomas,
  I just tried gwt-gradle-plugin. It addresses my need perfectly. However, 
I enable the JPDA debugging slightly differently than the method mentioned 
in the document. I create the gwtDevDebug to extend gwtDev  and 
setDebug(true), which is more clear and easier than the -D system property.

  To show case the power of gwt-gradle-plugin and some undocumented 
features, I created a GWT get started project here: 
https://github.com/schnell18/gwt-gs on Github as well as this gist 
 to bootstrap a new 
GWT with gwt-gradle-plugin to build.

  Thank you very much for the information!

On Wednesday, August 27, 2014 2:40:01 AM UTC-7, Thomas Broyer wrote:
>
>
>
> On Wednesday, August 27, 2014 8:13:02 AM UTC+2, schn...@gmail.com wrote:
>>
>> Hi,
>>   Recently I'm attempting to use IntelliJ IDEA 13 CE to serve as debugger 
>> for the GWT dev mode which is launched by gradle. I'd like to use the free 
>> IDEA edition to debug the client code. However, it seems to me the code 
>> server running on 9997 is not JPDA compliant as IDEA complains connection 
>> failed.
>>
>
> That port talks a GWT-specific protocol. You'll want to launch the JVM in 
> debug mode and attach to it, like any other Java program.
> With the gwt-gradle-plugin, you're however given a gwtDev task with a 
> debug option that enables JDPA on the 5005 port; see the bottom of 
> https://steffenschaefer.github.io/gwt-gradle-plugin/doc/latest/quickstart
>  
>
>>   Is it possible to debug GWT using IDEA CE? Or I have to use 
>> Eclipse/NetBean or the commercial version of IDEA?
>>
>
> You should be able to use any tool you want. And if using Eclipse for 
> instance, you're not forced to install the Google Plugin for Eclipse. It 
> should Just Work™.
>

-- 
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/d/optout.


Re: Strange error while compiling with 2.7.0 snapshot

2014-09-03 Thread Klemens Schrage
Renaming did the trick and worked for me.

Thanks for pointing me to this.

Regards
Klemens

Am Mittwoch, 3. September 2014 14:42:34 UTC+2 schrieb Jens:
>
> Could https://code.google.com/p/google-web-toolkit/issues/detail?id=8716 
> be the problem?
>
> -- 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/d/optout.


Re: Strange error while compiling with 2.7.0 snapshot

2014-09-03 Thread Klemens Schrage
After turning on perfilecompile it seems to work. However every recompile 
states the following message:

[WARN] Some preamble types became stale. Recreating them is forcing a full 
recompile. Stale preamble types: [com.google.gwt.lang.Util, 
com.google.gwt.lang.ModuleUtils, java.io.Serializable, 
com.google.gwt.lang.Array, java.lang.String, java.util.Comparator, 
java.lang.Class, com.google.gwt.lang.JavaClassHierarchySetupUtil, 
com.google.gwt.lang.Cast, java.lang.Comparable, java.lang.Object, 
java.lang.String$1, java.lang.reflect.Type, java.lang.CharSequence, 
com.google.gwt.lang.CollapsedPropertyHolder].

I changed only one line in one file. Maybe it depends on my setup but how 
would I be able to modify those types (even by accident). Most of them are 
quite readonly ones out of jars in my opinion.

Anyone seen this?

Regards
Klemens

-- 
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/d/optout.