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

Peter Muir peter at bleepbleep.org.uk
Sat Sep 29 13:21:57 EDT 2007


  User: pmuir   
  Date: 07/09/29 13:21:57

  Modified:    examples  build.xml
  Log:
  A couple of extension points
  
  Revision  Changes    Path
  1.44      +11 -2     jboss-seam/examples/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/build.xml,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -b -r1.43 -r1.44
  --- build.xml	29 Sep 2007 16:57:15 -0000	1.43
  +++ build.xml	29 Sep 2007 17:21:57 -0000	1.44
  @@ -36,6 +36,7 @@
   
   	<!-- Library directories -->
   	<property name="lib.dir" value="${seam.dir}/lib" />
  +	<property name="example.tmp.lib.dir" value="${tmp.dir}/${example.name}/lib" />
   	<property name="mail.dir" value="${seam.dir}/mail" />
   	<property name="meldware.dir" value="${mail.dir}/buni-meldware" />
   
  @@ -84,6 +85,11 @@
   		<exclude name="**/*" />
   	</fileset>
   
  +	<!-- Added to the WEB-INF/lib on build -->
  +	<fileset id="war.lib.extras" dir=".">
  +		<exclude name="**/*" />
  +	</fileset>
  +
   	<!-- Added to the ear root on build -->
   	<fileset id="ear.extras" dir=".">
   		<exclude name="**/*" />
  @@ -399,11 +405,11 @@
   
   	<!-- ##################### BUILD TARGETS (COMMON) ##################### -->
   	<!-- 
  -	  The build targets which are used for both JBoss AS and  Tomcat
  +	  The build targets which are used for all builds
   	-->
   
   	<!-- Initialize the build -->
  -	<target name="init" depends="copyseam,copyseamdependencies,initpoms">
  +	<target name="init" depends="copyseam,copyseamdependencies,initpoms,copyextradependencies">
   		<echo message="Building ${Name} ${version}" />
   		<mkdir dir="${jar.dir}" />
   		<mkdir dir="${ear.dir}" />
  @@ -411,6 +417,8 @@
   		<mkdir dir="${dist.dir}" />
   	</target>
   
  +	<target name="copyextradependencies" />
  +
   	<!-- Use the Eclipse compiler, if it is available -->
   	<target name="select-compiler">
   		<available classname="org.eclipse.jdt.core.JDTCompilerAdapter" property="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter" />
  @@ -450,6 +458,7 @@
   			<fileset refid="facelets.jar" />
   			<fileset refid="urlrewrite.jar" />
   			<fileset refid="richfaces-impl.jar" />
  +			<fileset refid="war.lib.extras" />
   			<mapper type="flatten" />
   		</copy>
   		<!-- Put properties into the classpath -->
  
  
  



More information about the jboss-cvs-commits mailing list