Fixes a problem where samples that include a generator fail to build, because the sample's bin directory is not on the classpath.  The gwtc rule now includes a sample's bin directory.

Patch by: bobv
Review by: me


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1231 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/samples/common.ant.xml b/samples/common.ant.xml
index d61912d..401381a 100755
--- a/samples/common.ant.xml
+++ b/samples/common.ant.xml
@@ -36,13 +36,14 @@
 		<outofdate>
 			<sourcefiles>
 				<fileset dir="src" />
+				<fileset dir="${sample.build}/bin" />
 				<fileset file="${gwt.user.jar}" />
 				<fileset file="${gwt.dev.jar}" />
 			</sourcefiles>
 			<targetfiles path="${sample.build}/www/com.google.gwt.sample.${sample.package}.${sample.module}/com.google.gwt.sample.${sample.package}.${sample.module}.nocache.html" />
 			<sequential>
 				<mkdir dir="${sample.build}/www" />
-				<java dir="${sample.build}" classname="com.google.gwt.dev.GWTCompiler" classpath="src:${gwt.user.jar}:${gwt.dev.jar}" fork="yes" failonerror="true">
+				<java dir="${sample.build}" classname="com.google.gwt.dev.GWTCompiler" classpath="src:${sample.build}/bin:${gwt.user.jar}:${gwt.dev.jar}" fork="yes" failonerror="true">
 					<arg value="-out" />
 					<arg file="${sample.build}/www" />
 					<arg value="com.google.gwt.sample.${sample.package}.${sample.module}" />