KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > modules > portlet > PortletDocletTask


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

5 package xdoclet.modules.portlet;
6
7 import org.apache.tools.ant.BuildException;
8
9 import xdoclet.DocletTask;
10
11 /**
12  * This task executes various portlet-specific sub-tasks. Make sure to include the jar file containing Sun's
13  * javax.portlet.* classes on the taskdef's classpath.
14  *
15  * @author Craig Walls (xdoclet@habuma.com)
16  * @created August 18, 2003
17  * @ant.element name="portletdoclet" display-name="Portlet Task"
18  */

19 public class PortletDocletTask extends DocletTask
20 {
21     protected void validateOptions() throws BuildException
22     {
23         super.validateOptions();
24         checkClass("javax.portlet.Portlet");
25     }
26 }
27
Popular Tags