You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2007/02/01 15:04:58 UTC
svn commit: r502215 -
/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
Author: vsiveton
Date: Thu Feb 1 06:04:57 2007
New Revision: 502215
URL: http://svn.apache.org/viewvc?view=rev&rev=502215
Log:
o fixed Javadoc for system dependent path separator
o no code change
Modified:
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java?view=diff&rev=502215&r1=502214&r2=502215
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java (original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java Thu Feb 1 06:04:57 2007
@@ -297,7 +297,8 @@
private String excludePackageNames;
/**
- * Specifies the directories where extension classes reside. Separate directories in dirlist with semicolons (;).
+ * Specifies the directories where extension classes reside. Separate directories in dirlist with a colon (:)
+ * on Solaris and a semi-colon (;) on Windows.
* <br/>
* See <a href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#extdirs">extdirs</a>.
*
@@ -410,7 +411,8 @@
private String source;
/**
- * Specifies the source paths where the subpackages are located. The paths are separated by '<code>;</code>'.
+ * Specifies the source paths where the subpackages are located. The paths are separated with a colon (:)
+ * on Solaris and a semi-colon (;) on Windows.
* <br/>
* See <a href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#sourcepath">sourcepath</a>.
*
@@ -762,7 +764,7 @@
/**
* Specifies whether the stylesheet to be used is the maven javadoc stylesheet or java's default stylesheet
- * when a <i>stylesheetfile</i> parameter is not specified. Possible values: maven or java.
+ * when a <i>stylesheetfile</i> parameter is not specified. Possible values: "maven" or "java".
*
* @parameter expression="${stylesheet}" default-value="java"
*/
@@ -1941,7 +1943,7 @@
* @param repeatKey repeat or not the key in the command line
* @param splitValue if <code>true</code> given value will be tokenized by comma
*/
- private void addArgIfNotEmpty( List arguments, String key, String value,
+ private void addArgIfNotEmpty( List arguments, String key, String value,
boolean repeatKey, boolean splitValue )
{
if ( StringUtils.isNotEmpty( value ) )
@@ -1956,11 +1958,11 @@
while ( token.hasMoreTokens() )
{
String current = token.nextToken().trim();
-
+
if ( StringUtils.isNotEmpty( current ) )
{
arguments.add( current );
-
+
if ( token.hasMoreTokens() && repeatKey )
{
arguments.add( key );
@@ -1972,7 +1974,7 @@
}
}
}
-
+
/**
* Convenience method to add an argument to the <code>command line</code>
* if the the value is not null or empty.