changed file names to ensure uniqueness

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1001 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-09-26 20:51:41 +00:00
parent 3e08e21f4f
commit 9924046b0b
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ class Job
end end
def run_pmd def run_pmd
cmd="java -jar pmd-1.0rc2.jar #{@sourceDirectory} html rulesets/unusedcode.xml > ../htdocs/reports/#{@unixName}.html" cmd="java -jar pmd-1.0rc2.jar #{@sourceDirectory} html rulesets/unusedcode.xml > ../htdocs/reports/#{@unixName}_#{@moduleDirectory}.html"
`#{cmd}` `#{cmd}`
end end

View File

@ -71,8 +71,8 @@ sub loadProjectList() {
my $jobdata=<FILE>; my $jobdata=<FILE>;
my ($title,$unixname, $mod, $src) = split(":", $jobdata); my ($title,$unixname, $mod, $src) = split(":", $jobdata);
my $jobtext=""; my $jobtext="";
if (-e "../htdocs/reports/${unixname}.html") { if (-e "../htdocs/reports/${unixname}_${mod}.html") {
$jobtext="<a href=\"http://pmd.sf.net/reports/${unixname}.html\">${title}</a>"; $jobtext="<a href=\"http://pmd.sf.net/reports/${unixname}_${mod}.html\">${title}</a>";
} else { } else {
$jobtext=$title; $jobtext=$title;
} }