From 7fceb0810d8110df7a7a642fc0037d6b07b894b7 Mon Sep 17 00:00:00 2001 From: bwalding Date: Fri, 21 Feb 2003 22:33:53 +0000 Subject: [PATCH] o Due to the variations between projects, some projects are passing in full paths and others are relative paths. This change checks to see if the path has already been appended to ${basedir}. If not, it prepends basedir. JXRBean now expects something that will slot directly into new File(path). git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112968 13f79535-47bb-0310-9956-ffa450edef68 --- jxr/plugin.jelly | 6 ++++++ jxr/src/main/org/apache/maven/jxr/JxrBean.java | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/jxr/plugin.jelly b/jxr/plugin.jelly index 6efef425..54e4ed63 100644 --- a/jxr/plugin.jelly +++ b/jxr/plugin.jelly @@ -63,6 +63,12 @@ + + + + + + Josh Lucas * @author Jason van Zyl * @author Brian Leonard - * @version $Id: JxrBean.java,v 1.3 2003/02/05 11:23:25 bwalding Exp $ + * @version $Id: JxrBean.java,v 1.4 2003/02/21 22:33:53 bwalding Exp $ */ public class JxrBean { @@ -131,8 +131,8 @@ public class JxrBean for (Iterator i = sourceDirs.iterator(); i.hasNext();) { String path = (String) i.next(); - - path = new File(getBasedir(),path).getCanonicalPath(); + path = new File(path).getCanonicalPath(); + pkgmgr.process(path); new JXR(pkgmgr, path, destDir, javadocLinkDir, "HEAD");