fix link to javadoc in maven modules, archiving test javadoc test too , still need to display link to test javadoc

This commit is contained in:
Olivier Lamy committed 2011-03-24 01:48:04 +01:00
1 parent f5fbc56bc2
commit 2f7dae63bb
5 files changed
+70 -12

No files matched your search

@@ -133,14 +133,16 @@ public class JavadocArchiver extends Recorder {
}
public String getDisplayName() {
if (new File(dir(), "help-doc.html").exists())
File dir = dir();
if (dir != null && new File(dir, "help-doc.html").exists())
return Messages.JavadocArchiver_DisplayName_Javadoc();
else
return Messages.JavadocArchiver_DisplayName_Generic();
}
public String getIconFileName() {
if(dir().exists())
File dir = dir();
if(dir != null && dir.exists())
return "help.gif";
else
// hide it since we don't have javadoc yet.