Re: GWT 1.7 to 2.7(migration). EXT-JS help

2016-12-18 Thread Alain Ekambi
Try ext4j.our gwt wrap per for ext js. we used it to write Dikalo
https://www.dklo.co  it Supports GWT 2.7

Am 12.12.2016 18:09 schrieb <venkatasaim...@gmail.com>:

> Hi,
>
>  I have recently started migrating my application from GWT 1.7 to GWT 2.7.
> With  a limited availability of information online I was finding difficulty
> in updating.
>
> Currently my 1.7 GWT application runs on GWTEXT 2.0.4. and the last
> released GWTEXT version in the market is 2.0.6.(http://gwt-ext.com/)
>
>
>  My question-  *Does GWTEXT 2.0.6 support GWT 2.7, and is it compatible
> with browsers like IE9,10 and Microsoft edge.??*
>
> *  Is there any other available GWTEXT versions in the
> market, compatible with 2.7 GWT??*
>
>
>
> Thanks in advance.
>
>  Venkat
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" 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 https://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 "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 1.7 to 2.7(migration). EXT-JS help

2016-12-17 Thread 敏陈
just try it

if makes Error 

post it out!

在 2016年12月13日星期二 UTC+8上午1:09:55,venkata...@gmail.com写道:
>
> Hi,
>
>  I have recently started migrating my application from GWT 1.7 to GWT 2.7. 
> With  a limited availability of information online I was finding difficulty 
> in updating.
>
> Currently my 1.7 GWT application runs on GWTEXT 2.0.4. and the last 
> released GWTEXT version in the market is 2.0.6.(http://gwt-ext.com/)
>
>
>  My question-  *Does GWTEXT 2.0.6 support GWT 2.7, and is it compatible 
> with browsers like IE9,10 and Microsoft edge.??*
>
> *  Is there any other available GWTEXT versions in the 
> market, compatible with 2.7 GWT??*
>
>
>
> Thanks in advance.
>  
>  Venkat
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 1.7 to 2.7(migration). EXT-JS help

2016-12-12 Thread venkatasaimada
Hi,

 I have recently started migrating my application from GWT 1.7 to GWT 2.7. 
With  a limited availability of information online I was finding difficulty 
in updating.

Currently my 1.7 GWT application runs on GWTEXT 2.0.4. and the last 
released GWTEXT version in the market is 2.0.6.(http://gwt-ext.com/)


 My question-  *Does GWTEXT 2.0.6 support GWT 2.7, and is it compatible 
with browsers like IE9,10 and Microsoft edge.??*

*  Is there any other available GWTEXT versions in the 
market, compatible with 2.7 GWT??*



Thanks in advance.
 
 Venkat

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Download of GWT 1.7 keeps failing

2013-04-27 Thread Thomas Broyer


Why would you want to download a *4 years old* version that's more than 
likely to produce code incompatible with today's browsers? (unless you're 
only supporting oldIEs?)

On Wednesday, April 24, 2013 6:10:29 PM UTC+2, Jerin Joseph wrote:

Hi,

 I'm still facing this error, I'm not able to download the GWT version 
 1.7.1.  It breaks every time after downloading 8 MB.

 I'm trying to download from the below link,
 https://developers.google.com/web-toolkit/versions

 gwt-windows-1.7.1.ziphttp://google-web-toolkit.googlecode.com/files/gwt-windows-1.7.1.zip

 - Jerin

 On Thursday, 1 October 2009 16:05:14 UTC-4, Chris Ramsdale wrote:

 This issue has been resolved. Please try again if you were unable to 
 successfully download GWT. 

 - Chris 

 On Sep 30, 9:11 pm, Dominik Steiner dominik.j.stei...@googlemail.com 
 wrote: 
  try using a download manager 
  
  Dominik 
  
  On 30 Sep., 08:23, R fiprojects@gmail.com wrote: 
  
  
  
   Anyone else suffering this? My ISP is fine - I've downloaded Sun Java 
   SDK just fine, and Apache ANT, but I've had three attempts 
 downloading 
   GWT and the download breaks and the zip file is corrupted.  First and 
   third times, it broke at 1.7mb, second time it went to 8mb... What 
   gives? I'm curious to muck about with it... 
  
   Thanks...



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




Re: Download of GWT 1.7 keeps failing

2013-04-24 Thread Jerin Joseph
Hi,

I'm still facing this error, I'm not able to download the GWT version 
1.7.1.  It breaks every time after downloading 8 MB.

I'm trying to download from the below link,
https://developers.google.com/web-toolkit/versions

gwt-windows-1.7.1.ziphttp://google-web-toolkit.googlecode.com/files/gwt-windows-1.7.1.zip

- Jerin

On Thursday, 1 October 2009 16:05:14 UTC-4, Chris Ramsdale wrote:

 This issue has been resolved. Please try again if you were unable to 
 successfully download GWT. 

 - Chris 

 On Sep 30, 9:11 pm, Dominik Steiner dominik.j.stei...@googlemail.com 
 wrote: 
  try using a download manager 
  
  Dominik 
  
  On 30 Sep., 08:23, R fiprojects@gmail.com wrote: 
  
  
  
   Anyone else suffering this? My ISP is fine - I've downloaded Sun Java 
   SDK just fine, and Apache ANT, but I've had three attempts downloading 
   GWT and the download breaks and the zip file is corrupted.  First and 
   third times, it broke at 1.7mb, second time it went to 8mb... What 
   gives? I'm curious to muck about with it... 
  
   Thanks...

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




Re: Does GWT 1.7 support Class.getSimpleName()?

2011-11-02 Thread Patrick Tucker
Rate the issue up:
http://code.google.com/p/google-web-toolkit/issues/detail?id=1944

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/BpfjJmR59FwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Upgrade GWT 1.7 to GWT 2.3

2011-06-07 Thread Rajesh Waran
Please share any experience regarding the upgrade.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Migrating GWT 1.7 to GWT 2.2

2011-02-24 Thread Rajesh Waran
Thanks Philipe, will test it.

On Wed, Feb 23, 2011 at 6:32 PM, Philippe Beaudoin
philippe.beaud...@gmail.com wrote:
 There is a vote in progress to get a GWT 2.2-compatible version of the
 gwt-maven-plugin:
   https://groups.google.com/forum/?pli=1#!topic/codehaus-mojo-gwt-maven-plugin-users/iyp0V83Tktg
 If you need it very quickly, feel free to grab my version:
     pluginRepositories
         pluginRepository
             idgwtplatform.plugin/id
             nameGwtplatform custom plugin epository/name
             urlhttp://maven.gwt-platform.googlecode.com/hg//url
             layoutdefault/layout
         /pluginRepository
     /pluginRepositories
   plugin
       groupIdorg.codehaus.mojo/groupId
       artifactIdgwt-maven-plugin/artifactId
       version2.2.0/version
   /plugin

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Migrating GWT 1.7 to GWT 2.2

2011-02-23 Thread Rajeshwaran
Hi,
Currently we r running GWT1.7 and like to migrate to GWT 2.2.0, would
like to know

1. whether maven has proper plugin to support it since we use maven
for building.
2. Host mode support from maven.

regards
Raj




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Migrating GWT 1.7 to GWT 2.2

2011-02-23 Thread Philippe Beaudoin
There is a vote in progress to get a GWT 2.2-compatible version of the 
gwt-maven-plugin:
  
https://groups.google.com/forum/?pli=1#!topic/codehaus-mojo-gwt-maven-plugin-users/iyp0V83Tktg

If you need it very quickly, feel free to grab my version:

pluginRepositories
pluginRepository
idgwtplatform.plugin/id
nameGwtplatform custom plugin epository/name
urlhttp://maven.gwt-platform.googlecode.com/hg//url
layoutdefault/layout
/pluginRepository
/pluginRepositories

  plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdgwt-maven-plugin/artifactId
  version2.2.0/version
  /plugin

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Migrating from GWT 1.7 to GWT 2.x

2011-02-15 Thread Kwen K. Liu
Hi Guys,

I have just got in hand a old version of a Gwt app that used GWT 1.7,
currently I want to migrate it to GWT2.x( probably 2.2).

I searched online but got nothing very useful, basically, I have tried
to replace the old gwt-usr.jar  gwt-servlet.jar in the build path
with the corresponding ones from GWT 2.2, but has got the following
error:


compile.gwt:

 [exec] Loading module 'com.iwp.navistar.NavistarClient'
 [exec]Loading inherited module 'com.google.gwt.user.User'
 [exec]   Loading inherited module
'com.google.gwt.canvas.Canvas'
 [exec]  Loading inherited module
'com.google.gwt.canvas.dom.DOM'
 [exec] Loading inherited module
'com.google.gwt.dom.DOM'
 [exec]Loading inherited module
'com.google.gwt.core.Core'
 [exec]   Loading inherited module
'com.google.gwt.core.CompilerParameters'
 [exec]  [ERROR] Line 23: Unexpected element
'define-configuration-property'
 [exec]  [ERROR] Failure while parsing XML

 [exec] com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)
 [exec]  at
com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedElement(DefaultSchema.java:
80)
 [exec]  at
com.google.gwt.dev.util.xml.Schema.onUnexpectedElement(Schema.java:93)
--

So, can someone give me some help here?

Thank you!

Kwen

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 - Development Environment using Eclipse, unable to find weird on classpath

2010-11-05 Thread Panke
It is called WatchdogMain.gwt.xml (with a lowercase D) and is located
at de/spenarion/Watchdog

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 - Development Environment using Eclipse, unable to find weird on classpath

2010-11-04 Thread Panke
On 3 Nov., 21:09, Rajeev Dayal rda...@google.com wrote:
 Can you post the source for WatchdogMain.html?


Hi,

you can find a slightly modified version here: 
http://paste.pocoo.org/show/285884/

Thank you, Panke

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 - Development Environment using Eclipse, unable to find weird on classpath

2010-11-04 Thread Rajeev Dayal
What is the name of your .gwt.xml file? Is it called WatchDogMain.gwt.xml?
Is it located under your src root/de/szenarion/watchdog/ ?


On Thu, Nov 4, 2010 at 3:13 AM, Panke t.pankr...@googlemail.com wrote:

 On 3 Nov., 21:09, Rajeev Dayal rda...@google.com wrote:
  Can you post the source for WatchdogMain.html?
 

 Hi,

 you can find a slightly modified version here:
 http://paste.pocoo.org/show/285884/

 Thank you, Panke

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 - Development Environment using Eclipse, unable to find weird on classpath

2010-11-03 Thread Rajeev Dayal
Can you post the source for WatchdogMain.html?

On Tue, Nov 2, 2010 at 4:38 AM, Panke t.pankr...@googlemail.com wrote:

 Hello everybody,

 I’m a student of computer science and in a new job of mine I can work
 at an existing application with gwt.
 Sadly I’m running into problems setting up my development environment.
 At the moment I’m able to compile
 and deploy the application to tomcat successfully, but running it in
 hosted mode does not work.

 When I click the run green button, the the hosted browser comes up and
 in the develoment shell I get these errors:

  [TRACE] The development shell servlet received a request for
 'szenarion/watchdog/server/WatchdogImpl' in module 'de.gwt.xml'
   [TRACE] Loading module 'de'
[ERROR] Unable to find 'de.gwt.xml' on your classpath; could be a
 typo, or maybe you forgot to include a classpath entry for source?

 What I don’t understand is, that I have no module called de.gwt.xml. I
 guess this is an error in my configuration,
 but I don’t know where.

 This is my first time  (seriously) using java and my very first time
 using gwt, so I’ll descripe my environment as
 precise as possible:

 I’m using Windows 7 x64, GWT 1.7 and I have Java6 x86 and x64
 installed. JAVA_HOME points to the x86 version as does my eclipse run
 configuration. Besides that, the run configuration looks like this:

 main class: com.google.gwt.dev.GWTShell
 arguments: -out www de.szenarion.watchdog.WatchdogMain/
 WatchdogMain.html
 classpath: gwt-dev-windows.jar gwt-servlet.jar gwt-user.jar (+ 3rd
 party libs)
 environment: java_home as stated above

 Does anyone know what goes wrong here?

 Thank you, Panke

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 1.7 - Development Environment using Eclipse, unable to find weird on classpath

2010-11-02 Thread Panke
Hello everybody,

I’m a student of computer science and in a new job of mine I can work
at an existing application with gwt.
Sadly I’m running into problems setting up my development environment.
At the moment I’m able to compile
and deploy the application to tomcat successfully, but running it in
hosted mode does not work.

When I click the run green button, the the hosted browser comes up and
in the develoment shell I get these errors:

 [TRACE] The development shell servlet received a request for 
 'szenarion/watchdog/server/WatchdogImpl' in module 'de.gwt.xml'
  [TRACE] Loading module 'de'
   [ERROR] Unable to find 'de.gwt.xml' on your classpath; could be a typo, 
   or maybe you forgot to include a classpath entry for source?

What I don’t understand is, that I have no module called de.gwt.xml. I
guess this is an error in my configuration,
but I don’t know where.

This is my first time  (seriously) using java and my very first time
using gwt, so I’ll descripe my environment as
precise as possible:

I’m using Windows 7 x64, GWT 1.7 and I have Java6 x86 and x64
installed. JAVA_HOME points to the x86 version as does my eclipse run
configuration. Besides that, the run configuration looks like this:

main class: com.google.gwt.dev.GWTShell
arguments: -out www de.szenarion.watchdog.WatchdogMain/
WatchdogMain.html
classpath: gwt-dev-windows.jar gwt-servlet.jar gwt-user.jar (+ 3rd
party libs)
environment: java_home as stated above

Does anyone know what goes wrong here?

Thank you, Panke

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RPC SerializationException when going from GWT 1.7 to GWT 2.0.4

2010-09-02 Thread Blagoja Chavkoski
Hi,

I would say...try with the normal implement Serializable but its important
to add for the classes Uniq serilizationUID
and i think will work...

regards

On Mon, Aug 30, 2010 at 11:35 PM, Ken Wielechowski 
ken.wielechow...@gmail.com wrote:

 In going from GWT 1.7 to GWT 2.0.4, I am getting the following
 exception:

 dispatching incoming RPC call
 com.google.gwt.user.client.rpc.SerializationException:
 java.lang.reflect.InvocationTargetException
 at

 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeWithCustomSerializer
 (ServerSerializationStreamWriter)
 Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
 'java.util.ArrayList' was not included in the set of types which can
 be serialized by this SerializationPolicy or its Class object could
 not be loaded. For security purposes, this type will not be
 serialized.: instance =

 [com.etransxpress.portal.client.utilitymanager.etranslabelvalueb...@3fe42e0a,
 

 The class
 'com.etransxpress.portal.client.utilitymanager.EtransLabelValueBean'
 is defined as follows:

 package com.etransxpress.portal.client.utilitymanager;

 import com.google.gwt.user.client.rpc.IsSerializable;
 @SuppressWarnings(unchecked)
 public class EtransLabelValueBean implements IsSerializable
 {
private String label;
private String value;

public EtransLabelValueBean()
{
}

public EtransLabelValueBean (String label, String value)
{
this.label = label;
this.value = value;
}

public String getLabel() {
return label;
}

public void setLabel(String label) {
this.label = label;
}

public String getValue() {
return value;
}

public void setObject(String value) {
this.value = value;
}
 }

 I am getting this exception where I am populating an ArrayList of
 these objects defined in my program as follows:

private static CollectionEtransLabelValueBean countryList; (which
 is an instance variable)

//Before RPC call is made to server, the following is done:
countryList = new ArrayListEtransLabelValueBean();
//The server side is returning an ArrayList of this data

 The application is deployed on a JBOSS 5.0.1 application server.

 Do you have any ideas on how I can correct this problem.
 Thank you very much.

 Ken Wielechowski

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



RPC SerializationException when going from GWT 1.7 to GWT 2.0.4

2010-08-30 Thread Ken Wielechowski
In going from GWT 1.7 to GWT 2.0.4, I am getting the following
exception:

dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException:
java.lang.reflect.InvocationTargetException
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeWithCustomSerializer
(ServerSerializationStreamWriter)
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
'java.util.ArrayList' was not included in the set of types which can
be serialized by this SerializationPolicy or its Class object could
not be loaded. For security purposes, this type will not be
serialized.: instance =
[com.etransxpress.portal.client.utilitymanager.etranslabelvalueb...@3fe42e0a, 


The class
'com.etransxpress.portal.client.utilitymanager.EtransLabelValueBean'
is defined as follows:

package com.etransxpress.portal.client.utilitymanager;

import com.google.gwt.user.client.rpc.IsSerializable;
@SuppressWarnings(unchecked)
public class EtransLabelValueBean implements IsSerializable
{
private String label;
private String value;

public EtransLabelValueBean()
{
}

public EtransLabelValueBean (String label, String value)
{
this.label = label;
this.value = value;
}

public String getLabel() {
return label;
}

public void setLabel(String label) {
this.label = label;
}

public String getValue() {
return value;
}

public void setObject(String value) {
this.value = value;
}
}

I am getting this exception where I am populating an ArrayList of
these objects defined in my program as follows:

private static CollectionEtransLabelValueBean countryList; (which
is an instance variable)

//Before RPC call is made to server, the following is done:
countryList = new ArrayListEtransLabelValueBean();
//The server side is returning an ArrayList of this data

The application is deployed on a JBOSS 5.0.1 application server.

Do you have any ideas on how I can correct this problem.
Thank you very much.

Ken Wielechowski

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Safari 5.0 with GWT 1.7.x?

2010-06-10 Thread Geoffrey Wiseman
On Jun 8, 10:47 am, Geoffrey Wiseman geoffrey.wise...@gmail.com
wrote:
 Anyone tried Safari 5.0 with GWT 1.7.x to see if it solves the crash
 issue?
 (http://code.google.com/p/google-web-toolkit/issues/detail?id=4220)

Got bored of waiting.  Tried it myself.  Seems to work so far;
pleasing.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Safari 5.0 with GWT 1.7.x?

2010-06-08 Thread Geoffrey Wiseman
Anyone tried Safari 5.0 with GWT 1.7.x to see if it solves the crash
issue?
(http://code.google.com/p/google-web-toolkit/issues/detail?id=4220)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 to 2.0 upgrading problem: no longer working: GWTCanvas, gwt-diagrams2

2010-05-12 Thread Navigateur
Dear kozura, after some testing, some essential mouseovers and
mouseclicks stop happening in Firefox quirks mode, while they all
happen fine in standards mode (despite gwt-diagrams2 and GWTCanvas not
working in standards mode). Is this a known issue with an easy fix?
Internet Explorer works as before in quirks mode, like you mentioned,
thanks!

GWTCanvas doesn't work for me in Firefox in either mode.. do you know
about this?

Sorry to bring this up, but do you have that setCursorPos() for
RichTextArea, that I've been needing in my app kind of urgently, but
was wondering if you might be able to send me a prelim?

My thanks,
N

On May 11, 9:53 pm, kozura koz...@gmail.com wrote:
 The !doctype html indicates that the browser should be running in
 standards mode, which is required for GWT 2.0's new LayoutPanel type
 of layout.  However just using the original layout panels (FlowPanel,
 HorizontalPanel, etc) still works the same as ever, in quirks mode.
 So if a library you want to use doesn't work in standards mode, then
 just stick with the previous non-LayoutPanels; no need to go back a
 version.

 http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

 On May 11, 6:28 am, Navigateur naveen.c...@googlemail.com wrote:

  Is there a way to get these things working in GWT 2.0?

  I've found that gwt-diagrams2 works when deleting !doctype html from
  the html file, but other things don't work then!

  Would anybody recommend me going back to GWT 1.7?

  Many thanks, N

  --
  You received this message because you are subscribed to the Google Groups 
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 to 2.0 upgrading problem: no longer working: GWTCanvas, gwt-diagrams2

2010-05-12 Thread kozura
I don't know of any issue with continuing to use quirks mode in GWT2,
I didn't convert my apps to standards mode when I upgraded and
everything continued to work fine, including many mouse handlers.  As
for GWTCanvas, probably should ask on their board.

Regarding the selection/cursor API, I was doing some testing and
noticed I need to better handle utf encoding on IE, and just haven't
had time lately to work on it.  I'll post the library to the issue
http://code.google.com/p/google-web-toolkit/issues/detail?id=1127 when
I get some time to fix those issues.

On May 12, 4:54 am, Navigateur naveen.c...@googlemail.com wrote:
 Dear kozura, after some testing, some essential mouseovers and
 mouseclicks stop happening in Firefox quirks mode, while they all
 happen fine in standards mode (despite gwt-diagrams2 and GWTCanvas not
 working in standards mode). Is this a known issue with an easy fix?
 Internet Explorer works as before in quirks mode, like you mentioned,
 thanks!

 GWTCanvas doesn't work for me in Firefox in either mode.. do you know
 about this?

 Sorry to bring this up, but do you have that setCursorPos() for
 RichTextArea, that I've been needing in my app kind of urgently, but
 was wondering if you might be able to send me a prelim?

 My thanks,
 N

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWTCanvas doesn't draw lines in my app in GWT 2.0.3, was fine in GWT 1.7

2010-05-11 Thread Navigateur
Anybody have any idea about why lines drawn using GWTCanvas wouldn't
appear in GWT 2.0, but was ok in 1.7? Has anyone successfully drawn
lines in 2.0 and can show me a code snippet?

Cheers, N

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 1.7 to 2.0 upgrading problem: no longer working: GWTCanvas, gwt-diagrams2

2010-05-11 Thread Navigateur
Is there a way to get these things working in GWT 2.0?

I've found that gwt-diagrams2 works when deleting !doctype html from
the html file, but other things don't work then!

Would anybody recommend me going back to GWT 1.7?

Many thanks, N

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 to 2.0 upgrading problem: no longer working: GWTCanvas, gwt-diagrams2

2010-05-11 Thread Sorinel C
It's always good to use the latest version (except for the cases when
there are critical bugs), like I did myself last year, jumping from
1.7 to 2.0

Here are some of my discoveries:

http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html

So, generate first a simple GWT 2.0 project using the Eclipse plugin,
and then update your module MainApplication.gwt.xml and
MainApplication.html according with the recommendations...

Success!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 to 2.0 upgrading problem: no longer working: GWTCanvas, gwt-diagrams2

2010-05-11 Thread kozura
The !doctype html indicates that the browser should be running in
standards mode, which is required for GWT 2.0's new LayoutPanel type
of layout.  However just using the original layout panels (FlowPanel,
HorizontalPanel, etc) still works the same as ever, in quirks mode.
So if a library you want to use doesn't work in standards mode, then
just stick with the previous non-LayoutPanels; no need to go back a
version.

http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

On May 11, 6:28 am, Navigateur naveen.c...@googlemail.com wrote:
 Is there a way to get these things working in GWT 2.0?

 I've found that gwt-diagrams2 works when deleting !doctype html from
 the html file, but other things don't work then!

 Would anybody recommend me going back to GWT 1.7?

 Many thanks, N

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 1.7, Eclipse: how do I tell jetty

2010-04-19 Thread Jferg
What teh context root is, right now it defaults to /... I would like
a little more control over this because I want one entry page and be
able to use it in Hosted mode or in Tomcat when I drop the WAR file in
there.

I did search this group and I did try looking at Jetty docs... I may
have missed it.

thanks,

john

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



migration from GWT 1.4 to GWT 1.7 throwing exception content type was text/palin

2010-03-28 Thread pravn
Hi,

 After migrating to GWT 1.7 from GWT 1.4 we are getting an exception
saying  content type was text/plain; Expcted text/x-gwt-rpc.

Can anyone suggest what might be the reason? Is there any
configuration changes required?

We have checked the jar files used and all of them are from GWT 1.7
only.

Appreciate your inputs to resolve this issue.

Thanks and Regards,
Praveen

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 1.7 - GWT 2.0 - compiled size significantly increased

2010-03-09 Thread swxoz
Hi,
After migration form GWT 1.7 to 2.0.1 we've noticed increased size of
result .cache. file.

OBFUSCATED size incresed from 500kB - 1 MB - almost twice.

GWT 2.0 introduced turned on by default stack traces in web mode

http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions

You can turn it of by setting in module xml (it seems reasonable for
production use).

set-property name=compiler.emulatedStack value=false /


Greeting
Greg Bugiel

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 1.7.x missing plugin issue

2010-02-24 Thread eric smith
Hi,

I don't know if it can help, but I had this issue trying to run Hosted
Mode from command line with GWT 1.7.0.
Then I get this weird message missing plugin.
After some effort I found out that for some reason I had to set the
port selection automatic by adding this parameters to the JVM:
-port auto

I know it work! I think my environment does not like the default 
GWT port

I think this link can help also :

http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html

Cheers
Eric

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 1.7 upgrade Issue in Linux

2010-02-04 Thread Ignat Alexeyenko
Hello.

Have no problems on upgrading my app to the new version of GWT.
Delete all the output GWT compiler directory.
Review all the warning/error messages that are shown by GWT compiler.

--
Kind regards,
Ignat Alexeyenko.

On Mon, Feb 1, 2010 at 1:20 PM, has hardiksha...@gmail.com wrote:

 I try to upgrade from GWT 1.5.3 to 1.7, it works fine in Windows but
 in Linux HostedMode shows blank page while it display the Title but
 not the contents.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 1.7 upgrade Issue in Linux

2010-02-01 Thread has
I try to upgrade from GWT 1.5.3 to 1.7, it works fine in Windows but
in Linux HostedMode shows blank page while it display the Title but
not the contents.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse plugin for GWT 1.7

2010-01-20 Thread Sanjay
Wonderful. Thanks I will try that out.

On Jan 19, 10:58 am, Keith Platfoot kplatf...@google.com wrote:
 No problem.  If you would prefer to use the version of the 1.1 version of
 the Google Plugin for Eclipse that was current when GWT 1.7.1 was released,
 it's available for download as a zip file (not installable through Eclipse's
 update mechanism, however).  See my post from last month:

 http://groups.google.com/group/google-web-toolkit/msg/e6b9c9aaace3dbb...

 KeithOn Tue, Jan 19, 2010 at 1:40 PM, Sanjay sanjaywan...@gmail.com wrote:

  Hi Kieth,

  First thanks for your follow ups.

  I actually want to defer my decesion to upgrade to GWT 1.2 plugin for
  future. Is there a way to update to previous versions of plugin with
  hosted mode browser feature?

  With 1.2 which has new archetecture (with client side plugin) is
  extreamly slow in one of my network envirnoments, For now I have made
  temporary changes to get work done.

  Thanks,
  Sanjay

  On Jan 14, 11:58 am, Keith Platfoot kplatf...@google.com wrote:
   Hi Sanjay,

   Actually, the Eclipse plugin and GWT are on separate release cycles and
  do
   not have the same version number.  So, it is possible to use the latest
   Eclipse plugin (which is version 1.2) with any of the recent versions of
  GWT
   (2.0, 1.7, 1.6).  When you install from the update site, just be sure to
   uncheck the optional GWT 2.0 component if you don't want to use it.

   Hope this helps.  Let me know if I've misunderstood something.

   Keith

   On Thu, Jan 14, 2010 at 12:41 PM, Sanjay sanjaywan...@gmail.com wrote:
Hi Keith,

I am actually looking for eclipse plugin of 1.7 for some other reason.
With GWT 2.0 I see some issues while accessing through wireless
network or for that matter VPN from my home. It's extremely slow,
hence more then functionality I want to revert to make my development
faster. I always use browser from different PC (Win) and my
development in on Linux.

Thanks,
Sanjay

On Jan 13, 8:55 am, Keith Platfoot kplatf...@google.com wrote:
 Hi Sanjay,

 The latest version of the plugin (1.2) is still backwards-compatible
  with
 GWT 1.7.1.  You can find the update site URL on the plugin's Quick
  Start
 page:

http://code.google.com/eclipse/docs/getting_started.html

 KeithOn Wed, Jan 13, 2010 at 2:15 AM, Sanjay sanjaywan...@gmail.com

wrote:
  Is there a location where I can get the eclipse plugin for GWT 1.7.
  I
  just happened to delete it from eclipse in the process of upgrading
  to
  2.0.

  --
  You received this message because you are subscribed to the Google
Groups
  Google Web Toolkit group.
  To post to this group, send email to
google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  google-web-toolkit%2bunsubs­cr...@googlegroups.com
google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
  google-web-toolkit%252bu­nsubscr...@googlegroups.com

  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google
  Groups
Google Web Toolkit group.
To post to this group, send email to
  google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  google-web-toolkit%2bunsubs­cr...@googlegroups.com
.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.-Hide quoted
  text -

   - Show quoted text -

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Eclipse plugin for GWT 1.7

2010-01-19 Thread Sanjay

Hi Kieth,

First thanks for your follow ups.

I actually want to defer my decesion to upgrade to GWT 1.2 plugin for
future. Is there a way to update to previous versions of plugin with
hosted mode browser feature?

With 1.2 which has new archetecture (with client side plugin) is
extreamly slow in one of my network envirnoments, For now I have made
temporary changes to get work done.

Thanks,
Sanjay



On Jan 14, 11:58 am, Keith Platfoot kplatf...@google.com wrote:
 Hi Sanjay,

 Actually, the Eclipse plugin and GWT are on separate release cycles and do
 not have the same version number.  So, it is possible to use the latest
 Eclipse plugin (which is version 1.2) with any of the recent versions of GWT
 (2.0, 1.7, 1.6).  When you install from the update site, just be sure to
 uncheck the optional GWT 2.0 component if you don't want to use it.

 Hope this helps.  Let me know if I've misunderstood something.

 Keith



 On Thu, Jan 14, 2010 at 12:41 PM, Sanjay sanjaywan...@gmail.com wrote:
  Hi Keith,

  I am actually looking for eclipse plugin of 1.7 for some other reason.
  With GWT 2.0 I see some issues while accessing through wireless
  network or for that matter VPN from my home. It's extremely slow,
  hence more then functionality I want to revert to make my development
  faster. I always use browser from different PC (Win) and my
  development in on Linux.

  Thanks,
  Sanjay

  On Jan 13, 8:55 am, Keith Platfoot kplatf...@google.com wrote:
   Hi Sanjay,

   The latest version of the plugin (1.2) is still backwards-compatible with
   GWT 1.7.1.  You can find the update site URL on the plugin's Quick Start
   page:

  http://code.google.com/eclipse/docs/getting_started.html

   KeithOn Wed, Jan 13, 2010 at 2:15 AM, Sanjay sanjaywan...@gmail.com
  wrote:
Is there a location where I can get the eclipse plugin for GWT 1.7. I
just happened to delete it from eclipse in the process of upgrading to
2.0.

--
You received this message because you are subscribed to the Google
  Groups
Google Web Toolkit group.
To post to this group, send email to
  google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubs­cr...@googlegroups.com
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bu­nsubscr...@googlegroups.com

.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubs­cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text -

 - Show quoted text -
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Eclipse plugin for GWT 1.7

2010-01-19 Thread Keith Platfoot
No problem.  If you would prefer to use the version of the 1.1 version of
the Google Plugin for Eclipse that was current when GWT 1.7.1 was released,
it's available for download as a zip file (not installable through Eclipse's
update mechanism, however).  See my post from last month:

http://groups.google.com/group/google-web-toolkit/msg/e6b9c9aaace3dbb7?hl=en

Keith

On Tue, Jan 19, 2010 at 1:40 PM, Sanjay sanjaywan...@gmail.com wrote:


 Hi Kieth,

 First thanks for your follow ups.

 I actually want to defer my decesion to upgrade to GWT 1.2 plugin for
 future. Is there a way to update to previous versions of plugin with
 hosted mode browser feature?

 With 1.2 which has new archetecture (with client side plugin) is
 extreamly slow in one of my network envirnoments, For now I have made
 temporary changes to get work done.

 Thanks,
 Sanjay



 On Jan 14, 11:58 am, Keith Platfoot kplatf...@google.com wrote:
  Hi Sanjay,
 
  Actually, the Eclipse plugin and GWT are on separate release cycles and
 do
  not have the same version number.  So, it is possible to use the latest
  Eclipse plugin (which is version 1.2) with any of the recent versions of
 GWT
  (2.0, 1.7, 1.6).  When you install from the update site, just be sure to
  uncheck the optional GWT 2.0 component if you don't want to use it.
 
  Hope this helps.  Let me know if I've misunderstood something.
 
  Keith
 
 
 
  On Thu, Jan 14, 2010 at 12:41 PM, Sanjay sanjaywan...@gmail.com wrote:
   Hi Keith,
 
   I am actually looking for eclipse plugin of 1.7 for some other reason.
   With GWT 2.0 I see some issues while accessing through wireless
   network or for that matter VPN from my home. It's extremely slow,
   hence more then functionality I want to revert to make my development
   faster. I always use browser from different PC (Win) and my
   development in on Linux.
 
   Thanks,
   Sanjay
 
   On Jan 13, 8:55 am, Keith Platfoot kplatf...@google.com wrote:
Hi Sanjay,
 
The latest version of the plugin (1.2) is still backwards-compatible
 with
GWT 1.7.1.  You can find the update site URL on the plugin's Quick
 Start
page:
 
   http://code.google.com/eclipse/docs/getting_started.html
 
KeithOn Wed, Jan 13, 2010 at 2:15 AM, Sanjay sanjaywan...@gmail.com
 
   wrote:
 Is there a location where I can get the eclipse plugin for GWT 1.7.
 I
 just happened to delete it from eclipse in the process of upgrading
 to
 2.0.
 
 --
 You received this message because you are subscribed to the Google
   Groups
 Google Web Toolkit group.
 To post to this group, send email to
   google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubs­cr...@googlegroups.com
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 google-web-toolkit%252bu­nsubscr...@googlegroups.com
 
 .
 For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubs­cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted
 text -
 
  - Show quoted text -

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse plugin for GWT 1.7

2010-01-16 Thread Sandra Lo
Hi Keith,

I tried doing what you suggested, installing plugin without GWT 2.0,
then in preferences provided location for GWT 1.7.1.  When I run my
application, the hosted browser gave a runtime error:

Line: 226
Error: Permission denied.

On the hosted mode window there is a warning:
[WARN] Unknown module requested 'missingplugin'; all active GWT
modules must be specified in the command line arguments

Can you provide some pointers please?

Thanks,
-Sandra

On Jan 14, 11:58 am, Keith Platfoot kplatf...@google.com wrote:
 Hi Sanjay,

 Actually, the Eclipse plugin and GWT are on separate release cycles and do
 not have the same version number.  So, it is possible to use the latest
 Eclipse plugin (which is version 1.2) with any of the recent versions of GWT
 (2.0, 1.7, 1.6).  When you install from the update site, just be sure to
 uncheck the optional GWT 2.0 component if you don't want to use it.

 Hope this helps.  Let me know if I've misunderstood something.

 Keith

 On Thu, Jan 14, 2010 at 12:41 PM, Sanjay sanjaywan...@gmail.com wrote:
  Hi Keith,

  I am actually looking for eclipse plugin of 1.7 for some other reason.
  With GWT 2.0 I see some issues while accessing through wireless
  network or for that matter VPN from my home. It's extremely slow,
  hence more then functionality I want to revert to make my development
  faster. I always use browser from different PC (Win) and my
  development in on Linux.

  Thanks,
  Sanjay

  On Jan 13, 8:55 am, Keith Platfoot kplatf...@google.com wrote:
   Hi Sanjay,

   The latest version of the plugin (1.2) is still backwards-compatible with
   GWT 1.7.1.  You can find the update site URL on the plugin's Quick Start
   page:

  http://code.google.com/eclipse/docs/getting_started.html

   KeithOn Wed, Jan 13, 2010 at 2:15 AM, Sanjay sanjaywan...@gmail.com
  wrote:
Is there a location where I can get the eclipse plugin for GWT 1.7. I
just happened to delete it from eclipse in the process of upgrading to
2.0.

--
You received this message because you are subscribed to the Google
  Groups
Google Web Toolkit group.
To post to this group, send email to
  google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com

.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Eclipse plugin for GWT 1.7

2010-01-14 Thread Sanjay
Hi Keith,

I am actually looking for eclipse plugin of 1.7 for some other reason.
With GWT 2.0 I see some issues while accessing through wireless
network or for that matter VPN from my home. It's extremely slow,
hence more then functionality I want to revert to make my development
faster. I always use browser from different PC (Win) and my
development in on Linux.

Thanks,
Sanjay

On Jan 13, 8:55 am, Keith Platfoot kplatf...@google.com wrote:
 Hi Sanjay,

 The latest version of the plugin (1.2) is still backwards-compatible with
 GWT 1.7.1.  You can find the update site URL on the plugin's Quick Start
 page:

 http://code.google.com/eclipse/docs/getting_started.html

 KeithOn Wed, Jan 13, 2010 at 2:15 AM, Sanjay sanjaywan...@gmail.com wrote:
  Is there a location where I can get the eclipse plugin for GWT 1.7. I
  just happened to delete it from eclipse in the process of upgrading to
  2.0.

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Eclipse plugin for GWT 1.7

2010-01-14 Thread Keith Platfoot
Hi Sanjay,

Actually, the Eclipse plugin and GWT are on separate release cycles and do
not have the same version number.  So, it is possible to use the latest
Eclipse plugin (which is version 1.2) with any of the recent versions of GWT
(2.0, 1.7, 1.6).  When you install from the update site, just be sure to
uncheck the optional GWT 2.0 component if you don't want to use it.

Hope this helps.  Let me know if I've misunderstood something.

Keith

On Thu, Jan 14, 2010 at 12:41 PM, Sanjay sanjaywan...@gmail.com wrote:

 Hi Keith,

 I am actually looking for eclipse plugin of 1.7 for some other reason.
 With GWT 2.0 I see some issues while accessing through wireless
 network or for that matter VPN from my home. It's extremely slow,
 hence more then functionality I want to revert to make my development
 faster. I always use browser from different PC (Win) and my
 development in on Linux.

 Thanks,
 Sanjay

 On Jan 13, 8:55 am, Keith Platfoot kplatf...@google.com wrote:
  Hi Sanjay,
 
  The latest version of the plugin (1.2) is still backwards-compatible with
  GWT 1.7.1.  You can find the update site URL on the plugin's Quick Start
  page:
 
  http://code.google.com/eclipse/docs/getting_started.html
 
  KeithOn Wed, Jan 13, 2010 at 2:15 AM, Sanjay sanjaywan...@gmail.com
 wrote:
   Is there a location where I can get the eclipse plugin for GWT 1.7. I
   just happened to delete it from eclipse in the process of upgrading to
   2.0.
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Eclipse plugin for GWT 1.7

2010-01-13 Thread Sanjay
Is there a location where I can get the eclipse plugin for GWT 1.7. I
just happened to delete it from eclipse in the process of upgrading to
2.0.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Eclipse plugin for GWT 1.7

2010-01-13 Thread Keith Platfoot
Hi Sanjay,

The latest version of the plugin (1.2) is still backwards-compatible with
GWT 1.7.1.  You can find the update site URL on the plugin's Quick Start
page:

http://code.google.com/eclipse/docs/getting_started.html

Keith

On Wed, Jan 13, 2010 at 2:15 AM, Sanjay sanjaywan...@gmail.com wrote:

 Is there a location where I can get the eclipse plugin for GWT 1.7. I
 just happened to delete it from eclipse in the process of upgrading to
 2.0.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: ack! migrating from gwt 1.7 to 2.0 and events don't fire anymore?

2010-01-07 Thread Sorinel C
Try this first to see if you have any problems of environment:

http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html

where you have the most important steps of upgrading a GWT application
to version 2.0.

If it's not working for you, then post the errors log please! to try
to understand what's wrong...

Cheers!
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 1.7 + Datasource

2010-01-03 Thread dero
After some searching I found this: 
http://humblecode.blogspot.com/2009/05/gwt-16-using-jndi-datasource.html
. It worked for me on GWT 2.0 + MySQL.  Be careful when copy-pasting
the sample jetty-web.xml file, it uses curling quotes; also, don't
forget to add jetty-plus-*.jar and jetty-naming-*.jar to the build
path (read the post's comments for more info).

On Dec 1 2009, 4:22 pm, Steve shar...@rationalblue.com wrote:
 I am also very interested in this capability.  After spending this
 entire day researching the question and then attempting various
 combinations of code in web-jetty.xml configuration files I am not
 convinced it is possible yet.

 I have succeeded in deploying gwt code built using the instantiations
 plug-in to a glassfish server and accessing a mysql database.
 However, I would like to have the analogous capabilitiy on my
 development platform -- hence the need for the gwt hosted mode server
 (jetty) to be able to access datasources.

 The current version of jetty distributed with the latest gwt (1.7.1)
 hosted mode is jetty 6.1.11.  This version of jetty apparently did not
 incorporate jdbc support.  Rather, jdbc capability was distributed
 separately in another package (jetty.plus...?) for 6.1.11.   It
 appears that jetty 7.0 (which has migrated over to the eclipse
 foundation for future development) does incorporate a jdbc capability
 as part of its core distribution.  But this version of jetty is not
 available (yet) as part of gwt.  So it looks like we wait for gwt to
 upgrade to jetty 7.0.

 If someone has another idea for how to get the gwt hosted mode server
 to recognize and connect to datasources (specifically mysql), I'm all
 ears.

 On Oct 17, 4:49 pm, rernst rerns...@gmail.com wrote:

  I am trying to implement a Datasource with the hosted mode server.
  This has turned out to be very confusing. The otherwise excellent book
  'GWT in Practice' make reference to a Tomcat lite directory structure
  which I am unable to find. Other references in this  group seem to
  point at Jetty but I can't really find a jetty launcher script.

  I should note that I am using the Instantiations Eclipse plugin but I
  doubt that this plays into the runtime configuration. I am looking for
  a context.xml file but cannot lcate anything besides the basic
  web.xml.

  I can make JDBC calls (JavaDB) via embedded and network driver just
  fine but establishing a connection every time seems the wrong way to
  go (am I mistaken). Instead I wanted to use connection pooling with a
  Datasource as I would in a production environment.

  Looking at some of the posts I am not the only one with this desire
  but can't seem to find an answer that appears fitting.

  Note that I am familiar on how to configure a Datasource in Tomcat but
  the embedded server seems to work in mysterious ways ;-).

  Any pointers on how to get this accomplished appreciated.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 1.7 + Datasource

2010-01-03 Thread dero
http://humblecode.blogspot.com/2009/05/gwt-16-using-jndi-datasource.html

The directions in the link above worked for me using GWT 2.0 + MySQL.

On Dec 1 2009, 4:22 pm, Steve shar...@rationalblue.com wrote:
 I am also very interested in this capability.  After spending this
 entire day researching the question and then attempting various
 combinations of code in web-jetty.xml configuration files I am not
 convinced it is possible yet.

 I have succeeded in deploying gwt code built using the instantiations
 plug-in to a glassfish server and accessing a mysql database.
 However, I would like to have the analogous capabilitiy on my
 development platform -- hence the need for the gwt hosted mode server
 (jetty) to be able to access datasources.

 The current version of jetty distributed with the latest gwt (1.7.1)
 hosted mode is jetty 6.1.11.  This version of jetty apparently did not
 incorporate jdbc support.  Rather, jdbc capability was distributed
 separately in another package (jetty.plus...?) for 6.1.11.   It
 appears that jetty 7.0 (which has migrated over to the eclipse
 foundation for future development) does incorporate a jdbc capability
 as part of its core distribution.  But this version of jetty is not
 available (yet) as part of gwt.  So it looks like we wait for gwt to
 upgrade to jetty 7.0.

 If someone has another idea for how to get the gwt hosted mode server
 to recognize and connect to datasources (specifically mysql), I'm all
 ears.

 On Oct 17, 4:49 pm, rernst rerns...@gmail.com wrote:

  I am trying to implement a Datasource with the hosted mode server.
  This has turned out to be very confusing. The otherwise excellent book
  'GWT in Practice' make reference to a Tomcat lite directory structure
  which I am unable to find. Other references in this  group seem to
  point at Jetty but I can't really find a jetty launcher script.

  I should note that I am using the Instantiations Eclipse plugin but I
  doubt that this plays into the runtime configuration. I am looking for
  a context.xml file but cannot lcate anything besides the basic
  web.xml.

  I can make JDBC calls (JavaDB) via embedded and network driver just
  fine but establishing a connection every time seems the wrong way to
  go (am I mistaken). Instead I wanted to use connection pooling with a
  Datasource as I would in a production environment.

  Looking at some of the posts I am not the only one with this desire
  but can't seem to find an answer that appears fitting.

  Note that I am familiar on how to configure a Datasource in Tomcat but
  the embedded server seems to work in mysterious ways ;-).

  Any pointers on how to get this accomplished appreciated.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




exception when run existing project developed in GWT 1.7 on GWT 2

2009-12-16 Thread sathya
Hi,
   I have upgraded my eclipse with GWT 1.7 to GWT 2.
When I try to run existing project developed in GWT 1.7 on GWT 2, I am
getting below exception in development mode.Please help .
java.lang.AssertionError: targetHistoryToken must not be null,
consider using Anchor instead
at com.google.gwt.user.client.ui.Hyperlink.setTargetHistoryToken
(Hyperlink.java:191)
at com.google.gwt.user.client.ui.Hyperlink.init(Hyperlink.java:
106)
at com.client.Search.SearchPanle.init(SearchPanle.java:23)
at com.client.Sandbox.onModuleLoad(Sandbox.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
369)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule
(OophmSessionHandler.java:185)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
(BrowserChannelServer.java:380)
at com.google.gwt.dev.shell.BrowserChannelServer.run
(BrowserChannelServer.java:222)
at java.lang.Thread.run(Unknown Source)

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: exception when run existing project developed in GWT 1.7 on GWT 2

2009-12-16 Thread Siegfried Bolz
Have you cleaned your Libs-Directory from the old GWT-Jar-Files?


On 16 Dez., 11:34, sathya sathyavik...@gmail.com wrote:
 Hi,
    I have upgraded my eclipse with GWT 1.7 to GWT 2.
 When I try to run existing project developed in GWT 1.7 on GWT 2, I am
 getting below exception in development mode.Please help .
 java.lang.AssertionError: targetHistoryToken must not be null,
 consider using Anchor instead
     at com.google.gwt.user.client.ui.Hyperlink.setTargetHistoryToken
 (Hyperlink.java:191)
     at com.google.gwt.user.client.ui.Hyperlink.init(Hyperlink.java:
 106)
     at com.client.Search.SearchPanle.init(SearchPanle.java:23)
     at com.client.Sandbox.onModuleLoad(Sandbox.java:24)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
 369)
     at com.google.gwt.dev.shell.OophmSessionHandler.loadModule
 (OophmSessionHandler.java:185)
     at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
 (BrowserChannelServer.java:380)
     at com.google.gwt.dev.shell.BrowserChannelServer.run
 (BrowserChannelServer.java:222)
     at java.lang.Thread.run(Unknown Source)

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Installing older GWT (1.7.x) version instead of GWT 2.0

2009-12-14 Thread ntdeaf
Never mind..I've found a similar question after I posted this...

On 14 dec, 21:20, ntdeaf ntd...@gmail.com wrote:
 Hi,

 Due to an attempt to use the latest version of GWT (2.0) but failing
 because of my lack of knowledge of  the RPC mechanism, I removed the
 GWT 1.7 plugin from eclipse (galileo). But I rather finish my current
 project first, before I dive in the new GWT version. But now I
 reinstalled ecplipse, but I can only find the new GWT plugin on the
 update site presented by Google. Where can I download the little bit
 older version of GWT 1.7? Or what do I need to do to convince Eclipse
 that GWT 1.7 resides in my /opt/gwt1.7 dir?

 Can anyone give me a shove in the right direction?

 thx!

 NTDeaf

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Properties Support for Configuration Data in GWT 1.7

2009-12-11 Thread keyboard_samurai
Hi,

I need to maintain some configurable data (in properties) and lookup
for it in the code. I do understand GWT has support for constants and
messages (i18n).  I would not like to get this information like
constant or message as these are kept specific to locale and the
configuration data which i intend to keep is the same across different
locales.

Is there any other way i can handle this ? I am fine the approach
depends on static binding approach as well.

Thanks in advance!!

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Properties Support for Configuration Data in GWT 1.7

2009-12-11 Thread philippe
If it doesn't draw user text on screen, if it's just to configured
your server you can use ResourceBundle in server side.


On 11 déc, 13:58, keyboard_samurai yog...@gmail.com wrote:
 Hi,

 I need to maintain some configurable data (in properties) and lookup
 for it in the code. I do understand GWT has support for constants and
 messages (i18n).  I would not like to get this information like
 constant or message as these are kept specific to locale and the
 configuration data which i intend to keep is the same across different
 locales.

 Is there any other way i can handle this ? I am fine the approach
 depends on static binding approach as well.

 Thanks in advance!!

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Properties Support for Configuration Data in GWT 1.7

2009-12-11 Thread keyboard_samurai
No i do not want it on server side ... Have certain values which would
be used in client side. Need it configurable and also its same across
different locales. Any thoughts on this ?



On Dec 11, 7:17 pm, philippe vonck...@yahoo.fr wrote:
 If it doesn't draw user text on screen, if it's just to configured
 your server you can use ResourceBundle in server side.

 On 11 déc, 13:58, keyboard_samurai yog...@gmail.com wrote:



  Hi,

  I need to maintain some configurable data (in properties) and lookup
  for it in the code. I do understand GWT has support for constants and
  messages (i18n).  I would not like to get this information like
  constant or message as these are kept specific to locale and the
  configuration data which i intend to keep is the same across different
  locales.

  Is there any other way i can handle this ? I am fine the approach
  depends on static binding approach as well.

  Thanks in advance!!

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 1.7 public folder location

2009-12-03 Thread Thomas Broyer


On Dec 3, 7:01 am, jax jackma...@gmail.com wrote:
 I am running 1.7 and after some reading online people keep referencing
 the public folder.  I don't have a public folder in my project...am
 I meant to?  Has GWT changed the public folder?  I only have

 com.example.myapp
 com.example.myapp.client
 com.example.myapp.server

Have a look at http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html

Note that since 1.6, despite the new project structure, you can still
have a public folder, and it still has its utility (have a look at the
themes modules, such as com.google.gwt.user.theme.standard.Standard).

Be careful of the online resources, always have a look at the date
they've been written/updated.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




GWT 1.7 public folder location

2009-12-02 Thread jax
I am running 1.7 and after some reading online people keep referencing
the public folder.  I don't have a public folder in my project...am
I meant to?  Has GWT changed the public folder?  I only have

com.example.myapp
com.example.myapp.client
com.example.myapp.server

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 1.7 public folder location

2009-12-02 Thread Abdullah Shaikh
Hi Jax,

Even I am using 1.7 and there isn't any public folder, but the application
is working fine, I am new to GWT, I haven't used previous versions, may be
the structure got change in 1.7

Also same thing with 2.0 RC, so I guess it's not an issue.

Thanks,
Abdullah

On Thu, Dec 3, 2009 at 11:31 AM, jax jackma...@gmail.com wrote:

 I am running 1.7 and after some reading online people keep referencing
 the public folder.  I don't have a public folder in my project...am
 I meant to?  Has GWT changed the public folder?  I only have

 com.example.myapp
 com.example.myapp.client
 com.example.myapp.server

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 1.7 + Datasource

2009-12-01 Thread Steve
I am also very interested in this capability.  After spending this
entire day researching the question and then attempting various
combinations of code in web-jetty.xml configuration files I am not
convinced it is possible yet.

I have succeeded in deploying gwt code built using the instantiations
plug-in to a glassfish server and accessing a mysql database.
However, I would like to have the analogous capabilitiy on my
development platform -- hence the need for the gwt hosted mode server
(jetty) to be able to access datasources.

The current version of jetty distributed with the latest gwt (1.7.1)
hosted mode is jetty 6.1.11.  This version of jetty apparently did not
incorporate jdbc support.  Rather, jdbc capability was distributed
separately in another package (jetty.plus...?) for 6.1.11.   It
appears that jetty 7.0 (which has migrated over to the eclipse
foundation for future development) does incorporate a jdbc capability
as part of its core distribution.  But this version of jetty is not
available (yet) as part of gwt.  So it looks like we wait for gwt to
upgrade to jetty 7.0.

If someone has another idea for how to get the gwt hosted mode server
to recognize and connect to datasources (specifically mysql), I'm all
ears.


On Oct 17, 4:49 pm, rernst rerns...@gmail.com wrote:
 I am trying to implement a Datasource with the hosted mode server.
 This has turned out to be very confusing. The otherwise excellent book
 'GWT in Practice' make reference to a Tomcat lite directory structure
 which I am unable to find. Other references in this  group seem to
 point at Jetty but I can't really find a jetty launcher script.

 I should note that I am using the Instantiations Eclipse plugin but I
 doubt that this plays into the runtime configuration. I am looking for
 a context.xml file but cannot lcate anything besides the basic
 web.xml.

 I can make JDBC calls (JavaDB) via embedded and network driver just
 fine but establishing a connection every time seems the wrong way to
 go (am I mistaken). Instead I wanted to use connection pooling with a
 Datasource as I would in a production environment.

 Looking at some of the posts I am not the only one with this desire
 but can't seem to find an answer that appears fitting.

 Note that I am familiar on how to configure a Datasource in Tomcat but
 the embedded server seems to work in mysterious ways ;-).

 Any pointers on how to get this accomplished appreciated.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: SOP and GWT 1.7

2009-11-23 Thread oleberre
Hi Thomas.

Thanks a lot for the information.
So, I did what you adviced me i.e. adding the linker option in the
module.
As you suspected, it does not generate a nocache.js with the xs suffix
but the usual file with the right
version.

However, trying to load my module, I get the following message from
jetty :

Cross-site hosted mode not yet implemented. See issue
http://code.google.com/p/google-web-toolkit/issues/detail?id=2079

So, as far as I understood, there is a problem only with hosted mode,
but it should be ok once deployed.
So, I deployed everything on google app engine and try to load the
script from a different page.

I tried two ways but only one worked. So, if I simply add the
following line anywhere in the code :

script type=text/javascript language=javascript src=http://
domain.appspot.com/module/module.nocache.js/script

everything works fine.

But if I try to include the script as following :

script type=text/javascript
var url = http://domain.appspot.com/module/module.nocache.js;;
var script = document.createElement(script);
script.setAttribute(src, url);
script.setAttribute(type, text/javascript);
document.getElementsByTagName(head)[0].appendChild(script);

/script

It does not work properly. From the firefox error console, I have the
following error

   Error: __gwt_stylesLoaded is not defined


Anyway, I guess the first method is the one recommended and easier to
use.
Or maybe shall I raised an issue on that ?

Regards.
Olivier.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: SOP and GWT 1.7

2009-11-20 Thread Thomas Broyer


On 20 nov, 10:47, oleberre olebe...@gmail.com wrote:
 Hi all.

 I had a look 
 tohttp://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html#What_is_the...
 to try to understand how SOP works. In this article, there is mention
 of module-xs.nocache.js which is supposed to handle cross site
 problem. However, in my project, this file is not generated. I have
 only to module.nocache.js one. I am using GWT 1.7.1 by the way.
 Is this trick still valid ?

Yes

 If yes, how do you generate this -xs
 file ?

Add the following to your module:

   add-linker name=xs /

(not sure if the generated nocache.js will have the -xs suffix, but
it'll be the xs version, meaning that it can be loaded from a
different domain than the one the HTML page has been loaded from)

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Creating a module in GWT 1.7 - css file location

2009-11-13 Thread Steve C
In GWT 1.5, I would put the module css file in the public package.  In
1.7 the preferred approach is to put it in the war directory.  I
haven't tested to see if the public package concept still works.

If I wanted to have a project as a module, I could then jar the whole
thing, and the project inheriting the module would find the css file
in the public directory.

1. To create a module for 1.7, do I have to add the relevant css file
to the new project's war directory, or do I back up and create it in a
public package a la 1.5?  (or do I do something else, like add the war
directory to the module's jar file)?

2. Is there a tool in the Eclipse plugin to create/export a module jar
file, or do I have to do that manually?

3. Is there a structure for the module war file other than that the
root starts the package structure (e.g., a src folder, a bin or
classes folder, etc.)?

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Creating a module in GWT 1.7 - css file location

2009-11-13 Thread Steve C
OK, I answered my own question, at least as far as item #1, with some
help from 
http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideAutomaticResourceInclusion

It seems that either approach will work.  Having the css in the public
package will result in it automatically being included, as long as the
modules gwt.xml file references it.  Otherwise, I need to include the
module's css file in the war directory of the inheriting project, and
have that project's html file link to it.  I guess that would also
give me the ability to more easily override the styling, plus it gets
around Eclipse's reluctance to create a package level named
public (although it was nice enough to use it if I created it
externally).

I still wonder about #2 - if there is a way to jar it without
resorting to two command-line jar commands ...

On Nov 13, 1:37 pm, Steve C st...@steveclaflin.com wrote:
 In GWT 1.5, I would put the module css file in the public package.  In
 1.7 the preferred approach is to put it in the war directory.  I
 haven't tested to see if the public package concept still works.

 If I wanted to have a project as a module, I could then jar the whole
 thing, and the project inheriting the module would find the css file
 in the public directory.

 1. To create a module for 1.7, do I have to add the relevant css file
 to the new project's war directory, or do I back up and create it in a
 public package a la 1.5?  (or do I do something else, like add the war
 directory to the module's jar file)?

 2. Is there a tool in the Eclipse plugin to create/export a module jar
 file, or do I have to do that manually?

 3. Is there a structure for the module war file other than that the
 root starts the package structure (e.g., a src folder, a bin or
 classes folder, etc.)?

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Issue with GXT 2.1 and GWT 1.7

2009-11-11 Thread Shital

We are using GXT 2.1 and our project structure is as follows
we have django at back end side and we use javascript output of GXT.
But the problem is the html page loads for the first time, but not the
next time.
Is there any change in the new version that we should consider.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT 1.7 + Eclipse, JPA, Spring configuration

2009-11-11 Thread Yaakov

Well, I am using Toplink, not hibernate... I did finally figure out my
problem. Since Marco's blog is what helped point me in the right
direction, I posted the complete explanation there:

http://codetrips.blogspot.com/2009/05/gwt-spring-and-jpa-not-really-friendly.html

See the comments to that blog.

Thanks,
Yaakov.

P.S. I would disagree though that my post has nothing to do with GWT.
The whole thing started only because of how GWT Eclipse plugin is (is
not?) working. As you'll see from my comment to that blog, it's GWT
Eclipse plugin that was part of the problem.

On Nov 4, 1:16 pm, Davis Ford davisf...@zenoconsulting.biz wrote:
 This is from the spring page you linked:

 Not all JPA providers impose the need of a JVM agent (Hibernate being an
 example). If your provider does not require an agent or you have other
 alternatives (for example applying enhancements at build time through a
 custom compiler or an ant task) the load-time weaver *should not* be used.

 This really is more of a hibernate/spring/maven config issue.  Apologies to
 the list...

 Are you using JpaTemplate?  I have a blog post here that shows how to setup
 JPA with Hibernate/Spring:http://zenoconsulting.wikidot.com/blog:8-- you
 might find it helpful.  I don't use a load-time weaver.



 On Wed, Nov 4, 2009 at 10:32 AM, Yaakov yaakov.chai...@gmail.com wrote:

   to be honest, this sounds like it is not so much a gwt thing as it is a
   hibernate/spring thing.

  It IS a GWT thing in the sense that it is the Jetty server which the
  GWT Eclipse plugin starts up which refuses to recognize that I am
  starting its JVM with a -javaagent. Why it does that? I don't know...
  All I want to get to is being able to refresh the hosted browser after
  I make some change in the GWT code and see it in the hosted browser
  instantly.

   i've used hibernate/spring a lot with jpa, and never had to specify a
  weaver
   via an extra JVM argument.  it seems a bit odd.

  Well, I didn't make this up, really. Take a look at Spring
  documentation for 2.5.5:
 http://static.springsource.org/spring/docs/2.5.x/reference/orm.html#o...

  ALL 3 options mention weaving.

   i'm not trying to dodge the
   question, but typically i solve these issues with google searches.

  I haven't found anything wrt GWT provided servlet engine, i.e. jetty
  bundled with GWT. The only link I found, I provided, but that doesn't
  seem to work anyway.

  If anyone has any ideas, please suggest.

  Thanks,
  Yaakov.

 --
 Zeno Consulting, Inc.
 home:http://www.zenoconsulting.biz
 blog:http://zenoconsulting.wikidot.com
 p: 248.894.4922
 f: 313.884.2977
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT 1.7 + Eclipse, JPA, Spring configuration

2009-11-04 Thread Yaakov

So, when I do provide (as I wrote before) -javaagent:c:\\spring-
agent.jar, and I start up GWT hosted environment through Run in
eclipse, I get an exception like this:
Caused by: java.lang.IllegalStateException: ClassLoader
[com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload
$WebAppClassLoaderExtension] does NOT provide an 'addTransformer
(ClassFileTransformer)' method. Specify a custom LoadTimeWeaver or
start your Java virtual machine with Spring's agent: -javaagent:spring-
agent.jar

Not sure how to get around gwt jetty launcher's inability to accept a
load-time weaver.

Anyone?

Thanks,
Yaakov.

On Nov 4, 10:32 am, Yaakov yaakov.chai...@gmail.com wrote:
  to be honest, this sounds like it is not so much a gwt thing as it is a
  hibernate/spring thing.

 It IS a GWT thing in the sense that it is the Jetty server which the
 GWT Eclipse plugin starts up which refuses to recognize that I am
 starting its JVM with a -javaagent. Why it does that? I don't know...
 All I want to get to is being able to refresh the hosted browser after
 I make some change in the GWT code and see it in the hosted browser
 instantly.

  i've used hibernate/spring a lot with jpa, and never had to specify a weaver
  via an extra JVM argument.  it seems a bit odd.

 Well, I didn't make this up, really. Take a look at Spring
 documentation for 
 2.5.5:http://static.springsource.org/spring/docs/2.5.x/reference/orm.html#o...

 ALL 3 options mention weaving.

  i'm not trying to dodge the
  question, but typically i solve these issues with google searches.

 I haven't found anything wrt GWT provided servlet engine, i.e. jetty
 bundled with GWT. The only link I found, I provided, but that doesn't
 seem to work anyway.

 If anyone has any ideas, please suggest.

 Thanks,
 Yaakov.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT 1.7 + Eclipse, JPA, Spring configuration

2009-11-04 Thread Davis Ford
This is from the spring page you linked:

Not all JPA providers impose the need of a JVM agent (Hibernate being an
example). If your provider does not require an agent or you have other
alternatives (for example applying enhancements at build time through a
custom compiler or an ant task) the load-time weaver *should not* be used.

This really is more of a hibernate/spring/maven config issue.  Apologies to
the list...

Are you using JpaTemplate?  I have a blog post here that shows how to setup
JPA with Hibernate/Spring: http://zenoconsulting.wikidot.com/blog:8 -- you
might find it helpful.  I don't use a load-time weaver.

On Wed, Nov 4, 2009 at 10:32 AM, Yaakov yaakov.chai...@gmail.com wrote:


  to be honest, this sounds like it is not so much a gwt thing as it is a
  hibernate/spring thing.

 It IS a GWT thing in the sense that it is the Jetty server which the
 GWT Eclipse plugin starts up which refuses to recognize that I am
 starting its JVM with a -javaagent. Why it does that? I don't know...
 All I want to get to is being able to refresh the hosted browser after
 I make some change in the GWT code and see it in the hosted browser
 instantly.

  i've used hibernate/spring a lot with jpa, and never had to specify a
 weaver
  via an extra JVM argument.  it seems a bit odd.

 Well, I didn't make this up, really. Take a look at Spring
 documentation for 2.5.5:
 http://static.springsource.org/spring/docs/2.5.x/reference/orm.html#orm-jpa

 ALL 3 options mention weaving.

  i'm not trying to dodge the
  question, but typically i solve these issues with google searches.

 I haven't found anything wrt GWT provided servlet engine, i.e. jetty
 bundled with GWT. The only link I found, I provided, but that doesn't
 seem to work anyway.

 If anyone has any ideas, please suggest.

 Thanks,
 Yaakov.
 



-- 
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



CSS file issue + possible bug in GWT 1.7

2009-11-04 Thread grasshopper

Hello all,

I've just migrated a GWT 1.5 project to GWT 1.7.1. One of the issues i
ran into was that in hosted mode my css file was not getting picked
up. Searching through the GWT group i learned that i  would need to
add the following line to my gwt.xml file:
stylesheet src=/index.css / and this made my css styles get picked
up in hosted mode. However, once i was able to compile the project,
build a war, and deploy the war to a tomcat instance, when i would
navigate to app url i would run into the css styles not getting picked
again. In my index.html file, the entry point to my app, i also have
the following:
link type=text/css rel=stylesheet href=index.css

Two things to notice between what's in index.gwt.xml and index.html:
in index.gwt.xml there is a forward slash, and it needs to be there or
else the css styles will not get picked up. In index.html there is no
forward slash, and it should be that way because that file reference
should be relative to the app url.

Ultimately, i figured out why is my css file not getting picked up in
tomcat. My appname.noncache.js file refers to href=/index.css which
i am assuming it's getting during compiling from index.gwt.xml.

Is there a way for Compiler not to reference /index.css from gwt.xml
file??

Anyone else run into issues with CSS file in GWT 1.7.1???
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: CSS file issue + possible bug in GWT 1.7

2009-11-04 Thread Yozons Support on Gmail
I've reported this issue, too.  It seems odd, but if you don't put a full
path, it assumes it's in the generated javascript area, but that area is
blown away during each compile, so it's not clear where to define the CSS in
Eclipse so that after the compile it puts the CSS back in there.  If you put
the slash, then it's rooted at the /, not the webapp's context path.
Frustrating, but don't know the solution other than to keep it in the HTML
file where it works as expected, though doesn't follow the module model of
ensuring the CSS is kept with the module.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: CSS file issue + possible bug in GWT 1.7

2009-11-04 Thread Open eSignForms

I've seen re-read the modules description and figured out what I
needed to do, at least in Eclipse, and then to use the default names
GWT recognizes.

In the project root where your gwt.xml file is, you should have a
'client' folder where your client code goes that will be converted to
javascript, a 'server' folder where you server-side Java code goes,
and a 'public' folder (which I didn't have before) where you can put
the CSS referenced in your gwt.xml file without the leading /.  Now
when I do a GWT Compile, the css files in my public folder are copied
into the war's module folder where it will automatically look for it,
so it no longer needs to be in the HTML host document.

Hope that helps you, too.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: CSS file issue + possible bug in GWT 1.7

2009-11-04 Thread grasshopper

I just tried placing the css file in public on the same dir as the
gwt.xml, but that causes other problemsif you are referring to
images from css file. It also then, starts to look like a GWT 1.5
project :-)

On Nov 4, 4:08 pm, Open eSignForms yoz...@gmail.com wrote:
 I've seen re-read the modules description and figured out what I
 needed to do, at least in Eclipse, and then to use the default names
 GWT recognizes.

 In the project root where your gwt.xml file is, you should have a
 'client' folder where your client code goes that will be converted to
 javascript, a 'server' folder where you server-side Java code goes,
 and a 'public' folder (which I didn't have before) where you can put
 the CSS referenced in your gwt.xml file without the leading /.  Now
 when I do a GWT Compile, the css files in my public folder are copied
 into the war's module folder where it will automatically look for it,
 so it no longer needs to be in the HTML host document.

 Hope that helps you, too.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: CSS file issue + possible bug in GWT 1.7

2009-11-04 Thread Yozons Support on Gmail
I only started with GWT 1.7, so I can't speak about that.  But here's what I
have in my gwt.xml:

  !-- Specify public resources that will be copied to the module --
  public path=public/common/public
  public path=public/login/public

  !-- Style sheets we use from the public paths above  --
  stylesheet src=esf.css/
  stylesheet src=login.css/

So, when my module loads, it will insert the link tags to pull in esf.css
and login.css from the 'module path' generated by the GWT Compiler.
Because my project has multiple gwt.xml files, I segmented the public area
into a 'public/common' for our base styles used in all modules, and another
'public/login' for just the login module.  Then I can reference both CSS
files using simple stylesheet entries in the gwt.xml file.

What I found is that my module (module rename-to='esfgwt_login') folder
war/esfgwt_login not only contains the javascript, but it also has a copy of
the CSS.  I guess you can also put images and javascript files in the public
area if you want them to be automatically included, but for me, that's a bit
more rare since we don't have much javascript/images that we share (we're
using image bundles for most images) which have their own scheme.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



GWT 1.7 compiling from Ant

2009-11-03 Thread grasshopper

Hello all,

I've just migrated a project from GWT 1.5 to GWT 1.7. While before i
could compile the GWT project from an ant file with the following
code:

target name=compile
exec executable=${root.dir}/HelloWorld-compile.cmd
failonerror=true/
/target

I can't do so anymore in GWT 1.7. I've search the group postings and
the closes i've come to some help is to do the following:

java failonerror=true fork=true
classname=com.google.gwt.dev.Compiler
classpath
path refid=${root.dir}/.classpath/
/classpath
/java

Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT 1.7 compiling from Ant

2009-11-03 Thread grasshopper

I am getting the following error:

[java] java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler
[java] Exception in thread main

On Nov 3, 10:33 am, grasshopper revi2...@gmail.com wrote:
 Hello all,

 I've just migrated a project from GWT 1.5 to GWT 1.7. While before i
 could compile the GWT project from an ant file with the following
 code:

 target name=compile
 exec executable=${root.dir}/HelloWorld-compile.cmd
 failonerror=true/
 /target

 I can't do so anymore in GWT 1.7. I've search the group postings and
 the closes i've come to some help is to do the following:

 java failonerror=true fork=true
 classname=com.google.gwt.dev.Compiler
         classpath
             path refid=${root.dir}/.classpath/
         /classpath
 /java

 Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT 1.7 + Eclipse, JPA, Spring configuration

2009-11-03 Thread Yaakov

Thanks for point that out... Now, it does pick up the persistence
unit...

However, I am still not able to start up pre-bundled with Eclipse GWT
Jetty server.

First, it complained that I didn't specify a persistence provider. I
did that by changing my entityManagerFactory to this:

bean id=entityManagerFactory
 
class=org.springframework.orm.jpa.LocalEntityManagerFactoryBean
   property name=persistenceUnitName value=testUnit
   property name=jpaDialect
value=org.springframework.orm.jpa.vendor.TopLinkJpaDialect /
   property name=jpaVendorAdapter
value=org.springframework.orm.jpa.vendor.TopLinkJpaVendorAdapter /
 /bean

After I did this, it started complaining that I Cannot apply class
transformer without LoadTimeWeaver specified.

Well, I tried specifying the load time weaver:
bean id=entityManagerFactory
 
class=org.springframework.orm.jpa.LocalEntityManagerFactoryBean
   property name=loadTimeWeaver
  bean
class=org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver
 /

   /property
   property name=persistenceUnitName value=testUnit
   property name=jpaDialect
value=org.springframework.orm.jpa.vendor.TopLinkJpaDialect /
   property name=jpaVendorAdapter
value=org.springframework.orm.jpa.vendor.TopLinkJpaVendorAdapter /
 /bean


When I specify that, it complains that in order to use that particular
weaver, I need to start with a Java agent... From Spring
documentation, that would be spring-agent-2.5.5.jar...

I opened Run Configurations in Eclipse and chose my GWT web app run
configuration. Then, I switched to the Arguments tab and put this in
VM arguments:
-javaagent:c:\spring-agent-2.5.5.jar

This is the exact same configuration (in my spring config and in my
run configuration) that I use to run JPA DAO tests without requiring a
server and it runs just fine within Eclipse and within maven...

However, even after specifying the Java agent the way I just
described, I still get the same error... It's as if GWT Hosted mode
server doesn't see that I am asking it to start with a specific Java
agent (specified in the Arguments-vm arguments in Eclipse)...

Any ideas as to how to get this to work?

Thanks,
Yaakov.



On Nov 3, 3:33 pm, Davis Ford davisf...@zenoconsulting.biz wrote:
 don't put persistence.xml in war folder, put it here:

 ${basedir}/src/main/resources/META-INF/persistence.xml

 When you build, maven will make sure it goes in the classes dir of your
 webapp (i.e. app.war!/WEB-INF/classes/persistence.xml)

 On Tue, Nov 3, 2009 at 3:03 PM, Yaakov Chaikin 
 yaakov.chai...@gmail.comwrote:





  Hi,

  I am trying to get hosted mode to work in Eclipse 3.4 with GWT plugin
  1.7 on Windows...

  Here is what I have:

  1) Maven folder structure, as I use maven to compile/deploy the whole
  thing.
  2) 3 separate modules (eclipse projects): Persistence, Model, and Web
  (this is the GWT project).
  3) Model has JPA annotated POJOs
  4) Persistence has Spring annotated DAOs like this:
  @Service
  @Transactional
  public UserDAOImpl implements UserDAO
  {
    @PersistenceContext(unitName=testUnit)
    private EntityManager manager;

    public User getUser(String userName)
    {
       // some JPA code
    }
  }

  5) The Persistence module has persistence.xml in
  src/main/resource/META-INF which looks like this:
   standard header stuff...
   persistence-unit name=testUnit transaction-type=RESOURCE_LOCAL
      classtest.User/class
      properties
         property name=toplink.jdbc.driver
  value=oracle.jdbc.driver.OracleDriver /
         property name=toplink.jdbc.url  value=oracle URL /
         property name=toplink.jdbc.user value=user /
        property name=toplink.jdbc.password value=password /
    /properties
  /persistence-unit

  6) In my Web module, I load this Spring configuration:

  ... standard header stuff
   bean id=entityManagerFactory
           class=org.springframework.orm.jpa.LocalEntityManagerFactoryBean
    property name=persistenceUnitName value=testUnit
   /bean
   .
   there are other things defined here
   .

  I think it is #6 where things are getting stuck... When I try to start
  Eclipse GWT in Hosted mode, the console spits out error creating bean
  with name 'entityManagerFactory' defined in class path resource
  test-context.xml: Invocation of init method failed; nested exception
  is java.lang.IllegalArgumentException: No persistence unit with name
  'testUnit' found

  I have no idea why this is happening... I already tried to create a
  directory under my 'war' directory in the Web module called META-INF
  and place the persistence.xml there, but it still says it can't find
  the persistence unit with name 'testUnit'...

  My maven dependencies bring the following into classpath (besides the
  other 2 modules this one depends on and besides the usual gwt ones):
  dependency
   groupIdjava.persistence/groupId
   artifactIdpersistence-api/artifactId
   version1.0/version
  /dependency
  dependency
   groupIdoracle/groupId
   

Re: GWT 1.7 + Eclipse, JPA, Spring configuration

2009-11-03 Thread Davis Ford
which maven gwt plugin are you using -- is it the  codehaus gwt plugin?

to be honest, this sounds like it is not so much a gwt thing as it is a
hibernate/spring thing.

i've used hibernate/spring a lot with jpa, and never had to specify a weaver
via an extra JVM argument.  it seems a bit odd.  i'm not trying to dodge the
question, but typically i solve these issues with google searches.
 something in your project setup is not right -- narrow it down.

On Tue, Nov 3, 2009 at 4:57 PM, Yaakov yaakov.chai...@gmail.com wrote:


 Thanks for point that out... Now, it does pick up the persistence
 unit...

 However, I am still not able to start up pre-bundled with Eclipse GWT
 Jetty server.

 First, it complained that I didn't specify a persistence provider. I
 did that by changing my entityManagerFactory to this:

 bean id=entityManagerFactory

 class=org.springframework.orm.jpa.LocalEntityManagerFactoryBean
   property name=persistenceUnitName value=testUnit
property name=jpaDialect
 value=org.springframework.orm.jpa.vendor.TopLinkJpaDialect /
   property name=jpaVendorAdapter
 value=org.springframework.orm.jpa.vendor.TopLinkJpaVendorAdapter /
  /bean

 After I did this, it started complaining that I Cannot apply class
 transformer without LoadTimeWeaver specified.

 Well, I tried specifying the load time weaver:
 bean id=entityManagerFactory

 class=org.springframework.orm.jpa.LocalEntityManagerFactoryBean
property name=loadTimeWeaver
  bean
 class=org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver
 /
 
   /property
property name=persistenceUnitName value=testUnit
property name=jpaDialect
 value=org.springframework.orm.jpa.vendor.TopLinkJpaDialect /
   property name=jpaVendorAdapter
 value=org.springframework.orm.jpa.vendor.TopLinkJpaVendorAdapter /
  /bean


 When I specify that, it complains that in order to use that particular
 weaver, I need to start with a Java agent... From Spring
 documentation, that would be spring-agent-2.5.5.jar...

 I opened Run Configurations in Eclipse and chose my GWT web app run
 configuration. Then, I switched to the Arguments tab and put this in
 VM arguments:
 -javaagent:c:\spring-agent-2.5.5.jar

 This is the exact same configuration (in my spring config and in my
 run configuration) that I use to run JPA DAO tests without requiring a
 server and it runs just fine within Eclipse and within maven...

 However, even after specifying the Java agent the way I just
 described, I still get the same error... It's as if GWT Hosted mode
 server doesn't see that I am asking it to start with a specific Java
 agent (specified in the Arguments-vm arguments in Eclipse)...

 Any ideas as to how to get this to work?

 Thanks,
 Yaakov.



 On Nov 3, 3:33 pm, Davis Ford davisf...@zenoconsulting.biz wrote:
  don't put persistence.xml in war folder, put it here:
 
  ${basedir}/src/main/resources/META-INF/persistence.xml
 
  When you build, maven will make sure it goes in the classes dir of your
  webapp (i.e. app.war!/WEB-INF/classes/persistence.xml)
 
  On Tue, Nov 3, 2009 at 3:03 PM, Yaakov Chaikin yaakov.chai...@gmail.com
 wrote:
 
 
 
 
 
   Hi,
 
   I am trying to get hosted mode to work in Eclipse 3.4 with GWT plugin
   1.7 on Windows...
 
   Here is what I have:
 
   1) Maven folder structure, as I use maven to compile/deploy the whole
   thing.
   2) 3 separate modules (eclipse projects): Persistence, Model, and Web
   (this is the GWT project).
   3) Model has JPA annotated POJOs
   4) Persistence has Spring annotated DAOs like this:
   @Service
   @Transactional
   public UserDAOImpl implements UserDAO
   {
 @PersistenceContext(unitName=testUnit)
 private EntityManager manager;
 
 public User getUser(String userName)
 {
// some JPA code
 }
   }
 
   5) The Persistence module has persistence.xml in
   src/main/resource/META-INF which looks like this:
    standard header stuff...
persistence-unit name=testUnit transaction-type=RESOURCE_LOCAL
   classtest.User/class
   properties
  property name=toplink.jdbc.driver
   value=oracle.jdbc.driver.OracleDriver /
  property name=toplink.jdbc.url  value=oracle URL /
  property name=toplink.jdbc.user value=user /
 property name=toplink.jdbc.password value=password /
 /properties
   /persistence-unit
 
   6) In my Web module, I load this Spring configuration:
 
   ... standard header stuff
bean id=entityManagerFactory
  
  class=org.springframework.orm.jpa.LocalEntityManagerFactoryBean
 property name=persistenceUnitName value=testUnit
/bean
.
there are other things defined here
.
 
   I think it is #6 where things are getting stuck... When I try to start
   Eclipse GWT in Hosted mode, the console spits out error creating bean
   with name 'entityManagerFactory' defined in class path resource
   test-context.xml: Invocation of init method failed; nested exception
   is 

GWT 1.7 + Eclipse, JPA, Spring configuration

2009-11-03 Thread Yaakov Chaikin

Hi,

I am trying to get hosted mode to work in Eclipse 3.4 with GWT plugin
1.7 on Windows...

Here is what I have:

1) Maven folder structure, as I use maven to compile/deploy the whole thing.
2) 3 separate modules (eclipse projects): Persistence, Model, and Web
(this is the GWT project).
3) Model has JPA annotated POJOs
4) Persistence has Spring annotated DAOs like this:
@Service
@Transactional
public UserDAOImpl implements UserDAO
{
   @PersistenceContext(unitName=testUnit)
   private EntityManager manager;

   public User getUser(String userName)
   {
  // some JPA code
   }
}

5) The Persistence module has persistence.xml in
src/main/resource/META-INF which looks like this:
 standard header stuff...
  persistence-unit name=testUnit transaction-type=RESOURCE_LOCAL
 classtest.User/class
 properties
property name=toplink.jdbc.driver
value=oracle.jdbc.driver.OracleDriver /
property name=toplink.jdbc.url  value=oracle URL /
property name=toplink.jdbc.user value=user /
   property name=toplink.jdbc.password value=password /
   /properties
/persistence-unit

6) In my Web module, I load this Spring configuration:

... standard header stuff
  bean id=entityManagerFactory
  class=org.springframework.orm.jpa.LocalEntityManagerFactoryBean
   property name=persistenceUnitName value=testUnit
 /bean
 .
 there are other things defined here
 .


I think it is #6 where things are getting stuck... When I try to start
Eclipse GWT in Hosted mode, the console spits out error creating bean
with name 'entityManagerFactory' defined in class path resource
test-context.xml: Invocation of init method failed; nested exception
is java.lang.IllegalArgumentException: No persistence unit with name
'testUnit' found

I have no idea why this is happening... I already tried to create a
directory under my 'war' directory in the Web module called META-INF
and place the persistence.xml there, but it still says it can't find
the persistence unit with name 'testUnit'...

My maven dependencies bring the following into classpath (besides the
other 2 modules this one depends on and besides the usual gwt ones):
dependency
  groupIdjava.persistence/groupId
  artifactIdpersistence-api/artifactId
  version1.0/version
/dependency
dependency
  groupIdoracle/groupId
  artifactIdjdbc/artifactId
  version1.4/version
/dependency
dependency
  groupIdoracle/groupId
  artifactIdoracle.toplink.essentials/artifactId
  version2.1-b60e-fcs/version
/dependency
dependency
  groupIdcommons-dbcp/groupId
  artifactIdcommons-dbcp/artifactId
  version1.2.2/version
/dependency

Obviously, there is more, but the bottom line is, for some reason, it
refuses to recognize my persistence unit... This is very frustrating
as I can't imagine having to redeploy every time I need to make GUI
update... One of the biggest points of GWT basically is out the
window.

I tried following what this blog pointed out (which is basically what
I've described above, but still have the same issues):
http://codetrips.blogspot.com/2009/05/gwt-spring-and-jpa-not-really-friendly.html

I can't imagine no one has used GWT with Spring and JPA and I am the
first one, so whoever knows the magic solution for this, please help
me out. I'd really appreciate it.

Thanks,
Yaakov.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server

2009-11-02 Thread luxor

Darpan Mhatre!

I also want to add:
 Often used in conjunction Appache web server and Tomcat.
- Move your Main Page (eg App.html) to folder httpdocs in Appache
webserver
- Rename it to index.html (optional)
- Do not forget to specify the path to * nocache.js and *. css on the
relatively Appache root dir
- Please read the documentation on configuring mod_jk from your
hosting provider
Maybe you need to configure servlet mapping with mod_jk

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Continuous Integration with GWT 1.7 and Hudson

2009-10-29 Thread Christian López Espínola

Hi Sripathi,

On Wed, Oct 28, 2009 at 7:50 PM, Sripathi Krishnan
sripathi.krish...@gmail.com wrote:
 You are using Xvfb in the wrong place. Since hudson is going to start the
 browser, it needs the Xvfb argument. Jboss doesn't need those arguments.

 Here is what we did to get Hudson working with gwt test cases

 nohup Xvfb :4 -screen 0 1024x768x24 
 DISPLAY=:4 nohup java -jar hudson.war --httpPort=8999 --ajp13Port=8998
nohup.out 

Thanks for the comment. You're running hudson on its own server (I
guess jetty). I run Hudson on JBoss Application Server.
BTW, I solved the issue by redirecting the Xvfb output to any place,
avoiding other processes to kill it.

Xvfb :1 -ac -screen 0 1024x768x8  /dev/null 2 /dev/null 

Hope this helps anyone else.

 --Sri


 2009/10/28 Christian López Espínola penyaskito penyask...@gmail.com

 Hi,

 I'm trying to get CI working on my server. It's a Linux box with
 JBoss, and no X server.
 When trying to build I got errors when running GwtTests:

 [INFO] org.eclipse.swt.SWTError: No more handles [gtk_init_check()
 failed]
 [INFO]  at org.eclipse.swt.SWT.error(SWT.java:3400)
 [INFO]  at org.eclipse.swt.widgets.Display.createDisplay(Display.java:
 793)
 [INFO]  at org.eclipse.swt.widgets.Display.create(Display.java:781)
 [INFO]  at org.eclipse.swt.graphics.Device.init(Device.java:145)
 [INFO]  at org.eclipse.swt.widgets.Display.init(Display.java:452)
 [INFO]  at org.eclipse.swt.widgets.Display.init(Display.java:443)
 [INFO]  at org.eclipse.swt.widgets.Display.getDefault(Display.java:
 1522)
 [INFO]  at com.google.gwt.dev.SwtHostedModeBase.init
 (SwtHostedModeBase.java:93)
 [INFO]  at com.google.gwt.dev.GWTShell.init(GWTShell.java:40)
 [INFO]  at com.google.gwt.junit.JUnitShell.init(JUnitShell.java:482)
 [INFO]  at com.google.gwt.junit.JUnitShell.getUnitTestShell
 (JUnitShell.java:399)
 [INFO]  at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:
 346)
 [INFO]  at com.google.gwt.junit.client.GWTTestCase.runTest
 (GWTTestCase.java:219)
 [INFO]  at junit.framework.TestCase.runBare(TestCase.java:127)
 [INFO]  at junit.framework.TestResult$1.protect(TestResult.java:106)
 [INFO]  at junit.framework.TestResult.runProtected(TestResult.java:
 124)
 [INFO]  at junit.framework.TestResult.run(TestResult.java:109)
 [INFO]  at junit.framework.TestCase.run(TestCase.java:118)
 [INFO]  at com.google.gwt.junit.client.GWTTestCase.run
 (GWTTestCase.java:132)
 [INFO]  at junit.framework.TestSuite.runTest(TestSuite.java:208)
 [INFO]  at junit.framework.TestSuite.run(TestSuite.java:203)
 [INFO]  at org.codehaus.mojo.gwt.test.MavenTestRunner.doRun
 (MavenTestRunner.java:105)
 [INFO]  at junit.textui.TestRunner.start(TestRunner.java:172)
 [INFO]  at org.codehaus.mojo.gwt.test.MavenTestRunner.main
 (MavenTestRunner.java:63)

 I tried with Xvbf, modifying $JBOSS_HOME/bin/run.sh, including the
 following lines at the start of the file:

 Xvfb :1 -ac -screen 0 1024x768x8 
 export DISPLAY=:1
 JAVA_OPTS=$JAVA_OPTS -Djava.awt.headless=true

 But I'm still facing the same problem. Has anyone solved a similar
 situation? Could you give me some advice?

 Thanks in advance.




 




-- 
Cheers,

Christian López Espínola penyaskito

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Continuous Integration with GWT 1.7 and Hudson

2009-10-28 Thread Christian López Espínola

Hi,

I'm trying to get CI working on my server. It's a Linux box with
JBoss, and no X server.
When trying to build I got errors when running GwtTests:

[INFO] org.eclipse.swt.SWTError: No more handles [gtk_init_check()
failed]
[INFO]  at org.eclipse.swt.SWT.error(SWT.java:3400)
[INFO]  at org.eclipse.swt.widgets.Display.createDisplay(Display.java:
793)
[INFO]  at org.eclipse.swt.widgets.Display.create(Display.java:781)
[INFO]  at org.eclipse.swt.graphics.Device.init(Device.java:145)
[INFO]  at org.eclipse.swt.widgets.Display.init(Display.java:452)
[INFO]  at org.eclipse.swt.widgets.Display.init(Display.java:443)
[INFO]  at org.eclipse.swt.widgets.Display.getDefault(Display.java:
1522)
[INFO]  at com.google.gwt.dev.SwtHostedModeBase.init
(SwtHostedModeBase.java:93)
[INFO]  at com.google.gwt.dev.GWTShell.init(GWTShell.java:40)
[INFO]  at com.google.gwt.junit.JUnitShell.init(JUnitShell.java:482)
[INFO]  at com.google.gwt.junit.JUnitShell.getUnitTestShell
(JUnitShell.java:399)
[INFO]  at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:
346)
[INFO]  at com.google.gwt.junit.client.GWTTestCase.runTest
(GWTTestCase.java:219)
[INFO]  at junit.framework.TestCase.runBare(TestCase.java:127)
[INFO]  at junit.framework.TestResult$1.protect(TestResult.java:106)
[INFO]  at junit.framework.TestResult.runProtected(TestResult.java:
124)
[INFO]  at junit.framework.TestResult.run(TestResult.java:109)
[INFO]  at junit.framework.TestCase.run(TestCase.java:118)
[INFO]  at com.google.gwt.junit.client.GWTTestCase.run
(GWTTestCase.java:132)
[INFO]  at junit.framework.TestSuite.runTest(TestSuite.java:208)
[INFO]  at junit.framework.TestSuite.run(TestSuite.java:203)
[INFO]  at org.codehaus.mojo.gwt.test.MavenTestRunner.doRun
(MavenTestRunner.java:105)
[INFO]  at junit.textui.TestRunner.start(TestRunner.java:172)
[INFO]  at org.codehaus.mojo.gwt.test.MavenTestRunner.main
(MavenTestRunner.java:63)

I tried with Xvbf, modifying $JBOSS_HOME/bin/run.sh, including the
following lines at the start of the file:

Xvfb :1 -ac -screen 0 1024x768x8 
export DISPLAY=:1
JAVA_OPTS=$JAVA_OPTS -Djava.awt.headless=true

But I'm still facing the same problem. Has anyone solved a similar
situation? Could you give me some advice?

Thanks in advance.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Continuous Integration with GWT 1.7 and Hudson

2009-10-28 Thread Sripathi Krishnan
You are using Xvfb in the wrong place. Since hudson is going to start the
browser, it needs the Xvfb argument. Jboss doesn't need those arguments.

Here is what we did to get Hudson working with gwt test cases

nohup Xvfb :4 -screen 0 1024x768x24 
DISPLAY=:4 nohup java -jar hudson.war --httpPort=8999 --ajp13Port=8998
nohup.out 


--Sri


2009/10/28 Christian López Espínola penyaskito penyask...@gmail.com


 Hi,

 I'm trying to get CI working on my server. It's a Linux box with
 JBoss, and no X server.
 When trying to build I got errors when running GwtTests:

 [INFO] org.eclipse.swt.SWTError: No more handles [gtk_init_check()
 failed]
 [INFO]  at org.eclipse.swt.SWT.error(SWT.java:3400)
 [INFO]  at org.eclipse.swt.widgets.Display.createDisplay(Display.java:
 793)
 [INFO]  at org.eclipse.swt.widgets.Display.create(Display.java:781)
 [INFO]  at org.eclipse.swt.graphics.Device.init(Device.java:145)
 [INFO]  at org.eclipse.swt.widgets.Display.init(Display.java:452)
 [INFO]  at org.eclipse.swt.widgets.Display.init(Display.java:443)
 [INFO]  at org.eclipse.swt.widgets.Display.getDefault(Display.java:
 1522)
 [INFO]  at com.google.gwt.dev.SwtHostedModeBase.init
 (SwtHostedModeBase.java:93)
 [INFO]  at com.google.gwt.dev.GWTShell.init(GWTShell.java:40)
 [INFO]  at com.google.gwt.junit.JUnitShell.init(JUnitShell.java:482)
 [INFO]  at com.google.gwt.junit.JUnitShell.getUnitTestShell
 (JUnitShell.java:399)
 [INFO]  at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:
 346)
 [INFO]  at com.google.gwt.junit.client.GWTTestCase.runTest
 (GWTTestCase.java:219)
 [INFO]  at junit.framework.TestCase.runBare(TestCase.java:127)
 [INFO]  at junit.framework.TestResult$1.protect(TestResult.java:106)
 [INFO]  at junit.framework.TestResult.runProtected(TestResult.java:
 124)
 [INFO]  at junit.framework.TestResult.run(TestResult.java:109)
 [INFO]  at junit.framework.TestCase.run(TestCase.java:118)
 [INFO]  at com.google.gwt.junit.client.GWTTestCase.run
 (GWTTestCase.java:132)
 [INFO]  at junit.framework.TestSuite.runTest(TestSuite.java:208)
 [INFO]  at junit.framework.TestSuite.run(TestSuite.java:203)
 [INFO]  at org.codehaus.mojo.gwt.test.MavenTestRunner.doRun
 (MavenTestRunner.java:105)
 [INFO]  at junit.textui.TestRunner.start(TestRunner.java:172)
 [INFO]  at org.codehaus.mojo.gwt.test.MavenTestRunner.main
 (MavenTestRunner.java:63)

 I tried with Xvbf, modifying $JBOSS_HOME/bin/run.sh, including the
 following lines at the start of the file:

 Xvfb :1 -ac -screen 0 1024x768x8 
 export DISPLAY=:1
 JAVA_OPTS=$JAVA_OPTS -Djava.awt.headless=true

 But I'm still facing the same problem. Has anyone solved a similar
 situation? Could you give me some advice?

 Thanks in advance.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server

2009-10-27 Thread Yozons Support on Gmail
Just remember to do the Google-GWT Compile step to create all of the files
in the war/module_name folder that's auto-rebuilt for each compile.   Those
are the ones that are needed when not in hosted/dev mode.

And if you're not creating a new war file each time, you may want to
consider removing the war/module_name folder in Tomcat before you copy over
the latest build so that obsolete code (all files have hashes for names, so
you won't ever overlay a file that has changed since the last compile)
doesn't build up over time.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server

2009-10-27 Thread sathya

This is very easy process to deploy GWT project on tomcat.Please
follow below steps.

1. Install tomcat cat server with tomcat manager.
2. create zip file with all contents inside war file.(imp note:: do
not zip war file, instead zip all contents of war file. When you open
zip file, you should be able to see all contents of war file and not
war folder).
3. Now rename the zip file with extension .war
4. Using tomcat manager, just upload this .war file.
Now you will be able to access your application.


On Oct 27, 8:54 pm, Yozons Support on Gmail yoz...@gmail.com wrote:
 Just remember to do the Google-GWT Compile step to create all of the files
 in the war/module_name folder that's auto-rebuilt for each compile.   Those
 are the ones that are needed when not in hosted/dev mode.

 And if you're not creating a new war file each time, you may want to
 consider removing the war/module_name folder in Tomcat before you copy over
 the latest build so that obsolete code (all files have hashes for names, so
 you won't ever overlay a file that has changed since the last compile)
 doesn't build up over time.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server

2009-10-26 Thread Darpan Mhatre

Hi Folks,
Can anyone here let me know how to deploy GWT application
(gwt 1.7) in tomcat or resin or any external web application server.
The snapshots will be helpful.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server

2009-10-26 Thread Yozons Support on Gmail
If you used the Eclipse plug-in, just copy all of the files in the 'war' to
the webapps folder for Tomcat, then deploy it as normal.

David

On Mon, Oct 26, 2009 at 1:48 PM, Darpan Mhatre darpan27...@gmail.comwrote:


 Hi Folks,
Can anyone here let me know how to deploy GWT application
 (gwt 1.7) in tomcat or resin or any external web application server.
 The snapshots will be helpful.





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server

2009-10-26 Thread Proxy

What if I (locally) was able to run the server without using tomcat??
(at least seemingly)

On Oct 26, 2:50 pm, Yozons Support on Gmail yoz...@gmail.com wrote:
 If you used the Eclipse plug-in, just copy all of the files in the 'war' to
 the webapps folder for Tomcat, then deploy it as normal.

 David

 On Mon, Oct 26, 2009 at 1:48 PM, Darpan Mhatre darpan27...@gmail.comwrote:



  Hi Folks,
             Can anyone here let me know how to deploy GWT application
  (gwt 1.7) in tomcat or resin or any external web application server.
  The snapshots will be helpful.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server

2009-10-26 Thread rjcarr

There are many ways to do this, but what you'll probably want to do is
create a WAR file of the contents in your war directory (using the jar
command) and then copy that into the webapps folder of tomcat, or
the deploy folder of jboss, etc.

On Oct 26, 1:48 pm, Darpan Mhatre darpan27...@gmail.com wrote:
 Hi Folks,
             Can anyone here let me know how to deploy GWT application
 (gwt 1.7) in tomcat or resin or any external web application server.
 The snapshots will be helpful.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Can anyone here let me know how to deploy GWT application (gwt 1.7) in tomcat or resin or any external server

2009-10-26 Thread Sanjeev Kulkarni

Yes just upload the war file to web and it should work well...

On Oct 27, 9:40 am, rjcarr rjc...@gmail.com wrote:
 There are many ways to do this, but what you'll probably want to do is
 create a WAR file of the contents in your war directory (using the jar
 command) and then copy that into the webapps folder of tomcat, or
 the deploy folder of jboss, etc.

 On Oct 26, 1:48 pm, Darpan Mhatre darpan27...@gmail.com wrote:

  Hi Folks,
              Can anyone here let me know how to deploy GWT application
  (gwt 1.7) in tomcat or resin or any external web application server.
  The snapshots will be helpful.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



[gwt-contrib] [google-web-toolkit] r6467 committed - Back port of FF3.5 disabling for HTTPSuite test to GWT 1.7. Original p...

2009-10-26 Thread codesite-noreply

Revision: 6467
Author: zun...@google.com
Date: Mon Oct 26 12:41:12 2009
Log: Back port of FF3.5 disabling for HTTPSuite test to GWT 1.7. Original  
patch is at
r6249 in trunk.

Review by: jlabanca

http://code.google.com/p/google-web-toolkit/source/detail?r=6467

Modified:
  /releases/1.7/user/test/com/google/gwt/http/client/RequestBuilderTest.java

===
---  
/releases/1.7/user/test/com/google/gwt/http/client/RequestBuilderTest.java  
 
Wed Mar 26 20:10:13 2008
+++  
/releases/1.7/user/test/com/google/gwt/http/client/RequestBuilderTest.java  
 
Mon Oct 26 12:41:12 2009
@@ -38,6 +38,25 @@
  return ua.indexOf(webkit) != -1;
}-*/;

+  /**
+   * HACK: Part of a work around for FF 3.5's failure to throw an  
exception when
+   * an XmlHttpRequest that violates the same origin policy is made.
+   */
+  private static native boolean isFirefox35() /*-{
+var ua = navigator.userAgent.toLowerCase();
+if (ua.indexOf(gecko) == -1) {
+  return false;
+}
+var result = /firefox\/([0-9]+\.[0-9]+)/.exec(ua.toLowerCase());
+if (result  result.length == 2) {
+  var version = parseFloat(result[1]);
+  if (version = 3.5) {
+return true;
+  }
+}
+return false;
+  }-*/;
+
@Override
public String getModuleName() {
  return com.google.gwt.http.RequestBuilderTest;
@@ -101,13 +120,17 @@
  }
});

-  if (isSafari()) {
+  if (isSafari() ||  isFirefox35()) {
  /*
   * HACK: Safari 2.0.4 will not throw an exception for XHR's that  
violate
   * the same-origin policy. It appears to silently ignore them so  
we do
   * not fail this test if we are on Safari and the
   * RequestPermissionException is not thrown. Even though Safari  
3.0.4
   * does throw an exception in this case, we exclude it anyway.
+ *
+ * FF3.5 allows XHR's to violate the same-origin policy and offers  
no
+ * way to disable the feature from the client. Only the server can  
block
+ * the same origin policy.
   */
} else {
  /*

--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---



Re: Hibernate4GTW + GWT 1.7 - problems?

2009-10-24 Thread Jason Essington

try Gilead, I believe that is the new name of that project.

-jason
On Oct 23, 2009, at 2:36 PM, rernst wrote:


 Hi,

 does Hibernate4GWT support GWT 1.7? I only saw mention up to 1.5.
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



CKEditor integration experiences with GWT 1.7?

2009-10-24 Thread Open eSignForms

Has anybody run into any issues integrating CKEditor with GWT 1.7?
While the RichEditor is okay, we need the added power of tables and
rendering with user-defined CSS for our needs where users are building
HTML chunks and need the additional layout and rending control.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Hibernate4GTW + GWT 1.7 - problems?

2009-10-23 Thread rernst

Hi,

does Hibernate4GWT support GWT 1.7? I only saw mention up to 1.5.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



GWT 1.7 + Datasource

2009-10-18 Thread rernst

I am trying to implement a Datasource with the hosted mode server.
This has turned out to be very confusing. The otherwise excellent book
'GWT in Practice' make reference to a Tomcat lite directory structure
which I am unable to find. Other references in this  group seem to
point at Jetty but I can't really find a jetty launcher script.

I should note that I am using the Instantiations Eclipse plugin but I
doubt that this plays into the runtime configuration. I am looking for
a context.xml file but cannot lcate anything besides the basic
web.xml.

I can make JDBC calls (JavaDB) via embedded and network driver just
fine but establishing a connection every time seems the wrong way to
go (am I mistaken). Instead I wanted to use connection pooling with a
Datasource as I would in a production environment.

Looking at some of the posts I am not the only one with this desire
but can't seem to find an answer that appears fitting.

Note that I am familiar on how to configure a Datasource in Tomcat but
the embedded server seems to work in mysterious ways ;-).

Any pointers on how to get this accomplished appreciated.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT 1.7 Hosted mode Wont create GWT widgets

2009-10-16 Thread ravvap

I  too have similar problem. All of a sudden my module is not loading.
It is not starting even when I tried command line.  Please suggest me
some alternative.


On Oct 7, 1:17 pm, mike_mac michael.mac...@gmail.com wrote:
 Well I've just opened another thread with what sounds like a similar
 (but different) problem 
 ...http://groups.google.com/group/google-web-toolkit/browse_thread/threa...

 Try running the app in hosted mode from the command line ... if it
 works you can simply launch it from inside eclipse as a java app.
 I know it doesn't solve your problem but it may at least allow you to
 keep developing.

 On Oct 7, 1:10 pm, Patrick Corbett patrickcorbett@googlemail.com
 wrote:



  Hello,

  I am having a problem that started just out of the blue.  my project
  has been working fine for months however today all of a sudden it
  stopped running in hosted mode.

  I can still compile the project and when run on my tomcat it worked
  fine.  I have determined that it is not contained to simply the
  project i was working on all previous and new proejects fail to
  start.  only basic HTML code is shown in the hosted browser and it
  wont process the java code in the entry point.

  If i set a break point within the onModuleLoad method it is never
  triggered.

  I am using eclispe 3.4 with GWT 1.7, also tried 1.6.4 and 1.7.1 with
  no effect.  using the Google plugin

  Thanks

  Patrick- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



GWT 1.7 Hosted mode Wont create GWT widgets

2009-10-07 Thread Patrick Corbett

Hello,

I am having a problem that started just out of the blue.  my project
has been working fine for months however today all of a sudden it
stopped running in hosted mode.

I can still compile the project and when run on my tomcat it worked
fine.  I have determined that it is not contained to simply the
project i was working on all previous and new proejects fail to
start.  only basic HTML code is shown in the hosted browser and it
wont process the java code in the entry point.

If i set a break point within the onModuleLoad method it is never
triggered.

I am using eclispe 3.4 with GWT 1.7, also tried 1.6.4 and 1.7.1 with
no effect.  using the Google plugin

Thanks

Patrick

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT 1.7 Hosted mode Wont create GWT widgets

2009-10-07 Thread mike_mac

Well I've just opened another thread with what sounds like a similar
(but different) problem ...
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/34b7bbcf6057a23d

Try running the app in hosted mode from the command line ... if it
works you can simply launch it from inside eclipse as a java app.
I know it doesn't solve your problem but it may at least allow you to
keep developing.

On Oct 7, 1:10 pm, Patrick Corbett patrickcorbett@googlemail.com
wrote:
 Hello,

 I am having a problem that started just out of the blue.  my project
 has been working fine for months however today all of a sudden it
 stopped running in hosted mode.

 I can still compile the project and when run on my tomcat it worked
 fine.  I have determined that it is not contained to simply the
 project i was working on all previous and new proejects fail to
 start.  only basic HTML code is shown in the hosted browser and it
 wont process the java code in the entry point.

 If i set a break point within the onModuleLoad method it is never
 triggered.

 I am using eclispe 3.4 with GWT 1.7, also tried 1.6.4 and 1.7.1 with
 no effect.  using the Google plugin

 Thanks

 Patrick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Download of GWT 1.7 keeps failing

2009-10-02 Thread R


Thanks All... I managed to get it later in the day...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Download of GWT 1.7 keeps failing

2009-10-01 Thread Chris Ramsdale

This issue has been resolved. Please try again if you were unable to
successfully download GWT.

- Chris

On Sep 30, 9:11 pm, Dominik Steiner dominik.j.stei...@googlemail.com
wrote:
 try using a download manager

 Dominik

 On 30 Sep., 08:23, R fiprojects@gmail.com wrote:



  Anyone else suffering this? My ISP is fine - I've downloaded Sun Java
  SDK just fine, and Apache ANT, but I've had three attempts downloading
  GWT and the download breaks and the zip file is corrupted.  First and
  third times, it broke at 1.7mb, second time it went to 8mb... What
  gives? I'm curious to muck about with it...

  Thanks...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Download of GWT 1.7 keeps failing

2009-09-30 Thread R

Anyone else suffering this? My ISP is fine - I've downloaded Sun Java
SDK just fine, and Apache ANT, but I've had three attempts downloading
GWT and the download breaks and the zip file is corrupted.  First and
third times, it broke at 1.7mb, second time it went to 8mb... What
gives? I'm curious to muck about with it...

Thanks...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Download of GWT 1.7 keeps failing

2009-09-30 Thread Dominik Steiner

try using a download manager

Dominik

On 30 Sep., 08:23, R fiprojects@gmail.com wrote:
 Anyone else suffering this? My ISP is fine - I've downloaded Sun Java
 SDK just fine, and Apache ANT, but I've had three attempts downloading
 GWT and the download breaks and the zip file is corrupted.  First and
 third times, it broke at 1.7mb, second time it went to 8mb... What
 gives? I'm curious to muck about with it...

 Thanks...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Building GWT-1.7 and included jars from source

2009-09-13 Thread Thomas Sachau

Since noone seems to be able or willing to answer, can anyone tell me,
where i can get answers to my questions?

On Sep 5, 7:04 pm, Thomas Sachau to...@gentoo.org wrote:
 Hi,

 i want to try to package GWT for Gentoo and for that, i need the
 sources of all included jars.

 Currently i am missing the sources for the following jars:
 -naming-common-1.0.jar
 -naiming-java-1.0.jar
 -naming-resources-1.0.jar
 -servlets-common-1.0.jar
 -tomcat-jk2-2.1.jar

 those seem to have been part of tomcat-5.0.*, but are not longer part
 of =tomcat-5.5. Can you tell me, from which actual package i can find
 those jars or which jars from which actual package contain the needed
 classes?

 -catalina.jar

 the included jar seems to also be either from an older version or
 contains modifications, can you tell me, which package contains an
 actual version, which contains all required classes?
 The included swt.jar also seems to either be modified or from a
 different version than the one i have currently installed, which
 package contains an actual version with all required classes?

 And i would like to know, for what exactly are those files in tools/
 redist used and can they be replaced by newer versions (like the
 mozilla ones)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Newbie to GWT 1.7 - again

2009-09-09 Thread Thomas Holmes

Well ... there is another thread with this message/issue, but I can
tell you exactly what I need.

So, I've got a working Spring 2.5.6 application, we use an
applicationContext.xml file.
We have working and unit tested Hibernate POJO's with Annotations, and
we have DAO's ... all defined in the Spring applicationContext.xml
file.
There is NO hibernate.cfg.xml file and there are NO ObjectType.hbm.xml
files .. unfortunately a lot of samples use these.

So, in testing out StockWatcher, I created a new GWT-RPC Service which
returns one of my database objects.
I used a Hibernate POJO and made sure that it returned all the
serializable types, and that works great in my Service.
I guess I need to create a new POJO that is a DTO. This new DTO object
will look like the Hibernate POJO, but will also implement
isSerializable
Or maybe both:

@Entity(name = database_tablename)
public class TestDataPOJO implements Serializable,IsSerializable

somewhere in the TestServiceImpl (under /server) we need to call the
database, get the data, move that to the new DTO, and that should be
what I want.
Likewise, I should have a method in the service that takes my modified
data (in this DTO object), and then somehow call the DAO to put the
data into the database.

So ... the key for me ... is how do I get my GWT-RPC service, somehow,
someway to use my already unit tested DAO's

Once, I can bridge that, I think I will be ok ...

Thanks so much for the help!
 Tom

On Sep 9, 3:16 pm, Sumit Chandel sumitchan...@google.com wrote:
 Hi Thomas,
 Indeed the StockWatcher tutorial includes a section on using GWT RPC which
 should help as an example in your case. The webAppCreator also generates a
 starter sample application that includes a GWT RPC component as well, so you
 may want to use that as a reference.

 For more specific help on using RPC for your applicaiton, it might help to
 know a bit more about the types that you want to send over the wire. If
 you're using DTOs across the wire, keeping track of objects updated on the
 client and persisting the changes to the server could be a matter of
 introducing (somewhat smelly) boolean control, a client-side register, or
 something else. A good solution depends on the type of information you want
 to send across.

 Hope that helps,
 -Sumit Chandel

 On Sun, Sep 6, 2009 at 2:03 PM, Jim Douglas jdoug...@basis.com wrote:

  Hi Thomas,

  The tutorials are very helpful; I worked through implementing the
  StockWatcher sample to get my head around GWT concepts (including
  RPC):

 http://code.google.com/webtoolkit/tutorials/1.6/index.html

  On Sep 6, 1:50 pm, Thomas Holmes thomas.j.hol...@gmail.com wrote:
   I posted this before, and I was waiting for the moderators to put this
   online.
   I am desperate, and need a working GWT-RPC working ASAP.    I've got 6
   new books on GWT and some refer to older 1.5 versions and not the new
   versions.

   We have Spring 2.5.6, some MVC, using Spring Beans, and Hibernate
   POJO's with Annotations.
   There is NO hibernate.cfg.xml and there are NO Object.hbm.xml files,
   but we do have working DAO's which work great.

   Now ... I want to be able to take a Master/Detail (or Parent Child/
   Record), bring it to the front-end, edit the data and push it back.
   So, I am going to need a GWT-RPC service(s) so we can do CRUD
   functionality.  All the samples I have seen use hbm.xml files and
   expect a hbernate.cfg.xml which we don't have.

   So, if anyone can point me in the right direction with working
   examples, it will be much appreciated.

   thanks!
                               Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Newbie to GWT 1.7 - again

2009-09-09 Thread Christian Goudreau
Here's some piece of advice.

First, If you're using the default GWT-RPC pattern, wich use the same object
type on the client side and on the server side. I think it's normal that it
doesn't work, since you're using two different object to represent the same
thing.

Second, I'll tell you what I'm using. GWT-Dispatch ! Simple implementation
of command pattern, it'll help you acheive what your searching. Personnaly,
I use the same object, but at some point with that implementation you can
control and do some customisation to what you want to send !

Little and simple exemple for updating a list of province :

public class UpdateProvinceHandler implements ActionHandlerUpdateProvince,
UpdateProvinceResult {
private Boolean result;

public ClassUpdateProvince getActionType() {
return UpdateProvince.class;
}

public UpdateProvinceResult execute(UpdateProvince action,
ExecutionContext context) throws ActionException {
ApapulTransaction.INSTANCE.open();

result =
ApapulTransaction.INSTANCE.updateProvince(action.getProvince());

ApapulTransaction.INSTANCE.close();

return new UpdateProvinceResult(result);
}

public void rollback(UpdateProvince action, UpdateProvinceResult result,
ExecutionContext context) throws ActionException {
}
}

This class is a servlet handled by Guice. Here's my guice config file :

public class ServerModule extends ActionHandlerModule {

@Override
protected void configureHandlers() {
bindHandler(GetProvincesHandler.class);
bindHandler(InsertProvinceHandler.class);
bindHandler(RemoveProvinceHandler.class);
bindHandler(UpdateProvinceHandler.class);

bind(Log.class).toProvider(LogProvider.class).in(Singleton.class);
}
}

There's also other files, but I let you read the quick start guide of the
Gwt-Dispatch project. The only thing you have to know is that when you
execute this, you will be able to transform you data from the server, to a
form that the client understand !

ApapulTransaction.INSTANCE.open();

result =
ApapulTransaction.INSTANCE.updateProvince(action.getProvince());

ApapulTransaction.INSTANCE.close();

return new UpdateProvinceResult(result);

this return a simple boolean saying Hey, Operation succeed ! Result could
have been a DTO object too, it's only a matter of use case. Oh, It Must send
back something that the client will understand, so DAO object isn't right,
do the conversion before sending that back.

Hope it'll help you, I know my server sice need a little bit of best
practice advice, but I'm starting to get a grip of all the best pratice to
do in client side ! There's four things you should get : Gin, Guice,
gwt-presenter and gwt-dispatch !

Regards

Christian

On Wed, Sep 9, 2009 at 4:07 PM, Thomas Holmes thomas.j.hol...@gmail.comwrote:


 Well ... there is another thread with this message/issue, but I can
 tell you exactly what I need.

 So, I've got a working Spring 2.5.6 application, we use an
 applicationContext.xml file.
 We have working and unit tested Hibernate POJO's with Annotations, and
 we have DAO's ... all defined in the Spring applicationContext.xml
 file.
 There is NO hibernate.cfg.xml file and there are NO ObjectType.hbm.xml
 files .. unfortunately a lot of samples use these.

 So, in testing out StockWatcher, I created a new GWT-RPC Service which
 returns one of my database objects.
 I used a Hibernate POJO and made sure that it returned all the
 serializable types, and that works great in my Service.
 I guess I need to create a new POJO that is a DTO. This new DTO object
 will look like the Hibernate POJO, but will also implement
 isSerializable
 Or maybe both:

 @Entity(name = database_tablename)
 public class TestDataPOJO implements Serializable,IsSerializable

 somewhere in the TestServiceImpl (under /server) we need to call the
 database, get the data, move that to the new DTO, and that should be
 what I want.
 Likewise, I should have a method in the service that takes my modified
 data (in this DTO object), and then somehow call the DAO to put the
 data into the database.

 So ... the key for me ... is how do I get my GWT-RPC service, somehow,
 someway to use my already unit tested DAO's

 Once, I can bridge that, I think I will be ok ...

 Thanks so much for the help!
 Tom

 On Sep 9, 3:16 pm, Sumit Chandel sumitchan...@google.com wrote:
  Hi Thomas,
  Indeed the StockWatcher tutorial includes a section on using GWT RPC
 which
  should help as an example in your case. The webAppCreator also generates
 a
  starter sample application that includes a GWT RPC component as well, so
 you
  may want to use that as a reference.
 
  For more specific help on using RPC for your applicaiton, it might help
 to
  know a bit more about the types that you want to send over the wire. If
  you're using DTOs across the wire, keeping track of objects 

Re: Plugin GWT 1.7 SDK missing

2009-09-08 Thread Jason Parekh
Hi Gary,
Could you check your Eclipse log file (workspace/.metadata/.log) for
anything mysterious?  Or, if you send the log our way, we can take a look.

Thanks,
jason

On Sun, Sep 6, 2009 at 4:34 AM, Gary S agilej...@earthlink.net wrote:


 Sometimes, I think after running hosted mode, Eclipse loses its
 reference to GWT classes. Java Buildpath says missing for the SDK.
 When I go to Web Application and click through configure SDK the
 problem goes away for a while.

 OS X 10.5
 Java 1.5
 GWT 1.7
 gwt-mvp (included gin)
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Plugin GWT 1.7 SDK missing

2009-09-08 Thread Gary S

Hi Jason,

I don't see anything in .log. In Properties-Google-Web Toolkit I
changed from Use default SDK(1.7.0) to Use specific SDK 1.7.0 and the
problem hasn't been back.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: List Box Issue with GWT 1.7

2009-09-07 Thread Erik

Maybe you should use :

setItemSelected(int index, boolean selected)

  Sets whether an individual list item is selected.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



  1   2   3   >