A workaround is to not use "ant test" in the root folder (run it in user/ or dev/, actually, you might want to use test.dev.htmlunit and/or test.web.htmlunit in user/, and/or set the gwt.junit.testcase.includes property to only run a subset of the test suite), or to edit the build.xml and comment the line that runs the tests in "buildtools".
On Tuesday, September 11, 2012 1:51:27 PM UTC+2, Marko wrote: > > Hi! > > I downloaded the latest GWT sources (trunk and tools) and compiled it > successfully with ant. But when I run "ant test" I get the following error: > > compile.tests: > [mkdir] Created dir: > C:\work-gwt-test\trunk\build\out\build-tools\ant-gwt\bin-test > [gwt.javac] Compiling 2 source files to > C:\work-gwt-test\trunk\build\out\build-tools\ant-gwt\bin-test > [gwt.javac] > C:\work-gwt-test\trunk\build-tools\ant-gwt\test\com\google\gwt\ant\taskdefs\SvnInfoTest.java:53: > > error: cannot access Task > [gwt.javac] gitSvnInfo = SvnInfo.getGitSvnInfo(dir); > [gwt.javac] ^ > [gwt.javac] class file for org.apache.tools.ant.Task not found > [gwt.javac] 1 error > > BUILD FAILED > C:\work-gwt-test\trunk\build.xml:137: The following error occurred while > executing this line: > C:\work-gwt-test\trunk\build.xml:27: The following error occurred while > executing this line: > C:\work-gwt-test\trunk\build.xml:110: The following error occurred while > executing this line: > C:\work-gwt-test\trunk\build-tools\build.xml:36: The following error > occurred while executing this line: > C:\work-gwt-test\trunk\build-tools\build.xml:10: The following error > occurred while executing this line: > C:\work-gwt-test\trunk\build-tools\ant-gwt\build.xml:20: Compile failed; > see the compiler error output for details. > > > What do I need to do in order to get this running? (I am using Windows 7.) > > Thank you! > > Marko > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9Brwa-LF9YAJ. 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.
