Issue 57284 - gcj4 build fails in xmerge Can't find method importNode
Summary: gcj4 build fails in xmerge Can't find method importNode
Status: CLOSED DUPLICATE of issue 58308
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: 680m136
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: DevTools
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 11:46 UTC by sparcmoz
Modified: 2007-06-27 04:50 UTC (History)
2 users (show)

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


Attachments
Patch (772 bytes, patch)
2005-11-03 20:13 UTC, mkretzschmar
no flags Details | Diff
list of jar in solver (1.36 KB, text/plain)
2005-11-04 12:25 UTC, sparcmoz
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2005-11-03 11:46:24 UTC
A workaround is to put the libgcj.jar into the classpath within
source/xmerge/build.xml

In my case the jar is /usr/share/java/libgcj-4.0.3.jar so I suppose ideally this
should be detected by configure.

/usr/local/bin/gij
-Dgnu.gcj.precompiled.db.path=/home/jim/ooo680/solver/680/unxlngs.pro/lib/openoffice.org.gcjdb
--classpath
.:../../unxlngs.pro/class:/home/jim/JMF-2.1.1e/lib/jmf.jar:/home/jim/JMF-2.1.1e/lib/mediaplayer.jar:/home/jim/JMF-2.1.1e/lib/multiplayer.jar:/home/jim/JMF-2.1.1e/lib/customizer.jar/usr/local/apache-ant-1.6.5/lib/xercesImpl.jar:/usr/local/apache-ant-1.6.5/lib/ant-launcher.jar:/usr/local/apache-ant-1.6.5/lib/ant.jar
-Dant.home=/usr/local/apache-ant-1.6.5 org.apache.tools.ant.Main
-Dbuild.compiler=gcj -Dprj=../.. -Dprjname= -Ddebug=off  -Doptimize=on
-Dtarget=xmerge -Dsolar.update=on -Dout=../../unxlngs.pro -Dinpath=unxlngs.pro 
-Dproext=".pro" -Dsolar.bin=/home/jim/ooo680/solver/680/unxlngs.pro/bin
-Dsolar.jar=/home/jim/ooo680/solver/680/unxlngs.pro/bin 
-Dsolar.doc=/home/jim/ooo680/solver/680/unxlngs.pro/doc
-Dcommon.jar=/home/jim/ooo680/solver/680/common.pro/bin 
-Dcommon.doc=/home/jim/ooo680/solver/680/common.pro/doc -f build.xml  -emacs
Buildfile: build.xml

init:

compile:
Compiling 96 source files to /home/jim/ooo680/xmerge/unxlngs.pro/class/xmerge
/home/jim/ooo680/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/OfficeDocument.java:
In class 'org.openoffice.xmerge.converter.xml.OfficeDocument':
/home/jim/ooo680/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/OfficeDocument.java:
In method
'org.openoffice.xmerge.converter.xml.OfficeDocument.read(java.io.InputStream,boolean)':
/home/jim/ooo680/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/OfficeDocument.java:581:
error: Can't find method 'importNode(Lorg/w3c/dom/Node;Z)' in type
'org.w3c.dom.Document'.
                          tmpNode = contentDoc.importNode(nodeList.item(0),true);
<snip>
20 errors
Comment 1 mkretzschmar 2005-11-03 20:12:11 UTC
For me, the attached patch seems to work.

[Though I think those lines should go to settings.mk ]
Comment 2 mkretzschmar 2005-11-03 20:13:25 UTC
Created attachment 31165 [details]
Patch
Comment 3 sparcmoz 2005-11-04 12:23:43 UTC
That patch does not help me :(
I will attach my jar files list...
Comment 4 sparcmoz 2005-11-04 12:25:15 UTC
Created attachment 31168 [details]
list of jar in solver
Comment 5 sparcmoz 2005-11-25 20:56:32 UTC
Some ideas here:
http://lists.ximian.com/pipermail/openoffice/2005-November/001313.html
Comment 6 sparcmoz 2005-11-26 11:02:34 UTC
This will be solved by issue 58308, see:
http://lists.ximian.com/pipermail/openoffice/2005-November/001314.html

*** This issue has been marked as a duplicate of 58308 ***
Comment 7 Martin Hollmichel 2007-06-27 04:50:16 UTC
close issue.