You should be able to make your configuration work provided you launch
the hosted mode with the right parameters.
Please read the documentation concerning the hosted mode:
http://code.google.com/webtoolkit/doc/1.6/DevGuideCompilingAndDebugging.html
Then put your hosted mode in DEBUG log level and play around with the
parameters you're passing to it.
Google Web Toolkit 1.6.4
HostedMode [-noserver] [-port port-number | "auto"] [-whitelist
whitelist-string] [-blacklist blacklist-string] [-logLevel level] [-
gen dir] [-style style] [-ea] [-server servletContainerLauncher] [-
startupUrl url] [-war dir] [-extra dir] [-workDir dir] [-localWorkers
count] 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)
-logLevel The level of logging detail: ERROR, WARN, INFO,
TRACE, DEBUG, SPAM, or ALL
-gen The directory into which generated files will be
written for review
-style Script output style: OBF[USCATED], PRETTY, or
DETAILED (defaults to OBF)
-eaDebugging: causes the compiled output to check assert
statements.
-serverSpecifies a different embedded web server to run
(must implement ServletContainerLauncher)
-startupUrlAutomatically launches the specified URL
-war The war directory to write output files into
(defaults to war)
-extra The directory into which extra, non-deployed files
will be written
-workDir The compiler work directory (must be writeable;
defaults to a system temp dir)
-localWorkers Specifies the number of local workers to use when
compiling permutations
and
module[s] Specifies the name(s) of the module(s) to host
Good luck,
Salvador
On Apr 21, 4:14 pm, mabebe wrote:
> Salvador,
>
> I am getting the error when i run my app in hosted mode but if i use
> standalone hot tomcat deployment (add server and debug within eclipse)
> it can find the module...i should also state everything compiles fine
> with Google Compile..
>
> my project structure is as follows
>
> personalwebsite/src/org/personalsite/personalwebsite/
> Personalwebsite.gwt.xml
> personalwebsite/src/org/personalsite/personalwebsite/
> Personalwebsite.java
> personalwebsite/war/index.html
>
> i tried
> bothhttp://localhost:8080/personalwebsiteandhttp://localhost:8080/personalwebsite/index.html...andgot
> the same
> error as above...
>
> here is my Personalwebsite.gwt.xml module content
>
>
>
>
>
>
>
>
> class='org.personalsite.personalwebsite.client.Personalwebsite'/>
>
>
>
>
> Thanks...
>
> On Apr 21, 9:13 am, Salvador Diaz wrote:
>
> > Could you post more details ? (Your whole project structure along with
> > the location of personalwebsite.gwt.xml and the options passed to
> > hosted mode should be enough )
>
> > Alternatively, you could put your hosted mode in DEBUG log level and
> > read the logs to try to pinpoint what's wrong with your classpath
>
> > Hope it helps,
>
> > Salvador
>
> > On Apr 21, 9:41 am, mabebe wrote:
>
> > > Hi could you please help in resolving the following error..i think its
> > > an issue with the class path, i have my src folder already in the
> > > class path.i am running GWT 1.6.4, Eclipse 3.4
>
> > > [ERROR] Unable to find 'personalwebsite.gwt.xml' on your classpath;
> > > could be a typo, or maybe you forgot to include a classpath entry for
> > > source?
>
> > > I appreciate any help on this...
> > > Thanks.
> > > Meklit
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---