[jsword-svn] r1799 - trunk/jsword-web

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Thu Apr 17 07:03:48 MST 2008


Author: dmsmith
Date: 2008-04-17 07:03:48 -0700 (Thu, 17 Apr 2008)
New Revision: 1799

Modified:
   trunk/jsword-web/build.xml
Log:
added iBD to the build

Modified: trunk/jsword-web/build.xml
===================================================================
--- trunk/jsword-web/build.xml	2008-04-17 13:24:33 UTC (rev 1798)
+++ trunk/jsword-web/build.xml	2008-04-17 14:03:48 UTC (rev 1799)
@@ -137,8 +137,33 @@
     <!-- needed by the download servlet -->
     <mkdir dir="${nightly.dir}"/>
     <mkdir dir="${release.dir}"/>
+    <!-- build the iBD servlet -->
+    <xslt basedir="${source.web}/iBD" extension=".html" style="${source.web}/template.xsl" destdir="${target.web}">
+      <include name="**/tutorial.html"/>
+      <xmlcatalog>
+        <dtd publicid="-//W3C//DTD XHTML 1.0 Transitional//EN" location="${source.etc}/xhtml1-transitional.dtd"/>
+      </xmlcatalog>
+    </xslt>
+    <copy todir="${target.web}/WEB-INF">
+      <fileset dir="${source.web}/iBD/WEB-INF">
+        <!-- This is what it would be if it were a stand-alone servlet -->
+        <!-- But we have included a different web.xml with this already defined -->
+        <exclude name="web.xml"/>
+      </fileset>
+    </copy>
+    <copy todir="${target.web}/WEB-INF/lib">
+      <fileset dir="${source.web}/iBD/WEB-INF/lib" includes="*.jar"/>
+    </copy>
+    <copy todir="${target.web}">
+      <fileset dir="${source.web}/iBD">
+        <include name="*.js"/>
+        <include name="iBD.*"/>
+        <exclude name="WEB-INF/**"/>
+      </fileset>
+    </copy>
   </target>
 
+
   <!--=======================================================================-->
   <target name="release.nightly" description="Build a nightly release fileset">
     <tstamp>




More information about the jsword-svn mailing list