Issue 41560 - officecfg build failure after gcj1 integration
Summary: officecfg build failure after gcj1 integration
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All Windows Server 2003
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: caolanm
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-28 15:56 UTC by pavel
Modified: 2005-02-14 18:15 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 pavel 2005-01-28 15:56:20 UTC
Hi,

/cygdrive/e/home/pavel/BuildDir/ooo_SRC680_m74s1_src/officecfg/registry/schema/org/openoffice/Office/UI
-------------
-------------+ validating and stripping schema files
mkdir.pl
../../../../../../wntmsci10.pro/misc/registry/schema/org/openoffice/Office/UI/
java -classpath
/cygdrive/e/home/pavel/BuildDir/ooo_SRC680_m74s1_src/solver/680/wntmsci10.pro/bin/jaxp.jar:/cygdrive/e/home/pavel/BuildDir/ooo_SRC680_m74s1_src/solver/680/wntmsci10.pro/bin/parser.jar:../../../../../../wntmsci10.pro/class/cfgimport.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl
org.openoffice.configuration.Inspector Controller.xcs
java.lang.NoClassDefFoundError: org/openoffice/configuration/Inspector
Exception in thread "main" dmake:  Error code 1, while making
'../../../../../../wntmsci10.pro/misc/registry/schema/org/openoffice/Office/UI/Controller.xcs'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making
/cygdrive/e/home/pavel/BuildDir/ooo_SRC680_m74s1_src/officecfg/registry/schema/org/openoffice/Office/UI
pavel@drogo:~/BuildDir/ooo_SRC680_m74s1_src/officecfg> 

java is not prefixed by guw.pl.

From IRC:

<paveljanik> caolan: I have a build issue on Windows/cygwin in officecfg. Your
util/makefile.pmk, rev. 1.31 is a problem there. you changed JAVA to JAVAI, but
JAVAI's java is not prefixed by guw.pl -> build fails. Reverting to 1.30 works
and adding JAVAI=$(WRAPCMD) java into wnt.mk works too.

vq: JFYI.
Comment 1 quetschke 2005-01-28 16:16:26 UTC
I approve adding a
JAVAI=$(WRAPCMD) java      (Should propably be != to stop dmake complaining)
line to wnt.mk below "JAVAC=$(WRAPCMD) javac".

Although that hardcodes the JDK names for W32-tcsh, the better solution would be
to add $(WRAPCMD) in settings.mk in the apropriate places when defining
$(JAVACOMPILER) and $(JAVAINTERPRETER). This way, one could even try to get
the windows build build with cygwin's gcj. (gcj wouldn't need the $(WRAPCMD)
in this case.
Comment 2 caolanm 2005-01-28 16:34:53 UTC
I'm under cmc actually.
Comment 3 caolanm 2005-01-28 17:00:48 UTC
JAVAI!=$(WRAPCMD) java added to !=4NT section of wnt.mk
Comment 4 quetschke 2005-01-31 00:42:39 UTC
I found one occurrence of "$(WRAPCMD) $(JAVAI) .." in helpcontent2/util/target.pmk.

Fixed.
Comment 5 quetschke 2005-01-31 15:35:18 UTC
Verified with W32-tcsh build.
Comment 6 caolanm 2005-02-14 18:15:42 UTC
close