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" <
itru...@gmail.com> 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.
>