cleanups
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@988 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -55,20 +55,12 @@ sub loadProjectList() {
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
sub addProject() {
|
||||
my ($title, $unixname,$moduleDirectory,$srcdir) = @_;
|
||||
my $cmd="echo \"${title}:${unixname}:${moduleDirectory}:${srcdir}\" > jobs/${moduleDirectory}.txt";
|
||||
`${cmd}`;
|
||||
}
|
||||
|
||||
sub refreshReport() {
|
||||
print start_html(-title=>'PMD Results', -head=>meta({-http_equiv=>'Refresh',-content=>'10;URL=http://pmd.sf.net/cgi-bin/webpmd.pl?state=refreshreport'}));
|
||||
$query->p("This page will refresh with more information every 10 seconds or so");
|
||||
open(FILE,"results.html");
|
||||
print $query->p(<FILE>);
|
||||
}
|
||||
|
||||
$page=param("state") || "default";
|
||||
|
||||
%states = (
|
||||
|
Reference in New Issue
Block a user