Hi Hilbrand, Thanks for all your help! The problem turned out to be that one of our gwt.xml files did NOT have the inherits.
thanks again, nick On Mar 29, 4:33 pm, Hilbrand <[email protected]> wrote: > Hi Nick, > > The message indicates or the source files are not present or the > cobogw User.gwt.xml could not be found. > I can think of the following possible causes: > 1) The file that generates the errors is part of a module that using a > gwt.xml not including > the cobogw User.gwt.xml file. In any case each gwt.xml file must > include (directly or indirectly) > all gwt.xml files for modules it uses, only having the cobogw > User.gwt.xml file at top level is not enough. > 2) Somewhere there are 2 copies of the same gwt.xml file and one has > included the cobogw User.gwt.xml > and the other doesn't, and the one that doesn't include the file is > found first (I had this once). > 3) I see you are compiling on Linux, this should not be a problem, > but, since the jar is created on > Windows, this might be a possible cause (you never know). To exclude > this cause add the source > files directly to the classpath (they're in the cobogw zip file) > > Regards, > Hilbrand. > > On Mar 29, 8:18 pm, nickle <[email protected]> wrote: > > > > > Hi Hilbrand, > > > 1. Here is the actual error: > > 2009-03-29 13:58:25,032 [Thread-8637] INFO - [echo] Compiling > > GWT with /opt/gwt-linux-1.5.3/gwt-dev-linux.jar > > 2009-03-29 13:58:25,032 [Thread-8637] INFO - [echo] Java Version > > is 1.6.0_01-b06 > > 2009-03-29 13:58:35,767 [Thread-8637] INFO - [java] Compiling > > module com.brulant.wirtz.Wirtz > > 2009-03-29 14:05:08,091 [Thread-8637] INFO - [java] Compilation > > succeeded > > 2009-03-29 14:05:08,096 [Thread-8637] INFO - [java] Linking > > compilation into build/www/com.company.comp.Company > > 2009-03-29 14:05:16,720 [Thread-8637] INFO - [java] Removing > > units with errors > > 2009-03-29 14:05:16,720 [Thread-8637] INFO - [java] [ERROR] > > Errors in 'file:/opt/quickbuild/working/root/Company_UI/Build%20- > > %20Phase%202/checkouts/phase2Branch/src/com/company/comp/client/view/ > > global/CompanyMain.java' > > 2009-03-29 14:05:16,720 [Thread-8637] INFO - [java] > > [ERROR] Line 411: No source code is available for type > > org.cobogw.gwt.user.client.ui.RoundedLinePanel; did you forget to > > inherit a required module? > > 2009-03-29 14:05:16,720 [Thread-8637] INFO - [java] > > [ERROR] Line 411: No source code is available for type > > org.cobogw.gwt.user.client.ui.RoundedPanel; did you forget to inherit > > a required module? > > > 2. Here is the classpath line: > > <path id="classpath"> > > <pathelement location="build" /> > > <pathelement path="${build.dir}" /> > > <pathelement location="src" /> > > <pathelement location="${GWT_HOME}/gwt-user.jar" /> > > <pathelement location="${GWT_HOME}/${gwt.dev.jar}" /> > > <pathelement location="${GWT_HOME}/gwt-servlet.jar" /> > > <fileset dir="lib"> > > <include name="**/*.jar" /> > > </fileset> > > </path> > > > <target name="compile.gwt" depends="build" description="compiles > > Java > > source files to JavaScript"> > > <echo message="Compiling GWT with > > ${GWT_HOME}/${gwt.dev.jar}"/> > > <echo message="Java Version is ${java.runtime.version}" /> > > <java classname="com.google.gwt.dev.GWTCompiler" > > classpathref="classpath" fork="true"> > > <arg line="-out build/www" /> > > <arg line="-style OBF" /> > > <arg value="${gwt.module}" /> > > <jvmarg value="-Djava.awt.headless=true" /> > > <jvmarg value="-Xmx1024m" /> > > </java> > > <java classname="com.google.gwt.dev.GWTCompiler" > > classpathref="classpath" fork="true"> > > <arg line="-out build/www" /> > > <arg line="-style OBF" /> > > <arg value="${gwt.module2}" /> > > <jvmarg value="-Djava.awt.headless=true" /> > > <jvmarg value="-Xmx1024m" /> > > </java> > > </target> > > > thanks > > nick > > > On Mar 28, 8:19 am, Hilbrand <[email protected]> wrote: > > > > Hi Nick, > > > > The configuration you mention is correct, so it should work. > > > It might be the jar file is somehow not added to the class path. > > > > Can you post the exact error and line in the ant file that adds the > > > jar file to the class path, in order to help you further. > > > > Regards, > > > Hilbrand. > > > > On Mar 27, 1:23 pm, nickle <[email protected]> wrote: > > > > > All: > > > > > I am receiving a compilation error stating that the source file for > > > > the classes I import from the org.cobogw.gwt-1.2.2.jar cannot be > > > > found. > > > > > 1. I have the following line <inherits > > > > name='org.cobogw.gwt.user.User'/> in my <project>.gwt.xml file > > > > 2. org.cobogw.gwt-1.2.2.jar is in the classpath during compilation > > > > 3. Using an ant build script > > > > > Any help would be greatly appreciated, > > > > > thanks > > > > nick- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
