You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ke...@apache.org on 2002/05/18 19:17:14 UTC

cvs commit: jakarta-tomcat build.xml

keith       02/05/18 10:17:13

  Modified:    .        build.xml
  Log:
  Tomcat-ant task depends on JspC task in Ant, which
  isn't in latest release build, 1.4.1.  To build this
  task use the 1.5 beta or head.
  
  Revision  Changes    Path
  1.179     +4 -2      jakarta-tomcat/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/build.xml,v
  retrieving revision 1.178
  retrieving revision 1.179
  diff -u -r1.178 -r1.179
  --- build.xml	16 May 2002 03:15:13 -0000	1.178
  +++ build.xml	18 May 2002 17:17:13 -0000	1.179
  @@ -90,6 +90,8 @@
     <target name="detect">
       <available property="jsse.present.runtime"
                  classname="javax.net.ssl.SSLServerSocket"/>
  +    <available property="ant15-present"
  +               classname="org.apache.tools.ant.taskdefs.optional.jsp.JspC" />
       <available property="jsse.present"
                  file="${jsse.jar}"/>
       <available property="puretls.present"
  @@ -603,14 +605,14 @@
   
     
     <!-- ==================== Ant utilities ========== -->
  -  <target name="tomcat-ant" >
  +  <target name="tomcat-ant" depends="detect" if="ant15-present" >
       <javac srcdir="src/share"
              destdir="${tomcat.build}/classes" >
          <include name="org/apache/tomcat/ant/*.java" />
          <classpath>
             <pathelement path="${ant.lib}/ant.jar" />
  -          <pathelement path="${ant.lib}/ant-optional.jar" />
             <pathelement path="${ant.lib}/optional.jar" />
  +          <pathelement path="${ant.lib}/ant-optional.jar" />
          </classpath>
       </javac>
       <mkdir dir="${tomcat.build}/ant" />
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>