Unable to find type

1 view
Skip to first unread message

César

unread,
Nov 24, 2009, 10:21:56 AM11/24/09
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.

Paul Robinson

unread,
Nov 24, 2009, 11:45:45 AM11/24/09
to google-we...@googlegroups.com

C�sar wrote:
> <source path="gwt.entry" />
> <source path="gwt.services" />
>
>
Try gwt/entry and gwt/services

Paul
Reply all
Reply to author
Forward
0 new messages