BUG: JTidy-04aug2000r7 build failure
Attempt to build JTidy on Mac OS X 10.4.7 (J2RE version 1.5.0_06) fails.
Here is the compiler output
---> Building jtidy with target jar javadoc
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev" && ant jar javadoc" returned error 1
Command output: Buildfile: build.xml
init:
compile:
[javac] Compiling 80 source files to /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/build
[javac] This version of java does not support the classic compiler; upgrading to modern
[javac] /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/src/org/w3c/tidy/Configuration.java:126: 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 = p.propertyNames();
[javac] ^
[javac] /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/src/org/w3c/tidy/Configuration.java:127: 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] /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/src/org/w3c/tidy/Configuration.java:129: 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 key = (String) enum.nextElement();
[javac] ^
[javac] 3 errors
BUILD FAILED
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_java_jtidy/work/jtidy-04aug2000r7-dev/build.xml:63: Compile failed; see the compiler error output for details.
Change History (6)
Summary: |
JTidy fails to build →
BUG: JTidy fails to build
|
Summary: |
BUG: JTidy fails to build →
BUG: JTidy-04aug2000r7 build failure
|
Cc: |
mww@… removed
|
Description: |
modified (diff)
|
Port: |
jtidy added
|
Cc: |
jmr@… added
|
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Milestone Port Bugs deleted