Ejemplo n.º 1
0
	$command .= "-d $mwPathM";
	break;
case 4:
	$command .= "-d $mwPathS";
	break;
case 5:
	if( !isset( $file ) ) {
		$file = readaline("Enter file name $mwPath");
	}
	$command .= ' -f '.$mwPath.$file;
}
$command .= " -t $pdOutput ".$pdOthers;
*/
// TODO : generate a list of paths ))
$input = $mwPath;
$generatedConf = generateConfigFile($doxygenTemplate, $doxyOutput, $mwPath, $input);
$command = $doxygenBin . ' ' . $generatedConf;
?>
---------------------------------------------------
Launching the command:

<?php 
echo $command;
?>

---------------------------------------------------
<?php 
passthru($command);
?>
---------------------------------------------------
Doxygen execution finished.
Ejemplo n.º 2
0
    case 5:
        if (!isset($file)) {
            $file = readaline("Enter file name {$mwPath}");
        }
        $input = $mwPath . $file;
        break;
    case 6:
        $input = $mwPath;
        $excludePatterns = 'extensions';
}
// @todo FIXME to work on git
$version = 'master';
// Generate path exclusions
$excludedPaths = $mwPath . join(" {$mwPath}", $mwExcludePaths);
print "EXCLUDE: {$excludedPaths}\n\n";
$generatedConf = generateConfigFile($doxygenTemplate, $doxyOutput, $mwPath, $version, $input, $excludedPaths, $excludePatterns, $doxyGenerateMan);
$command = $doxygenBin . ' ' . $generatedConf;
echo <<<TEXT
---------------------------------------------------
Launching the command:

{$command}

---------------------------------------------------

TEXT;
passthru($command);
echo <<<TEXT
---------------------------------------------------
Doxygen execution finished.
Check above for possible errors.
Ejemplo n.º 3
0
        $exclude_patterns = 'extensions';
}
$versionNumber = getSvnRevision($input);
if ($versionNumber === false) {
    # Not using subversion ?
    $svnstat = '';
    # Not really useful if subversion not available
    # @todo FIXME
    $version = 'trunk';
} else {
    $version = "trunk (r{$versionNumber})";
}
// Generate path exclusions
$excludedPaths = $mwPath . join(" {$mwPath}", $mwExcludePaths);
print "EXCLUDE: {$excludedPaths}\n\n";
$generatedConf = generateConfigFile($doxygenTemplate, $doxyOutput, $mwPath, $version, $svnstat, $input, $excludedPaths, $exclude_patterns);
$command = $doxygenBin . ' ' . $generatedConf;
echo <<<TEXT
---------------------------------------------------
Launching the command:

{$command}

---------------------------------------------------

TEXT;
passthru($command);
echo <<<TEXT
---------------------------------------------------
Doxygen execution finished.
Check above for possible errors.
Ejemplo n.º 4
0
        if (!isset($file)) {
            $file = readaline("Enter file name {$mwPath}");
        }
        $input = $mwPath . $file;
}
$versionNumber = getSvnRevision($input);
if ($versionNumber === false) {
    #Not using subversion ?
    $svnstat = '';
    # Not really useful if subversion not available
    $version = 'trunk';
    # FIXME
} else {
    $version = "trunk (r{$versionNumber})";
}
$generatedConf = generateConfigFile($doxygenTemplate, $doxyOutput, $mwPath, $version, $svnstat, $input);
$command = $doxygenBin . ' ' . $generatedConf;
echo <<<TEXT
---------------------------------------------------
Launching the command:

{$command}

---------------------------------------------------

TEXT;
passthru($command);
echo <<<TEXT
---------------------------------------------------
Doxygen execution finished.
Check above for possible errors.