From 5aff0defc2fbb2cbdd7fdaf99953ebc0e432649f Mon Sep 17 00:00:00 2001 From: Trygve Laugstol Date: Thu, 18 Aug 2005 12:49:31 +0000 Subject: [PATCH] o Replacing hardcoded path separator ';' value with ${path.separator}. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233315 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/plugin/javadoc/JavadocReport.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java b/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java index 3133153c71..db61293e26 100644 --- a/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java +++ b/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java @@ -83,6 +83,8 @@ public class JavadocReport /** Default window title */ private static final String DEFAULT_WINDOW_TITLE = "${project.name} ${project.version} API"; + private static final String PATH_SEPARATOR = System.getProperty( "path.separator" ); + /** * @parameter expression="${project.build.directory}/site" * @required @@ -644,7 +646,7 @@ public class JavadocReport classpath.append( (String) i.next() ); if ( i.hasNext() ) { - classpath.append( ";" ); + classpath.append( PATH_SEPARATOR ); } }