get-1.1.0 Compile Problem

0 views
Skip to first unread message

mjc

unread,
Aug 14, 2006, 12:15:47 PM8/14/06
to Google Web Toolkit
I am trying to compile my server code after converting to gwt.1-1.0
using the following command:

javac -classpath c:\gwt\gwt-windows-1.1.0\gwt-user.jar;.
com\eastlandeng\ordpro\gwt\server\*.java

When I do, I get the following 2 error messages:

c:\gwt\gwt-windows-1.1.0\gwt-user.jar(com/google/gwt/user/client/rpc/RemoteService.java):21:
class RemoteService is public, should be declared in a file named
RemoteService.java
(source unavailable)
c:\gwt\gwt-windows-1.1.0\gwt-user.jar(com/google/gwt/user/client/rpc/IsSerializable.java):21:
class IsSerializable is public, should be declared in a file named
IsSerializable.java
(source unavailable)
2 errors

This worked wit gwt-1.0.21. What am I missing?

Scott Blum

unread,
Aug 14, 2006, 2:34:18 PM8/14/06
to Google Web Toolkit
If I recall correctly, some versions of javac have a strange bug where
if you don't specify a -sourcepath, it will assume the classpath *is*
the sourcepath.

Perhaps try something like this?

javac -classpath c:\gwt\gwt-windows-1.1.0\gwt-user.jar -sourcepath .


com\eastlandeng\ordpro\gwt\server\*.java

Does this work?
Scott

mjc

unread,
Aug 14, 2006, 4:15:23 PM8/14/06
to Google Web Toolkit
Scott,

That solved the problem. Thanks.

Mike

Reply all
Reply to author
Forward
0 new messages