Plugin is installed,repository info is configured correctly, so is path to svn bin and fields. I created repository. Started import process. And it fails. The reason it fails is:
'SimpleXMLElement::__construct(): Entity: line 3: parser error : Premature end of data in tag info line 2' in 'C:\xampp\htdocs\mantis\plugins\SourceSVN\SourceSVN.php' line 275
Which means that in this php code:
Code: Select all
$t_svninfo_xml = shell_exec( "$svn info $t_url --xml" );
try {
# create parser
$t_svninfo_parsed_xml = new SimpleXMLElement($t_svninfo_xml);
}
catch( Exception $e ) {
# parsing error - no success here
echo "<pre>svn info returned invalid xml code: {$t_svninfo_xml} </pre>";
return array();
}
Both Mantis and SVN are installed on the same windows server.
I am open to any suggestions.