KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > modules > web > WebDocletTask


1 /*
2  * Copyright (c) 2001, 2002 The XDoclet team
3  * All rights reserved.
4  */

5 package xdoclet.modules.web;
6
7 import org.apache.tools.ant.BuildException;
8
9 import xdoclet.DocletTask;
10
11 /**
12  * This task executes various web-specific sub-tasks. Make sure to include the jar file containing Sun's javax.servlet.*
13  * classes on the taskdef's classpath.
14  *
15  * @author Ara Abrahamian (ara_e@email.com)
16  * @created July 2, 2001
17  * @ant.element name="webdoclet" display-name="Web Task"
18  * @version $Revision: 1.5 $
19  */

20 public class WebDocletTask extends DocletTask
21 {
22     protected void validateOptions() throws BuildException
23     {
24         super.validateOptions();
25         checkClass("javax.servlet.Servlet");
26     }
27 }
28
Popular Tags