cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20096] - Build fails if deprecated classes are excluded.
Date Fri, 26 Sep 2003 07:32:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20096>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20096

Build fails if deprecated classes are excluded.

agallardo@agsoftware.dnsalias.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         OS/Version|Other                       |All
           Platform|Other                       |All
         Resolution|FIXED                       |
            Version|2.1m2                       |Current CVS 2.1



------- Additional Comments From agallardo@agsoftware.dnsalias.com  2003-09-26 07:32 -------
If we sets in local.build.properties:

exclude.deprecated=true

then the build fails, because the "tests", need it.

The error is here:

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

Mime
View raw message