On Sep 1, 11:17 am, db_the_geek <[email protected]> wrote:
> Hi,
>
> Hoping someone can point me in the right direction with a problem I am
> having with compiling a GWT project.
>
> I have 2 GWT projects - Product which inherits Core. The Core project
> uses a generator, which is configured with <generate-with
> class="com.some.package.MyProxyGenerator">.....</generate-with>
>
> When I compile my entry point project in Eclipse with the GWT plugin,
> the project compiles fine. However, when I try compile manually using
> java (or with ant), the compile fails with a ClassNotFoundException on
> com.some.package.MyProxyGenerator.
>
> The command line I use to compile is:
> java -cp gwt/gwt-dev.jar:gwt/gwt-user.jar:core/src:src -war war
> com.myorg.web.ui.Product
>
> MyProxyGenerator.java source file is in core/src/com/some/package/.
>
> output:
> [ERROR] Unable to load class 'com.some.package.MyProxyGenerator'
>   java.lang.ClassNotFoundException: com.some.package.MyProxyGenerator
>
> Any idea why this fails?

Have you "javac"'d your generator ? and if you did, did you make sure
it's in the classpath of the GWT compiler? (given your "-cp" value, I
doubt it)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to