1
0
mirror of synced 2024-12-05 03:06:05 +03:00

[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.

This commit is contained in:
romanb 2009-09-19 12:10:59 +00:00
parent 3d3bcc1742
commit 92801ba8bd
3 changed files with 9 additions and 5 deletions

View File

@ -3,4 +3,6 @@ version=2.0.0
stability=alpha
build.dir=build
dist.dir=dist
report.dir=reports
report.dir=reports
log.archive.dir=logs
svn.path=/usr/bin/svn

View 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>
<!--

View File

@ -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()
);