[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

chuaky do-not-reply at jboss.com
Fri Sep 15 10:33:54 EDT 2006


12.  Edit .\booking\build.xml, as follows:


  | <?xml version="1.0"?>
  | 
  | <project name="Booking" default="deploy" basedir=".">
  | 
  |     <!-- Naming -->
  |     <property name="Name"                   value="Seam on JBoss Booking Example"/>
  |     <property name="example.name"           value="jboss-seam-booking"/>
  | 	
  |     <!-- WAR -->
  |     <zipfileset id="example.war.docroot"
  |                dir="view">
  |         <include name="**/*"/>
  |     </zipfileset>
  |     
  |     <zipfileset id="example.war.webinf"
  |             prefix="WEB-INF"
  |                dir="resources/WEB-INF" >
  |         <patternset refid="meta.files"/>
  |     </zipfileset>
  | 
  |     
  |     <zipfileset id="example.war.webinf.lib"
  |             prefix="WEB-INF/lib"
  |                dir="resources/WEB-INF/lib">
  |         <include name="*.jar"/>
  |     </zipfileset>
  | 
  |     <zipfileset id="example.war.webinf.lib.extra" 
  |             prefix="WEB-INF/lib"
  |                dir=".">
  |        <include name="_NONE_"/>
  |     </zipfileset>
  |     
  |     <!-- EJB3 -->
  |     <fileset id="example.ejb3.root"
  |             dir="resources">
  |         <include name="import.sql"/>
  |         <include name="seam.properties"/>
  |         <include name="META-INF/persistence.xml"/>
  |     	<include name="META-INF/ejb-jar.xml"/>
  |     </fileset>
  |     
  |     <fileset id="example.ejb3.lib" dir="../../lib">
  |         <include name="_NONE_"/>
  |     </fileset>
  | 
  |     <!-- EAR -->
  |     <zipfileset id="example.ear.resources"
  |             prefix="META-INF"
  |                dir="resources/META-INF">
  |         <include name="*"/>
  |         <exclude name="persistence.xml"/>
  |     	<exclude name="ejb-jar.xml"/>
  |     </zipfileset>
  | 
  |     <!-- Deploy -->
  |     <fileset id="example.deploy"
  |             dir="resources">
  |         <include name="booking-ds.xml"/>
  |     </fileset>
  |     
  |     <!-- Undeploy -->
  |     <patternset id="example.undeploy">
  |         <include name="booking-ds.xml"/>
  |     </patternset>
  | 
  |     <!-- Test -->
  |     <fileset id="example.resources" dir="resources">
  |         <include name="**/*.*"/>
  |     </fileset>
  | 
  |     <!-- Tomcat build -->
  |     <zipfileset id="example.tomcat.war.webinf"
  |             prefix="WEB-INF"
  |                dir="resources/WEB-INF" >
  |         <include name="web.xml"/>
  |         <include name="faces-config.xml"/>
  |         <include name="pages.xml"/>
  |     	<include name="events.xml"/>
  |     	<include name="components.xml"/>
  |     	<include name="classes/messages.properties"/>
  |     	<include name="jboss-app.xml" />
  |     </zipfileset>
  |     
  |     <fileset id="example.tomcat.resources"
  |             dir="resources">
  |         <include name="seam.properties"/>
  |         <include name="import.sql"/>
  |         <include name="META-INF/persistence.xml"/>
  |         <include name="META-INF/ejb-jar.xml"/>
  |         <include name="META-INF/jboss-beans.xml"/> <!-- TODO: move out of META-INF -->
  |     </fileset>
  |     
  |     <!-- Overrides -->
  |     <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"/>
  |     
  | </project>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971937#3971937

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971937



More information about the jboss-user mailing list