Skip to Content.
Sympa Menu

notify-dpml - r1219 - in trunk/main: . depot/tools/builder/src/main/net/dpml/tools/tasks

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1219 - in trunk/main: . depot/tools/builder/src/main/net/dpml/tools/tasks
  • Date: Sat, 18 Mar 2006 21:49:40 +0100

Author: mcconnell
Date: 2006-03-18 21:49:30 +0100 (Sat, 18 Mar 2006)
New Revision: 1219

Modified:

trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JavadocTask.java
trunk/main/library.xml
Log:
add package excludes option on javadoc generation

Modified:
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JavadocTask.java
===================================================================
---
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JavadocTask.java
2006-03-18 20:48:54 UTC (rev 1218)
+++
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JavadocTask.java
2006-03-18 20:49:30 UTC (rev 1219)
@@ -52,10 +52,15 @@
public static final String JAVADOC_ACCESS_KEY = "project.javadoc.access";

/**
- * Property key for declaration of the lionksource option.
+ * Property key for declaration of the linksource option.
*/
public static final String JAVADOC_LINK_SOURCE_KEY =
"project.javadoc.linksource";

+ /**
+ * Property key for declaration of excluded package names.
+ */
+ public static final String JAVADOC_EXCLUDE_PACKAGENAMES_KEY =
"project.javadoc.package.excludes";
+
//-----------------------------------------------------------------------
// state
//-----------------------------------------------------------------------
@@ -179,6 +184,9 @@
javadoc.setUse( true );
javadoc.createClasspath().add( classpath );

+ String excludes = resource.getProperty(
JAVADOC_EXCLUDE_PACKAGENAMES_KEY, "" );
+ javadoc.setExcludePackageNames( excludes );
+
final Path source = javadoc.createSourcepath();
addSourcePath( resource, javadoc, source );


Modified: trunk/main/library.xml
===================================================================
--- trunk/main/library.xml 2006-03-18 20:48:54 UTC (rev 1218)
+++ trunk/main/library.xml 2006-03-18 20:49:30 UTC (rev 1219)
@@ -22,6 +22,7 @@
<property name="project.api.host" value="http://api.dpml.net"/>
<property name="project.svn.host"
value="svn://svn.berlios.de/dpml/trunk/main"/>
<property name="project.javadoc.linksource" value="true"/>
+ <property name="project.javadoc.package.excludes"
value="net.dpml.test,net.dpml.test.*"/>
</properties>

<types>




  • r1219 - in trunk/main: . depot/tools/builder/src/main/net/dpml/tools/tasks, mcconnell at BerliOS, 03/18/2006

Archive powered by MHonArc 2.6.24.

Top of Page