Commit 92801ba8 authored by romanb's avatar romanb

[2.0] Fixed some build issues. Added new build properties. Please install...

[2.0] Fixed some build issues. Added new build properties. Please install VersionControl_SVN pear package in order to use the test target of the build file.
parent 3d3bcc17
......@@ -3,4 +3,6 @@ version=2.0.0
stability=alpha
build.dir=build
dist.dir=dist
report.dir=reports
\ No newline at end of file
report.dir=reports
log.archive.dir=logs
svn.path=/usr/bin/svn
\ No newline at end of file
......@@ -121,7 +121,6 @@
Runs the full test suite.
-->
<target name="test" depends="prepare">
<!--
<phpunit printsummary="true" haltonfailure="true">
<formatter todir="${build.dir}/logs" type="xml"/>
<batchtest classpath="tests">
......@@ -131,7 +130,9 @@
</batchtest>
</phpunit>
<phpunitreport infile="${build.dir}/logs/testsuites.xml" format="frames" todir="${report.dir}/tests" />
-->
<tstamp/>
<svnlastrevision svnpath="${svn.path}" workingcopy="." propertyname="svn.lastrevision"/>
<copy file="${build.dir}/logs/testsuites.xml" tofile="${log.archive.dir}/${svn.lastrevision}/log.xml" overwrite="true"/>
</target>
<!--
......
......@@ -14,7 +14,8 @@ $classLoader = new \Doctrine\Common\IsolatedClassLoader('Doctrine');
$classLoader->register();
set_include_path(
'.'
. PATH_SEPARATOR . __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib'
__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib'
. PATH_SEPARATOR .
get_include_path()
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment