cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Zehetbauer <thom...@hostmaster.org>
Subject Cocoon 2.1.5.1 with J2SDK-1.5.0-b2
Date Sat, 24 Jul 2004 20:49:11 GMT
Hi,

I have just attempted to build cocoon 2.1.5.1 with j2sdk-1.5.0-b2 and
stumbled across the following errors.

Regards
Tom

/home/thomasz/src/cocoon-2.1.5.1/src/blocks/scratchpad/java/org/apache/cocoon/components/flow/javascript/fom/AO_FOM_Cocoon.java:53:
unmappable character for encoding UTF8
 * @author <a href="mailto:reinhard.at.apache.org">Reinhard P�tz</a>
                                                             ^
/home/thomasz/src/cocoon-2.1.5.1/src/blocks/scratchpad/java/org/apache/cocoon/components/flow/javascript/fom/AO_FOM_JavaScriptInterpreter.java:86:
unmappable character for encoding UTF8
 * @author <a href="mailto:reinhard@apache.org">Reinhard P�tz</a>
                                                          ^
/home/thomasz/src/cocoon-2.1.5.1/src/blocks/scratchpad/java/org/apache/cocoon/components/flow/javascript/fom/JavaScriptAspectWeaver.java:85:
unmappable character for encoding UTF8
 * @author <a href="mailto:reinhard@apache.org">Reinhard P�tz</a>
                                                          ^
/home/thomasz/src/cocoon-2.1.5.1/src/blocks/scratchpad/java/org/apache/cocoon/generation/JellyGenerator.java:139:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
            Enumeration enum = request.getParameterNames();
                        ^
/home/thomasz/src/cocoon-2.1.5.1/src/blocks/scratchpad/java/org/apache/cocoon/generation/JellyGenerator.java:140:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
            while (enum.hasMoreElements()) {
                   ^
/home/thomasz/src/cocoon-2.1.5.1/src/blocks/scratchpad/java/org/apache/cocoon/generation/JellyGenerator.java:141:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
                String var = (String) enum.nextElement();
                                      ^

/home/thomasz/src/cocoon-2.1.5.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/acting/LoginAction.java:64:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
        String[] enum = par.getNames();
                 ^
/home/thomasz/src/cocoon-2.1.5.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/acting/LoginAction.java:65:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
        if (enum != null) {
            ^
/home/thomasz/src/cocoon-2.1.5.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/acting/LoginAction.java:66:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
            for(int i = 0; i < enum.length; i++) {
                               ^
/home/thomasz/src/cocoon-2.1.5.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/acting/LoginAction.java:67:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
                final String key = enum[i];
                                   ^

/home/thomasz/src/cocoon-2.1.5.1/src/blocks/naming/java/org/apache/cocoon/transformation/LDAPTransformer.java:2163:
cannot find symbol
symbol  : constructor InitialDirContext(java.util.Properties)
location: class javax.naming.directory.InitialDirContext
                ctx = new InitialDirContext(env);
                      ^




Mime
View raw message