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

Peter Muir peter at bleepbleep.org.uk
Fri Sep 21 07:54:59 EDT 2007


  User: pmuir   
  Date: 07/09/21 07:54:59

  Modified:    examples  build.xml
  Log:
  Fix test classpath for examples
  
  Revision  Changes    Path
  1.36      +6 -5      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.35
  retrieving revision 1.36
  diff -u -b -r1.35 -r1.36
  --- build.xml	21 Sep 2007 10:13:10 -0000	1.35
  +++ build.xml	21 Sep 2007 11:54:59 -0000	1.36
  @@ -216,14 +216,14 @@
   
   	<!-- Dependencies for using Seam with Richfaces -->
   	<fileset id="richfaces-api.jar" dir="${lib.dir}">
  -		<include name="richfaces-api.jar" if="richfaces.lib" />
  +		<include name="richfaces-api-*.jar" if="richfaces.lib" />
   		<include name="commons-beanutils.jar" if="richfaces.lib" />
   		<include name="commons-digester.jar" if="richfaces.lib" />
   	</fileset>
   	
   	<fileset id="richfaces-impl.jar" dir="${lib.dir}">
  -		<include name="richfaces-impl.jar" if="richfaces.lib" />
  -		<include name="richfaces-ui.jar" if="richfaces.lib" />
  +		<include name="richfaces-impl-*.jar" if="richfaces.lib" />
  +		<include name="richfaces-ui-*.jar" if="richfaces.lib" />
   	</fileset>
   
   	<!-- Dependencies for using Seam with JBPM -->
  @@ -384,6 +384,7 @@
   	<path id="build.classpath">
   		<fileset dir="${lib.dir}">
   			<include name="*.jar" />
  +			<exclude name="jboss-seam-*.jar" />
   		</fileset>
   		<path refid="build.classpath.extras" />
   	</path>
  @@ -414,8 +415,6 @@
   
   	<!-- Compile the source code, directly into the jar -->
   	<target name="compile" depends="init, select-compiler">
  -		<property name="cp" refid="build.classpath" />
  -				<echo file="output">${cp}</echo>
   		<javac classpathref="build.classpath" destdir="${jar.dir}" debug="${javac.debug}" deprecation="${javac.deprecation}" nowarn="on">
   			<src path="${src.java.dir}" />
   		</javac>
  @@ -777,6 +776,8 @@
   				<exclude name="jboss-container.jar" />
   				<exclude name="hibernate.jar" />
   				<exclude name="hibernate-annotations.jar" />
  +				<!-- Don't need all seam jars -->
  +				<exclude name="jboss-seam-*.jar" />
   			</fileset>
   			<path path="${eejb.conf.dir}" />
   			<path refid="build.classpath.extras" />
  
  
  



More information about the jboss-cvs-commits mailing list