Apache OpenOffice (AOO) Bugzilla – Issue 59797
Build fails in xmerge (with java 1.5.0)
Last modified: 2006-06-13 16:09:20 UTC
The build (m147) fails with: ... init: Created dir: D:\w1\SRC680_m147\xmerge\wntmsci10.pro\class\xmerge compile: Compiling 96 source files to D:\w1\SRC680_m147\xmerge\wntmsci10.pro\class\xmerge D:\w1\SRC680_m147\xmerge\source\xmerge\java\org\openoffice\xmerge\ConvertData.java:130: 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 = v.elements(); ^ (more errors snipped) But this was already fixed in CWS morejava, and as you can see here <http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=3001&Path=SRC680%2Fmorejava> already integrated. The fix for "java/org/openoffice/xmerge/ConvertData.java" went into rev. 1.3, *BUT* there is another identical looking tree that is not patched, see here: <http://tools.openoffice.org/source/browse/xml/xmerge/source/xmerge/java/org/openoffice/xmerge/ConvertData.java> and it is unpatched (rev 1.2). Looks like some duplicated code can be removed ;) Please fix the 1.5.0 build problem.
the file in source/xmerge/... needs to be patched. As written in the README and 'JAVA_TREE_IS_DEPRECATED' files in the project directory, the java tree contains the old project structure for reference. This should be removed at some point... SUS: xmlfilter for you
Won't be able to fix this for OOo 2.0.2, retarget to OOo 2.0.3
Dublicate to earlier issue 59368 *** This issue has been marked as a duplicate of 59368 ***
Closed as duplicate