[jboss-cvs] jboss-seam/examples/remoting/gwt ...

Peter Muir peter at bleepbleep.org.uk
Fri Jun 29 06:47:26 EDT 2007


  User: pmuir   
  Date: 07/06/29 06:47:26

  Modified:    examples/remoting/gwt  build.xml
  Log:
  Move remoting examples to new build, with minor bugfixes
  
  Revision  Changes    Path
  1.6       +37 -34    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.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- build.xml	24 Jun 2007 19:43:09 -0000	1.5
  +++ build.xml	29 Jun 2007 10:47:26 -0000	1.6
  @@ -1,56 +1,59 @@
   <?xml version="1.0"?>
   
  -<project name="SeamGWT" default="deploy" basedir="." xmlns:gwt="antlib:de.samaflost.gwttasks">
  +<project name="GWT" default="deploy" basedir="." xmlns:gwt="antlib:de.samaflost.gwttasks">
   
     <!-- Example name -->
  -  <property name="Name"                   value="Seam Remoting GWT Example"/>
  -  <property name="example.name"           value="seam-gwt"/>
  +	<property name="Name" value="Seam Remoting GWT Example" />
  +	<property name="example.name" value="jboss-seam-gwt" />
   
     <!-- Overrides -->
  -  <property name="example.webinf.lib.dir"    value="."/>
  -  <property name="example.seam.remoting.lib" value="yes"/>
  -  <property name="example.gwt.lib"           value="yes"/>
  -  <property name="src.java.dir"              value="src"/>
  -  <property name="src.test.dir"              value="src"/>
  -  <property name="test.classpath"            value="test.eejb.classpath"/>
  +	<property name="seam.remoting.lib" value="yes" />
  +	<property name="gwt.lib" value="yes" />
   
  -  <import file="../../../build.xml"/>
  +	<import file="../../build.xml" />
   
  -	<taskdef uri="antlib:de.samaflost.gwttasks"
  +	<!-- EXTRAS -->
  +	<taskdef 
  +		uri="antlib:de.samaflost.gwttasks" 
   	              resource="de/samaflost/gwttasks/antlib.xml"
  -	              classpath="./lib/gwttasks.jar"/>
  +		classpath="./lib/gwttasks.jar" />
   	  
  -	<property file="build.properties"/>
  +	<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"/>
  +	<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">
  -		<!-- 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 -->
  +		<!-- 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"/>
  +			<fileset dir="view" />
   		</delete>
  -		<gwt:compile outDir="build/gwt" 
  +		<gwt:compile 
  +			outDir="build/gwt" 
   			gwtHome="${gwt.home}" 
   			classBase="${gwt.module.name}" 
  -			sourceclasspath="src"/>
  +			sourceclasspath="src" />
   		<copy todir="view">
  -			<fileset dir="build/gwt/${gwt.module.name}"/>
  +			<fileset dir="build/gwt/${gwt.module.name}" />
   		</copy>
   
   	</target>
   
   	<target name="gwt-shell">
  -		<gwt:shell sourceclasspath="src" 
  +		<gwt:shell 
  +			sourceclasspath="src" 
   			bindir="target/classes" 
   			outDir="view" 
   			gwtHome="${gwt.home}" 
  -			startPage="org.jboss.seam.examples.remoting.gwt/HelloWorld.html"/>
  +			startPage="org.jboss.seam.examples.remoting.gwt/HelloWorld.html" />
   	</target>	
   	
   </project>
  
  
  



More information about the jboss-cvs-commits mailing list