Author: jfrederic.clere(a)jboss.com
Date: 2014-05-27 05:12:24 -0400 (Tue, 27 May 2014)
New Revision: 3321
Modified:
trunk/build/unix/buildbin.EAP6.sh
Log:
use jboss-web.xml
Modified: trunk/build/unix/buildbin.EAP6.sh
===================================================================
--- trunk/build/unix/buildbin.EAP6.sh 2014-05-27 06:18:10 UTC (rev 3320)
+++ trunk/build/unix/buildbin.EAP6.sh 2014-05-27 09:12:24 UTC (rev 3321)
@@ -148,8 +148,16 @@
cd TMP
jar xvf $file
rm META-INF/MANIFEST.MF
- mkdir -p WEB-INF/lib
- cp /home/hudson/enable-websockets.jar WEB-INF/lib
+# jar method won't work for cdi...
+# mkdir -p WEB-INF/lib
+# cp /home/hudson/enable-websockets.jar WEB-INF/lib
+# Use jboss-web.xml
+ cat << EOF > WEB-INF/jboss-web.xml
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-web>
+ <enable-websockets>true</enable-websockets>
+</jboss-web>
+EOF
jar cvf $FILE *
cp $FILE $EAP6/standalone/deployments/
cd -
Show replies by date