On Jan 27, 2006, at 7:02 AM, Yoav Shapira wrote:
Howdy,
+1 to cross-posting alpha build announcements to
[EMAIL PROTECTED] It'd be nice to get wider feedback at this
point.
Yoav
I think I'm -0 on releasing Mark's last build. There are a couple
things in the build process that bother me and I think it would be
better to take another day and fix them. Also, I think that it would
be best not to announce release candidates to the log4j-user list, at
least not until the developer community sanity checks the build. I
am able to reproduce Mark's build (with the expected exception of
timestamps in the generated Javadoc files).
My problem with the current build:
1. Failure when running on JDK 1.3
The compilations were done on a JDK 1.4.2 unlike the recent log4j
1.2.x builds which are done on a JDK 1.3.1. Running the distributed
jar files on a JDK 1.3 will throw NoSuchMethodException when doing
date formatting. When compiled using JDK 1.3, calls that append
StringBuilders will be compiled to use StringBuilder.append(Object),
but when compiled using JDK 1.4, they will use a new
StringBuilder.append(StringBuilder) method and which will result in a
NoSuchMethodException when run on a JDK 1.3.
2. Missing NTEventLogAppender.dll
Mark didn't go into the details on his problems. I'm guessing that
it might have been related to the hassle of installing the Microsoft
Platform SDK to get access to the Microsoft Message Compiler. The
Message Compiler is used to compile src/java/org/apache/log4j/nt/
EventLogCategories.mc into a small resource file and binary file.
The output of the message compiler is tiny (less than 200 bytes) and
slow changing and downloading the Platform SDK is huge, so it would
probably be worthwhile just to cache the output of the Message
Compiler into the SVN so that only MinGW is needed to build the DLL.
3. -breakiterator switch on Javadoc
The -breakiterator switch (introduced in JDK 1.4) is used in
build.xml. I'm not sure how it improves first sentence detection,
but probably best to remove it and address javadoc formatting issues
another way.
4. Use of Ant 1.6.4
The candidate build was built using Ant 1.6.4 which was the
recommended release for only two weeks (19-May-2005 to 2-June-2005).
Ant 1.6.5 has been the recommended release since June 2005. Don't
suspect that we are subject to any of the bugs reported in Ant 1.6.4,
but it would be better to use a much more widely used version of Ant.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]