Browse Source

two new tests

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273212 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 23 years ago
parent
commit
04aa863d25
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      src/etc/testcases/taskdefs/optional/jspc.xml

+ 20
- 0
src/etc/testcases/taskdefs/optional/jspc.xml View File

@@ -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>

Loading…
Cancel
Save