[jboss-user] [JBoss Seam] - Re: Problem with Icefaces sample

ellenzhao do-not-reply at jboss.com
Mon Nov 27 11:38:40 EST 2006


if you are using JBoss AS, you can delete this section from the build file:

  | <!-- Tomcat build -->
  |     <zipfileset id="example.tomcat.war.webinf"
  |             prefix="WEB-INF"
  |                dir="resources/WEB-INF" >
  |         <include name="faces-config.xml"/>
  |         <include name="navigation.xml"/>
  |         <include name="pages.xml"/>
  |     	<include name="components.xml"/>
  |         <include name="web.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"/>
  |     
  |     <path id="build.classpath">
  |         <path refid="example.path"/>
  |         <fileset refid="lib"/>
  |         <fileset refid="seam.jar"/>
  | 	    <fileset file="resources/WEB-INF/lib/icefaces.jar"/>
  |     </path>
  | 

Now according to the rest build code, there should be this code in the your application.xml:
  | <module>
  | 	    <java>icefaces.jar</java>
  | 	</module>
  | 

Have a look at your application.xml. If this module doesn't exist, paste the code above. Rebuild/deploy the app again. Does it work now? 

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

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



More information about the jboss-user mailing list