forked from phoedos/pmd
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:
@ -58,7 +58,7 @@ class Job
|
||||
end
|
||||
|
||||
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}`
|
||||
end
|
||||
|
||||
|
@ -71,8 +71,8 @@ sub loadProjectList() {
|
||||
my $jobdata=<FILE>;
|
||||
my ($title,$unixname, $mod, $src) = split(":", $jobdata);
|
||||
my $jobtext="";
|
||||
if (-e "../htdocs/reports/${unixname}.html") {
|
||||
$jobtext="<a href=\"http://pmd.sf.net/reports/${unixname}.html\">${title}</a>";
|
||||
if (-e "../htdocs/reports/${unixname}_${mod}.html") {
|
||||
$jobtext="<a href=\"http://pmd.sf.net/reports/${unixname}_${mod}.html\">${title}</a>";
|
||||
} else {
|
||||
$jobtext=$title;
|
||||
}
|
||||
|
Reference in New Issue
Block a user