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

Gavin King gavin.king at jboss.com
Mon Nov 6 03:51:43 EST 2006


  User: gavin   
  Date: 06/11/06 03:51:43

  Modified:    seam-gen   README build.xml
  Log:
  exploded directory integration with eclipse
  
  Revision  Changes    Path
  1.13      +20 -0     jboss-seam/seam-gen/README
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: README
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/README,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- README	5 Nov 2006 21:01:38 -0000	1.12
  +++ README	6 Nov 2006 08:51:43 -0000	1.13
  @@ -36,6 +36,26 @@
   	     
         Example: seam undeploy
   
  +   explode
  +      Deploy the project and datasource to JBoss as an exploded
  +      directory structure. This command will not work if you created 
  +      a WTP project.
  +	     
  +      Example: seam explode
  +
  +   restart
  +      Restart the project that was deployed as an exploded directory 
  +      structure. This command will not work if you created a WTP 
  +      project.
  +	     
  +      Example: seam restart
  +
  +   unexplode
  +      Undeploy the exploded directory and datasource. This command
  +      will not work if you created a WTP project.
  +	     
  +      Example: seam unexplode
  +
   SEAM CODE GENERATION COMMANDS
      new-conversation
         Create a new Java interface and SFSB with key Seam/EJB3 
  
  
  
  1.20      +17 -2     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.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- build.xml	6 Nov 2006 03:06:09 -0000	1.19
  +++ build.xml	6 Nov 2006 08:51:43 -0000	1.20
  @@ -54,11 +54,11 @@
   			</filterset>
   		</copy>
   		<copy todir="${workspace.home}/${project.name}/">
  +			<fileset dir="${basedir}/build-scripts/" />
   			<filterset>
   				<filter token="projectName" value="${project.name}" />
   				<filter token="jbossHome" value="${jboss.home}" />
   			</filterset>
  -			<fileset dir="${basedir}/build-scripts/" />
   		</copy>
   		<copy todir="${workspace.home}/${project.name}/embedded-ejb">
   			<fileset dir="../embedded-ejb/" />
  @@ -314,6 +314,21 @@
   		<ant antfile="${workspace.home}/${project.name}/build.xml" target="undeploy" inheritall="false"/>
   	</target>
   
  +	<target name="explode" depends="validate-project">
  +		<echo message="Deploying project '${project.name}' to JBoss as an exploded directory" />
  +		<ant antfile="${workspace.home}/${project.name}/build.xml" target="explode" inheritall="false"/>
  +	</target>
  +
  +	<target name="restart" depends="validate-project">
  +		<echo message="Restarting project '${project.name}'" />
  +		<ant antfile="${workspace.home}/${project.name}/build.xml" target="restart" inheritall="false"/>
  +	</target>
  +
  +	<target name="unexplode" depends="validate-project">
  +		<echo message="Undeploying exploded directory for project '${project.name}'" />
  +		<ant antfile="${workspace.home}/${project.name}/build.xml" target="unexplode" inheritall="false"/>
  +	</target>
  +
   	<target name="help">
   		<echo message="Refer to README doc, or type `seam help'" />
   	</target>
  
  
  



More information about the jboss-cvs-commits mailing list