Author: cutting
Date: Thu Feb  9 10:06:02 2006
New Revision: 376366

URL: http://svn.apache.org/viewcvs?rev=376366&view=rev
Log:
Stop using deprecated 'jspc' ant task and instead call jasper directly.  Also 
rename webapp files to align with package name.

Added:
    lucene/hadoop/trunk/src/webapps/mapred/
      - copied from r376085, lucene/hadoop/trunk/src/webapps/jobtracker/
Removed:
    lucene/hadoop/trunk/src/webapps/jobtracker/
Modified:
    lucene/hadoop/trunk/build.xml

Modified: lucene/hadoop/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/lucene/hadoop/trunk/build.xml?rev=376366&r1=376365&r2=376366&view=diff
==============================================================================
--- lucene/hadoop/trunk/build.xml (original)
+++ lucene/hadoop/trunk/build.xml Thu Feb  9 10:06:02 2006
@@ -96,16 +96,18 @@
   <!-- ====================================================== -->
   <!-- Compile the Java files                                 -->
   <!-- ====================================================== -->
+  <taskdef classname="org.apache.jasper.JspC" name="jsp-compile" >
+      <classpath refid="classpath"/>
+  </taskdef>
+
   <target name="compile" depends="init">
-    <jspc 
-     srcdir="${src.webapps}"
-     includes="**/*.jsp"
-     destdir="${build.src}"
+
+    <jsp-compile
+     uriroot="${src.webapps}/mapred"
+     outputdir="${build.src}"
      package="org.apache.hadoop.mapred"
-     uriroot="${src.webapps}/jobtracker"
      webxml="${build.webapps}/WEB-INF/web.xml">
-      <classpath refid="classpath"/>
-    </jspc>
+    </jsp-compile>
 
     <javac 
      encoding="${build.encoding}" 


Reply via email to