Originally posted by mathew
do not know how to deal
package com.smartgwt.sample.client; import com.google.gwt.junit.client.GWTTestCase; public class SampleTest extends GWTTestCase { @Override public String getModuleName() { return "com.smartgwt.sample.client.BuiltInDS"; } public void testSimple() { assertTrue(true); } }
Loading inherited module 'com.smartgwt.sample.client.BuiltInDS' [ERROR] Unable to find 'com/smartgwt/sample/client/BuiltInDS.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:278) at com.google.gwt.dev.cfg.ModuleDefLoader$2.load(ModuleDefLoader.java:217) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:324) at com.google.gwt.dev.cfg.ModuleDefLoader.createSyntheticModule(ModuleDefLoader.java:107) at com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl2(CompileStrategy.java:165) at com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl(CompileStrategy.java:112) at com.google.gwt.junit.SimpleCompileStrategy.maybeCompileModule(SimpleCompileStrategy.java:36) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1340) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1309) at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:653) at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296) at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139) at com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:202) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Process finished with exit code -1
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd"> <module rename-to="builtinds"> <inherits name='com.google.gwt.user.User'/> <inherits name="com.smartgwt.tools.SmartGwtTools"/> <inherits name="com.smartgwtee.tools.Tools"/> <inherits name="com.smartgwtee.SmartGwtEENoTheme"/> <inherits name="com.google.gwt.junit.JUnit"/> <entry-point class='com.smartgwt.sample.client.BuiltInDS'/> </module>
public void gwtSetUp() { new SmartGwtEntryPoint().onModuleLoad(); }
Comment