You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@apache.org> on 2002/07/11 15:15:14 UTC
Compile problems
With a fresh CVS checkout, I have the following compile error:
<snip/>
compile:
[copy] Copying 29 files to
D:\projects\xml-cocoon2\build\cocoon\classes
[roles-tool] Reading:
D:\projects\xml-cocoon2\build\cocoon\classes\org\apache\cocoon\cocoon.ro
les
[roles-tool] Processing:
D:\projects\xml-cocoon2\build\cocoon\src\org\apache\cocoon\webapps\authe
ntication\authentication.xroles
[roles-tool] Processing:
D:\projects\xml-cocoon2\build\cocoon\src\org\apache\cocoon\webapps\porta
l\portal.xroles
[roles-tool] Processing:
D:\projects\xml-cocoon2\build\cocoon\src\org\apache\cooon\webapps\sessio
n\session.xroles
[roles-tool] Writing:
D:\projects\xml-cocoon2\build\cocoon\classes\org\apache\cocoon\cocoon.ro
les
[echo] Compiling with Java 1.4, debug on, optimize off, deprecation
off
[javac] Compiling 739 source files to
D:\projects\xml-cocoon2\build\cocoon\classes
[copy] Copying 2 files to
D:\projects\xml-cocoon2\build\cocoon\scratchpad\classes
[javac] Compiling 152 source files to
D:\projects\xml-cocoon2\build\cocoon\scratchpad\classes
[javac]
D:\projects\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon\se
rvlet\CocoonFilterGeneratorImpl.java:128:
org.apache.cocoon.servlet.CocoonFilterGeneratorImpl should be declared
abstract; it does not define init(javax.servlet.FilterConfig) in
org.apache.cocoon.servlet.CocoonFilterGeneratorImpl
[javac] public class CocoonFilterGeneratorImpl implements Filter {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error
BUILD FAILED
d:\projects\xml-cocoon2\build.xml:943: Compile failed, messages should
have been
provided.
Total time: 3 minutes 20 seconds
Is there something that someone forgot to commit?
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Compile problems
Posted by Bernhard Huber <be...@a1.net>.
<snip/>
>D:\projects\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon\se
>rvlet\CocoonFilterGeneratorImpl.java:128:
>org.apache.cocoon.servlet.CocoonFilterGeneratorImpl should be declared
>abstract; it does not define init(javax.servlet.FilterConfig) in
>org.apache.cocoon.servlet.CocoonFilterGeneratorImpl
> [javac] public class CocoonFilterGeneratorImpl implements Filter {
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 1 error
>
>BUILD FAILED
>
>
Hm, I thougt I compiled it with servlet 2.3.....
Now I have applied a patch.
The compiling error happens only if you are using servlet 2.3.
build.xml compiles CocoonFilterGeneratorImpl only if servlet2.3 jar
is available.
So I compiled it using servlet2.3 and it compiles without any compiling
error
bye bernhard
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org