User: rinkrank
Date: 02/06/07 07:12:57
Modified: modules/web/src/xdoclet/modules/web WebDocletTask.java
Log:
Added code that can check presence of certain classes (like javax.ejb.EntityBean).
This is for better error reporting
Revision Changes Path
1.3 +8 -1 xdoclet/modules/web/src/xdoclet/modules/web/WebDocletTask.java
Index: WebDocletTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/web/src/xdoclet/modules/web/WebDocletTask.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -r1.2 -r1.3
--- WebDocletTask.java 28 May 2002 22:35:19 -0000 1.2
+++ WebDocletTask.java 7 Jun 2002 14:12:57 -0000 1.3
@@ -4,13 +4,20 @@
*/
package xdoclet.modules.web;
+import org.apache.tools.ant.BuildException;
+
import xdoclet.DocletTask;
/**
* @author Ara Abrahamian ([EMAIL PROTECTED])
* @created July 2, 2001
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class WebDocletTask extends DocletTask
{
+ protected void validateOptions() throws BuildException
+ {
+ super.validateOptions();
+ checkClass("javax.servlet.Servlet");
+ }
}
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel