That looks fine to me. I'm really fishing now... could you open up
gwt-user.jar and confirm that it contains
com/google/gwt/emul/java/lang/Object.java?


On Mon, Oct 13, 2008 at 1:47 PM, birwin <[EMAIL PROTECTED]> wrote:
>
> Sorry, the last Timecard.gwt.xml was not the correct one. Here is the
> one I am using:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <module>
>
>        <!-- Inherit the core Web Toolkit stuff.                  -->
>        <inherits name="com.google.gwt.user.User"/>
>
>        <!-- Inherit Web Toolkit Incubator stuff -->
>        <inherits name="com.google.gwt.widgetideas.WidgetIdeas"/>
>        <inherits name="com.google.gwt.libideas.LibIdeas"/>
>
>        <!-- Specify the app entry point class.                   -->
>        <entry-point class="com.webapp.client.Timecard" />
>
>        <source path="client" />
>        <public path="public" />
>
>        <servlet class="com.webapp.server.TimecardServiceImpl" path="/
> timecardservice" />
> </module>
>
> Thanks,
>
> Brian I.
>
> On Oct 13, 11:32 am, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
>> You're right, it does appear to be there. Off the top of my head, I
>> can't think of what else would prevent the compiler from finding
>> java.lang.Object. I guess I'd want to look at Timecard.gwt.xml next,
>> just to see if something looks off. Would you mind posting that?
>>
>> On Mon, Oct 13, 2008 at 1:16 PM, birwin <[EMAIL PROTECTED]> wrote:
>>
>> > Thanks again for your response Isaac,
>>
>> > I believe I do have the gwt-user.jar on my path... I am using Ivy for
>> > my dependency resolution. I assigned the gwt JARs from IVY and named
>> > the path "gwt.path"
>>
>> > Just to make sure the user JAR was on the path, I assigned the path to
>> > a property and then echoed the property to System.out. Here is the ant
>> > calls I made and the subsequent message printed to System.out:
>>
>> >     <property name="gwt.path.property" refid="gwt.path" />
>> >     <echo message="classpath= ${gwt.path.property}"/>
>>
>> >     [echo] classpath= C:\Documents and Settings\irwinb\.ivy2\cache
>> > \com.google\gwt-dev-windows\jars\gwt-dev-windows-1.5.0.jar;C:
>> > \Documents and Settings\irwinb\.ivy2\cache\com.google\gwt-user\jars
>> > \gwt-user-1.5.0.jar
>>
>> > You can see that gwt.path apears to hold gwt-user.jar (Version 1.5).
>>
>> > Assembling this path is controlled by an Ivy task, so I don't know the
>> > details of how Ivy assembles classpaths, but I did verify the JAR was
>> > in the location specified.
>>
>> > Any other ideas or did I miss something?
>>
>> > - Brian I.
>>
>> > On Oct 13, 10:38 am, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
>> >> >     [java] com.google.gwt.core.ext.typeinfo.NotFoundException:
>> >> > java.lang.Object
>>
>> >> This suggests to me that you don't have gwt-user.jar on your classpath.
>>
>> >> On Mon, Oct 13, 2008 at 12:23 PM, birwin <[EMAIL PROTECTED]> wrote:
>>
>> >> > Thank You Isaac,
>>
>> >> > That did eliminate the ZipException...
>>
>> >> > I am now getting this error. From what I can tell, this indicates my
>> >> > classpath does not include my client source files.
>>
>> >> >     [java] Loading module 'com.sosstaffing.soar.webapp.Timecard'
>> >> >     [java]    Translatable source found in...
>> >> >     [java]       [WARN] No source path entries; expect subsequent
>> >> > failures
>> >> >     [java] com.google.gwt.core.ext.typeinfo.NotFoundException:
>> >> > java.lang.Object
>>
>> >> > My GWT Compile task now looks like this:
>>
>> >> >                <java classname="com.google.gwt.dev.GWTCompiler">
>> >> >                        <arg value="-out" />
>> >> >                        <arg file="web" />
>> >> >                        <arg value="%*" />
>> >> >                        <arg value="com.webapp.Timecard" />
>> >> >                        <classpath>
>> >> >                                <pathelement location="${dir.src}" />
>> >> >                                <path refid="compile.cp" />
>> >> >                                <path refid="class.path" />
>> >> >                                <path refid="gwt.path" />
>> >> >                        </classpath>
>> >> >                </java>
>>
>> >> > I am assuming this error means that the GWT compiler still cannot find
>> >> > my source files. The ${dir.src} in my pathelement tag is the location
>> >> > of my source files (the src directory that contains my com folder) My
>> >> > Timecard.gwt.xml file is located in the com.webapp folder and my
>> >> > client source files are located in com.webapp.client folder.
>>
>> >> > Here is my file structure:
>>
>> >> > +src
>> >> >    +com
>> >> >        +webapp
>> >> >            +client
>> >> >            Timecard.gwt.xml
>>
>> >> > This looks right to me, but I am new to GWT and must be missing
>> >> > something.
>>
>> >> > On Oct 11, 6:35 am, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
>> >> >> It appears that you are putting individual files in your classpath 
>> >> >> instead
>> >> >> of directories. Ant tries to open each of those files expecting them 
>> >> >> to be
>> >> >> zip files.
>> >> >> Change your classpath so that it points to the root of your source and 
>> >> >> class
>> >> >> file trees, not each file in those trees. The only non-directory 
>> >> >> entries in
>> >> >> your classpath should be jar files.
>>
>> >> >> On Fri, Oct 10, 2008 at 7:39 PM, birwin <[EMAIL PROTECTED]> wrote:
>>
>> >> >> > I have been trying to solve this problem all day and I cannot seem to
>> >> >> > make any headway. My Ant task that compiles my GWT files is giving me
>> >> >> > this exception over and over:
>>
>> >> >> > java.util.zip.ZipException: error in opening zip file
>>
>> >> >> > I am using Eclipse 3.4 (Ganymede) with Ant 1.7.0. My GWT Version is
>> >> >> > 1.5.
>>
>> >> >> > Here is the portion of the task that is supposed to compile the GWT
>> >> >> > code:
>>
>> >> >> >                <java classname="com.google.gwt.dev.GWTCompiler">
>> >> >> >                        <arg value="-out" />
>> >> >> >                        <arg file="web" />
>> >> >> >                        <arg value="%*" />
>> >> >> >                        <arg value="com.webapp.Timecard" />
>> >> >> >                        <classpath>
>> >> >> >                        <fileset dir="src" />
>> >> >> >                                <path refid="compile.cp" />
>> >> >> >                                <path refid="class.path" />
>> >> >> >                                <path refid="gwt.path" />
>> >> >> >                        </classpath>
>> >> >> >                </java>
>>
>> >> >> > My log file has thousands of the following error messages:
>>
>> >> >> > Ignoring Exception java.util.zip.ZipException: error in opening zip
>> >> >> > file reading resource com/google/gwt/dev/GWTCompiler.class from C:
>> >> >> > \Documents and Settings\fred\workspace\com\webapp\Timecard.gwt.xml
>>
>> >> >> > (Each message is exactly the same except that the file name is
>> >> >> > different. Each of my "Java" and "PNG" files are listed)
>>
>> >> >> > Then this stack trace is displayed in my log file over and over 
>> >> >> > again:
>>
>> >> >> >     [java] java.util.zip.ZipException: error in opening zip file
>> >> >> >     [java]     at java.util.zip.ZipFile.open(Native Method)
>> >> >> >     [java]     at java.util.zip.ZipFile.<init>(ZipFile.java:203)
>> >> >> >     [java]     at java.util.zip.ZipFile.<init>(ZipFile.java:234)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:
>> >> >> > 1014)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:
>> >> >> > 917)
>> >> >> >     [java]     at
>> >> >> > com.google.gwt.util.tools.Utility.computeInstallationPath(Utility.java:
>> >> >> > 283)
>> >> >> >     [java]     at
>> >> >> > com.google.gwt.util.tools.Utility.getInstallPath(Utility.java:224)
>> >> >> >     [java]     at
>> >> >> > com.google.gwt.util.tools.ToolBase.<clinit>(ToolBase.java:55)
>> >> >> >     [java]     at java.lang.Class.forName0(Native Method)
>> >> >> >     [java]     at java.lang.Class.forName(Class.java:242)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:
>> >> >> > 135)
>> >> >> >     [java]     at 
>> >> >> > org.apache.tools.ant.taskdefs.Java.run(Java.java:747)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:201)
>> >> >> >     [java]     at 
>> >> >> > org.apache.tools.ant.taskdefs.Java.execute(Java.java:
>> >> >> > 104)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>> >> >> >     [java]     at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown
>> >> >> > Source)
>> >> >> >     [java]     at
>>
>> >> >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>> >> >> >  l.java:
>> >> >> > 25)
>> >> >> >     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
>> >> >> > 105)
>> >> >> >     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
>> >> >> >     [java]     at 
>> >> >> > org.apache.tools.ant.Target.execute(Target.java:357)
>> >> >> >     [java]     at 
>> >> >> > org.apache.tools.ant.Target.performTasks(Target.java:
>> >> >> > 385)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>> >> >> >     [java]     at
>>
>> >> >> > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.
>> >> >> >  java:
>> >> >> > 41)
>> >> >> >     [java]     at
>>
>> >> >> > org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTarget
>> >> >> >  s(EclipseDefaultExecutor.java:
>> >> >> > 32)
>> >> >> >     [java]     at
>> >> >> > org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>> >> >> >     [java]     at
>>
>> >> >> > org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRun
>> >> >> >  ner.java:
>> >> >> > 423)
>> >> >> >     [java]     at
>>
>> >> >> > org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRu
>> >> >> >  nner.java:
>> >> >> > 137)
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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