[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building log4j with free compiler (was: [Alan Tam] Re: IMPORTANT [RFS] l

From: Arnaud Vandyck
Subject: Building log4j with free compiler (was: [Alan Tam] Re: IMPORTANT [RFS] liblog4j1.2-java build from sources)
Date: Sun, 01 Aug 2004 17:59:36 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)


I've tried to build log4j with free compilers but it fails. Alan Tam
investigate a lot more and here is the result.

Thanks to him,


--- Begin Message --- Subject: Re: IMPORTANT [RFS] liblog4j1.2-java build from sources Date: Fri, 30 Jul 2004 19:05:30 +0800 User-agent: Mozilla Thunderbird 0.7+ (Windows/20040722)

On 2004-07-28 20:38, Arnaud Vandyck wrote:

>So I built log4j with sablevm, ant1.6 and jikes... but it fails. I don't
>know why but I've been unable to 'exclude' classes to build. So at the
>moment, log4j is built using jikes-classpath (oups, I forgot 'classpath'
>dependency) and fastjar... and all classes are not built!
>This is the line to find all the sources to be built:
>  files = $(shell find src/java -name \*.java \
>            | grep -v chainsaw | grep -v lf5 \
>            | grep -v jms | grep -v jmx | grep -v JMS)
>And this is the lines two install the package:
>  deb ./
>  deb-src ./
I have just tested building log4j1.2-1.2.8 with sablevm, ant1.6 and 
jikes. Only 2 build problems occurred:

1. lf5/viewer failed to build because of the following missing methods:
   - javax.swing.JTable.getRowHeight
   - javax.swing.JTable.sizeColumnsToFit
   - javax.swing.JTable.setRowHeight
   - javax.swing.JTextArea.setWrapStyleWord
   - javax.swing.JTree.setCellEditor
   - javax.swing.JTree.setShowsRootHandles
   - javax.swing.JTree.expandPath
   - javax.swing.JTree.collapsePath
   - javax.swing.JTree.getPathForLocation
   - javax.swing.JTree.getRowBounds
   - javax.swing.JTree.getRowCount
   - javax.swing.JTree.isExpanded
   - src/java/org/apache/log4j/lf5/viewer/
   - src/java/org/apache/log4j/lf5/viewer/
   - src/java/org/apache/log4j/lf5/viewer/
This should be solved if lf5/viewer (or the whole lf5, which was 
introduced in version 1.2.5) is removed from the package, maybe moved to 
a second package.

2. rmic fails even after set to use the one from kaffe. But this affects 
the RMI example only, which is safe to ignore.

>So here are the possible way (if there are more, thanks to comment):
>. log4j stays in free but without some packages (chainsaw, lf5, jmx and
>  jms)
>. log4j goes back to contrib and will be built with non-free JVM's
>. we make two packages available.
>Thanks for your time and comments,
Given "This version of LogFactor5 is not completely integrated with 
log4j [1], I suppose we can first remove the offending packages to fix 
the rc bug and after the problem it solved, it is split into a second 



To UNSUBSCRIBE, email to address@hidden
with a subject of "unsubscribe". Trouble? Contact address@hidden

--- End Message ---

 : :' :rnaud
 `. `'  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]