Issue 59797 - Build fails in xmerge (with java 1.5.0)
Summary: Build fails in xmerge (with java 1.5.0)
Status: CLOSED DUPLICATE of issue 59368
Alias: None
Product: xml
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0.3
Assignee: svante.schubert
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks: 53951
  Show dependency tree
 
Reported: 2005-12-26 16:10 UTC by quetschke
Modified: 2006-06-13 16:09 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2005-12-26 16:10:30 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.
Comment 1 lo 2006-01-16 09:50:23 UTC
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
Comment 2 svante.schubert 2006-01-20 11:59:18 UTC
Won't be able to fix this for OOo 2.0.2, retarget to OOo 2.0.3
Comment 3 svante.schubert 2006-01-31 11:55:25 UTC
Dublicate to earlier issue 59368

*** This issue has been marked as a duplicate of 59368 ***
Comment 4 svante.schubert 2006-06-13 16:09:20 UTC
Closed as duplicate