I added this ant task to the starter kit buildfile:

  <target name="build.warfile" depends="build.webapp, build.jbpm, 
build.identity, build.processes" description="builds 
jbpm-console-${jbpm.version}.war">
  |    
  |      <war destfile="build/jbpm-console-${jbpm.version}.war" 
webxml="src/resources/jbpm.war/WEB-INF/web.xml">
  |         <classes dir="src/resources/jbpm.war/WEB-INF/classes" />
  |       
  |         <!-- careful,the log4j logger is set to debug by default -->  
  |         <zipfileset prefix="WEB-INF/classes" dir="src/config.files" />
  |         <zipfileset prefix="WEB-INF/classes" dir="build/classes.webapp" />
  |         
  |         <zipfileset prefix="" dir="src/resources/jbpm.war"/>
  |         <zipfileset prefix="WEB-INF/lib" dir="lib/jsf" />
  |         <zipfileset prefix="WEB-INF/lib" dir="lib/jboss" includes="**.jar, 
**.license*" excludes="**javax*"/> 
  |         <zipfileset prefix="WEB-INF/lib" dir="lib/hibernate" />
  |         <zipfileset prefix="WEB-INF/lib" dir="lib/dom4j" />
  |         <zipfileset prefix="WEB-INF/lib" dir="lib/commons" />
  |         <zipfileset prefix="WEB-INF/lib" dir="build" includes="**.jar, 
**.license*" />  
  |      </war>   
  |   </target>  

This probably includes more jarfiles than it needs, but it produces a warfile 
that at least starts up on Tomcat 5.5.16

-Kevin Klinemeier

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028483
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to