To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=44051
                  Issue #:|44051
                  Summary:|build of hsqldb on Linux PPC with SRC680  with
                          |j2sdk1.3.1
                Component:|porting
                  Version:|680m83
                 Platform:|PowerPC
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|ericb
              Reported by:|ericb





------- Additional comments from [EMAIL PROTECTED] Fri Mar  4 00:27:53 -0800 
2005 -------
Hi,

Issue concerns  :  SRC680  m83 on Linux PPC with j2sdk1.3.1, module : hsqldb

with m83 hsqldb build is broken because Swing is not part of j2sdk1.3.1

The log :

Buildfile: build/build.xml

init:

-javaversion4:

javaversion2:

-prepare:

codeswitcher:

switchtojdk11:

switchtojdk12:
     [java] ..........

switchtojdk14:

store:

lib:

-javajsse:
     [echo] ant.java.hasjsse=${ant.java.hasjsse}

classes:

classes12:

classes14:

util:

swing:
    [javac] Compiling 3 source files to
/home/eric/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/classes
    [javac]
/home/eric/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/src/org/hsqldb/util/FontDialogSwing.java:50:
cannot resolve symbol
    [javac] symbol  : class JSpinner  
    [javac] location: package swing
    [javac] import javax.swing.JSpinner;
    [javac]                    ^
    [javac]
/home/eric/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/src/org/hsqldb/util/FontDialogSwing.java:51:
cannot resolve symbol
    [javac] symbol  : class SpinnerNumberModel  
    [javac] location: package swing
    [javac] import javax.swing.SpinnerNumberModel;
    [javac]                    ^
    [javac]
/home/eric/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/src/org/hsqldb/util/FontDialogSwing.java:67:
cannot access org.hsqldb.util.DatabaseManagerSwing
    [javac] bad class file:
/home/eric/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/classes/org/hsqldb/util/DatabaseManagerSwing.class
    [javac] class file has wrong version 48.0, should be 47.0
    [javac] Please remove or make sure it appears in the correct subdirectory of
the classpath.
    [javac]     private static DatabaseManagerSwing fOwner;
    [javac]                    ^
    [javac] 3 errors

BUILD FAILED
/home/eric/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/build/build.xml:325:
Compile failed; see the compiler error output for details.

Total time: 14 seconds
dmake:  Error code 1, while making 
'./unxlngppc.pro/misc/build/so_built_so_hsqldb'

But the build of needed hsqldb.jar is possible using -Dnoswing option, and 
using ant

*A workaround* :

cd $SRC_DIR/hsqldb/unxlngppc.pro/misc/build/hsqldb/build

$ANT -Dnoswing=true jar           

And build is successfull for me

Buildfile: build.xml
init:
-javaversion4:
javaversion2:
-prepare:
codeswitcher:
switchtojdk11:
switchtojdk12:
     [java] ..........
switchtojdk14:
store:
lib:
-javajsse:
     [echo] ant.java.hasjsse=${ant.java.hasjsse}
classes:
classes12:
classes14:
util:
swing:
jar:
      [jar] Building jar:
/home/eric/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/lib/hsqldb.jar

BUILD SUCCESSFUL
Total time: 12 seconds
[EMAIL 
PROTECTED]:~/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/build$ mc

[EMAIL PROTECTED]:~/OpenOffice_680/hsqldb/unxlngppc.pro/misc/build/hsqldb/build$
deliver -force
deliver -- version: 1.78
COPY: build.lst ->
/home/eric/OpenOffice_680/solver/680/unxlngppc.pro/inc/hsqldb/build.lst
COPY: ../unxlngppc.pro/misc/build/hsqldb/lib/hsqldb.jar ->
/home/eric/OpenOffice_680/solver/680/unxlngppc.pro/bin/hsqldb.jar
Statistics:
Files copied: 2
Files unchanged/not matching: 0


*but* I'm a dummy with java, so I ask  : can this be acceptable for a workaround
? This way, can we consider this issue as "fixed" ?

Thank you very much for your help :-)

-- 
eric bachard

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to