This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes GWT and the fly likes ANT script for running GWT application in hosted mode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "ANT script for running GWT application in hosted mode" Watch "ANT script for running GWT application in hosted mode" New topic
Author

ANT script for running GWT application in hosted mode

Vijaykumar vemb
Greenhorn

Joined: Dec 15, 2009
Posts: 5
Hi,

I am getting some problems while running the application in hosted mode...

This is the ANT script for gwt-shell:

<target name="gwt-shell">
<java classname="com.google.gwt.dev.GWTShell" fork="true">
<classpath refid="classpathid" />
<arg value="-out"/>
<arg value="com.wf.calander.CatCalanderUI/CatCalanderUI.html"/>
</java>
</target>

And main page is not loading the hosted mode and getting the errors on the console...

[TRACE] Loading module 'com.wf.calander.CatCalanderUI'
[ERROR] Unable to find 'com/wf/calander/CatCalanderUI.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[TRACE] The development shell servlet received a request for 'CatCalanderUI.html' in module 'com.wf.calander.CatCalanderUI.gwt.xml'
[TRACE] Loading module 'com.wf.calander.CatCalanderUI'
[ERROR] Unable to find 'com/wf/calander/CatCalanderUI.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?


Can you please help me..

/Vijay

Vijaykumar vemb
Greenhorn

Joined: Dec 15, 2009
Posts: 5
Vijaykumar vemb wrote: Hi,

I am getting some problems while running the application in hosted mode...

This is the ANT script for gwt-shell:

<target name="gwt-shell">
<java classname="com.google.gwt.dev.GWTShell" fork="true">
<classpath refid="classpathid" />
<arg value="-out"/>
<arg value="com.wf.calander.CatCalanderUI/CatCalanderUI.html"/>
</java>
</target>

And main page is not loading the hosted mode and getting the errors on the console...

[TRACE] Loading module 'com.wf.calander.CatCalanderUI'
[ERROR] Unable to find 'com/wf/calander/CatCalanderUI.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[TRACE] The development shell servlet received a request for 'CatCalanderUI.html' in module 'com.wf.calander.CatCalanderUI.gwt.xml'
[TRACE] Loading module 'com.wf.calander.CatCalanderUI'
[ERROR] Unable to find 'com/wf/calander/CatCalanderUI.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?


Can you please help me..

/Vijay




Why hosted mode browser not able to load the .gwt.xml file?
Can you please help me..

/Vijay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ANT script for running GWT application in hosted mode
 
Similar Threads
problem with simple gwt app
How to overcome this basic GWT problem?
Project Dependency(gwt question)
Problem in installing Ant
GWT with arrayDeque and StringTokenizer Problem