You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ivelin Ivanov <iv...@apache.org> on 2002/07/02 04:52:04 UTC
Re: Build Failure - SlideSource
You were right.
Thanks.
Stephan Michels wrote:
> 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
>
>
--
-= Ivelin =-
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org