You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2009/07/10 00:58:13 UTC

svn commit: r792740 - /tomcat/trunk/dist.xml

Author: kkolinko
Date: Thu Jul  9 22:58:13 2009
New Revision: 792740

URL: http://svn.apache.org/viewvc?rev=792740&view=rev
Log:
Remove build-webapps-precompile target from dist.xml
Discussion: http://markmail.org/thread/ymgbgqm3lav6rnjh

Modified:
    tomcat/trunk/dist.xml

Modified: tomcat/trunk/dist.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/dist.xml?rev=792740&r1=792739&r2=792740&view=diff
==============================================================================
--- tomcat/trunk/dist.xml (original)
+++ tomcat/trunk/dist.xml Thu Jul  9 22:58:13 2009
@@ -89,101 +89,6 @@
     <filter token="VERSION_MAJOR_MINOR" value="${version.major.minor}"/>
   </filterset>
 
-  <target name="build-webapps-precompile" description="Precompile webapps" >
-
-    <!-- JSPC -->
-    <property name="ROOT.base" location="${tomcat.build}/webapps/ROOT" />
-    <property name="jsp-examples.base" location="${tomcat.build}/webapps/jsp-examples" />
-
-    <mkdir dir="${ROOT.base}/WEB-INF/src" />
-    <mkdir dir="${ROOT.base}/WEB-INF/classes" />
-    <mkdir dir="${jsp-examples.base}/WEB-INF/src" />
-
-    <path id="jspc.classpath">
-      <pathelement location="${java.home}/../lib/tools.jar"/>
-      <pathelement location="${commons-logging-api.jar}"/>
-      <fileset dir="${tomcat.build}/lib">
-        <include name="*.jar"/>
-      </fileset>
-      <pathelement location="${tomcat.build}/classes"/>
-    </path>
-
-    <taskdef classname="org.apache.jasper.JspC" name="jasper2" >
-      <classpath refid="jspc.classpath"/>
-    </taskdef>
-
-    <jasper2
-             compile="false"
-             validateXml="false"
-             uriroot="${ROOT.base}"
-             webXmlFragment="${ROOT.base}/WEB-INF/generated_web.xml"
-             addWebXmlMappings="true"
-             outputDir="${ROOT.base}/WEB-INF/src" />
-
-    <jasper2
-             compile="false"
-             validateXml="false"
-             uriroot="${jsp-examples.base}"
-         webXmlFragment="${jsp-examples.base}/WEB-INF/generated_web.xml"
-             addWebXmlMappings="true"
-             outputDir="${jsp-examples.base}/WEB-INF/src" />
-
-    <javac destdir="${ROOT.base}/WEB-INF/classes"
-           optimize="off"
-           debug="${compile.debug}"
-           deprecation="${compile.deprecation}"
-           source="${compile.source}"
-           failonerror="false"
-           srcdir="${ROOT.base}/WEB-INF/src"
-       excludes="**/*.smap">
-      <classpath>
-        <pathelement location="${java.home}/../lib/tools.jar"/>
-        <fileset dir="${tomcat.build}/server/lib">
-          <include name="*.jar"/>
-        </fileset>
-        <fileset dir="${tomcat.build}/common/lib">
-          <include name="*.jar"/>
-        </fileset>
-        <pathelement location="${tomcat.build}/classes"/>
-      </classpath>
-      <include name="**" />
-    </javac>
-
-    <mkdir dir="${jsp-examples.base}/WEB-INF/src/tags"/>
-    <copy todir="${jsp-examples.base}/WEB-INF/classes">
-      <fileset dir="${jsp-examples.base}/WEB-INF/src">
-        <include name="**/*.class" />
-      </fileset>
-    </copy>
-
-    <javac destdir="${jsp-examples.base}/WEB-INF/classes"
-           optimize="off"
-           debug="${compile.debug}"
-           deprecation="${compile.deprecation}"
-           source="${compile.source}"
-           failonerror="false"
-           srcdir="${jsp-examples.base}/WEB-INF/src"
-       excludes="**/*.smap">
-      <classpath>
-        <pathelement location="${java.home}/../lib/tools.jar"/>
-        <fileset dir="${tomcat.build}/server/lib">
-          <include name="*.jar"/>
-        </fileset>
-        <fileset dir="${jsp-examples.base}/WEB-INF/lib">
-          <include name="*.jar"/>
-        </fileset>
-        <fileset dir="${tomcat.build}/common/lib">
-          <include name="*.jar"/>
-        </fileset>
-        <pathelement location="${tomcat.build}/classes"/>
-        <pathelement location="${jsp-examples.base}/WEB-INF/classes"/>
-      </classpath>
-      <include name="**" />
-      <exclude name="tags/**" />
-    </javac>
-
-  </target>
-
   <!-- ====================== COMBO: Clean All Directories ================ -->
   <target name="clean"
    description="Clean all components">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org