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