User: ara_e_w
Date: 02/06/02 02:28:32
Modified: core/src/xdoclet TemplateSubTask.java
Log:
oops! always do a clean build
Revision Changes Path
1.46 +13 -6 xdoclet/core/src/xdoclet/TemplateSubTask.java
Index: TemplateSubTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/TemplateSubTask.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -w -r1.45 -r1.46
--- TemplateSubTask.java 2 Jun 2002 07:11:37 -0000 1.45
+++ TemplateSubTask.java 2 Jun 2002 09:28:32 -0000 1.46
@@ -36,7 +36,7 @@
* @author Ara Abrahamian ([EMAIL PROTECTED])
* @created Sep 25, 2001
* @xdoclet:subtask name="template" parent="xdoclet.DocletTask"
- * @version $Revision: 1.45 $
+ * @version $Revision: 1.46 $
*/
public class TemplateSubTask extends SubTask
{
@@ -205,6 +205,9 @@
for (int i = 0; i < ofType.size(); i++) {
result[i] = ((OfType) ofType.get(i)).getType();
+
+ System.out.println(">>>>result[i]=" + result[i]);
+
}
return result;
@@ -387,14 +390,18 @@
}
}
- /**
- * Sets the OfType attribute of the TemplateSubTask object
- *
- * @param ofType The new OfType value
- */
public void addOfType(OfType ofType)
{
this.ofType.add(ofType);
+ }
+
+ public void addOfType(String ofType)
+ {
+ OfType new_oftype = new OfType();
+
+ new_oftype.setType(ofType);
+
+ this.ofType.add(new_oftype);
}
public GenerationManager createGenerationManager()
_______________________________________________________________
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