aspose file tools*
The moose likes GWT and the fly likes  Invalid package name. 'public' is not a valid Java identifier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark " Invalid package name. Watch " Invalid package name. New topic
Author

Invalid package name. 'public' is not a valid Java identifier

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
in the documentation of gwt
Public Path
it mentions

The default public path is the public subdirectory underneath where the Module XML File is stored.


but I try using the gwt tutorial and create a package
com.google.gwt.sample.stockwatcher.public
ecplise prompt out error


so how to create a 'public' package?

Also, I found that the static resources can be placed under war directory like
war/images/xxx.png
and get the image with path "/images/xxx.png",
so why still need to create a "public" package underneath where the Module XML File is stored (not mention it is not allowed to create such a "public" folder)?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invalid package name. 'public' is not a valid Java identifier
 
Similar Threads
"Java Source" in CVS and WSAD
GWT .war file building problem (Ant Build)
Google Web Toolkit (GWT): Practice
GWT 2.3 in Eclipse Indigo - can't even do the demo program/tutorial?
How to overcome this basic GWT problem?