|
From: Nicolas T. <nic...@gm...> - 2009-01-22 15:56:19
|
On Thu, Jan 22, 2009 at 2:39 PM, tarjei <ta...@nu...> wrote:
>> Nicolas Terray wrote:
>>> if (!class_exists('SimpleReporter')) {
>>> throw new BuildException("SimpleTestTask depends on SimpleTest
>>> package being installed.
>>>
>>>
>>> How can I do that?
> I've been using simpletest + phing for quite some time. All I have done
> earlier has been to install simpletest into my PEAR directory.
>
cp -r simpletest /opt/tools/FC8/php-5.1.6/lib/php/PEAR/
doesn't work
The include_path is the following:
.:/opt/tools/FC8/php-5.1.6/lib/php
cp -r simpletest /opt/tools/FC8/php-5.1.6/lib/php/
works
I should be happy. However I don't like putting things by hand in php
directories. :(
I would like to keep my simpletest directory in my workspace.
Is there a way to set the include path when calling the command "phing" ?
The answer is yes. :)
Use PHP_CLASSPATH environment variable...
I do love those issues which require me to parse library scripts to
find what to do :-\
Now I am happy :)
Thanks for your help!
Nicolas Terray
|