incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r794301 - in /incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks: ./ src/main/java/org/apache/kato/anttasks/ src/main/java/org/apache/kato/anttasks/tcklistbuilder/ src/main/java/org/apache/kato/anttasks/xml...
Date Wed, 15 Jul 2009 15:25:29 GMT
Author: spoole
Date: Wed Jul 15 15:25:26 2009
New Revision: 794301

URL: http://svn.apache.org/viewvc?rev=794301&view=rev
Log:
changes to anttasks to accomodate extra doclet support.  Addtion of xmljavadoc generator

Added:
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/AbstractJavaDocAntTask.java
  (with props)
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocDoclet.java
  (with props)
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocGenerator.java
  (with props)
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLWriter.java
  (with props)
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/apache/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/apache/kato/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/apache/kato/anttasks/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/apache/kato/anttasks/anttasks.properties
      - copied, changed from r793353, incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/anttasks.properties
Removed:
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/anttasks.properties
Modified:
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/pom.xml
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKDefinitionWriterDoclet.java
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKListBuilder.java

Modified: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/pom.xml?rev=794301&r1=794300&r2=794301&view=diff
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/pom.xml
(original)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/pom.xml
Wed Jul 15 15:25:26 2009
@@ -15,23 +15,21 @@
 		<dependency>
          <groupId>org.apache.ant</groupId>
          <artifactId>ant</artifactId>
-         <version>1.7.0</version>
+         <version>1.7.1</version>
       </dependency>
+      <!-- 
       <dependency>
          <groupId>ant-contrib</groupId>
          <artifactId>ant-contrib</artifactId>
          <version>1.0b2</version>
       </dependency>		
-		<dependency>
-			<groupId>org.apache.maven.plugins</groupId>
-			<artifactId>maven-ant-plugin</artifactId>
-			<version>2.1</version>
-		</dependency>
+		 
 		<dependency>
 			<groupId>org.apache.maven.plugins</groupId>
 			<artifactId>maven-javadoc-plugin</artifactId>
 			<version>2.5</version>
 		</dependency>
+		-->
 		<dependency>
 			<groupId>com.sun</groupId>
 			<artifactId>tools</artifactId>
@@ -39,7 +37,25 @@
 			<scope>system</scope>
 			<systemPath>${java.home}/../lib/tools.jar</systemPath>
 		</dependency>
-	
+		<!-- 
+		<dependency>
+			<groupId>com.lowagie</groupId>
+			<artifactId>itext</artifactId>
+			<version>2.1.5</version>
+		</dependency>
+		
+		<dependency>
+			<groupId>org.htmlparser</groupId>
+			<artifactId>htmlparser</artifactId>
+			<version>1.6</version>			
+		</dependency>
+		-->
+		<dependency>
+		 
+    <groupId>net.sourceforge.nekohtml</groupId>
+    <artifactId>nekohtml</artifactId>
+    <version>1.9.12</version>
+</dependency> 
 
 	</dependencies>
 	<build>
@@ -55,13 +71,9 @@
       <dependency>
          <groupId>org.apache.ant</groupId>
          <artifactId>ant</artifactId>
-         <version>1.7.0</version>
+         <version>1.7.1</version>
       </dependency>
-      <dependency>
-         <groupId>ant-contrib</groupId>
-         <artifactId>ant-contrib</artifactId>
-         <version>1.0b2</version>
-      </dependency>					
+      			
    </dependencies>
 			</plugin>
 		</plugins>

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/AbstractJavaDocAntTask.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/AbstractJavaDocAntTask.java?rev=794301&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/AbstractJavaDocAntTask.java
(added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/AbstractJavaDocAntTask.java
Wed Jul 15 15:25:26 2009
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ ******************************************************************************/
+
+package org.apache.kato.anttasks;
+
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.taskdefs.Javadoc;
+import org.apache.tools.ant.types.Path;
+
+/**
+ * Wrapper ant task around javadoc task.  Adds in required Doclet 
+ *
+ */
+public abstract class AbstractJavaDocAntTask extends Javadoc{
+
+	private Path docletPath=null;
+	private String tagName=null;
+	private String docletName=null;
+	private Path output=null;
+	
+	public AbstractJavaDocAntTask(String tagName,Class docletClass) {
+		this.tagName=tagName;
+		this.docletName=docletClass.getCanonicalName();
+	}
+	
+	public void execute() throws BuildException {
+	
+		if(output==null) throw new BuildException(tagName+" missing required attribute 'output'");
+		if(docletPath==null) throw new BuildException(tagName+" missing required attribute 'docletpath'");
+		runJavaDoc();
+		super.execute();
+	}
+
+	private void runJavaDoc() {
+		
+		// Configure required doclet 
+		System.out.println("running "+docletName);
+		
+		DocletInfo doclet=createDoclet();
+		doclet.setName(docletName);
+		Path path=doclet.createPath();
+		path.setPath(docletPath.toString());
+		
+		DocletParam parameter=doclet.createParam();
+		parameter.setName("-outfile");
+		parameter.setValue(output.toString());
+		
+	}
+	
+	public void setOutput(Path output) {
+		this.output = output;
+	}
+	public void setDocletPath(Path docletPath) {
+		this.docletPath = docletPath;
+	}
+}

Propchange: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/AbstractJavaDocAntTask.java
------------------------------------------------------------------------------
    svn:executable = *

Modified: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKDefinitionWriterDoclet.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKDefinitionWriterDoclet.java?rev=794301&r1=794300&r2=794301&view=diff
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKDefinitionWriterDoclet.java
(original)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKDefinitionWriterDoclet.java
Wed Jul 15 15:25:26 2009
@@ -52,9 +52,10 @@
 		
         for (int i = 0; i < options.length; i++) {
             String[] opt = options[i];
-	    if (opt[0].equals("-outfile")) {
-	    	output = new File(opt[1]);
-	       }
+            if (opt[0].equals("-outfile")) {
+            	output = new File(opt[1]);
+            }
+            System.out.println(opt[0]);
         }
         
 		return output!=null;

Modified: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKListBuilder.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKListBuilder.java?rev=794301&r1=794300&r2=794301&view=diff
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKListBuilder.java
(original)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/tcklistbuilder/TCKListBuilder.java
Wed Jul 15 15:25:26 2009
@@ -13,57 +13,18 @@
  ******************************************************************************/
 package org.apache.kato.anttasks.tcklistbuilder;
 
-import java.io.File;
+import org.apache.kato.anttasks.AbstractJavaDocAntTask;
 
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.taskdefs.Javadoc;
-import org.apache.tools.ant.types.Path;
 
-/**
- * Wrapper ant task around javadoc task.  Adds in required TCK Doclet
- *  
- */
-public class TCKListBuilder extends Javadoc{
-
-	private Path output=null;
-	private Path docletPath=null;
-	
-	public TCKListBuilder() {
-	
+public class TCKListBuilder extends AbstractJavaDocAntTask{
 	
-	}
-	public void execute() throws BuildException {
-		
-		
-		if(output==null) throw new BuildException("tcklistbuilder missing required attribute 'output'");
-		if(docletPath==null) throw new BuildException("tcklistbuilder missing required attribute
'docletpath'");
-		
-		// Configure required doclet 
-		
-		DocletInfo doclet=createDoclet();
-		doclet.setName("org.apache.kato.anttasks.tcklistbuilder.TCKDefinitionWriterDoclet");
-		Path path=doclet.createPath();
-		path.setPath(docletPath.toString());
-		
-		DocletParam parameter=doclet.createParam();
-		parameter.setName("-outfile");
-		parameter.setValue(output.toString());
-		
-		super.execute();
 	
+	public TCKListBuilder() {
 		
+		super("tcklistbuilder",TCKDefinitionWriterDoclet.class);
 	}
 	
 	
 	
-	public void setListOutput(File f) {
-		
-	}
-	public void setOutput(Path output) {
-		this.output = output;
-	}
-	public void setDocletPath(Path docletPath) {
-		this.docletPath = docletPath;
-	}
 	
 }

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocDoclet.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocDoclet.java?rev=794301&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocDoclet.java
(added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocDoclet.java
Wed Jul 15 15:25:26 2009
@@ -0,0 +1,95 @@
+/*******************************************************************************
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ ******************************************************************************/
+
+package org.apache.kato.anttasks.xmlgen;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.util.Map;
+import java.util.TreeMap;
+
+import com.sun.javadoc.ClassDoc;
+import com.sun.javadoc.DocErrorReporter;
+import com.sun.javadoc.PackageDoc;
+import com.sun.javadoc.RootDoc;
+
+public class XMLJavaDocDoclet {
+
+	
+	private static File output=null;
+	
+	public static boolean validOptions(String options[][],
+			
+		DocErrorReporter reporter) {
+		
+		
+        for (int i = 0; i < options.length; i++) {
+            String[] opt = options[i];
+            if (opt[0].equals("-outfile")) {
+            	output = new File(opt[1]);
+            }
+         
+        }
+        
+		return output!=null;
+	
+
+	}
+	
+	 public static boolean start(RootDoc root) throws IOException  { 
+		 
+		  output.getParentFile().mkdirs();
+		  
+		  FileWriter fw=new FileWriter(output);
+		  
+		  XMLWriter writer=new XMLWriter(fw);
+		  
+		  writer.open();
+		  
+		  Map<String,PackageDoc> map=new TreeMap<String,PackageDoc>();
+		  
+		  ClassDoc[] classes=root.classes();
+		  
+		  for(ClassDoc c:classes) {
+			  
+			  PackageDoc owner=c.containingPackage();
+			  String name=owner.name();
+			  if(map.containsKey(name)==false) {
+				  map.put(name,owner);
+			  }
+		  }
+		  
+		  for(PackageDoc p:map.values()) {
+			  writer.addPackageContents(p);
+		  }
+		  
+		  writer.close();
+		 
+		
+		  
+	      return true;
+	      
+	 }
+
+
+
+public static int optionLength(String option) {
+		
+		if(option.equals("-outfile")) {
+			return 2;
+		}
+		return 2;
+	}
+}

Propchange: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocDoclet.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocGenerator.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocGenerator.java?rev=794301&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocGenerator.java
(added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocGenerator.java
Wed Jul 15 15:25:26 2009
@@ -0,0 +1,12 @@
+package org.apache.kato.anttasks.xmlgen;
+
+import org.apache.kato.anttasks.AbstractJavaDocAntTask;
+
+public class XMLJavaDocGenerator extends AbstractJavaDocAntTask{
+
+
+	public XMLJavaDocGenerator() {
+		super("xmljavadoc",XMLJavaDocDoclet.class);
+		
+	}
+}

Propchange: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLJavaDocGenerator.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLWriter.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLWriter.java?rev=794301&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLWriter.java
(added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLWriter.java
Wed Jul 15 15:25:26 2009
@@ -0,0 +1,209 @@
+package org.apache.kato.anttasks.xmlgen;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.io.StringReader;
+import java.io.Writer;
+
+import org.apache.html.dom.HTMLDocumentImpl;
+import org.cyberneko.html.parsers.DOMFragmentParser;
+import org.w3c.dom.DocumentFragment;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.w3c.dom.html.HTMLDocument;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+import com.sun.javadoc.ClassDoc;
+import com.sun.javadoc.ConstructorDoc;
+import com.sun.javadoc.FieldDoc;
+import com.sun.javadoc.MethodDoc;
+import com.sun.javadoc.PackageDoc;
+import com.sun.javadoc.Tag;
+import com.sun.tools.doclets.internal.toolkit.util.TextTag;
+
+public class XMLWriter {
+
+	private Writer model=null;
+	private PrintWriter out=null;
+	public XMLWriter(Writer model) {
+		this.model=model;
+	}
+	public XMLWriter() {
+		
+	}
+	public void close() {
+		  write("</javadoc>");
+		  out.close();
+		
+	}
+	private void write(String data) {
+		out.print(data);
+		//System.out.println(data);
+		
+	}
+	public void open() throws IOException {
+		 
+		  
+		  out=new PrintWriter(model);
+		  
+		  write("<javadoc>");
+		  
+		  
+		 
+	
+		
+	}
+	public void writeClass(ClassDoc c) throws IOException {
+		write("<class type=\"class\" name=\""+c.name()+"\">");
+		writeComment(c.commentText());
+		for(FieldDoc f:c.fields()) {
+			writeField(f);
+		}
+		for(ConstructorDoc r: c.constructors()) {
+			writeConstructor(r);
+		}
+		for(MethodDoc m:c.methods()) {
+			writeMethod(m);
+		}
+		write("</class>");
+		
+	}
+	private void writeField(FieldDoc f) throws IOException {
+		write("<field name=\""+f.name()+"\" value=\""+f.constantValueExpression()+"\" >");
+		writeComment(f.commentText());
+		write("</field>");
+		
+	}
+	private void writeMethod(MethodDoc m) throws IOException {
+		write("<method name=\""+m.name()+"\" signature=\""+m.signature()+"\" >");
+		writeComment(m.commentText());
+		write("</method>");
+		
+		
+	}
+	private void writeConstructor(ConstructorDoc r) throws IOException {
+		write("<constructor signature=\""+r.signature()+"\" >");
+		writeComment(r.commentText());
+		write("</constructor>");
+		
+	}
+	
+	private void writeComment(String text) throws IOException {
+		writeText("comment",text);
+	}
+	private void writeText(String tag,String commentText) throws IOException {
+		
+		if(commentText==null) return;
+		if(commentText.trim().equals("")) return;
+		write("<"+tag+">");
+		DOMFragmentParser parser = new DOMFragmentParser();
+		
+		HTMLDocument document = new HTMLDocumentImpl();
+		DocumentFragment fragment = document.createDocumentFragment();
+		
+        try {
+        	parser.parse(new InputSource(new StringReader(commentText)), fragment);
+			
+		} catch (SAXException e) {
+			
+			throw new IOException(e);
+		}
+		
+		
+        write(fragment);
+        
+        write("</"+tag+">");				
+		
+		
+	}
+	private void write(DocumentFragment fragment) {
+		
+		NodeList list=fragment.getChildNodes();
+		write(list);
+		
+		
+		
+	}
+	private void write(NodeList list) {
+
+		if(list==null) return;
+		int length=list.getLength();
+		for(int i=0;i<length;i++) {
+			Node n=list.item(i);
+			switch (n.getNodeType()) {
+			case Node.TEXT_NODE :
+				String text=n.getTextContent();
+				if(text!=null) write(text);
+				break;
+			case Node.ELEMENT_NODE :
+				String name=n.getNodeName();
+				write("<"+name+">");
+				if(n.hasChildNodes()) {
+					NodeList kids=n.getChildNodes();
+					write(kids);
+				}
+				write("</"+name+">");
+				break;
+			default :
+				write("<node id=\""+n.getNodeName()+"\"/>");
+			}
+			
+			
+			
+			
+			
+		}
+		
+	}
+	public void writeInterface(ClassDoc c) throws IOException {
+		write("<class type=\"interface\" name=\""+c.name()+"\">");
+		writeComment(c.commentText());
+		for(MethodDoc m:c.methods()) {
+			writeMethod(m);
+		}
+		write("</class>");
+		
+	}
+	public void addPackageContents(PackageDoc p) throws IOException {
+		write("<package name=\""+p.name()+"\">");
+		
+			Tag[] tags=p.firstSentenceTags();
+			if(tags!=null && tags.length>0) {
+				StringBuilder sb=new StringBuilder();
+				
+				for(Tag t:tags) {
+					String kind=t.kind();
+					if(kind.equals("Text")) {
+						sb.append(t.text()+" ");
+					}
+					else {
+						System.out.println("tag="+t.getClass());
+					}
+				}
+				
+				writeSummary(sb.toString());
+			}
+			
+			writeComment(p.commentText());
+			
+			for (ClassDoc c : p.allClasses() ) {
+				if(c.isInterface()) {
+					writeInterface(c);
+				}
+				else {
+					writeClass(c);
+				}
+			}
+			write("</package>");
+		
+	}
+	private void writeSummary(String text) throws IOException {
+		writeText("summary",text);
+		
+	}
+
+	
+	
+	
+}

Propchange: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/xmlgen/XMLWriter.java
------------------------------------------------------------------------------
    svn:executable = *

Copied: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/apache/kato/anttasks/anttasks.properties
(from r793353, incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/anttasks.properties)
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/apache/kato/anttasks/anttasks.properties?p2=incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/apache/kato/anttasks/anttasks.properties&p1=incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/anttasks.properties&r1=793353&r2=794301&rev=794301&view=diff
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/java/org/apache/kato/anttasks/anttasks.properties
(original)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.anttasks/src/main/resources/org/apache/kato/anttasks/anttasks.properties
Wed Jul 15 15:25:26 2009
@@ -13,3 +13,4 @@
 #-------------------------------------------------------------------------------
 sitebuilder=org.apache.kato.anttasks.sitebuilder.SiteBuilder
 tcklistbuilder=org.apache.kato.anttasks.tcklistbuilder.TCKListBuilder
+xmljavadoc=org.apache.kato.anttasks.xmlgen.XMLJavaDocGenerator
\ No newline at end of file



Mime
View raw message