I am using Java 1.5 in which enum is a keyword.
C:\temp\download\vizant-0.1.1\vizant>ant test
Buildfile: build.xml
init:
[mkdir] Created dir:
C:\temp\download\vizant-0.1.1\vizant\build\classes
build:
[javac] Compiling 12 source files to
C:\temp\download\vizant-0.1.1\vizant\bui
ld\classes
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.java:45: 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] Enumeration enum = attrs.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.java:46: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.java:47: 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] VizAttr a =
(VizAttr)enum.nextElement();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.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] Enumeration enum =
attrstmt.getAttributes();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.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]
addAttribute((VizAttr)enum.nextElement());
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.java:96: 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] Enumeration enum = getAttributes();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.java:97: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizAt
trStmt.java:98: 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]
buffer.append(enum.nextElement().toString()).append(" ");
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:152: 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] Enumeration enum = as.getAttributes();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:153: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:154: 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] VizAttr attr =
(VizAttr)enum.nextElement();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:198: 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] Enumeration enum = projects.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:199: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:200: 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] Enumeration targetEnum =
((VizProject)enum.nextElement())
[javac]
^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:211: 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] Enumeration enum = projects.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:212: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:213: 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] VizProject oldp =
(VizProject)enum.nextElement();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:242: 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] Enumeration enum = refs.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:243: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:244: 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] VizReference ref =
(VizReference)enum.nextElement();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:289: 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] Enumeration enum = projects.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:290: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:291: 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]
printProject((VizProject)enum.nextElement(),
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:371: 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] Enumeration enum =
clusterRefs.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:372: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:373: 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] VizReference ref =
(VizReference)enum.nextElement();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:425: 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] Enumeration enum = projects.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:426: 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] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
inter.java:427: 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] VizProject project =
(VizProject)enum.nextElement();
[javac]
^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
ojectLoaderImpl.java:161: 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] Enumeration enum = projects.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
ojectLoaderImpl.java:162: 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] while(enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizPr
ojectLoaderImpl.java:163: 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] VizProject project =
(VizProject)enum.nextElement();
[javac]
^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizTa
rget.java:74: as of release 1.5, 'enum' is a keyword,
and may not be used as an i
dentifier
[javac] (try -source 1.4 or lower to use 'enum' as
an identifier)
[javac] Enumeration enum =
references.elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizTa
rget.java:75: as of release 1.5, 'enum' is a keyword,
and may not be used as an i
dentifier
[javac] (try -source 1.4 or lower to use 'enum' as
an identifier)
[javac] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\VizTa
rget.java:76: as of release 1.5, 'enum' is a keyword,
and may not be used as an i
dentifier
[javac] (try -source 1.4 or lower to use 'enum' as
an identifier)
[javac] VizReference r =
(VizReference)enum.nextElement();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\Vizan
t.java:112: as of release 1.5, 'enum' is a keyword, and
may not be used as an ide
ntifier
[javac] (try -source 1.4 or lower to use 'enum' as
an identifier)
[javac] Enumeration enum =
loader.getProjects().elements();
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\Vizan
t.java:113: as of release 1.5, 'enum' is a keyword, and
may not be used as an ide
ntifier
[javac] (try -source 1.4 or lower to use 'enum' as
an identifier)
[javac] while (enum.hasMoreElements()) {
[javac] ^
[javac]
C:\temp\download\vizant-0.1.1\vizant\src\net\sourceforge\vizant\Vizan
t.java:114: as of release 1.5, 'enum' is a keyword, and
may not be used as an ide
ntifier
[javac] (try -source 1.4 or lower to use 'enum' as
an identifier)
[javac]
printer.addProject((VizProject)enum.nextElement());
[javac] ^
[javac] 39 errors
BUILD FAILED
C:\temp\download\vizant-0.1.1\vizant\build.xml:20:
Compile failed; see the compil
er error output for details.
Logged In: YES
user_id=1276716
Fixed in version 0.1.2