[Commits] (bcm) add a welcome page at the document root that hides the slide store's directory

commits at osafoundation.org commits at osafoundation.org
Tue Feb 8 14:27:25 PST 2005


Commit by: bcm
Modified files:
server/build.xml 1.2 1.3
server/etc/Domain.xml 1.2 None
server/etc/web.xml 1.1 None
server/web/index.jsp None 1.1
server/web/WEB-INF/Domain.xml None 1.1
server/web/WEB-INF/web.xml None 1.1
server/web/WEB-INF/tld/c.tld None 1.1

Log message:
add a welcome page at the document root that hides the slide store's directory
structure and provides configuration info for the sharing client. the slide
servlet (and security for it) are mounted at servlet path /share. all
web-related files are moved into web subdir of the source tree (Domain.xml and
web.xml).


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/server/build.xml.diff?r1=text&tr1=1.2&r2=text&tr2=1.3
http://cvs.osafoundation.org/index.cgi/server/etc/Domain.xml.diff?r1=text&tr1=1.2&r2=text&tr2=None
http://cvs.osafoundation.org/index.cgi/server/etc/web.xml.diff?r1=text&tr1=1.1&r2=text&tr2=None
http://cvs.osafoundation.org/index.cgi/server/web/index.jsp?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.osafoundation.org/index.cgi/server/web/WEB-INF/Domain.xml?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.osafoundation.org/index.cgi/server/web/WEB-INF/web.xml?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.osafoundation.org/index.cgi/server/web/WEB-INF/tld/c.tld?rev=1.1&content-type=text/vnd.viewcvs-markup

Index: server/build.xml
diff -u server/build.xml:1.2 server/build.xml:1.3
--- server/build.xml:1.2	Tue Feb  8 07:40:07 2005
+++ server/build.xml	Tue Feb  8 14:27:22 2005
@@ -8,9 +8,11 @@
   <property name="chsrv.tag"            value="0_1_0_1"/>
 
   <property name="chsrv.home"           value="${basedir}"/>
+  <property name="chsrv.ext"            value="${user.home}/ext"/>
   <property name="chsrv.tmp"            value="/tmp"/>
   <property name="chsrv.bin"            value="${chsrv.home}/bin"/>
   <property name="chsrv.etc"            value="${chsrv.home}/etc"/>
+  <property name="chsrv.web"            value="${chsrv.home}/web"/>
   <property name="chsrv.dist"           value="${chsrv.home}/dist"/>
   <property name="chsrv.dist.version"
             value="${chsrv.dist}/chandler-server-${chsrv.version}"/>
@@ -25,6 +27,10 @@
             value="jakarta-slide-server-bin-2.1"/>
   <property name="ext.slide.tarball"
             value="./${ext.slide.tarball}.tar.gz"/>
+  <property name="ext.jstl.jar"
+            value="${chsrv.ext}/jstl.jar"/>
+  <property name="ext.standard.jar"
+            value="${chsrv.ext}/standard.jar"/>
 
   <!-- RELEASE TARGETS -->
 
@@ -75,14 +81,22 @@
     <antcall target="unpack-slide"/>
     <unwar src="${chsrv.tmp}/${ext.slide.package}/slide/webapp/slide.war"
            dest="${chsrv.dist.version}/chandler"/>
-    <copy todir="${chsrv.dist.version}/chandler/WEB-INF"
-          file="${chsrv.etc}/web.xml"/>
-    <copy todir="${chsrv.dist.version}/chandler/WEB-INF"
-          file="${chsrv.etc}/Domain.xml"/>
     <delete file="${chsrv.dist.version}/chandler/Domain.xml"/>
   </target>
 
-  <target name="configure" depends="configure-tomcat,configure-slide"
+  <target name="configure-web"
+          description="install and configure web files within Tomcat">
+    <copy todir="${chsrv.dist.version}/chandler">
+      <fileset dir="${chsrv.web}"/>
+    </copy>
+    <copy todir="${chsrv.dist.version}/chandler/WEB-INF/lib"
+          file="${ext.jstl.jar}"/>
+    <copy todir="${chsrv.dist.version}/chandler/WEB-INF/lib"
+          file="${ext.standard.jar}"/>
+  </target>
+
+  <target name="configure"
+          depends="configure-tomcat,configure-slide,configure-web"
           description="configure Chandler Server">
     <copy todir="${chsrv.dist.version}/bin"
           file="${chsrv.bin}/chandlerctl"/>



More information about the Commits mailing list