César
unread,Nov 24, 2009, 10:21:56 AM11/24/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi,
Sorry to bring this subject into discussion, but I have search through
several pages but I did not succeed to achieve my goals.
I want to use a different package structure, rather then the client/
server/public one given by the default project.
So I have the following structure
Package: com.blackice.advertising
Advertising.gwt.xml
Package: com.blackice.advertising.gwt.entry
Advertising.java (implements EntryPoint)
Package: com.blackice.advertising.gwt.services
GreetingService.java (extends RemoteService)
GreeetingServiceAsync.java (interface)
Package: com.blackice.advertising.gwt.server
GreetingServiceImpl.java (extends RemoteServiceServlet implements
GreetingService)
In my Advertising.gwt.xml I have the following definition
<entry-point class="com.blackice.advertising.gwt.entry.Advertising" /
>
<source path="gwt.entry" />
<source path="gwt.services" />
So, it is possible to have my 'com.blackice.advertising.gwt.entry' and
'com.blackice.advertising.gwt.services' packages as client code? For
the documentation I have read, we can define out own client code
packages, but I am not able to do it for my case.
when I compile this structure I get the following error:
[ERROR] Unable to find type
'com.blackice.advertising.gwt.entry.Advertising'
[ERROR] Hint: Previous compiler errors may have made this type
unavailable
Any help that you can give will be very appreciate, since for this
project I need to have this kind of structure.