[jboss-cvs] jboss-seam/seam-gen ...

Gavin King gavin.king at jboss.com
Tue Nov 7 04:33:41 EST 2006


  User: gavin   
  Date: 06/11/07 04:33:41

  Modified:    seam-gen  build.xml
  Log:
  menu bar
  
  Revision  Changes    Path
  1.28      +12 -3     jboss-seam/seam-gen/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -b -r1.27 -r1.28
  --- build.xml	7 Nov 2006 09:11:57 -0000	1.27
  +++ build.xml	7 Nov 2006 09:33:41 -0000	1.28
  @@ -137,7 +137,8 @@
       <fileset id="view" dir="${basedir}/view">
           <include name="home.xhtml"/>
           <include name="index.html"/>
  -        <include name="layout/*"/>
  +        <include name="layout/template.xhtml"/>
  +    	<include name="layout/menu.xhtml"/>
           <include name="stylesheet/*"/>
       </fileset>
   
  @@ -268,11 +269,11 @@
           </fail>
       </target>
   
  -    <target name="new-project" depends="validate-workspace,file-copy,set-default-project">
  +    <target name="new-project" depends="validate-project,file-copy,set-default-project">
           <echo message="A new Seam project called '${project.name}' was created in the ${workspace.home} directory"/>
       </target>
   
  -    <target name="new-wtp-project" depends="validate-workspace,file-copy-wtp,set-default-project">
  +    <target name="new-wtp-project" depends="validate-project,file-copy-wtp,set-default-project">
           <echo message="A new WTP project was created in the ${workspace.home} directory"/>
       </target>
   
  @@ -416,6 +417,11 @@
           <ant antfile="${project.home}/build.xml" target="restart" inheritall="false"/>
       </target>
   
  +    <target name="clean" depends="validate-project">
  +        <echo message="Cleaning project '${project.name}'" />
  +        <ant antfile="${project.home}/build.xml" target="clean" inheritall="false"/>
  +    </target>
  +
       <target name="unexplode" depends="validate-project">
           <echo message="Undeploying exploded directory for project '${project.name}'" />
           <ant antfile="${project.home}/build.xml" target="unexplode" inheritall="false"/>
  @@ -544,6 +550,9 @@
           	<hbmtemplate filepattern="{package-name}/{class-name}Home.java"
           	                template="src/EntityHome.java.ftl" 
           		             destdir="${project.home}/src"/>
  +        	<hbmtemplate filepattern="menu.xhtml"
  +        	                template="view/layout/menu.xhtml.ftl" 
  +        		             destdir="${project.home}/view/layout"/>
   		</hibernatetool>
       </target>
   
  
  
  



More information about the jboss-cvs-commits mailing list