Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
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