logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject JDK 1.3 compilation problems
Date Fri, 21 May 2004 10:30:11 GMT

Good morning,

I am happy to report that when building log4j under JDK 1.3, there just one 
error.

chainsawCheck:
      [echo] Chainsaw dependant libraries present.

build.chainsaw:
     [javac] Compiling 115 source files to 
C:\home\cgu\ASF\logging-log4j\dist\classes
     [javac] 
C:\home\cgu\ASF\logging-log4j\src\java\org\apache\log4j\chainsaw\ChainsawToolBarAndMenus.java:804:

cannot resolve symbol
     [javac] symbol  : variable SHIFT_DOWN_MASK
     [javac] location: class java.awt.event.KeyEvent
     [javac]       KeyStroke.getKeyStroke(KeyEvent.VK_F3, 
KeyEvent.SHIFT_DOWN_MASK));
     [javac]                                                      ^
     [javac] 1 error

BUILD FAILED
file:c:/home/cgu/ASF/logging-log4j/build.xml:351: Compile failed; see the 
compiler error output for details.


On Google, searching for KeyEvent.SHIFT_DOWN_MASK yields (as the first hit!)

http://www.mail-archive.com/log4j-user@logging.apache.org/msg00645.html

Scott committed a fix, which does not include its declared intention:

http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/chainsaw/ChainsawToolBarAndMenus.java

See in particular revision 1.38.

Compilation under JDK 1.2 was a bit more problematic. I'll follow with a 
report on that.


-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message