This line in your build.xml is incorrect -  <arg value="de.go2one.sdui.*
client.*MainView" />

When you invoke GWT compiler, you pass the fully qualified name of your
gwt.xml file (also called module name). In your case, it is
de.go2one.sdui.MainView.


--Sri



On 16 April 2010 14:21, malibubu <[email protected]> wrote:

> Hi,
>
> I've the following Problem: I want to compile my module "MainView",
> but it fails with the error message "Unable to find 'de/go2one/sdui/
> client/MainView.gwt.xml'.
>
> Directory Structure:
> -de
> ---go2one
> -----sdui
> -------MainView.gwt.xml
> -------client
> ---------MainView.java
>
> MainView.gwt.xml:
> <module>
>  <inherits name='com.google.gwt.user.User' />
>  <inherits name='com.google.gwt.rpc.RPC' />
>  <entry-point class='de.go2one.sdui.client.MainView' />
> </module>
>
> build.xml
>        <target name="gwtc" depends="compile" description="GWT compile to
> JavaScript">
>                <java failonerror="true" fork="true"
> classname="com.google.gwt.dev.Compiler">
>                        <classpath>
>                                <pathelement location="src" />
>                                <path refid="project.class.path" />
>                        </classpath>
>                        <!-- add jvmarg -Xss16M or similar if you see a
> StackOverflowError
> -->
>                        <jvmarg value="-Xmx256M" />
>                        <!-- Additional arguments like -style PRETTY or
> -logLevel DEBUG -->
>                        <arg line="${gwt.args}" />
>                        <arg value="de.go2one.sdui.client.MainView" />
>                </java>
>        </target>
>        <path id="project.class.path">
>                <pathelement location="webcontent/WEB-INF/classes" />
>                <fileset dir="lib" includes="*.jar" />
>        </path>
>        <target name="libs" description="Copy libs to WEB-INF/lib">
>                <mkdir dir="webcontent/WEB-INF/lib" />
>                <copy todir="webcontent/WEB-INF/lib">
>                        <fileset dir="lib">
>                                <include name="*.jar"/>
>                        </fileset>
>                </copy>
>        </target>
>        <target name="compile" depends="libs">
>                <javac srcdir="src" destdir="webcontent/WEB-INF/classes"
> source="1.5" target="1.5" nowarn="true" debug="true"
> debuglevel="vars,lines,source">
>                        <classpath refid="project.class.path" />
>                </javac>
>                <copy includeemptydirs="true" overwrite="true"
> todir="webcontent/WEB-
> INF/classes">
>                        <fileset dir="src">
>                                <include name="**/*.*" />
>                        </fileset>
>                </copy>
>        </target>
>        <target name="clean">
>                <mkdir dir="webcontent/WEB-INF/classes" />
>                <delete includeemptydirs="true">
>                        <fileset dir="webcontent/WEB-INF/classes">
>                                <include name="**/*" />
>                        </fileset>
>                </delete>
>        </target>
>
>
> This is not the complete build.xml.
> The content in webcontent/... looks also fine :(
>
> What should I do next?
> Regards!
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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