[jboss-cvs] jboss-seam/examples/remoting/gwt ...
Shane Bryzak
sbryzak at redhat.com
Sun Apr 15 21:47:32 EDT 2007
User: sbryzak2
Date: 07/04/15 21:47:32
Modified: examples/remoting/gwt build.xml
Log:
gwt-generated files moved to view root
Revision Changes Path
1.2 +16 -2 jboss-seam/examples/remoting/gwt/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/remoting/gwt/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- build.xml 16 Apr 2007 00:01:23 -0000 1.1
+++ build.xml 16 Apr 2007 01:47:32 -0000 1.2
@@ -24,13 +24,27 @@
<property file="build.properties"/>
+ <!-- the "class bass" name of the gwt module you are including -->
+ <property name="gwt.module.name" value="org.jboss.seam.example.remoting.gwt.HelloWorld"/>
+
+
+
<!-- the following are are handy utilities for doing GWT development.
To use GWT, you will of course need to download GWT seperately -->
<target name="gwt-compile">
- <gwt:compile outDir="view"
+ <!-- in this case, we are "re homing" the gwt generated stuff, so in this case
+ we can only have one GWT module - we are doing this deliberately to keep the URL short -->
+ <delete>
+ <fileset dir="view"/>
+ </delete>
+ <gwt:compile outDir="build/gwt"
gwtHome="${gwt.home}"
- classBase="org.jboss.seam.example.remoting.gwt.HelloWorld"
+ classBase="${gwt.module.name}"
sourceclasspath="src"/>
+ <copy todir="view">
+ <fileset dir="build/gwt/${gwt.module.name}"/>
+ </copy>
+
</target>
<target name="gwt-shell">
More information about the jboss-cvs-commits
mailing list