[jboss-user] [JBoss Seam] - Re: theme

constantin.cash do-not-reply at jboss.com
Mon Nov 19 15:44:32 EST 2007


this seams to be a mistake in ant build file, *.properties are not copied in the war archive. project was generated with seam generator. found follow work around:

change in follow target

    <target name="war" depends="compile" 
  |                         description="Build the distribution .war file">

this section:

   <copy todir="${war.dir}/WEB-INF/classes">
  |                         <fileset dir="${basedir}/resources"> 
  |                              <include name="messages*.properties"/>
  |                                 
  |                         </fileset>
  |                 </copy>

to 

   <copy todir="${war.dir}/WEB-INF/classes">
  |                         <fileset dir="${basedir}/resources"> 
  |                
  |                                  <include name="*.properties" />
  |                         </fileset>
  |                 </copy>

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

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



More information about the jboss-user mailing list