cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject Re: Build Failure - SlideSource
Date Fri, 28 Jun 2002 13:15:07 GMT

On Fri, 28 Jun 2002, Ivelin Ivanov wrote:

>
> Just tried a new build and got:
>
>      [javac]
> C:\ivo\cvs\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon
> \components\source\SlideSource.java:121:
> org.apache.cocoon.components.source.Sli
> deSource should be declared abstract; it does not define
> getContentLength() in org.apache.cocoon.components.source.SlideSource
>      [javac] public class SlideSource implements Source, WriteableSource
>      [javac]        ^
>      [javac] Note: Some input files use or override a deprecated API.
>      [javac] Note: Recompile with -deprecation for details.
>      [javac] 1 error
>
> BUILD FAILED
>
>
> Help!

The current CVS HEAD compile for me fine. The SlideSource also
implements the method getContentLength. Perhaps you have an old
snapshot? Or forget to make a ant clean?

    /**
     * Return the content length of the content or -1 if the length is
     * unknown
     */
    public long getContentLength()
    {
        if (revisionDescriptor!=null)
            return revisionDescriptor.getContentLength();

        return -1;
    }

_______________________________________________________________________
         Stephan Michels               EMail: stephan@apache.org
         ICQ: 115535699                Tel: +49-030-314-21583
----+----|----+----|----+----|----+----|----+----|----+----|----+----|-|


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message