Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-15 Thread lineman78
I have been having an issue with my project setup running in --
noServer since 1.6.? that I'm hoping you could help me with.  I am
getting the error
17:01:38.826 [ERROR] [dashboard] Unable to find 'dashboard.gwt.xml'
on your classpath; could be a typo, or maybe you forgot to include a
classpath entry for source?
with the following module:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 1.7.1//
EN http://google-web-toolkit.googlecode.com/svn/tags/1.7.1/distro-
source/core/src/gwt-module.dtd
module rename-to=dashboard
entry-point class='com.example.dashboard.client.Dashboard'/

inherits name=com.google.gwt.user.User /
inherits name=com.google.gwt.visualization.Visualization /
inherits name=com.google.gwt.http.HTTP/
inherits name=com.google.gwt.maps.GoogleMaps /

stylesheet src=common.css/
/module

Using the following dashboard.html:

html
head
titleDashboard/title
/head
body style=margin: 0;
!-- OPTIONAL: include this if you want history support --
iframe src=javascript:'' id=__gwt_historyFrame
style=width: 0; height: 0; border: 0/iframe

script type=text/javascript language=javascript
src=dashboard.nocache.js/script
/body
/html

On Dec 4, 3:13 pm, Chris Ramsdale cramsd...@google.com wrote:
 Jan,

 It looks like you found an issue on our side. Given your project settings,
 the GPE is attempting to load GwtShell with the -style arg which has been
 removed.

 We have a fix in place for the 2.0 launch and in the meantime, if you want
 to continue using the RC2 plugin and SDK, you can do the following:

 1. Uncheck the Use Google Web Toolkit setting within your project
 properties
 2. Add a war/WEB-INF directory structure to your app
 3. Add a web.xml to the WEB-INF directory with the following contents:

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE web-app
     PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
     http://java.sun.com/dtd/web-app_2_3.dtd;

 web-app
 /web-app

 4. Check the Use  Google Web Toolkit settings within your project
 properties

 This workaround will trigger the plugin to launch DevMode (instead of
 GwtShell) without the -style arg.

 - Chris

 On Thu, Dec 3, 2009 at 7:07 AM, Jan Ehrhardt 
 jan.ehrha...@googlemail.comwrote:

  The idea was, to prevent the existences of 'war/*' in my GWT project. With
  the current stable version of the plugin and GWT 1.7.1 everything works
  well.
  So the problem is, that my GWT project does not have any server code and no
  host page or anything else. The current version works the following way:

     - GWT (Web App launch configuration) app is launched in hosted mode
     without the build in server.
     - Instead of a host page in the same project, the host page comes from
     an independent server.
     - The hosted browser loads the host page (from the specified URL),
     detects the existence of a GWT module (included as JavaScript) and 
  replaces
     the JavaScript with the Java Code from the classpath.

  The interesting point is, that the text field to specify the URL is removed
  from the GWT tab in the web app launch configuration (plugin version for GWT
  2.0 RC2). So the question is, how can I point the OOPHM to my host page's
  URL (on any server)?

  At least some words on what I'm currently doing in Eclipse 3.5 with the
  released version of the plugin and GWT 1.7.1:
  I've got a plain Java project and make a GWT project out of it by right
  click on the project - Google - WebToolkit Settings. In these GWT settings
  I check 'Use Google Web Toolkit' and then OK. This makes my Java project a
  GWT project. I create a new Web App launch configuration for this project,
  disable 'Run build in server' and on the GWT tab I insert my host pages URL
  (http://localhost:8080/my-app-which-runs-totaly-independent-on-a-tomcat).
  That's it. It works.
  Interestingly it's not required to specify any GWT module in any
  configuration so far. The presence of the module's XML configuration on the
  classpath and the presence of a previously compiled version of the module in
  the loaded HTML page is enough to tell hosted browser, what to do. The GWT
  Eclipse plugin doesn't even recognize the XML file since the included module
  isn't shown in any settings or configuration interface. But it works.

  Regards
  Jan Ehrhardt

  On Tue, Dec 1, 2009 at 5:03 PM, Chris Ramsdale cramsd...@google.comwrote:

  Based on the fact that the plugin is attempting to launch GWTShell, it may
  not recognize your app as a web app. This is typically the case when it
  doesn't find a war/WEB-INF/web.xml file in the project root. Can you 
  confirm
  that this directory structure is in place? Also, what version of GWT and 
  GPE
  were you using to previously build your application?

  On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt jan.ehrha...@googlemail.com
   wrote:

  I'm using the Web App launch configuration and the plugin version, which
  

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-10 Thread Henry
Hi Chris,

I tried running with the -noserver mode (ignoring -startupUrl for
now ...)
but I can't put a breakpoint in my code and have it stop there.
Using GWT2.0, OOPHM/Firefox

What must I configure in tomcat to talk back to localhost:9997 ... is
it the -javaagent?
more?

thx,
Henry

On Dec 4, 2:16 pm, Chris Ramsdale cramsd...@google.com wrote:
 I'm able to debug using an external Tomcat server by specifying the
 following args in my Web Application launch config:

 -noserver
 -startupUrlhttp://localhost:8080/test/go

 Where localhost is a Tomcat server and not the built in Jetty server.

 On Fri, Dec 4, 2009 at 2:49 AM, 3ala2 alaa.alw...@gmail.com wrote:
  Hey I have the same problem here. I want to debug a gadget in iGoogle.
  In GWT 1.7 I used to put the URL ashttp://www.google.com/ig. Now
  there is no possibility to do so. The gadget doesn't have an html file
  to debug in development mode using internal server. I need the
  external server to be iGoogle. Is there a way to do so other than the
  one suggested of recreating the project as Java Project and then
  reconverting it to GWT? So the main question is: How do you debug a
  Google gadget using GWT 2.0RC2 and Eclipse?!

  On Dec 3, 2:07 pm, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:
   The idea was, to prevent the existences of 'war/*' in my GWT project.
  With
   the current stable version of the plugin and GWT 1.7.1 everything works
   well.
   So the problem is, that my GWT project does not have any server code and
  no
   host page or anything else. The current version works the following way:

      - GWT (Web App launch configuration) app is launched in hosted mode
      without the build in server.
      - Instead of a host page in the same project, the host page comes from
  an
      independent server.
      - The hosted browser loads the host page (from the specified URL),
      detects the existence of a GWT module (included as JavaScript) and
  replaces
      the JavaScript with the Java Code from the classpath.

   The interesting point is, that the text field to specify the URL is
  removed
   from the GWT tab in the web app launch configuration (plugin version for
  GWT
   2.0 RC2). So the question is, how can I point the OOPHM to my host page's
   URL (on any server)?

   At least some words on what I'm currently doing in Eclipse 3.5 with the
   released version of the plugin and GWT 1.7.1:
   I've got a plain Java project and make a GWT project out of it by right
   click on the project - Google - WebToolkit Settings. In these GWT
  settings
   I check 'Use Google Web Toolkit' and then OK. This makes my Java project
  a
   GWT project. I create a new Web App launch configuration for this
  project,
   disable 'Run build in server' and on the GWT tab I insert my host pages
  URL
   (http://localhost:8080/my-app-which-runs-totaly-independent-on-a-tomcat
  ).
   That's it. It works.
   Interestingly it's not required to specify any GWT module in any
   configuration so far. The presence of the module's XML configuration on
  the
   classpath and the presence of a previously compiled version of the module
  in
   the loaded HTML page is enough to tell hosted browser, what to do. The
  GWT
   Eclipse plugin doesn't even recognize the XML file since the included
  module
   isn't shown in any settings or configuration interface. But it works.

   Regards
   Jan Ehrhardt

   On Tue, Dec 1, 2009 at 5:03 PM, Chris Ramsdale cramsd...@google.com
  wrote:
Based on the fact that the plugin is attempting to launch GWTShell, it
  may
not recognize your app as a web app. This is typically the case when
  it
doesn't find a war/WEB-INF/web.xml file in the project root. Can you
  confirm
that this directory structure is in place? Also, what version of GWT
  and GPE
were you using to previously build your application?

On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt 
  jan.ehrha...@googlemail.comwrote:

I'm using the Web App launch configuration and the plugin version,
  which
is linked on the GWT 2.0 RC2 wiki page
   http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC

Regards
Jan Ehrhardt

On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.com
  wrote:

As a follow-up, are you using Web App Launch configurations or
  regular
Java launch configurations? Also would you mind checking which
  version of
the Google Eclipse Plugin you have installed? You can do this via
Help-Install New Software and clicking on the already installed
  link in
the lower right hand corner.

On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale 
  cramsd...@google.comwrote:

Jan,

The -style argument has been removed when running in development
  mode
(formerly hosted mode). It is now configurable via the UI or an
  Ant
property when you compile your code. The UI settings are available
  by right
clicking on the project name, selecting Google-GWT Compile. From
  the

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-10 Thread Henry
I figured out my own problem.  Had to compile it again with the GWT2.0
compiler

On Dec 10, 2:24 pm, Henry q8e...@gmail.com wrote:
 Hi Chris,

 I tried running with the -noserver mode (ignoring -startupUrl for
 now ...)
 but I can't put a breakpoint in my code and have it stop there.
 Using GWT2.0, OOPHM/Firefox

 What must I configure in tomcat to talk back to localhost:9997 ... is
 it the -javaagent?
 more?

 thx,
 Henry

 On Dec 4, 2:16 pm, Chris Ramsdale cramsd...@google.com wrote:

  I'm able to debug using an external Tomcat server by specifying the
  following args in my Web Application launch config:

  -noserver
  -startupUrlhttp://localhost:8080/test/go

  Where localhost is a Tomcat server and not the built in Jetty server.

  On Fri, Dec 4, 2009 at 2:49 AM, 3ala2 alaa.alw...@gmail.com wrote:
   Hey I have the same problem here. I want to debug a gadget in iGoogle.
   In GWT 1.7 I used to put the URL ashttp://www.google.com/ig. Now
   there is no possibility to do so. The gadget doesn't have an html file
   to debug in development mode using internal server. I need the
   external server to be iGoogle. Is there a way to do so other than the
   one suggested of recreating the project as Java Project and then
   reconverting it to GWT? So the main question is: How do you debug a
   Google gadget using GWT 2.0RC2 and Eclipse?!

   On Dec 3, 2:07 pm, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:
The idea was, to prevent the existences of 'war/*' in my GWT project.
   With
the current stable version of the plugin and GWT 1.7.1 everything works
well.
So the problem is, that my GWT project does not have any server code and
   no
host page or anything else. The current version works the following way:

   - GWT (Web App launch configuration) app is launched in hosted mode
   without the build in server.
   - Instead of a host page in the same project, the host page comes 
from
   an
   independent server.
   - The hosted browser loads the host page (from the specified URL),
   detects the existence of a GWT module (included as JavaScript) and
   replaces
   the JavaScript with the Java Code from the classpath.

The interesting point is, that the text field to specify the URL is
   removed
from the GWT tab in the web app launch configuration (plugin version for
   GWT
2.0 RC2). So the question is, how can I point the OOPHM to my host 
page's
URL (on any server)?

At least some words on what I'm currently doing in Eclipse 3.5 with the
released version of the plugin and GWT 1.7.1:
I've got a plain Java project and make a GWT project out of it by right
click on the project - Google - WebToolkit Settings. In these GWT
   settings
I check 'Use Google Web Toolkit' and then OK. This makes my Java project
   a
GWT project. I create a new Web App launch configuration for this
   project,
disable 'Run build in server' and on the GWT tab I insert my host pages
   URL
(http://localhost:8080/my-app-which-runs-totaly-independent-on-a-tomcat
   ).
That's it. It works.
Interestingly it's not required to specify any GWT module in any
configuration so far. The presence of the module's XML configuration on
   the
classpath and the presence of a previously compiled version of the 
module
   in
the loaded HTML page is enough to tell hosted browser, what to do. The
   GWT
Eclipse plugin doesn't even recognize the XML file since the included
   module
isn't shown in any settings or configuration interface. But it works.

Regards
Jan Ehrhardt

On Tue, Dec 1, 2009 at 5:03 PM, Chris Ramsdale cramsd...@google.com
   wrote:
 Based on the fact that the plugin is attempting to launch GWTShell, it
   may
 not recognize your app as a web app. This is typically the case when
   it
 doesn't find a war/WEB-INF/web.xml file in the project root. Can you
   confirm
 that this directory structure is in place? Also, what version of GWT
   and GPE
 were you using to previously build your application?

 On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt 
   jan.ehrha...@googlemail.comwrote:

 I'm using the Web App launch configuration and the plugin version,
   which
 is linked on the GWT 2.0 RC2 wiki page
http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC

 Regards
 Jan Ehrhardt

 On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.com
   wrote:

 As a follow-up, are you using Web App Launch configurations or
   regular
 Java launch configurations? Also would you mind checking which
   version of
 the Google Eclipse Plugin you have installed? You can do this via
 Help-Install New Software and clicking on the already installed
   link in
 the lower right hand corner.

 On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale 
   cramsd...@google.comwrote:

 Jan,

 The -style argument has been removed when 

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-04 Thread 3ala2
Hey I have the same problem here. I want to debug a gadget in iGoogle.
In GWT 1.7 I used to put the URL as http://www.google.com/ig. Now
there is no possibility to do so. The gadget doesn't have an html file
to debug in development mode using internal server. I need the
external server to be iGoogle. Is there a way to do so other than the
one suggested of recreating the project as Java Project and then
reconverting it to GWT? So the main question is: How do you debug a
Google gadget using GWT 2.0RC2 and Eclipse?!

On Dec 3, 2:07 pm, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:
 The idea was, to prevent the existences of 'war/*' in my GWT project. With
 the current stable version of the plugin and GWT 1.7.1 everything works
 well.
 So the problem is, that my GWT project does not have any server code and no
 host page or anything else. The current version works the following way:

    - GWT (Web App launch configuration) app is launched in hosted mode
    without the build in server.
    - Instead of a host page in the same project, the host page comes from an
    independent server.
    - The hosted browser loads the host page (from the specified URL),
    detects the existence of a GWT module (included as JavaScript) and replaces
    the JavaScript with the Java Code from the classpath.

 The interesting point is, that the text field to specify the URL is removed
 from the GWT tab in the web app launch configuration (plugin version for GWT
 2.0 RC2). So the question is, how can I point the OOPHM to my host page's
 URL (on any server)?

 At least some words on what I'm currently doing in Eclipse 3.5 with the
 released version of the plugin and GWT 1.7.1:
 I've got a plain Java project and make a GWT project out of it by right
 click on the project - Google - WebToolkit Settings. In these GWT settings
 I check 'Use Google Web Toolkit' and then OK. This makes my Java project a
 GWT project. I create a new Web App launch configuration for this project,
 disable 'Run build in server' and on the GWT tab I insert my host pages URL
 (http://localhost:8080/my-app-which-runs-totaly-independent-on-a-tomcat).
 That's it. It works.
 Interestingly it's not required to specify any GWT module in any
 configuration so far. The presence of the module's XML configuration on the
 classpath and the presence of a previously compiled version of the module in
 the loaded HTML page is enough to tell hosted browser, what to do. The GWT
 Eclipse plugin doesn't even recognize the XML file since the included module
 isn't shown in any settings or configuration interface. But it works.

 Regards
 Jan Ehrhardt

 On Tue, Dec 1, 2009 at 5:03 PM, Chris Ramsdale cramsd...@google.com wrote:
  Based on the fact that the plugin is attempting to launch GWTShell, it may
  not recognize your app as a web app. This is typically the case when it
  doesn't find a war/WEB-INF/web.xml file in the project root. Can you confirm
  that this directory structure is in place? Also, what version of GWT and GPE
  were you using to previously build your application?

  On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt 
  jan.ehrha...@googlemail.comwrote:

  I'm using the Web App launch configuration and the plugin version, which
  is linked on the GWT 2.0 RC2 wiki page
 http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC

  Regards
  Jan Ehrhardt

  On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale 
  cramsd...@google.comwrote:

  As a follow-up, are you using Web App Launch configurations or regular
  Java launch configurations? Also would you mind checking which version of
  the Google Eclipse Plugin you have installed? You can do this via
  Help-Install New Software and clicking on the already installed link in
  the lower right hand corner.

  On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale 
  cramsd...@google.comwrote:

  Jan,

  The -style argument has been removed when running in development mode
  (formerly hosted mode). It is now configurable via the UI or an Ant
  property when you compile your code. The UI settings are available by 
  right
  clicking on the project name, selecting Google-GWT Compile. From the
  resulting view you will see options for Log level and Output style. 
  In
  order to set the output style via Ant, add the following to your 
  build.xml
  file under the gwtc target:

  arg value=-style/
  arg value=PRETTY/

  What other error are you seeing when specifying the codeServerPort?

  On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt 
  jan.ehrha...@googlemail.com wrote:

  Hi,

  I'm currently looking how our existing project can be updated to GWT
  2.0 when it's released, but I'm running into some trouble.

  We use Eclipse with the Google plugin and currently we've got one web
  project, which will be started as a web project running on an Eclipse 
  server
  runtime. This runtime can be a Tomcat or a WebSphere. We've got another
  project, which contains the GWT stuff. Our GWT launch configuration is 
  done
  with the 

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-04 Thread Chris Ramsdale
I'm able to debug using an external Tomcat server by specifying the
following args in my Web Application launch config:

-noserver
-startupUrl http://localhost:8080/test/go

Where localhost is a Tomcat server and not the built in Jetty server.

On Fri, Dec 4, 2009 at 2:49 AM, 3ala2 alaa.alw...@gmail.com wrote:

 Hey I have the same problem here. I want to debug a gadget in iGoogle.
 In GWT 1.7 I used to put the URL as http://www.google.com/ig. Now
 there is no possibility to do so. The gadget doesn't have an html file
 to debug in development mode using internal server. I need the
 external server to be iGoogle. Is there a way to do so other than the
 one suggested of recreating the project as Java Project and then
 reconverting it to GWT? So the main question is: How do you debug a
 Google gadget using GWT 2.0RC2 and Eclipse?!

 On Dec 3, 2:07 pm, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:
  The idea was, to prevent the existences of 'war/*' in my GWT project.
 With
  the current stable version of the plugin and GWT 1.7.1 everything works
  well.
  So the problem is, that my GWT project does not have any server code and
 no
  host page or anything else. The current version works the following way:
 
 - GWT (Web App launch configuration) app is launched in hosted mode
 without the build in server.
 - Instead of a host page in the same project, the host page comes from
 an
 independent server.
 - The hosted browser loads the host page (from the specified URL),
 detects the existence of a GWT module (included as JavaScript) and
 replaces
 the JavaScript with the Java Code from the classpath.
 
  The interesting point is, that the text field to specify the URL is
 removed
  from the GWT tab in the web app launch configuration (plugin version for
 GWT
  2.0 RC2). So the question is, how can I point the OOPHM to my host page's
  URL (on any server)?
 
  At least some words on what I'm currently doing in Eclipse 3.5 with the
  released version of the plugin and GWT 1.7.1:
  I've got a plain Java project and make a GWT project out of it by right
  click on the project - Google - WebToolkit Settings. In these GWT
 settings
  I check 'Use Google Web Toolkit' and then OK. This makes my Java project
 a
  GWT project. I create a new Web App launch configuration for this
 project,
  disable 'Run build in server' and on the GWT tab I insert my host pages
 URL
  (http://localhost:8080/my-app-which-runs-totaly-independent-on-a-tomcat
 ).
  That's it. It works.
  Interestingly it's not required to specify any GWT module in any
  configuration so far. The presence of the module's XML configuration on
 the
  classpath and the presence of a previously compiled version of the module
 in
  the loaded HTML page is enough to tell hosted browser, what to do. The
 GWT
  Eclipse plugin doesn't even recognize the XML file since the included
 module
  isn't shown in any settings or configuration interface. But it works.
 
  Regards
  Jan Ehrhardt
 
  On Tue, Dec 1, 2009 at 5:03 PM, Chris Ramsdale cramsd...@google.com
 wrote:
   Based on the fact that the plugin is attempting to launch GWTShell, it
 may
   not recognize your app as a web app. This is typically the case when
 it
   doesn't find a war/WEB-INF/web.xml file in the project root. Can you
 confirm
   that this directory structure is in place? Also, what version of GWT
 and GPE
   were you using to previously build your application?
 
   On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt 
 jan.ehrha...@googlemail.comwrote:
 
   I'm using the Web App launch configuration and the plugin version,
 which
   is linked on the GWT 2.0 RC2 wiki page
  http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC
 
   Regards
   Jan Ehrhardt
 
   On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.com
 wrote:
 
   As a follow-up, are you using Web App Launch configurations or
 regular
   Java launch configurations? Also would you mind checking which
 version of
   the Google Eclipse Plugin you have installed? You can do this via
   Help-Install New Software and clicking on the already installed
 link in
   the lower right hand corner.
 
   On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale 
 cramsd...@google.comwrote:
 
   Jan,
 
   The -style argument has been removed when running in development
 mode
   (formerly hosted mode). It is now configurable via the UI or an
 Ant
   property when you compile your code. The UI settings are available
 by right
   clicking on the project name, selecting Google-GWT Compile. From
 the
   resulting view you will see options for Log level and Output
 style. In
   order to set the output style via Ant, add the following to your
 build.xml
   file under the gwtc target:
 
   arg value=-style/
   arg value=PRETTY/
 
   What other error are you seeing when specifying the
 codeServerPort?
 
   On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt 
   jan.ehrha...@googlemail.com wrote:
 
   Hi,
 
   I'm currently looking how 

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-04 Thread Chris Ramsdale
Jan,

It looks like you found an issue on our side. Given your project settings,
the GPE is attempting to load GwtShell with the -style arg which has been
removed.

We have a fix in place for the 2.0 launch and in the meantime, if you want
to continue using the RC2 plugin and SDK, you can do the following:

1. Uncheck the Use Google Web Toolkit setting within your project
properties
2. Add a war/WEB-INF directory structure to your app
3. Add a web.xml to the WEB-INF directory with the following contents:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
/web-app

4. Check the Use  Google Web Toolkit settings within your project
properties


This workaround will trigger the plugin to launch DevMode (instead of
GwtShell) without the -style arg.

- Chris

On Thu, Dec 3, 2009 at 7:07 AM, Jan Ehrhardt jan.ehrha...@googlemail.comwrote:

 The idea was, to prevent the existences of 'war/*' in my GWT project. With
 the current stable version of the plugin and GWT 1.7.1 everything works
 well.
 So the problem is, that my GWT project does not have any server code and no
 host page or anything else. The current version works the following way:

- GWT (Web App launch configuration) app is launched in hosted mode
without the build in server.
- Instead of a host page in the same project, the host page comes from
an independent server.
- The hosted browser loads the host page (from the specified URL),
detects the existence of a GWT module (included as JavaScript) and replaces
the JavaScript with the Java Code from the classpath.

 The interesting point is, that the text field to specify the URL is removed
 from the GWT tab in the web app launch configuration (plugin version for GWT
 2.0 RC2). So the question is, how can I point the OOPHM to my host page's
 URL (on any server)?

 At least some words on what I'm currently doing in Eclipse 3.5 with the
 released version of the plugin and GWT 1.7.1:
 I've got a plain Java project and make a GWT project out of it by right
 click on the project - Google - WebToolkit Settings. In these GWT settings
 I check 'Use Google Web Toolkit' and then OK. This makes my Java project a
 GWT project. I create a new Web App launch configuration for this project,
 disable 'Run build in server' and on the GWT tab I insert my host pages URL
 (http://localhost:8080/my-app-which-runs-totaly-independent-on-a-tomcat).
 That's it. It works.
 Interestingly it's not required to specify any GWT module in any
 configuration so far. The presence of the module's XML configuration on the
 classpath and the presence of a previously compiled version of the module in
 the loaded HTML page is enough to tell hosted browser, what to do. The GWT
 Eclipse plugin doesn't even recognize the XML file since the included module
 isn't shown in any settings or configuration interface. But it works.

 Regards
 Jan Ehrhardt

 On Tue, Dec 1, 2009 at 5:03 PM, Chris Ramsdale cramsd...@google.comwrote:

 Based on the fact that the plugin is attempting to launch GWTShell, it may
 not recognize your app as a web app. This is typically the case when it
 doesn't find a war/WEB-INF/web.xml file in the project root. Can you confirm
 that this directory structure is in place? Also, what version of GWT and GPE
 were you using to previously build your application?


 On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt jan.ehrha...@googlemail.com
  wrote:

 I'm using the Web App launch configuration and the plugin version, which
 is linked on the GWT 2.0 RC2 wiki page
 http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC

 Regards
 Jan Ehrhardt


 On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.comwrote:

 As a follow-up, are you using Web App Launch configurations or regular
 Java launch configurations? Also would you mind checking which version of
 the Google Eclipse Plugin you have installed? You can do this via
 Help-Install New Software and clicking on the already installed link in
 the lower right hand corner.


 On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale 
 cramsd...@google.comwrote:

 Jan,

 The -style argument has been removed when running in development mode
 (formerly hosted mode). It is now configurable via the UI or an Ant
 property when you compile your code. The UI settings are available by 
 right
 clicking on the project name, selecting Google-GWT Compile. From the
 resulting view you will see options for Log level and Output style. In
 order to set the output style via Ant, add the following to your build.xml
 file under the gwtc target:

 arg value=-style/
 arg value=PRETTY/

 What other error are you seeing when specifying the codeServerPort?


 On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt 
 jan.ehrha...@googlemail.com wrote:

 Hi,

 I'm currently looking how our existing project can be updated to GWT
 2.0 when it's released, but I'm running into 

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-03 Thread Jan Ehrhardt
The idea was, to prevent the existences of 'war/*' in my GWT project. With
the current stable version of the plugin and GWT 1.7.1 everything works
well.
So the problem is, that my GWT project does not have any server code and no
host page or anything else. The current version works the following way:

   - GWT (Web App launch configuration) app is launched in hosted mode
   without the build in server.
   - Instead of a host page in the same project, the host page comes from an
   independent server.
   - The hosted browser loads the host page (from the specified URL),
   detects the existence of a GWT module (included as JavaScript) and replaces
   the JavaScript with the Java Code from the classpath.

The interesting point is, that the text field to specify the URL is removed
from the GWT tab in the web app launch configuration (plugin version for GWT
2.0 RC2). So the question is, how can I point the OOPHM to my host page's
URL (on any server)?

At least some words on what I'm currently doing in Eclipse 3.5 with the
released version of the plugin and GWT 1.7.1:
I've got a plain Java project and make a GWT project out of it by right
click on the project - Google - WebToolkit Settings. In these GWT settings
I check 'Use Google Web Toolkit' and then OK. This makes my Java project a
GWT project. I create a new Web App launch configuration for this project,
disable 'Run build in server' and on the GWT tab I insert my host pages URL
(http://localhost:8080/my-app-which-runs-totaly-independent-on-a-tomcat).
That's it. It works.
Interestingly it's not required to specify any GWT module in any
configuration so far. The presence of the module's XML configuration on the
classpath and the presence of a previously compiled version of the module in
the loaded HTML page is enough to tell hosted browser, what to do. The GWT
Eclipse plugin doesn't even recognize the XML file since the included module
isn't shown in any settings or configuration interface. But it works.

Regards
Jan Ehrhardt

On Tue, Dec 1, 2009 at 5:03 PM, Chris Ramsdale cramsd...@google.com wrote:

 Based on the fact that the plugin is attempting to launch GWTShell, it may
 not recognize your app as a web app. This is typically the case when it
 doesn't find a war/WEB-INF/web.xml file in the project root. Can you confirm
 that this directory structure is in place? Also, what version of GWT and GPE
 were you using to previously build your application?


 On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt 
 jan.ehrha...@googlemail.comwrote:

 I'm using the Web App launch configuration and the plugin version, which
 is linked on the GWT 2.0 RC2 wiki page
 http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC

 Regards
 Jan Ehrhardt


 On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.comwrote:

 As a follow-up, are you using Web App Launch configurations or regular
 Java launch configurations? Also would you mind checking which version of
 the Google Eclipse Plugin you have installed? You can do this via
 Help-Install New Software and clicking on the already installed link in
 the lower right hand corner.


 On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale cramsd...@google.comwrote:

 Jan,

 The -style argument has been removed when running in development mode
 (formerly hosted mode). It is now configurable via the UI or an Ant
 property when you compile your code. The UI settings are available by right
 clicking on the project name, selecting Google-GWT Compile. From the
 resulting view you will see options for Log level and Output style. In
 order to set the output style via Ant, add the following to your build.xml
 file under the gwtc target:

 arg value=-style/
 arg value=PRETTY/

 What other error are you seeing when specifying the codeServerPort?


 On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt 
 jan.ehrha...@googlemail.com wrote:

 Hi,

 I'm currently looking how our existing project can be updated to GWT
 2.0 when it's released, but I'm running into some trouble.

 We use Eclipse with the Google plugin and currently we've got one web
 project, which will be started as a web project running on an Eclipse 
 server
 runtime. This runtime can be a Tomcat or a WebSphere. We've got another
 project, which contains the GWT stuff. Our GWT launch configuration is 
 done
 with the following properties:

- Run internal server is deselected
- The GWT URL is pointed to 'http://localhost:8080/our-app'

 This worked well. We've to compile the GWT project once to JavaScript
 contained in the web project. We launch the Eclipse server runtime on '
 http://localhost:8080/' and then we start our hosted browser. The
 hosted browser detects to module contained in the page '
 http://localhost:8080/our-app' and replaces it with the stuff
 contained in our GWT project.

 Now I've installed GWT 2.0 RC2 and the required version of the plugin.
 I've changed the GWT SDK in the project properties. The first point was,
 that the text field for inserting my 

Re: How to run GWT 2.0 RC2's hosted mode with another server?

2009-12-01 Thread Chris Ramsdale
Based on the fact that the plugin is attempting to launch GWTShell, it may
not recognize your app as a web app. This is typically the case when it
doesn't find a war/WEB-INF/web.xml file in the project root. Can you confirm
that this directory structure is in place? Also, what version of GWT and GPE
were you using to previously build your application?


On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt jan.ehrha...@googlemail.comwrote:

 I'm using the Web App launch configuration and the plugin version, which is
 linked on the GWT 2.0 RC2 wiki page
 http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC

 Regards
 Jan Ehrhardt


 On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.comwrote:

 As a follow-up, are you using Web App Launch configurations or regular
 Java launch configurations? Also would you mind checking which version of
 the Google Eclipse Plugin you have installed? You can do this via
 Help-Install New Software and clicking on the already installed link in
 the lower right hand corner.


 On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale cramsd...@google.comwrote:

 Jan,

 The -style argument has been removed when running in development mode
 (formerly hosted mode). It is now configurable via the UI or an Ant
 property when you compile your code. The UI settings are available by right
 clicking on the project name, selecting Google-GWT Compile. From the
 resulting view you will see options for Log level and Output style. In
 order to set the output style via Ant, add the following to your build.xml
 file under the gwtc target:

 arg value=-style/
 arg value=PRETTY/

 What other error are you seeing when specifying the codeServerPort?


 On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt 
 jan.ehrha...@googlemail.com wrote:

 Hi,

 I'm currently looking how our existing project can be updated to GWT 2.0
 when it's released, but I'm running into some trouble.

 We use Eclipse with the Google plugin and currently we've got one web
 project, which will be started as a web project running on an Eclipse 
 server
 runtime. This runtime can be a Tomcat or a WebSphere. We've got another
 project, which contains the GWT stuff. Our GWT launch configuration is done
 with the following properties:

- Run internal server is deselected
- The GWT URL is pointed to 'http://localhost:8080/our-app'

 This worked well. We've to compile the GWT project once to JavaScript
 contained in the web project. We launch the Eclipse server runtime on '
 http://localhost:8080/' and then we start our hosted browser. The
 hosted browser detects to module contained in the page '
 http://localhost:8080/our-app' and replaces it with the stuff contained
 in our GWT project.

 Now I've installed GWT 2.0 RC2 and the required version of the plugin.
 I've changed the GWT SDK in the project properties. The first point was,
 that the text field for inserting my external URL was gone. Additionally, I
 got the following Error:

 Unknown argument: -style

 Google Web Toolkit 2.0.0-rc2

 GWTShell [-noserver] [-port port-number | auto] [-whitelist
 whitelist-string] [-blacklist blacklist-string] [-logdir directory]
 [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-out
 dir] [url]


 where

   -noserverPrevents the embedded web server from running

   -portSpecifies the TCP port for the embedded web server
 (defaults to )

   -whitelist   Allows the user to browse URLs that match the
 specified regexes (comma or space separated)

   -blacklist   Prevents the user browsing URLs that match the
 specified regexes (comma or space separated)

   -logdir  Logs to a file in the given directory, as well as
 graphically

   -logLevelThe level of logging detail: ERROR, WARN, INFO,
 TRACE, DEBUG, SPAM, or ALL

   -gen Debugging: causes normally-transient generated types
 to be saved in the specified directory

   -codeServerPort  Specifies the TCP port for the code server (defaults
 to 9997)

   -out The directory to write output files into (defaults to
 current)

 and

   url  Automatically launches the specified URL


 I tried some other configuration like adding the URL as a program
 argument, which brought another error.


 Can anybody tell me how to configure this scenario in the correct way?
 Or won't there be any possibility with GWT 2.0?


 Regards

 Jan Ehrhardt

 --
 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 

How to run GWT 2.0 RC2's hosted mode with another server?

2009-11-30 Thread Jan Ehrhardt
Hi,

I'm currently looking how our existing project can be updated to GWT 2.0
when it's released, but I'm running into some trouble.

We use Eclipse with the Google plugin and currently we've got one web
project, which will be started as a web project running on an Eclipse server
runtime. This runtime can be a Tomcat or a WebSphere. We've got another
project, which contains the GWT stuff. Our GWT launch configuration is done
with the following properties:

   - Run internal server is deselected
   - The GWT URL is pointed to 'http://localhost:8080/our-app'

This worked well. We've to compile the GWT project once to JavaScript
contained in the web project. We launch the Eclipse server runtime on '
http://localhost:8080/' and then we start our hosted browser. The hosted
browser detects to module contained in the page '
http://localhost:8080/our-app' and replaces it with the stuff contained in
our GWT project.

Now I've installed GWT 2.0 RC2 and the required version of the plugin. I've
changed the GWT SDK in the project properties. The first point was, that the
text field for inserting my external URL was gone. Additionally, I got the
following Error:

Unknown argument: -style

Google Web Toolkit 2.0.0-rc2

GWTShell [-noserver] [-port port-number | auto] [-whitelist
whitelist-string] [-blacklist blacklist-string] [-logdir directory]
[-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-out
dir] [url]


where

  -noserverPrevents the embedded web server from running

  -portSpecifies the TCP port for the embedded web server
(defaults to )

  -whitelist   Allows the user to browse URLs that match the specified
regexes (comma or space separated)

  -blacklist   Prevents the user browsing URLs that match the specified
regexes (comma or space separated)

  -logdir  Logs to a file in the given directory, as well as
graphically

  -logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE,
DEBUG, SPAM, or ALL

  -gen Debugging: causes normally-transient generated types to
be saved in the specified directory

  -codeServerPort  Specifies the TCP port for the code server (defaults to
9997)

  -out The directory to write output files into (defaults to
current)

and

  url  Automatically launches the specified URL


I tried some other configuration like adding the URL as a program argument,
which brought another error.


Can anybody tell me how to configure this scenario in the correct way? Or
won't there be any possibility with GWT 2.0?


Regards

Jan Ehrhardt

--

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: How to run GWT 2.0 RC2's hosted mode with another server?

2009-11-30 Thread Chris Ramsdale
Jan,

The -style argument has been removed when running in development mode
(formerly hosted mode). It is now configurable via the UI or an Ant
property when you compile your code. The UI settings are available by right
clicking on the project name, selecting Google-GWT Compile. From the
resulting view you will see options for Log level and Output style. In
order to set the output style via Ant, add the following to your build.xml
file under the gwtc target:

arg value=-style/
arg value=PRETTY/

What other error are you seeing when specifying the codeServerPort?


On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt
jan.ehrha...@googlemail.comwrote:

 Hi,

 I'm currently looking how our existing project can be updated to GWT 2.0
 when it's released, but I'm running into some trouble.

 We use Eclipse with the Google plugin and currently we've got one web
 project, which will be started as a web project running on an Eclipse server
 runtime. This runtime can be a Tomcat or a WebSphere. We've got another
 project, which contains the GWT stuff. Our GWT launch configuration is done
 with the following properties:

- Run internal server is deselected
- The GWT URL is pointed to 'http://localhost:8080/our-app'

 This worked well. We've to compile the GWT project once to JavaScript
 contained in the web project. We launch the Eclipse server runtime on '
 http://localhost:8080/' and then we start our hosted browser. The hosted
 browser detects to module contained in the page '
 http://localhost:8080/our-app' and replaces it with the stuff contained in
 our GWT project.

 Now I've installed GWT 2.0 RC2 and the required version of the plugin. I've
 changed the GWT SDK in the project properties. The first point was, that the
 text field for inserting my external URL was gone. Additionally, I got the
 following Error:

 Unknown argument: -style

 Google Web Toolkit 2.0.0-rc2

 GWTShell [-noserver] [-port port-number | auto] [-whitelist
 whitelist-string] [-blacklist blacklist-string] [-logdir directory]
 [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-out
 dir] [url]


 where

   -noserverPrevents the embedded web server from running

   -portSpecifies the TCP port for the embedded web server
 (defaults to )

   -whitelist   Allows the user to browse URLs that match the specified
 regexes (comma or space separated)

   -blacklist   Prevents the user browsing URLs that match the specified
 regexes (comma or space separated)

   -logdir  Logs to a file in the given directory, as well as
 graphically

   -logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE,
 DEBUG, SPAM, or ALL

   -gen Debugging: causes normally-transient generated types to
 be saved in the specified directory

   -codeServerPort  Specifies the TCP port for the code server (defaults to
 9997)

   -out The directory to write output files into (defaults to
 current)

 and

   url  Automatically launches the specified URL


 I tried some other configuration like adding the URL as a program argument,
 which brought another error.


 Can anybody tell me how to configure this scenario in the correct way? Or
 won't there be any possibility with GWT 2.0?


 Regards

 Jan Ehrhardt

 --
 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: How to run GWT 2.0 RC2's hosted mode with another server?

2009-11-30 Thread Chris Ramsdale
As a follow-up, are you using Web App Launch configurations or regular Java
launch configurations? Also would you mind checking which version of the
Google Eclipse Plugin you have installed? You can do this via Help-Install
New Software and clicking on the already installed link in the lower right
hand corner.


On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale cramsd...@google.comwrote:

 Jan,

 The -style argument has been removed when running in development mode
 (formerly hosted mode). It is now configurable via the UI or an Ant
 property when you compile your code. The UI settings are available by right
 clicking on the project name, selecting Google-GWT Compile. From the
 resulting view you will see options for Log level and Output style. In
 order to set the output style via Ant, add the following to your build.xml
 file under the gwtc target:

 arg value=-style/
 arg value=PRETTY/

 What other error are you seeing when specifying the codeServerPort?


 On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt jan.ehrha...@googlemail.com
  wrote:

 Hi,

 I'm currently looking how our existing project can be updated to GWT 2.0
 when it's released, but I'm running into some trouble.

 We use Eclipse with the Google plugin and currently we've got one web
 project, which will be started as a web project running on an Eclipse server
 runtime. This runtime can be a Tomcat or a WebSphere. We've got another
 project, which contains the GWT stuff. Our GWT launch configuration is done
 with the following properties:

- Run internal server is deselected
- The GWT URL is pointed to 'http://localhost:8080/our-app'

 This worked well. We've to compile the GWT project once to JavaScript
 contained in the web project. We launch the Eclipse server runtime on '
 http://localhost:8080/' and then we start our hosted browser. The hosted
 browser detects to module contained in the page '
 http://localhost:8080/our-app' and replaces it with the stuff contained
 in our GWT project.

 Now I've installed GWT 2.0 RC2 and the required version of the plugin.
 I've changed the GWT SDK in the project properties. The first point was,
 that the text field for inserting my external URL was gone. Additionally, I
 got the following Error:

 Unknown argument: -style

 Google Web Toolkit 2.0.0-rc2

 GWTShell [-noserver] [-port port-number | auto] [-whitelist
 whitelist-string] [-blacklist blacklist-string] [-logdir directory]
 [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-out
 dir] [url]


 where

   -noserverPrevents the embedded web server from running

   -portSpecifies the TCP port for the embedded web server
 (defaults to )

   -whitelist   Allows the user to browse URLs that match the specified
 regexes (comma or space separated)

   -blacklist   Prevents the user browsing URLs that match the
 specified regexes (comma or space separated)

   -logdir  Logs to a file in the given directory, as well as
 graphically

   -logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE,
 DEBUG, SPAM, or ALL

   -gen Debugging: causes normally-transient generated types to
 be saved in the specified directory

   -codeServerPort  Specifies the TCP port for the code server (defaults to
 9997)

   -out The directory to write output files into (defaults to
 current)

 and

   url  Automatically launches the specified URL


 I tried some other configuration like adding the URL as a program
 argument, which brought another error.


 Can anybody tell me how to configure this scenario in the correct way? Or
 won't there be any possibility with GWT 2.0?


 Regards

 Jan Ehrhardt

 --
 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: How to run GWT 2.0 RC2's hosted mode with another server?

2009-11-30 Thread Jan Ehrhardt
I'm using the Web App launch configuration and the plugin version, which is
linked on the GWT 2.0 RC2 wiki page
http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC

Regards
Jan Ehrhardt

On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.comwrote:

 As a follow-up, are you using Web App Launch configurations or regular Java
 launch configurations? Also would you mind checking which version of the
 Google Eclipse Plugin you have installed? You can do this via Help-Install
 New Software and clicking on the already installed link in the lower right
 hand corner.


 On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale cramsd...@google.comwrote:

 Jan,

 The -style argument has been removed when running in development mode
 (formerly hosted mode). It is now configurable via the UI or an Ant
 property when you compile your code. The UI settings are available by right
 clicking on the project name, selecting Google-GWT Compile. From the
 resulting view you will see options for Log level and Output style. In
 order to set the output style via Ant, add the following to your build.xml
 file under the gwtc target:

 arg value=-style/
 arg value=PRETTY/

 What other error are you seeing when specifying the codeServerPort?


 On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt 
 jan.ehrha...@googlemail.com wrote:

 Hi,

 I'm currently looking how our existing project can be updated to GWT 2.0
 when it's released, but I'm running into some trouble.

 We use Eclipse with the Google plugin and currently we've got one web
 project, which will be started as a web project running on an Eclipse server
 runtime. This runtime can be a Tomcat or a WebSphere. We've got another
 project, which contains the GWT stuff. Our GWT launch configuration is done
 with the following properties:

- Run internal server is deselected
- The GWT URL is pointed to 'http://localhost:8080/our-app'

 This worked well. We've to compile the GWT project once to JavaScript
 contained in the web project. We launch the Eclipse server runtime on '
 http://localhost:8080/' and then we start our hosted browser. The hosted
 browser detects to module contained in the page '
 http://localhost:8080/our-app' and replaces it with the stuff contained
 in our GWT project.

 Now I've installed GWT 2.0 RC2 and the required version of the plugin.
 I've changed the GWT SDK in the project properties. The first point was,
 that the text field for inserting my external URL was gone. Additionally, I
 got the following Error:

 Unknown argument: -style

 Google Web Toolkit 2.0.0-rc2

 GWTShell [-noserver] [-port port-number | auto] [-whitelist
 whitelist-string] [-blacklist blacklist-string] [-logdir directory]
 [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-out
 dir] [url]


 where

   -noserverPrevents the embedded web server from running

   -portSpecifies the TCP port for the embedded web server
 (defaults to )

   -whitelist   Allows the user to browse URLs that match the
 specified regexes (comma or space separated)

   -blacklist   Prevents the user browsing URLs that match the
 specified regexes (comma or space separated)

   -logdir  Logs to a file in the given directory, as well as
 graphically

   -logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE,
 DEBUG, SPAM, or ALL

   -gen Debugging: causes normally-transient generated types
 to be saved in the specified directory

   -codeServerPort  Specifies the TCP port for the code server (defaults
 to 9997)

   -out The directory to write output files into (defaults to
 current)

 and

   url  Automatically launches the specified URL


 I tried some other configuration like adding the URL as a program
 argument, which brought another error.


 Can anybody tell me how to configure this scenario in the correct way? Or
 won't there be any possibility with GWT 2.0?


 Regards

 Jan Ehrhardt

 --
 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.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.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