You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adam Heath <do...@brainfood.com> on 2014/06/24 17:05:37 UTC
cobertura, tests
Bother. It seems that a bit too much cleaning has been done, and now
the command line targets 'tests' and 'tests-cobertura' no longer work.
The later requires cobertura, which has a download target; when using
the included ant version, it attempts to fork java to run the task,
which then can't find asm-*.jar, for some reason.
The former requires an optional ant JUnitTask, which has no download target.
I'd like to promote these tasks to being run more often, but I don't
know where in the workflow I should add them. Once I get them fixed,
perhaps we could add some top-level tasks, and add it to buildbot.
These targets(which are defined in $ofbiz.home.dir/common.xml), are used
to run extremely quick command-line api type tests, that don't require a
full framework instance to be running. There are some defined in base,
and in sql.
ps: the included ant version is 1.9.0, but my system installed version
is 1.8.2; 1.8.2 can actually load cobertura correctly.
Re: cobertura, tests
Posted by Adam Heath <do...@brainfood.com>.
Thanks.
On 06/24/2014 03:19 PM, Jacques Le Roux wrote:
>
> Le 24/06/2014 17:05, Adam Heath a écrit :
>> Bother. It seems that a bit too much cleaning has been done, and now
>> the command line targets 'tests' and 'tests-cobertura' no longer
>> work. The later requires cobertura, which has a download target;
>> when using the included ant version, it attempts to fork java to run
>> the task, which then can't find asm-*.jar, for some reason.
>>
>> The former requires an optional ant JUnitTask, which has no download
>> target.
>>
>> I'd like to promote these tasks to being run more often, but I don't
>> know where in the workflow I should add them. Once I get them fixed,
>> perhaps we could add some top-level tasks, and add it to buildbot.
>
> https://issues.apache.org/jira/browse/INFRA-3590
>
>> These targets(which are defined in $ofbiz.home.dir/common.xml), are
>> used to run extremely quick command-line api type tests, that don't
>> require a full framework instance to be running. There are some
>> defined in base, and in sql.
>>
>> ps: the included ant version is 1.9.0, but my system installed
>> version is 1.8.2; 1.8.2 can actually load cobertura correctly.
>>
>
Re: cobertura, tests
Posted by Jacques Le Roux <ja...@les7arts.com>.
Le 24/06/2014 17:05, Adam Heath a écrit :
> Bother. It seems that a bit too much cleaning has been done, and now the command line targets 'tests' and 'tests-cobertura' no longer work. The
> later requires cobertura, which has a download target; when using the included ant version, it attempts to fork java to run the task, which then
> can't find asm-*.jar, for some reason.
>
> The former requires an optional ant JUnitTask, which has no download target.
>
> I'd like to promote these tasks to being run more often, but I don't know where in the workflow I should add them. Once I get them fixed, perhaps
> we could add some top-level tasks, and add it to buildbot.
https://issues.apache.org/jira/browse/INFRA-3590
> These targets(which are defined in $ofbiz.home.dir/common.xml), are used to run extremely quick command-line api type tests, that don't require a
> full framework instance to be running. There are some defined in base, and in sql.
>
> ps: the included ant version is 1.9.0, but my system installed version is 1.8.2; 1.8.2 can actually load cobertura correctly.
>
--
Re: cobertura, tests
Posted by Adam Heath <do...@brainfood.com>.
Ah. This is due to ant jars being in framework/base/lib, which then
partially conflict/overlap when using the top-level included ant.
On 06/24/2014 10:05 AM, Adam Heath wrote:
> Bother. It seems that a bit too much cleaning has been done, and now
> the command line targets 'tests' and 'tests-cobertura' no longer
> work. The later requires cobertura, which has a download target; when
> using the included ant version, it attempts to fork java to run the
> task, which then can't find asm-*.jar, for some reason.
>
> The former requires an optional ant JUnitTask, which has no download
> target.
>
> I'd like to promote these tasks to being run more often, but I don't
> know where in the workflow I should add them. Once I get them fixed,
> perhaps we could add some top-level tasks, and add it to buildbot.
>
> These targets(which are defined in $ofbiz.home.dir/common.xml), are
> used to run extremely quick command-line api type tests, that don't
> require a full framework instance to be running. There are some
> defined in base, and in sql.
>
> ps: the included ant version is 1.9.0, but my system installed version
> is 1.8.2; 1.8.2 can actually load cobertura correctly.