#102 Java5 compatibility

v0.9.8
open
nobody
Build (6)
5
2005-11-05
2005-11-05
No

jwma source code is not compatibile with Java5.

Buildfile: build.xml

init:
[echo] ${build.compiler}

compile:
[mkdir] Created dir: C:\Documents and
Settings\bielik\Desktop\webmail\build
[mkdir] Created dir: C:\Documents and
Settings\bielik\Desktop\webmail\build\classes
[javac] Compiling 87 source files to C:\Documents
and Settings\bielik\Desktop\webmail\build\classes
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaComposeMessage.java:75: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] for (Enumeration enum =
m_Message.getAllHeaderLines();
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaComposeMessage.java:76: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] enum.hasMoreElements();) {
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaComposeMessage.java:77: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] fullhead.append((String)
enum.nextElement())
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaComposeMessage.java:659: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] for (Enumeration enum =
mbp.getAllHeaders(); enum.hasMoreElements();) {
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaComposeMessage.java:659: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] for (Enumeration enum =
mbp.getAllHeaders(); enum.hasMoreElements();) {
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaComposeMessage.java:660: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] Header h = (Header)
enum.nextElement();
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaDisplayMessage.java:378: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] for (Enumeration enum = ((MimeMessage)
msg).getAllHeaderLines();
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaDisplayMessage.java:379: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] enum.hasMoreElements();) {
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\model\ JwmaDisplayMessage.java:380: as of release
1.5, 'enum' is a keyword, and may not be used as an
identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] fullhead.append((String)
enum.nextElement())
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\JwmaK
ernel.java:251: as of release 1.5, 'enum' is a keyword,
and may not be used as an identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] for (Enumeration enum =
props.propertyNames(); enum.hasMoreElements();) {
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\JwmaK
ernel.java:251: as of release 1.5, 'enum' is a keyword,
and may not be used as an identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] for (Enumeration enum =
props.propertyNames(); enum.hasMoreElements();) {
[javac] ^
[javac] C:\Documents and
Settings\bielik\Desktop\webmail\src\dtw\webmail\JwmaK
ernel.java:252: as of release 1.5, 'enum' is a keyword,
and may not be used as an identifier
[javac] (try -source 1.4 or lower to use 'enum' as an
identifier)
[javac] String property = (String)
enum.nextElement();
[javac] ^
[javac] 12 errors

BUILD FAILED

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks