Hello, thanks so much for your valuable help...

Basically I moved the docUpload package to the docUpload4.jar file,
everything in eclipse is fine, the problem is with the ant script
(which was working before), the classes that I just moved to the JAR
are not found (error stack trace at the end of this message), my
script handles that:

        <path id="gwt.classpath">
                <pathelement location="${appserver.home}/server/default/lib/
docUpload4.jar"/>
            <pathelement location="${build.dir}"/>
                <pathelement location="${src.dir}"/>
            <pathelement location="${gwt.home}/gwt-user.jar"/>
            <pathelement location="${gwt.home}/gwt-dev-windows.jar"/>
            <pathelement location="${gwt.home}/gwt-servlet.jar"/>
             <fileset dir="${web.dir}/WEB-INF/lib">
                <include name="**/*.jar"/>
             </fileset>
          </path>

        <target name="gwtbuildcap"  depends="build">
                <java classname="com.google.gwt.dev.GWTCompiler" dir="."
description="Generate static GWT files for the CAP module" fork="true"
failonerror="true" maxmemory="512m">
                        <classpath>
                                <path refid="gwt.classpath" />
                        </classpath>
                        <arg value="-out" />
                        <arg value="${web.dir}" />
                        <arg line="-style OBFUSCATE"/>
                        <arg value="${gwt.entry.point.CapMain}" />
                </java>
        </target>
        <target name="all" depends="clean,build,gwtbuildcap,deploy"/>

Error stack trace:

gwtbuildcap:
\     [java] Analyzing source in module 'org.eagle.cap.CapMain'
     [java]    [ERROR] Errors in 'C:\CAPWorkspace\cap2\src\org\eagle
\cap\client\widgets\CapReportTree.java'
     [java]       [ERROR] Line 280:  No source code is available for
type org.eagle.app.docUpload.client.pojo.DocUploadConfigVO; did you
forget to inherit a required module?
     [java]       [ERROR] Line 286:  No source code is available for
type org.eagle.app.docUpload.client.DocUploadMain; did you forget to
inherit a required module?
     [java]    [ERROR] Errors in 'C:\CAPWorkspace\cap2\src\org\eagle
\cap\client\widgets\VesselCompartmentsTable.java'
     [java]       [ERROR] Line 147:  No source code is available for
type org.eagle.app.docUpload.client.pojo.DocUploadConfigVO; did you
forget to inherit a required module?
     [java]       [ERROR] Line 149:  No source code is available for
type org.eagle.app.docUpload.client.DocUploadMain; did you forget to
inherit a required module?
     [java] Finding entry point classes
     [java]    [ERROR] Unable to find type
'org.eagle.app.docUpload.client.DocUpload'
     [java]       [ERROR] Hint: Check that the type name
'org.eagle.app.docUpload.client.DocUpload' is really what you meant
     [java]       [ERROR] Hint: Check that your classpath includes all
required source roots
     [java]    [ERROR] Unable to find type
'org.eagle.cap.client.CapMain'
     [java]       [ERROR] Hint: Previous compiler errors may have made
this type unavailable
     [java]       [ERROR] Hint: Check the inheritance chain from your
module; it may not be inheriting a required module or a module may not
be adding its source path entries properly
     [java] [ERROR] Build failed

Please help.
--~--~---------~--~----~------------~-------~--~----~
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