carnold | 1 Feb 2008 23:14
Picon
Favicon

svn commit: r617676 - in /logging/log4cxx/trunk/src: main/cpp/ main/include/log4cxx/ main/include/log4cxx/helpers/ main/include/log4cxx/spi/ test/cpp/helpers/

Author: carnold
Date: Fri Feb  1 14:14:52 2008
New Revision: 617676

URL: http://svn.apache.org/viewvc?rev=617676&view=rev
Log:
LOGCXX-219: std::set not DLL exportable in VC 7

Modified:
    logging/log4cxx/trunk/src/main/cpp/file.cpp
    logging/log4cxx/trunk/src/main/cpp/fileinputstream.cpp
    logging/log4cxx/trunk/src/main/cpp/fileoutputstream.cpp
    logging/log4cxx/trunk/src/main/cpp/loggingevent.cpp
    logging/log4cxx/trunk/src/main/cpp/propertiespatternconverter.cpp
    logging/log4cxx/trunk/src/main/include/log4cxx/file.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/fileinputstream.h
    logging/log4cxx/trunk/src/main/include/log4cxx/helpers/fileoutputstream.h
    logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.h.in
    logging/log4cxx/trunk/src/main/include/log4cxx/log4cxx.hw
    logging/log4cxx/trunk/src/main/include/log4cxx/spi/loggingevent.h
    logging/log4cxx/trunk/src/test/cpp/helpers/charsetencodertestcase.cpp

Modified: logging/log4cxx/trunk/src/main/cpp/file.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/file.cpp?rev=617676&r1=617675&r2=617676&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/file.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/file.cpp Fri Feb  1 14:14:52 2008
 <at>  <at>  -30,25 +30,48  <at>  <at> 
 File::File() {
 }
(Continue reading)

carnold | 3 Feb 2008 22:53
Picon
Favicon

svn commit: r618100 - in /logging/log4cxx/trunk: build.xml src/ant/apr-build.xml src/ant/apr-util-build.xml src/ant/common.xml

Author: carnold
Date: Sun Feb  3 13:53:30 2008
New Revision: 618100

URL: http://svn.apache.org/viewvc?rev=618100&view=rev
Log:
LOGCXX-230: Add dependencies to generated project files (requires rev 148 of cpptasks)

Modified:
    logging/log4cxx/trunk/build.xml
    logging/log4cxx/trunk/src/ant/apr-build.xml
    logging/log4cxx/trunk/src/ant/apr-util-build.xml
    logging/log4cxx/trunk/src/ant/common.xml

Modified: logging/log4cxx/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/build.xml?rev=618100&r1=618099&r2=618100&view=diff
==============================================================================
--- logging/log4cxx/trunk/build.xml (original)
+++ logging/log4cxx/trunk/build.xml Sun Feb  3 13:53:30 2008
 <at>  <at>  -515,7 +515,10  <at>  <at> 
         <defineset define="WIN32" if="is-windows"/>
         <compilerarg value="${pic-option}" if="pic-option"/>
         &libsets;
-        <project type="${project.type}" outfile="${projects.dir}/${lib.name}" if="project.if"/>
+        <project type="${project.type}" outfile="${projects.dir}/${lib.name}" if="project.if">
+            <dependency file="${projects.dir}/apr-1"/>
+            <dependency file="${projects.dir}/aprutil-1" depends="apr-1"/>
+        </project>
     </cc>
 </target>
(Continue reading)

carnold | 3 Feb 2008 23:54
Picon
Favicon

svn commit: r618116 - in /logging/log4cxx/trunk/src/test/cpp: abts.cpp helpers/optionconvertertestcase.cpp logunit.cpp logunit.h

Author: carnold
Date: Sun Feb  3 14:54:57 2008
New Revision: 618116

URL: http://svn.apache.org/viewvc?rev=618116&view=rev
Log:
LOGCXX-225: Add assertEquals(const char*), add missing const

Modified:
    logging/log4cxx/trunk/src/test/cpp/abts.cpp
    logging/log4cxx/trunk/src/test/cpp/helpers/optionconvertertestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/logunit.cpp
    logging/log4cxx/trunk/src/test/cpp/logunit.h

Modified: logging/log4cxx/trunk/src/test/cpp/abts.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/abts.cpp?rev=618116&r1=618115&r2=618116&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/abts.cpp (original)
+++ logging/log4cxx/trunk/src/test/cpp/abts.cpp Sun Feb  3 14:54:57 2008
 <at>  <at>  -96,7 +96,7  <at>  <at> 
 abts_suite *abts_add_suite(abts_suite *suite, const char *suite_name_full)
 {
     sub_suite *subsuite;
-    char *p;
+    const char *p;
     const char *suite_name;
     curr_char = 0;

Modified: logging/log4cxx/trunk/src/test/cpp/helpers/optionconvertertestcase.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/helpers/optionconvertertestcase.cpp?rev=618116&r1=618115&r2=618116&view=diff
(Continue reading)

carnold | 5 Feb 2008 08:36
Picon
Favicon

svn commit: r618569 - in /logging/log4cxx/trunk: build.xml src/ant/apr-build.xml src/ant/apr-util-build.xml

Author: carnold
Date: Mon Feb  4 23:36:07 2008
New Revision: 618569

URL: http://svn.apache.org/viewvc?rev=618569&view=rev
Log:
LOGCXX-62: Add vs 2008 project generation

Modified:
    logging/log4cxx/trunk/build.xml
    logging/log4cxx/trunk/src/ant/apr-build.xml
    logging/log4cxx/trunk/src/ant/apr-util-build.xml

Modified: logging/log4cxx/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/build.xml?rev=618569&r1=618568&r2=618569&view=diff
==============================================================================
--- logging/log4cxx/trunk/build.xml (original)
+++ logging/log4cxx/trunk/build.xml Mon Feb  4 23:36:07 2008
 <at>  <at>  -116,7 +116,7  <at>  <at> 
 > ant build-projects-vc6

 Builds Microsoft Visual Studio 6 projects.
--vc8 and -xcode for Visual Studio 8 and Apple Xcode 2 and later.
+-vc8, -vc9 and -xcode for Visual Studio 2005, 2008 and Apple Xcode 2 and later.
 respectively.

 Command line options:
 <at>  <at>  -928,7 +928,17  <at>  <at> 
     </antcall>
 </target>
(Continue reading)

carnold | 6 Feb 2008 19:23
Picon
Favicon

svn commit: r619089 - in /logging/log4cxx/trunk: build.xml src/ant/apr-build.xml src/ant/apr-util-build.xml

Author: carnold
Date: Wed Feb  6 10:23:32 2008
New Revision: 619089

URL: http://svn.apache.org/viewvc?rev=619089&view=rev
Log:
LOGCXX-230: Add comments to generated project files, requires rev 150 of cpptasks

Modified:
    logging/log4cxx/trunk/build.xml
    logging/log4cxx/trunk/src/ant/apr-build.xml
    logging/log4cxx/trunk/src/ant/apr-util-build.xml

Modified: logging/log4cxx/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/build.xml?rev=619089&r1=619088&r2=619089&view=diff
==============================================================================
--- logging/log4cxx/trunk/build.xml (original)
+++ logging/log4cxx/trunk/build.xml Wed Feb  6 10:23:32 2008
 <at>  <at>  -1,4 +1,21  <at>  <at> 
 <?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
(Continue reading)

carnold | 7 Feb 2008 22:43
Picon
Favicon

svn commit: r619653 - /logging/log4cxx/trunk/src/test/cpp/Makefile.am

Author: carnold
Date: Thu Feb  7 13:43:41 2008
New Revision: 619653

URL: http://svn.apache.org/viewvc?rev=619653&view=rev
Log:
LOGCXX-225: Change Makefile.am for change from abts.c to abts.cpp

Modified:
    logging/log4cxx/trunk/src/test/cpp/Makefile.am

Modified: logging/log4cxx/trunk/src/test/cpp/Makefile.am
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/Makefile.am?rev=619653&r1=619652&r2=619653&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/Makefile.am (original)
+++ logging/log4cxx/trunk/src/test/cpp/Makefile.am Thu Feb  7 13:43:41 2008
 <at>  <at>  -127,7 +127,7  <at>  <at> 
         $(db_tests) \
         $(xml_tests) \
         $(nt_tests) \
-        abts.c \
+        abts.cpp \
         asyncappendertestcase.cpp\
         encodingtest.cpp\
         filetestcase.cpp \

carnold | 7 Feb 2008 22:44
Picon
Favicon

svn commit: r619655 - in /logging/log4cxx/trunk: liblog4cxx.pc.in src/performance/cpp/xml/logging1000.xml src/test/resources/input/hierarchyThreshold3.properties

Author: carnold
Date: Thu Feb  7 13:44:56 2008
New Revision: 619655

URL: http://svn.apache.org/viewvc?rev=619655&view=rev
Log:
LOGCXX-62: Add missing source headers

Modified:
    logging/log4cxx/trunk/liblog4cxx.pc.in
    logging/log4cxx/trunk/src/performance/cpp/xml/logging1000.xml
    logging/log4cxx/trunk/src/test/resources/input/hierarchyThreshold3.properties

Modified: logging/log4cxx/trunk/liblog4cxx.pc.in
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/liblog4cxx.pc.in?rev=619655&r1=619654&r2=619655&view=diff
==============================================================================
--- logging/log4cxx/trunk/liblog4cxx.pc.in (original)
+++ logging/log4cxx/trunk/liblog4cxx.pc.in Thu Feb  7 13:44:56 2008
 <at>  <at>  -1,3 +1,17  <at>  <at> 
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
(Continue reading)

carnold | 7 Feb 2008 22:53
Picon
Favicon

svn commit: r619659 - in /logging/log4cxx/trunk/src: Makefile.am performance/

Author: carnold
Date: Thu Feb  7 13:53:16 2008
New Revision: 619659

URL: http://svn.apache.org/viewvc?rev=619659&view=rev
Log:
LOGCXX-232: Remove apparently obsolete src/performance

Removed:
    logging/log4cxx/trunk/src/performance/
Modified:
    logging/log4cxx/trunk/src/Makefile.am

Modified: logging/log4cxx/trunk/src/Makefile.am
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/Makefile.am?rev=619659&r1=619658&r2=619659&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/Makefile.am (original)
+++ logging/log4cxx/trunk/src/Makefile.am Thu Feb  7 13:53:16 2008
 <at>  <at>  -13,4 +13,4  <at>  <at> 
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-SUBDIRS = main examples performance site test
+SUBDIRS = main examples site test

carnold | 7 Feb 2008 23:30
Picon
Favicon

svn commit: r619669 - /logging/log4cxx/trunk/build.xml

Author: carnold
Date: Thu Feb  7 14:30:29 2008
New Revision: 619669

URL: http://svn.apache.org/viewvc?rev=619669&view=rev
Log:
LOGCXX-232: Remove apparently obsolete src/performance

Modified:
    logging/log4cxx/trunk/build.xml

Modified: logging/log4cxx/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/build.xml?rev=619669&r1=619668&r2=619669&view=diff
==============================================================================
--- logging/log4cxx/trunk/build.xml (original)
+++ logging/log4cxx/trunk/build.xml Thu Feb  7 14:30:29 2008
 <at>  <at>  -76,9 +76,6  <at>  <at> 
 <property name="tests.cpp.dir" location="${tests.dir}/cpp"/>
 <property name="tests.resources.dir" location="${tests.dir}/resources"/>
 <property name="tests.output.dir" location="${tests.resources.dir}/output"/>
-<property name="performance.dir" location="${base.dir}/src/performance"/>
-<property name="performance.src.dir" location="${performance.dir}/cpp"/>
-<property name="performance.include.dir" location="${performance.dir}/include"/>
 <property name="m2_repo" location="${user.home}/.m2/repository"/>
 <property name="log4j.version" value="1.2.15"/>
 <property name="log4j.jar" 
 <at>  <at>  -631,14 +628,6  <at>  <at> 
     depends="build-delayedloop, build-trivial, build-stream, build-console"
     description="Builds example programs"/>

(Continue reading)

Jonathan Wakely | 9 Feb 2008 15:12
Picon

failed attempts to build log4cxx from svn

I've just checked log4cxx out from subversion but am unable to even build it:

$ ./autogen.sh
configure.in:40: installing `./missing'
configure.in:40: installing `./install-sh'
src/examples/cpp/Makefile.am: installing `./depcomp'
configure.in:441: required file `src/performance/Makefile.in' not found
configure.in:441: required file `src/performance/cpp/Makefile.in' not found
configure.in:441: required file `src/performance/cpp/xml/Makefile.in' not found

I tried running configure anyway, but it died with:
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in

No Makefile, so I can't use the autotools approach.

I tried to follow the instructions in INSTALL for building with ant,
but ant-contrib doesn't install cpptasks.jar on my system so that
fails too  (i have the ant-contrib-1.0-0.4.b2.fc6 RPM installed on
Fedora 8.)  I tried downloading ant-contrib-1.0b3 from SourceForge but
that doesn't contain cpptasks.jar either.

The Short Introduction to log4cxx says it's a popular logging
framework for C++, but half the wiki pages I looked at for build
instructions were blank and it seems to be far from complete.  Should
I expect to be able to build the lib from subversion?  If not, how do
I go about reviewing the lib and deciding whether to contribute to it,
rather than creating yet another C++ logging framework?
(log4cpp and log4cplus both have non-trivial problems with their
implementations, I was hoping to see if this library was any better,
(Continue reading)


Gmane