I'm trying to run GWT through an ant build, because I want to implement it in my java project. My build.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<project name="test-exporter" default="devmode">
<property name="lib" location="war/WEB-INF/lib"/>
<path id="gwt.classpath">
<fileset dir="${lib}">
<include name="*.jar"/>
</fileset>
</path>
<target name="devmode">
<java failonerror="true" fork="true" classname="com.google.gwt.dev.DevMode">
<classpath refid="gwt.classpath"/>
<jvmarg value="-Xmx1024M"/>
<jvmarg value="-XX:MaxPermSize=256m" />
<jvmarg value="-XX:+UseCompressedOops" />
<arg value="-startupUrl"/>
<arg value="Test.html"/>
<arg line="-bindAddress" />
<arg line="0.0.0.0" />
<arg value="com.test.Test"/>
</java>
</target>
</project>
But when I'm trying to run this, GWT says that it can't find my /com/test/Test.gwt.xml. The Test.gwt.xml file is located in package com.test so it should be able to find it. Do I have to add the .xml to the classpath aswell? Running it with the Eclipse plugin works, but I'm really looking to run it through ant build