You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agsoftware.dnsalias.com> on 2003/09/24 22:33:06 UTC
tests depends on deprecated.
Hi:
If we sets in local.build.properties:
exclude.deprecated=true
then the build fails, because the "tests", need it. BTW we cannot turn off
the tests build.
The question is:
If we cannot turn off tests and tests needs deprecated to work, then there
is no meaning to set the above property.
Best Regards,
Antonio Gallardo
Re: tests depends on deprecated.
Posted by Geoff Howard <co...@leverageweb.com>.
Antonio Gallardo wrote:
> Hi:
>
> If we sets in local.build.properties:
>
> exclude.deprecated=true
>
> then the build fails, because the "tests", need it. BTW we cannot turn off
> the tests build.
>
> The question is:
>
> If we cannot turn off tests and tests needs deprecated to work, then there
> is no meaning to set the above property.
Hmmm, this was fixed before 2.1 release I thought (or maybe 2.1.1). Did
it get rolled back? Is there a new test which reintroduced this dependency?
Geoff
Re: tests depends on deprecated.
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Ugo Cei dijo:
> Antonio Gallardo wrote:
>> Carsten Ziegeler dijo:
>>>Which error do you get?
>> compile-tests:
>> cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java:64:
>> cannot resolve symbol
>
> This looks like bug 20096
> (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20096) all over
> again. It was marked as CLOSED FIXED but if you can confirm it, reopen
> it again.
Thanks for the info Ugo, I will try with a fresh download.
Antonio Gallardo.
Re: tests depends on deprecated.
Posted by Ugo Cei <u....@cbim.it>.
Antonio Gallardo wrote:
> Carsten Ziegeler dijo:
>>Which error do you get?
> compile-tests:
> cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java:64:
> cannot resolve symbol
This looks like bug 20096
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20096) all over
again. It was marked as CLOSED FIXED but if you can confirm it, reopen
it again.
Ugo
--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it
RE: tests depends on deprecated.
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Carsten Ziegeler dijo:
> Which error do you get?
compile-tests:
Created dir: cocoon-2.1/build/cocoon-2.1.2-dev/test
Copying 18 files to cocoon-2.1/build/cocoon-2.1.2-dev/test
Copied 5 empty directories to cocoon-2.1/build/cocoon-2.1.2-dev/test
Compiling 25 source files to cocoon-2.1/build/cocoon-2.1.2-dev/test
cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java:64:
cannot resolve symbol
symbol : class ResolverImpl
location: package resolver
import org.apache.cocoon.components.resolver.ResolverImpl;
^
cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java:234:
cannot resolve symbol
symbol : class ResolverImpl
location: class
org.apache.cocoon.components.resolver.test.ResolverImplTestCase
private ResolverImpl resolverImpl;
^
cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java:282:
cannot resolve symbol
symbol : class ResolverImpl
location: class
org.apache.cocoon.components.resolver.test.ResolverImplTestCase
resolverImpl = (ResolverImpl) manager.lookup(role);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
BUILD FAILED
file:cocoon-2.1/src/targets/compile-build.xml:87: Compile failed; see the
compiler error output for details.
Total time: 18 seconds
Antonio Gallardo
RE: tests depends on deprecated.
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Antonio Gallardo wrote:
>
> Hi:
>
> If we sets in local.build.properties:
>
> exclude.deprecated=true
>
> then the build fails, because the "tests", need it. BTW we cannot turn off
> the tests build.
>
> The question is:
>
> If we cannot turn off tests and tests needs deprecated to work, then there
> is no meaning to set the above property.
>
Hasn't this been fixed recently?
Which error do you get?
Carsten