Re: GWT 2.0.0rc2 ::: Unknown argument: -portHosted

2009-12-08 Thread Gerhard Davids
I feel very stupid right now :S

It seems my eclipse failed to properly uninstall the plugin from RC1.
I went and manually cleared the plugins from galileo and dumped the
RC2 into the dropins again.

It all works now. I'm sorry for causing a fuss.
Rajeev, thanks again for assisting me.
Regards
Gerhard.

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-12-07 Thread Rajeev Dayal
Are you currently using GWT 2.0 RC2? If so, why not use the Web Application
Launch Configuration? As long as your application has a war directory, the
issue with the incorrect addition of the -style argument will not occur.

As an FYI, to get your Java launch configuration working, you need to add
your project's source folders to your launch configuration's classpath.

On Thu, Dec 3, 2009 at 1:46 AM, Gerhard Davids glacieredp...@gmail.comwrote:

 Hey, what did you do at this point to get it working?
 Your steps up to now has been very valuable.

 My run config is now a normal java config instead of the GWT plugin's
 config.
 I'm getting the following in my Dev Mode when I hit the Default
 Browser button :

 Unable to find type 'com.curasoftware.assessor.client.Assessor'
 Check that the type name 'com.curasoftware.assessor.client.Assessor'
 is really what you meant
 Hint: Check that your classpath includes all required source roots

 Now the string the error quotes is my Entry point class.
 Im at a loss.

 I could simply go to m2 and work from it but there are some fixes in
 RC2 that I urgently need to investigate.

 Peace
 Gerhard

 On Nov 28, 2:11 pm, Paul Grenyer paul.gren...@gmail.com wrote:
  Hi Thomas
 
   5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files
   (x86)\eclipse\plugins
 
   1) Why are you using 1.2rc1? it won't work with GWT 2.0.0 RC2 wrt the -
   portHosted vs. -codeServerPort naming change.
 
  There you go. I was obviously suffering brain fade and really not
  paying attention. Thank you for pointing that out.
 
   2) Why not just unzip it in C:\Program Files (x86)\eclipse\dropins as
   you're told to do?
 
  Go easy! :-)
 
  ...because the first time i tried it, it didn't work.
 
  Seems to work perfectly now. It may well have been due to me having
  the wrong plugin.
 
   6.Then copied the contents of gwt-2.0.0-rc2.zip to
   gpe-e35-1.2rc1.zip\eclipse\plugins
 
   Why are you putting it within your eclipse install?
 
  Was fighting int he dark. I'm no eclipse expert and that's where it
  seemed to be in the previous plugin. I've now moved it.
 
   See above: you have to use the RC2 version of the plugin with the RC2
   version of GWT.
 
  Thanks! :-)
 
  All workign now. Thanks!
 
  --
  Thanks
  Paul
 
  Paul Grenyer
  e: paul.gren...@gmail.com
  b: paulgrenyer.blogspot.com

 --

 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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-12-03 Thread Gerhard Davids
Hey, what did you do at this point to get it working?
Your steps up to now has been very valuable.

My run config is now a normal java config instead of the GWT plugin's
config.
I'm getting the following in my Dev Mode when I hit the Default
Browser button :

Unable to find type 'com.curasoftware.assessor.client.Assessor'
Check that the type name 'com.curasoftware.assessor.client.Assessor'
is really what you meant
Hint: Check that your classpath includes all required source roots

Now the string the error quotes is my Entry point class.
Im at a loss.

I could simply go to m2 and work from it but there are some fixes in
RC2 that I urgently need to investigate.

Peace
Gerhard

On Nov 28, 2:11 pm, Paul Grenyer paul.gren...@gmail.com wrote:
 Hi Thomas

  5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files
  (x86)\eclipse\plugins

  1) Why are you using 1.2rc1? it won't work with GWT 2.0.0 RC2 wrt the -
  portHosted vs. -codeServerPort naming change.

 There you go. I was obviously suffering brain fade and really not
 paying attention. Thank you for pointing that out.

  2) Why not just unzip it in C:\Program Files (x86)\eclipse\dropins as
  you're told to do?

 Go easy! :-)

 ...because the first time i tried it, it didn't work.

 Seems to work perfectly now. It may well have been due to me having
 the wrong plugin.

  6.Then copied the contents of gwt-2.0.0-rc2.zip to
  gpe-e35-1.2rc1.zip\eclipse\plugins

  Why are you putting it within your eclipse install?

 Was fighting int he dark. I'm no eclipse expert and that's where it
 seemed to be in the previous plugin. I've now moved it.

  See above: you have to use the RC2 version of the plugin with the RC2
  version of GWT.

 Thanks! :-)

 All workign now. Thanks!

 --
 Thanks
 Paul

 Paul Grenyer
 e: paul.gren...@gmail.com
 b: paulgrenyer.blogspot.com

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-30 Thread Thomas Broyer


On Nov 30, 12:28 am, Lúcio Camilo luciocam...@gmail.com wrote:
 I was testing the GWT 2 RC2 and everything was ok, untill it stoped to word
 with all my
 apps with the error below:

 21:26:31.938 [ERROR] [teste] Unable to load module entry point class
 br.com.teste.client.AppTeste (see associated exception for details)
 java.lang.NullPointerException: null
     at br.com.teste.client.AppTeste.onModuleLoad(AppTeste.java:53)

That looks like a bug in your code (in AppTeste.java, line 53; which
produces a NullPointerException)

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-29 Thread Lúcio Camilo
I was testing the GWT 2 RC2 and everything was ok, untill it stoped to word
with all my
apps with the error below:

21:26:31.938 [ERROR] [teste] Unable to load module entry point class
br.com.teste.client.AppTeste (see associated exception for details)
java.lang.NullPointerException: null
at br.com.teste.client.AppTeste.onModuleLoad(AppTeste.java:53)
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)

This error occurs in any browser I choose.
I am using Windows Vista and Eclipse Galileo with Google Plugin 1.2

2009/11/28 Paul Grenyer paul.gren...@gmail.com

 Hi Thomas

  5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files
  (x86)\eclipse\plugins
 
  1) Why are you using 1.2rc1? it won't work with GWT 2.0.0 RC2 wrt the -
  portHosted vs. -codeServerPort naming change.

 There you go. I was obviously suffering brain fade and really not
 paying attention. Thank you for pointing that out.

  2) Why not just unzip it in C:\Program Files (x86)\eclipse\dropins as
  you're told to do?

 Go easy! :-)

 ...because the first time i tried it, it didn't work.

 Seems to work perfectly now. It may well have been due to me having
 the wrong plugin.

  6.Then copied the contents of gwt-2.0.0-rc2.zip to
  gpe-e35-1.2rc1.zip\eclipse\plugins
 
  Why are you putting it within your eclipse install?

 Was fighting int he dark. I'm no eclipse expert and that's where it
 seemed to be in the previous plugin. I've now moved it.

  See above: you have to use the RC2 version of the plugin with the RC2
  version of GWT.

 Thanks! :-)

 All workign now. Thanks!

 --
 Thanks
 Paul

 Paul Grenyer
 e: paul.gren...@gmail.com
 b: paulgrenyer.blogspot.com

 --

 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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-29 Thread Lúcio Camilo
I forgot to put this error :

21:34:42.523 [ERROR] [teste] Failed to load module 'teste' from user agent
'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR
2.0.50727; Media Center PC 5.0; .NET CLR 3.0.30618; .NET CLR 3.5.30729)' at
Lucio-PC:52685

2009/11/29 Lúcio Camilo luciocam...@gmail.com

 I was testing the GWT 2 RC2 and everything was ok, untill it stoped to word
 with all my
 apps with the error below:

 21:26:31.938 [ERROR] [teste] Unable to load module entry point class
 br.com.teste.client.AppTeste (see associated exception for details)
 java.lang.NullPointerException: null
 at br.com.teste.client.AppTeste.onModuleLoad(AppTeste.java:53)
 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)

 This error occurs in any browser I choose.
 I am using Windows Vista and Eclipse Galileo with Google Plugin 1.2

 2009/11/28 Paul Grenyer paul.gren...@gmail.com

 Hi Thomas

  5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files
  (x86)\eclipse\plugins
 
  1) Why are you using 1.2rc1? it won't work with GWT 2.0.0 RC2 wrt the -
  portHosted vs. -codeServerPort naming change.

 There you go. I was obviously suffering brain fade and really not
 paying attention. Thank you for pointing that out.

  2) Why not just unzip it in C:\Program Files (x86)\eclipse\dropins as
  you're told to do?

 Go easy! :-)

 ...because the first time i tried it, it didn't work.

 Seems to work perfectly now. It may well have been due to me having
 the wrong plugin.

  6.Then copied the contents of gwt-2.0.0-rc2.zip to
  gpe-e35-1.2rc1.zip\eclipse\plugins
 
  Why are you putting it within your eclipse install?

 Was fighting int he dark. I'm no eclipse expert and that's where it
 seemed to be in the previous plugin. I've now moved it.

  See above: you have to use the RC2 version of the plugin with the RC2
  version of GWT.

 Thanks! :-)

 All workign now. Thanks!

 --
 Thanks
 Paul

 Paul Grenyer
 e: paul.gren...@gmail.com
 b: paulgrenyer.blogspot.com

 --

 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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Paul Grenyer
Hi

I've just done a completely fresh Eclipse and GWT 2.0 RC2 install
including the new plugin:

1.Extracted eclipse-java-galileo-SR1-win32.zip to C:\Program Files (x86).

2.Ran Eclipse, set up a new workspace workspace at
C:\Users\Paul\Documents\Sandbox\EclipseWorkspace and selected “Use
this as the default and do not ask again.”

3.Then installed Eclipse's Web Standard Tools (WST)

- Help-Install new software.
- Manually added the update url as none was present:
http://download.eclipse.org/releases/galileo/
- Then Web, XML, and Java EE Development - Eclipse Web Developer Tools
- Restarted Eclipse and then closed it.

4.Then copied gpe-e35-1.2rc1.zip\eclipse\features to C:\Program Files
(x86)\eclipse.

5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files
(x86)\eclipse\plugins

6.Then copied the contents of gwt-2.0.0-rc2.zip to
gpe-e35-1.2rc1.zip\eclipse\plugins

7.Started Eclipse again and used the plugin to create a new project.

- Started the wizard.
- Configured the GWT SDK as C:\Program Files (x86)\eclipse\plugins\gwt-2.0.0-rc2
- Unticked “Use Google App Engine”
- Entered project name etc and clicked finish.

8.Then opened the “Web Application” Run Configuration for the project
and ticked “Automatically select unused port” and clicked Run.

And I get the same error:

Unknown argument: -portHosted
Google Web Toolkit 2.0.0-rc2
DevMode [-noserver] [-port port-number | auto] [-whitelist
whitelist-string] [-blacklist blacklist-string] [-logdir directory]
[-logLevel level] [-gen dir] [-codeServerPort port-number | auto]
[-server servletContainerLauncher] [-startupUrl url] [-war dir]
[-extra dir] [-workDir dir] module[s]

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)
  -server  Specify a different embedded web server to run
(must implement ServletContainerLauncher)
  -startupUrl  Automatically launches the specified URL
  -war The directory into which deployable output files
will be written (defaults to 'war')
  -extra   The directory into which extra files, not intended
for deployment, will be written
  -workDir The compiler's working directory for internal use
(must be writeable; defaults to a system temp dir)
and
  module[s]Specifies the name(s) of the module(s) to host

I assume I must be doing something wrong in my install? Having to
manually copy the SDK took me rather by surprise. I guess its kind of
implicit here, http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC,
but an explicit instruction would have been helpful.

 I'm running Vista Business if that makes any difference?

-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.com

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Paul Grenyer
Hi All

I should really know by now, that the Internet is a wonderful, wonderful thing!

On the page I quoted:

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

there is a comment, currently second from bottom, on November 23rd by
a.revolution.ultra.blue, which states, in response to another
comment that has the same problem the people in this tread are having:

--BEGIN---
YES! You CANNOT use the google g-icon web app run menu, you need a
plain jane java application runner, with main class
com.google.gwt.dev.DevMode??

Make sure you have the usual program arguments for a gwt project; mine
are: -port  -startupUrl / ai.yx.xSeed

I have / set to a welcome servlet in web.xml, and my gwt project is ai.yx.xSeed

If you want to use appengine, you will also need to add the program
arguments and vm arguments I mentioned in the post above. ALSO, if you
do NOT use appengine, leave the working directory at default. If you
DO use appengine, add /war to whatever your default directory is... My
project xBook uses ${workspace_loc:xBook}/war

If you absolutely can't get it to go, just download ms2 from the
deprecated dl page, and you can go ahead and use the old google-plugin
launch configuration.
--ENG--

So, I am now a little further. I have a Java Application Run
Configuration that uses com.google.gwt.dev.DevMode as the Main class
and has the arguments: -port  Gwt2RC2 (my project is called
Gwt2RC2).

However, i still have a problem when I run it:

[ERROR] Unable to find 'Gwt2RC2.gwt.xml' on your classpath; could be a
typo, or maybe you forgot to include a classpath entry for source?

I've tried fiddling with the classpath and source settings of the Run
Configuration, but so far nothing's worked. Does anyone know what I'm
doing wrong?


-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.com

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Paul Grenyer
Hi

Hi

I've got a bit further

 So, I am now a little further. I have a Java Application Run
 Configuration that uses com.google.gwt.dev.DevMode as the Main class
 and has the arguments: -port  Gwt2RC2 (my project is called
 Gwt2RC2).

 However, i still have a problem when I run it:

 [ERROR] Unable to find 'Gwt2RC2.gwt.xml' on your classpath; could be a
 typo, or maybe you forgot to include a classpath entry for source?

I needed to fully qualify my module name, so I now have:

-port  uk.co.marauder.gwt2rc2.Gwt2RC2

and I can start the server and get the HTML part of the web page up,
however I get an error on the Gwt2RC2 (FF) tab of the GWT Development
Module:

[TRACE] Finding entry point classes
[ERROR] Unable to find type 'uk.co.marauder.gwt2rc2.client.Gwt2RC2'
[ERROR] Hint: Check that the type name
'uk.co.marauder.gwt2rc2.client.Gwt2RC2' is really what you meant
[ERROR] Hint: Check that your classpath includes all required source roots
[ERROR] Failed to load module 'gwt2rc2' from user agent 'Mozilla/5.0
(Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.15) Gecko/2009101601
Firefox/3.0.15 (.NET CLR 3.5.30729)' at Paul-Desktop:50949

I've tried adding war\WEB-INF\classes to my Run Configuration class
path, but that hasn't worked.

Any ideas?

Sorry for the iterative approach this morning, but I expected to be
stuck at each hurdle.

-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.com

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Thomas Broyer

On 28 nov, 10:27, Paul Grenyer paul.gren...@gmail.com wrote:
 Hi

 I've just done a completely fresh Eclipse and GWT 2.0 RC2 install
 including the new plugin:

 1.Extracted eclipse-java-galileo-SR1-win32.zip to C:\Program Files (x86).

 2.Ran Eclipse, set up a new workspace workspace at
 C:\Users\Paul\Documents\Sandbox\EclipseWorkspace and selected “Use
 this as the default and do not ask again.”

 3.Then installed Eclipse's Web Standard Tools (WST)

 - Help-Install new software.
 - Manually added the update url as none was 
 present:http://download.eclipse.org/releases/galileo/
 - Then Web, XML, and Java EE Development - Eclipse Web Developer Tools
 - Restarted Eclipse and then closed it.

 4.Then copied gpe-e35-1.2rc1.zip\eclipse\features to C:\Program Files
 (x86)\eclipse.

 5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files
 (x86)\eclipse\plugins

1) Why are you using 1.2rc1? it won't work with GWT 2.0.0 RC2 wrt the -
portHosted vs. -codeServerPort naming change.
2) Why not just unzip it in C:\Program Files (x86)\eclipse\dropins as
you're told to do?

 6.Then copied the contents of gwt-2.0.0-rc2.zip to
 gpe-e35-1.2rc1.zip\eclipse\plugins

Why are you putting it within your eclipse install?

 7.Started Eclipse again and used the plugin to create a new project.

 - Started the wizard.
 - Configured the GWT SDK as C:\Program Files 
 (x86)\eclipse\plugins\gwt-2.0.0-rc2
 - Unticked “Use Google App Engine”
 - Entered project name etc and clicked finish.

 8.Then opened the “Web Application” Run Configuration for the project
 and ticked “Automatically select unused port” and clicked Run.

 And I get the same error:

 Unknown argument: -portHosted
 Google Web Toolkit 2.0.0-rc2

See above: you have to use the RC2 version of the plugin with the RC2
version of GWT.

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Paul Grenyer
Hi Thomas

 5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files
 (x86)\eclipse\plugins

 1) Why are you using 1.2rc1? it won't work with GWT 2.0.0 RC2 wrt the -
 portHosted vs. -codeServerPort naming change.

There you go. I was obviously suffering brain fade and really not
paying attention. Thank you for pointing that out.

 2) Why not just unzip it in C:\Program Files (x86)\eclipse\dropins as
 you're told to do?

Go easy! :-)

...because the first time i tried it, it didn't work.

Seems to work perfectly now. It may well have been due to me having
the wrong plugin.

 6.Then copied the contents of gwt-2.0.0-rc2.zip to
 gpe-e35-1.2rc1.zip\eclipse\plugins

 Why are you putting it within your eclipse install?

Was fighting int he dark. I'm no eclipse expert and that's where it
seemed to be in the previous plugin. I've now moved it.

 See above: you have to use the RC2 version of the plugin with the RC2
 version of GWT.

Thanks! :-)

All workign now. Thanks!

-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.com

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-27 Thread Šobis
I have similar problem. I made new web project and - I'm using GWT 2.0
rc2.

When I try to start, this is what I get in console:
Unknown argument: -style
Google Web Toolkit 2.0.0-rc2
DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist-
string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
level] [-gen dir] [-codeServerPort port-number | auto] [-server
servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [-
workDir dir] module[s]

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)
  -server  Specify a different embedded web server to run
(must implement ServletContainerLauncher)
  -startupUrl  Automatically launches the specified URL
  -war The directory into which deployable output files
will be written (defaults to 'war')
  -extra   The directory into which extra files, not intended
for deployment, will be written
  -workDir The compiler's working directory for internal use
(must be writeable; defaults to a system temp dir)
and
  module[s]Specifies the name(s) of the module(s) to host


What is wrong - what should I change? I have latest Eclipse plugin...

Thanks for answers.



On 26 nov., 11:54, Prashant antsh...@gmail.com wrote:
 it worked ! 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-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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-27 Thread Paul Grenyer
Hi

Me too. I had the same problem last night.

Paul

On Fri, Nov 27, 2009 at 12:35 PM, Šobis matej.poklu...@gmail.com wrote:
 I have similar problem. I made new web project and - I'm using GWT 2.0
 rc2.

 When I try to start, this is what I get in console:
 Unknown argument: -style
 Google Web Toolkit 2.0.0-rc2
 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist-
 string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
 level] [-gen dir] [-codeServerPort port-number | auto] [-server
 servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [-
 workDir dir] module[s]

 where
  -noserver        Prevents the embedded web server from running
  -port            Specifies 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
  -logLevel        The 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)
  -server          Specify a different embedded web server to run
 (must implement ServletContainerLauncher)
  -startupUrl      Automatically launches the specified URL
  -war             The directory into which deployable output files
 will be written (defaults to 'war')
  -extra           The directory into which extra files, not intended
 for deployment, will be written
  -workDir         The compiler's working directory for internal use
 (must be writeable; defaults to a system temp dir)
 and
  module[s]        Specifies the name(s) of the module(s) to host


 What is wrong - what should I change? I have latest Eclipse plugin...

 Thanks for answers.



 On 26 nov., 11:54, Prashant antsh...@gmail.com wrote:
 it worked ! 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-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.






-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.com

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-27 Thread Thomas Broyer


On Nov 27, 1:35 pm, Šobis matej.poklu...@gmail.com wrote:
 I have similar problem. I made new web project and - I'm using GWT 2.0
 rc2.

 When I try to start, this is what I get in console:
 Unknown argument: -style
 Google Web Toolkit 2.0.0-rc2
[...]
 What is wrong - what should I change? I have latest Eclipse plugin...

When you say the latest Eclipse plugin, does it mean the RC2
version linked from http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC
?

If you have a 1.1.2, official (i.e. from the update site), version;
it won't work (unless you just create a Java Application *.launch
configuration yourself instead of using the plugin's run as web
application.

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-26 Thread Prashant
Hi,

I am using GWT 2.0.0rc2 with GAE SDK 1.2.6 on Vista, whenever I try to run
or debug the project I am getting following error. I tried creating a fresh
project but the problem persists.


Unknown argument: -portHosted
Google Web Toolkit 2.0.0-rc2
DevMode [-noserver] [-port port-number | auto] [-whitelist
whitelist-string] [-blacklist blacklist-string] [-logdir directory]
[-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-server
servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir]
[-workDir dir] module[s]

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)
  -server  Specify a different embedded web server to run (must
implement ServletContainerLauncher)
  -startupUrl  Automatically launches the specified URL
  -war The directory into which deployable output files will be
written (defaults to 'war')
  -extra   The directory into which extra files, not intended for
deployment, will be written
  -workDir The compiler's working directory for internal use (must
be writeable; defaults to a system temp dir)
and
  module[s]Specifies the name(s) of the module(s) to host


Please help me out.
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-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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-26 Thread Prashant
I tried updating the plugin using IDE and it said a newer version is
already installed.

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-26 Thread Thomas Broyer


On Nov 26, 10:55 am, Prashant antsh...@gmail.com wrote:
 Hi,

 I am using GWT 2.0.0rc2 with GAE SDK 1.2.6 on Vista, whenever I try to run
 or debug the project I am getting following error. I tried creating a fresh
 project but the problem persists.

 Unknown argument: -portHosted
 Google Web Toolkit 2.0.0-rc2
 DevMode [-noserver] [-port port-number | auto] [-whitelist
 whitelist-string] [-blacklist blacklist-string] [-logdir directory]
 [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-server
 servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir]
 [-workDir dir] module[s]

As noted in the release notes, The -portHosted Development Mode flag
has been renamed to -codeServerPort; and as also noted (well, a bit
implicit I concede), you need to update your Eclipse plug-in by
unzipping the RC2 version (just as you did with the RC1) as there's no
update site for them. (unzip the RC2 *above* the RC1, as it seems the
RC2 distro isn't complete)

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

--

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 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-26 Thread Prashant
it worked ! 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-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.