ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/etc/testcases/taskdefs/optional jspc.xml
Date Fri, 21 Feb 2003 06:36:29 GMT
stevel      2003/02/20 22:36:29

  Modified:    src/etc/testcases/taskdefs/optional Tag: ANT_15_BRANCH
                        jspc.xml
  Log:
  jspc sync w/ 1.6 version. Not 100% aligned as ant1.5 creates classloaders different-like.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +29 -0     ant/src/etc/testcases/taskdefs/optional/jspc.xml
  
  Index: jspc.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/optional/jspc.xml,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- jspc.xml	8 Mar 2002 08:34:53 -0000	1.3
  +++ jspc.xml	21 Feb 2003 06:36:29 -0000	1.3.2.1
  @@ -9,6 +9,7 @@
           <property name="jsp.dir" location="jsp"/>
           <property name="jsp.output.dir" location="${jsp.dir}/java"/>
           <property name="jsp.verbosity" value="3"/>
  +        <property name="jsp.compiler" value="jasper41"/>
           <mkdir dir="${jsp.output.dir}"/>
       </target>
       
  @@ -23,6 +24,7 @@
           <jspc
              destdir="${jsp.output.dir}"
              srcdir="${jsp.dir}"
  +           compiler="${jsp.compiler}"
              verbose="${jsp.verbosity}">
               <include
                  name="missing_tld.jsp"/>
  @@ -30,6 +32,7 @@
      </target>
   
      <!-- this should compile to simple.java -->
  +    <!-- also, stick to the default compiler here to ensure it still works-->
      <target name="testSimple" depends="init">
           <jspc
              destdir="${jsp.output.dir}"
  @@ -46,6 +49,7 @@
              destdir="${jsp.output.dir}"
              uriroot="${jsp.dir}"
              srcdir="${jsp.dir}"
  +           compiler="${jsp.compiler}"
              verbose="${jsp.verbosity}">
               <include
                   name="uriroot.jsp"/>
  @@ -58,6 +62,7 @@
           destdir="${jsp.output.dir}"
           uriroot="${jsp.dir}"
           srcdir="${jsp.dir}"
  +        compiler="${jsp.compiler}"
           verbose="${jsp.verbosity}">
             <include name="xml.jsp"/>
         </jspc>
  @@ -68,6 +73,7 @@
           <jspc
              destdir="${jsp.output.dir}"
              srcdir="${jsp.dir}"
  +           compiler="${jsp.compiler}"
              verbose="${jsp.verbosity}">
               <include
                  name="default.jsp"/>
  @@ -79,9 +85,32 @@
           <jspc
              destdir="${jsp.output.dir}"
              srcdir="${jsp.dir}"
  +           compiler="${jsp.compiler}"
              verbose="${jsp.verbosity}">
               <include
                  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}"
  +           compiler="${jsp.compiler}"
  +           verbose="${jsp.verbosity}">
  +            <include
  +               name="wrong_type.txt"/>
  +        </jspc>
  +   </target>
  +   
  +   <!-- test for webapp compilation -->
  +   <target name="testWebapp" depends="init">
  +        <jspc
  +           destdir="${jsp.output.dir}"
  +           compiler="${jsp.compiler}"
  +           verbose="${jsp.verbosity}">
  +            <webapp basedir="${jsp.dir}" />
           </jspc>
      </target>  
      
  
  
  

Mime
View raw message