KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > modules > apache > tapestry > TapestryDocletTask


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

5 package xdoclet.modules.apache.tapestry;
6
7 import org.apache.tools.ant.BuildException;
8
9 import xdoclet.DocletTask;
10
11 /**
12  * This task builds various Tapestry configuration files. Make sure to include the jar file containing the Tapestry
13  * classes is on the taskdef's classpath.
14  *
15  * @author Michael Newcomb (mnewcomb@sourceforge.net)
16  * @created February 4, 2005
17  * @version $Revision: 1.1 $
18  * @ant.element name="tapestrydoclet" display-name="Tapestry Task"
19  */

20 public class TapestryDocletTask extends DocletTask
21 {
22     protected void validateOptions() throws BuildException
23     {
24         super.validateOptions();
25         checkClass("org.apache.tapestry.Tapestry");
26     }
27 }
28
Popular Tags