2012/4/2 Adrian Crum <[email protected]>:
> This looks like a hack. It would be preferable to find out why ./ant can't
> find the class.
>
I couldn't find a better solution. If anyone has one, this would be
great. I faced the same problem as Pierre, when wanting to use the
shipped ant.


> -Adrian
>
> On 4/2/2012 12:16 PM, [email protected] wrote:
>>
>> Author: erwan
>> Date: Mon Apr  2 11:16:10 2012
>> New Revision: 1308301
>>
>> URL: http://svn.apache.org/viewvc?rev=1308301&view=rev
>> Log:
>> Seems using ./ant for running install and tests is not detecting the class
>> for cobertura. Testing if the jar is present is making it right. Resolves
>> OFBIZ-4757
>>
>> Modified:
>>     ofbiz/trunk/framework/base/build.xml
>>
>> Modified: ofbiz/trunk/framework/base/build.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/build.xml?rev=1308301&r1=1308300&r2=1308301&view=diff
>>
>> ==============================================================================
>> --- ofbiz/trunk/framework/base/build.xml (original)
>> +++ ofbiz/trunk/framework/base/build.xml Mon Apr  2 11:16:10 2012
>> @@ -72,7 +72,7 @@ under the License.
>>          </condition>
>>          <condition property="exclude.cobertura"
>> value="org/ofbiz/base/config/Cobertura*.java">
>>              <not>
>> -<available
>> classname="net.sourceforge.cobertura.instrument.ClassInstrumenter"
>> classpathref="local.class.path"/>
>> +<available property="exclude.cobertura"
>> file="lib/cobertura-1.9.4.1.jar"/>
>>              </not>
>>          </condition>
>>          <patternset id="src.exc.set">
>>
>>
>



-- 
Erwan de FERRIERES

Reply via email to