ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/etc/testcases/taskdefs/optional jspc.xml
Date Sat, 10 Aug 2002 05:18:16 GMT
stevel      2002/08/09 22:18:16

  Modified:    src/etc/testcases/taskdefs/optional jspc.xml
  Log:
  two new tests
  
  Revision  Changes    Path
  1.4       +20 -0     jakarta-ant/src/etc/testcases/taskdefs/optional/jspc.xml
  
  Index: jspc.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/etc/testcases/taskdefs/optional/jspc.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jspc.xml	8 Mar 2002 08:34:53 -0000	1.3
  +++ jspc.xml	10 Aug 2002 05:18:16 -0000	1.4
  @@ -84,5 +84,25 @@
                  name="1nvalid-classname.jsp"/>
           </jspc>
      </target>  
  +
  +   <!-- non jsp pages should be ignored -->
  +   <target name="testNotAJspFile" depends="init">
  +        <jspc
  +           destdir="${jsp.output.dir}"
  +           srcdir="${jsp.dir}"
  +           verbose="${jsp.verbosity}">
  +            <include
  +               name="wrong_type.txt"/>
  +        </jspc>
  +   </target>
  +   
  +   <!-- test for webapp compilation -->
  +   <target name="testWebapp" depends="init">
  +        <jspc
  +           destdir="${jsp.output.dir}"
  +           verbose="${jsp.verbosity}">
  +            <webapp basedir="${jsp.dir}" />
  +        </jspc>
  +   </target>  
      
   </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message