Author: jfrederic.clere(a)jboss.com
Date: 2009-09-02 05:29:45 -0400 (Wed, 02 Sep 2009)
New Revision: 1160
Added:
sandbox/webapps/webinf/
sandbox/webapps/webinf/jboss-web.xml
Removed:
sandbox/webapps/jboss-web.xml
Modified:
sandbox/webapps/build.xml
sandbox/webapps/metainf/context.xml
Log:
Add easy test for the context.xml tests (AS requires a different location than
Tomcat).
Modified: sandbox/webapps/build.xml
===================================================================
--- sandbox/webapps/build.xml 2009-09-02 09:25:30 UTC (rev 1159)
+++ sandbox/webapps/build.xml 2009-09-02 09:29:45 UTC (rev 1160)
@@ -17,8 +17,19 @@
<metainf dir="./metainf">
<include name="**/context.xml"/>
</metainf>
- <webinf file="jboss-web.xml"/>
+ <webinf dir="./metainf">
+ <include name="**/context.xml"/>
+ </webinf>
+ <webinf dir="./webinf">
+ <include name="**/jboss-web.xml"/>
+ </webinf>
+ <!--
+ <fileset dir="./metainf" includes="**/context.xml"/>
+ </webinf>
+ <fileset dir="./metainf" includes="**/toto.xml"/>
+ <fileset dir="./webinf" includes="**/jboss-web.xml"/>
<fileset dir="html"/>
+ -->
</war>
<ear destfile="myapp.ear"
appxml="./metadata/application.xml">
<fileset dir="." includes="*.war"/>
Deleted: sandbox/webapps/jboss-web.xml
===================================================================
--- sandbox/webapps/jboss-web.xml 2009-09-02 09:25:30 UTC (rev 1159)
+++ sandbox/webapps/jboss-web.xml 2009-09-02 09:29:45 UTC (rev 1160)
@@ -1,22 +0,0 @@
-<jboss-web>
-
- <replication-config>
-
- <replication-granularity>ATTRIBUTE</replication-granularity>
-
- <!-- FIXME set the replication-trigger -->
- <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
-
- </replication-config>
-
-<!-- Comment out to test virtualHosts
-<context-root>/test2</context-root>
-<virtual-host>jfcpc.gva.redhat.com</virtual-host>
- -->
-
- <!-- In Jboss use the jmx-console existing users -->
- <context-root>/myapp</context-root>
- <security-domain>java:/jaas/jmx-console</security-domain>
-
-
-</jboss-web>
Modified: sandbox/webapps/metainf/context.xml
===================================================================
--- sandbox/webapps/metainf/context.xml 2009-09-02 09:25:30 UTC (rev 1159)
+++ sandbox/webapps/metainf/context.xml 2009-09-02 09:29:45 UTC (rev 1160)
@@ -1,3 +1,3 @@
<Context privileged="true">
- <SessionCookie Path="/"/>
+ <SessionCookie path="/"/>
</Context>
Added: sandbox/webapps/webinf/jboss-web.xml
===================================================================
--- sandbox/webapps/webinf/jboss-web.xml (rev 0)
+++ sandbox/webapps/webinf/jboss-web.xml 2009-09-02 09:29:45 UTC (rev 1160)
@@ -0,0 +1,22 @@
+<jboss-web>
+
+ <replication-config>
+
+ <replication-granularity>ATTRIBUTE</replication-granularity>
+
+ <!-- FIXME set the replication-trigger -->
+ <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
+
+ </replication-config>
+
+<!-- Comment out to test virtualHosts
+<context-root>/test2</context-root>
+<virtual-host>jfcpc.gva.redhat.com</virtual-host>
+ -->
+
+ <!-- In Jboss use the jmx-console existing users -->
+ <context-root>/myapp</context-root>
+ <security-domain>java:/jaas/jmx-console</security-domain>
+
+
+</jboss-web>
Show replies by date