fixed possible corrupted source path when there are more compileSourceRoots.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2005-09-07 19:45:54 +00:00
parent 368a03839f
commit a35354aceb
1 changed files with 6 additions and 1 deletions

View File

@ -634,6 +634,11 @@ public class JavadocReport
String sourceDirectory = (String) i.next();
fileList = FileUtils.getFilesFromExtension( sourceDirectory, new String[] { "java" } );
sourcePath.append( sourceDirectory );
if ( i.hasNext() )
{
sourcePath.append( PATH_SEPARATOR );
}
}
File javadocDirectory = new File( getProject().getBuild().getDirectory() + "/javadoc" );