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

Shane Bryzak sbryzak at redhat.com
Sun Apr 15 20:01:23 EDT 2007


  User: sbryzak2
  Date: 07/04/15 20:01:23

  Added:       examples/remoting/gwt    build.properties build.xml
                        readme.txt
  Log:
  gwt example
  
  Revision  Changes    Path
  1.1      date: 2007/04/16 00:01:23;  author: sbryzak2;  state: Exp;jboss-seam/examples/remoting/gwt/build.properties
  
  Index: build.properties
  ===================================================================
  #this is needed to point to your version of GWT - which you download seperately
  gwt.home=C:/java/gwt-windows-1.3.3
  
  
  
  1.1      date: 2007/04/16 00:01:23;  author: sbryzak2;  state: Exp;jboss-seam/examples/remoting/gwt/build.xml
  
  Index: build.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="SeamGWT" 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"/>
  
    <!-- 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="example.facelets.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="tomcat.conf"               value="eejb.conf"/>
  
    <import file="../../../build.xml"/>
  
  	<taskdef uri="antlib:de.samaflost.gwttasks"
  	              resource="de/samaflost/gwttasks/antlib.xml"
  	              classpath="./lib/gwttasks.jar"/>
  	  
  	<property file="build.properties"/>
  
  	<!-- 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" 
  			gwtHome="${gwt.home}" 
  			classBase="org.jboss.seam.example.remoting.gwt.HelloWorld" 
  			sourceclasspath="src"/>
  	</target>
  
  	<target name="gwt-shell">
  		<gwt:shell sourceclasspath="src" 
  			bindir="target/classes" 
  			outDir="view" 
  			gwtHome="${gwt.home}" 
  			startPage="org.jboss.seam.examples.remoting.gwt/HelloWorld.html"/>
  	</target>	
  	
  </project>
  
  
  
  
  1.1      date: 2007/04/16 00:01:23;  author: sbryzak2;  state: Exp;jboss-seam/examples/remoting/gwt/readme.txt
  
  Index: readme.txt
  ===================================================================
  This shows GWT with Seam remoting.
  
  run ant deploy, and then browse to:
  
  http://localhost:8080/seam-helloworld/org.jboss.seam.example.remoting.gwt.HelloWorld/HelloWorld.html
  
  (or similar).
  
  
  GWT:
  If you want to rebuild the GWT front end, you will need to download GWT, and configure build.properties to point to it.
   - you can then run "ant gwt-compile" from this directory. It is pre-built by default.
  If you want to use the GWT hosted mode, well, read all about it from the GWT docs !
  
  
  



More information about the jboss-cvs-commits mailing list