]> source.dussan.org Git - gitblit.git/commitdiff
Added weblogic.xml to WAR for deployment on WebLogic (issue 199)
authorJames Moger <james.moger@gitblit.com>
Thu, 28 Mar 2013 20:51:45 +0000 (16:51 -0400)
committerJames Moger <james.moger@gitblit.com>
Thu, 28 Mar 2013 20:51:45 +0000 (16:51 -0400)
build.xml
releases.moxie
src/main/java/WEB-INF/weblogic.xml [new file with mode: 0644]

index 4c922069836cf66f43ea7a5e67d34ab4a45ab9c7..ab50333f61b05cf203cacc38f158cefe64b3126d 100644 (file)
--- a/build.xml
+++ b/build.xml
                                <include name="LICENSE" />\r
                                <include name="NOTICE" />\r
                        </zipfileset>\r
+                       <zipfileset prefix="WEB-INF" file="${project.compileOutputDirectory}/WEB-INF/weblogic.xml" />\r
                        <!-- Classes and classpath resources -->\r
                        <zipfileset prefix="WEB-INF/classes" dir="${project.compileOutputDirectory}">\r
                                <include name="**/*.class" />\r
index 61e2153d383087f9a304b6e6b87bc0fc178422d0..b4a6021fe5610c9b87cca9bb06aace736fd54064 100644 (file)
@@ -12,6 +12,7 @@ r17: {
 \r
     additions: \r
         - Option to force client-side basic authentication instead of form-based authentication if web.authenticateViewPages=true (issue 222)\r
+        - Added weblogic.xml to WAR for deployment on WebLogic (issue 199)\r
      - Optional periodic LDAP user and team pre-fetching & synchronization\r
      - Display name and version in Tomcat Manager\r
      - FogBugz post-receive hook script\r
@@ -20,6 +21,7 @@ r17: {
 \r
     contributors:\r
        - Christian Aistleitner\r
+       - Jay Meyer\r
        - github/furinzen\r
     - github/mschaefers\r
     - github/thefake\r
diff --git a/src/main/java/WEB-INF/weblogic.xml b/src/main/java/WEB-INF/weblogic.xml
new file mode 100644 (file)
index 0000000..cd08111
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">\r
+    <wls:weblogic-version>12.1.1</wls:weblogic-version>\r
+    <wls:context-root>gitblit</wls:context-root>\r
+    <wls:container-descriptor>\r
+         <wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled>\r
+         <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>\r
+    </wls:container-descriptor>\r
+</wls:weblogic-web-app> 
\ No newline at end of file