Author: grobmeier Date: Wed Jun 20 09:25:02 2012 New Revision: 822469 Log: added log4cxx to the cms Added: websites/production/loggingtest/content/log4cxx/ websites/production/loggingtest/content/log4cxx/0.x (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/ant.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/autotools.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/maven.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/vstudio.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/xcode.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/changes-report.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/css/ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/css/maven-base.css (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/css/maven-theme.css (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/css/print.css (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/css/site.css (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/dependencies.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/download.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/faq.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/add.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/close.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/collapsed.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/expanded.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/external.png (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/fix.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/icon_error_sml.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/icon_help_sml.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/icon_info_sml.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/icon_success_sml.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/icon_warning_sml.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/logos/ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/logos/build-by-maven-black.png (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/logos/build-by-maven-white.png (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/logos/maven-feather.png (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/ls-logo.jpg (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/newwindow.png (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/od.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/remove.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/rss.png (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/images/update.gif (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/index.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/issue-tracking.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/license.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/mail-lists.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/project-info.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/project-reports.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/source-repository.html (with props) websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/stylesheets/ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/stylesheets/project.html (with props) Added: websites/production/loggingtest/content/log4cxx/0.x ============================================================================== --- websites/production/loggingtest/content/log4cxx/0.x (added) +++ websites/production/loggingtest/content/log4cxx/0.x Wed Jun 20 09:25:02 2012 @@ -0,0 +1 @@ +link log4cxx-0.11.0-SNAPSHOT \ No newline at end of file Propchange: websites/production/loggingtest/content/log4cxx/0.x ------------------------------------------------------------------------------ svn:special = * Added: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/ant.html ============================================================================== --- websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/ant.html (added) +++ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/ant.html Wed Jun 20 09:25:02 2012 @@ -0,0 +1,199 @@ + + + + + + + Building Apache log4cxx with Apache Ant + + + + + + + + +
+ +
+
+
+

Building Apache log4cxx with Apache Ant

Apache Ant with cpptasks from the Ant-Contrib project can be used to build log4cxx with supported compilers and is also used to generate the IDE project files included in the releases. The Apache Maven build which is used to generate the site documentation and release packaging delegates to this build. The Ant build can build APR and APR-Util if source is available.

Quick start:

  • Install Apache Ant 1.6.5 or later.
  • Install cpptasks 1.0b5 or later from the Ant-Contrib Project. ant-contribs 1.0b3 or later is needed for some less frequent build targets.
  • Install APR and APR-Util or place source in apr and apr-util directories as a sibling to the log4cxx directory.
  • Install gzip and zip (used for compression by RollingFileAppender) and sed (used to normalize output files for comparison in unit tests).
  • Install log4j 1.2. Used in testing of SocketAppender.

    Building and testing log4cxx on a Unix platform with packaged APR and APR-Util.

    $ export CLASSPATH=~/cpptasks/cpptasks-1.0b5.jar
    +$ cd apache-log4cxx-0.10.0
    +$ ant

    Building and testing log4cxx on a Unix platform with APR and APR-Util built from source.

    $ export CLASSPATH=~/cpptasks/cpptasks-1.0b5.jar
    +$ tar -xvzf apr-1.2.12.tar.gz
    +$ mv apr-1.2.12 apr
    +$ tar -xvzf apr-util-1.2.12.tar.gz
    +$ mv apr-util-1.2.12 apr-util
    +$ cd apache-log4cxx-0.10.0
    +$ ant

    Building and testing log4cxx on a Microsoft Windows with APR and APR-Util built from source.

    set PATH=\apache-ant-1.7.0\bin;%PATH%
    +set CLASSPATH=\cpptasks\cpptasks-1.0b5.jar
    +tar -xvzf apr-1.2.12.tar.gz
    +rename apr-1.2.12 apr
    +tar -xvzf apr-util-1.2.12.tar.gz
    +rename apr-util-1.2.12 apr-util
    +cd apache-log4cxx-0.10.0
    +ant -Dfind=false

Common ant targets

buildbuild log4cxx library.
checkbuild logcxx library and build and run unit tests and examples.
cleanDelete all generated files.
build-unittestbuild log4cxx library and unit test.
run-socketserverTests SocketAppender with Java-based receiver.
build-projects-vc6Build Microsoft Visual Studio 6 project files.
build-projects-vc7Build Microsoft Visual Studio .NET project files.
build-projects-vc8Build Microsoft Visual Studio 2005 project files.
build-projects-vc9Build Microsoft Visual Studio 2008 project files.
build-projects-xcodeBuild Apple Xcode project files.

All build products will be placed in the target subdirectory.

Project files should be generated after successfully building the library, however it is possible to generate Microsoft Visual Studio project files on other platforms. The project files will typically be missing references to the Platform SDK libraries. The Maven project modifies the generated project files for release preparation. Generation of Xcode projects from Microsoft Windows is not supported.

ant options

-Dco mpilerCompiler, see cpptasks documentation for full list.
-DdebugBuild for debugging, yes (default), no.
-DfindAttempt to locate compiled APR and APR-Util, yes (default), no.
-Dwith-aprpath to non-default location for APR.
-Dwith-apr-utilpath to non-default location for APR-Util.
-Denable-wchar_tEnable wchar_t API methods, choice of yes (default), no.
-Denable-unicharEnable UniChar API methods, choice of yes, no (default).
-Denable-cfstringEnable CFString API methods, requires Mac OS/X CoreFoundation, choice of yes, no (default ).
-Dwith-logcharInteral character representation, choice of utf-8 (default), wchar_t , unichar.
-Dwith-charsetExteral character encoding, choice of utf-8, iso-8859-1, usascii, ebcdic, auto (default).
-Dwith-SMTPSMTP implementation for SMTPAppender, choice of libesmtp, no (default).
-Dwith-ODBCOBDC implementation for ODBCAppender, choice of unixODBC, iODBC, Microsoft, no (default).
-Dlog4j.jarPath to log4j.jar for run-socketserver.
-Dprojects.dirLocation for generated IDE projects.
-Dlib.typeLibrary type to create, choice of shared (default), static .
-DruntimeType of C runtime library to use, choice of dynamic (default), static.
-DoptimizationOptimization: none (default), size, minimal, speed, full, aggressive, extreme, unsafe.
-pDisplay available targets and quit.

SMTP and ODBC options can depend on libraries that that have different licenses. You should review the corresponding licenses and understand the implications before redistribution.

Combining -Dlib.type=shared and -Druntime=static is unsafe.

Properties may also be placed in a build.properties file in the log4cxx directory.

Platform specific notes:

  • Microsoft Windows

    GnuWin32 provides binary vers ions of sed, gzip and zip. Alternative, the bin directory of Cygwin may be placed on the path.

    If -Dwith-SMTP=libesmtp is specified, the build will attempt to build libesmtp from source, unfortunately libesmtp depends on poll.h and will not build.

    APR 1.2.12 has a known issue that will prevent compilation with Visual Studio 6 unless a later Platform SDK is installed. See APR bug 44327. APR 1.2.11 and the corresponding APR-Util 1.2.10 will compile with Visual Studio 6.

  • Cygwin:

    gcc 3.x does not provide wchar_t support which needs to be explicitly disabled. The Win32 path to the APR libraries need to be provided (CYGWIN_HOME/lib) if compiling against an installed APR and APR-Util.

    $ cd apache-log4cxx-0.10.0
    +$ ant -Dos.family=cygwin \
    +   -Dwith-apr=/cygwin/lib \
    +   -Dwith-apr-util=/cygwin/lib \
    +   -Denable-wchar_t=0
  • MinGW:
    $ cd apache-log4cxx-0.10.0
    +$ path c:\mingw\bin;%PATH%
    +$ ant -Dcompiler=gcc -Dfind=false build-all
    +$ cd src\test\resources
    +$ set TOTO=wonderful
    +$ set key1=value1
    +$ set key2=value2
    +$ ..\..\..\target\debug\shared\testsuite -v 
    +$ ..\..\..\target\debug\shared\trivial
    +$ ..\..\..\target\debug\shared\stream 

    Running "ant check" was observed to fail with unexpected exceptions in streamtestcase and datetimedateformattestcase. See LOGCXX-244.

  • Debian:

    Apache APR, APR-Util, Ant and log4j and zip may be installed using:

    $ sudo apt-get install libapr1.0-dev libaprutil1.0-dev \
    +      ant ant-optional liblog4j1.2-java zip
  • Mac OS/X:

    APR and APR-Util are provided by the platform in Mac OS/X 10.5 and iODBC in 10.4.

    Site generation requires "doxygen" command on path which can be provided by installing Doxygen.app and then setting the path like:

    $ setenv PATH /Applications/Doxygen.app/Contents/Resources:$PATH
+
+
+
+
+
+ + + Propchange: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/ant.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/autotools.html ============================================================================== --- websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/autotools.html (added) +++ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/autotools.html Wed Jun 20 09:25:02 2012 @@ -0,0 +1,199 @@ + + + + + + + Building Apache log4cxx with autotools + + + + + + + + +
+ +
+
+
+

Building Apache log4cxx with autotools

Quick start:

Install or build apr 1.x, apr-util 1.x, gzip and zip.

$ cd apache-log4cxx-0.10.0
+$ ./configure
+$ make
+$ make check
+$ sudo make install

configure options

--with-aprpath to non-default location for APR.
--with-apr-utilpath to non-default location for APR-Util.
--enable-wchar_tEnable wchar_t API methods, choice of yes (default), no.
--enable-unicharEnable UniChar API methods, choice of yes, no (default).
--enable-cfstringEnable CFString API methods, requires Mac OS/X CoreFoundation, choice of yes, no (default).
--with-logcharInteral character representation, choice of utf-8 (default), wchar_t , unichar.
--with-charsetExteral character encoding, choice of utf-8, iso-8859-1, usascii, ebcdic, auto (default).
--with-SMTPSMTP implementation for SMTPAppender, choice of libesmtp, no (default).
--with-ODBCOBDC implementation for ODBCAppender, choice of unixODBC, iODBC, Microsoft, no (default).
-helpDisplay help showing all options and exit.

SMTP and ODBC options can depend on libraries that that have different licenses. You should review the corresponding licenses and understand the implications before redistribution.

Platform specific notes:

Mac OS/X:

APR and APR-Util are provided by the platform in Mac OS/ X 10.5 and iODBC in 10.4.

Debian:

APR, APR-Util and zip may be installed by:

$ sudo apt-get install libapr1.0-dev libaprutil1.0-dev zip

FreeBSD:

APR, APR-Util and zip may be installed from the ports collection by:

# cd /usr/ports/archivers/zip
+# make
+# make install
+# cd /usr/ports/devel/apr
+# make
+# make install

Cygwin:

Install zip (used by RollingFileAppender) and sed (used to normalize output files for comparison in the unit tests). The prepackaged APR currently available from Cygwin has APR_HAS_THREADS == 0. Some appenders will not be available and some may operate with reduced functionality. There have been reports of building APR on Cygwin with threads enabled.

MinGW:

Recent APR 1.2.x releases fail ./configure with a error of "decision on anonymous shared memory failed". That issue has been fixed in the current APR SVN HEAD. The follow sequence worked with MSYS (with Python on Path):

$ cd expat-2.0.1
+$ ./configure
+$ make install
+$ cd ..
+$ svn co https://svn.apache.org/repos/asf/apr/apr/trunk apr
+$ cd apr
+$ ./buildconf.sh
+$ ./configure 
+$ make install
+$ cd ..
+$ svn co \
+   https://svn.apache.org/repos/asf/apr/apr-util/trunk \
+   apr-util
+$ cd apr-util
+$ ./buildconf.sh
+$ ./configure --with-apr=/usr/local --with-expat=/usr/local
+$ make install
+$ cd ../apache-log4cxx-0.10.0
+$ ./configure --with-apr=/usr/local \
+   --with-apr-util=/usr/local --with-logchar=wchar_t
+$ make install

Running "make check" was observed to fail with unexpected exceptions in streamtestcase and datetimedateformattestcase. See LOGCXX-244.

+
+
+
+
+
+ + + Propchange: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/autotools.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/maven.html ============================================================================== --- websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/maven.html (added) +++ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/maven.html Wed Jun 20 09:25:02 2012 @@ -0,0 +1,179 @@ + + + + + + + Building Apache log4cxx with Apache Maven 2 + + + + + + + + +
+ +
+
+
+

Building Apache log4cxx with Apache Maven 2

Apache Maven 2 is used to generate the release assemblies and generate product documentation. It delegates to the Apache Ant build to build and test log4cxx and can be used as an alternate front end to the Ant build process since it can automatically download and use ant-contrib, cpptasks and log4j. The Maven build, like the Ant build, can build APR and APR-Util from source.

Quick start:

  • Install Apache Maven 2.0.8 or later.
  • Install APR and APR-Util or place source in apr and apr-util directories in same parent directory as log4cxx directory.

    Building and testing log4cxx on a Unix platform with packaged APR and APR-Util.

     sudo apt-get install libapr1.0-dev libaprutil1.0-dev doxygen
    + cd apache-log4cxx-0.10.0
    + export PATH=/home/myself/maven-2.0.8/bin:$PATH
    + mvn package

    Building and testing log4cxx on a Microsoft Windows with APR and APR-Util built from source.

     set PATH=\maven-2.0.8\bin;%PATH%
    + tar -xvzf apr-1.2.12.tar.gz
    + rename apr-1.2.12 apr
    + tar -xvzf apr-util-1.2.12.tar.gz
    + rename apr-util-1.2.12 apr-util
    + cd apache-log4cxx-0.10.0
    + mvn package

Common Maven targets

compilebuild log4cxx library.
packagebuild logcxx library and build and run unit tests and examples.
siteGenerate documentation and IDE project files, requires doxygen.
site assembly:assemblyGenerate snapshot tarball and zip file.
site-deployPublish website to staging area on ASF subversion repository (requires credentials).
cleanDelete all generated files.

All build products will be placed in the target subdirectory.

It is not possib le to directly pass options to the Ant build, however the ant build will read any build.properties file in the log4cxx directory.

SMTP and ODBC options can depend on libraries that that have different licenses. You should review the corresponding licenses and understand the implications before redistribution.

Platform specific notes:

See the Apache Ant build for platform specific notes.

+
+
+
+
+
+ + + Propchange: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/maven.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/vstudio.html ============================================================================== --- websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/vstudio.html (added) +++ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/vstudio.html Wed Jun 20 09:25:02 2012 @@ -0,0 +1,176 @@ + + + + + + + Building Apache log4cxx with Microsoft Visual Studio + + + + + + + + +
+ +
+
+
+

Building Apache log4cxx with Microsoft Visual Studio

Preparation

unzip apr-1.2.11-win32-src.zip
+rename apr-1.2.11 apr
+unzip apr-util-1.2.10-win32-src.zip
+rename apr-util-1.2.10 apr-util
+cd apache-log4cxx-0.10.0
+configure
+configure-aprutil

configure.bat copies the prefabricated log4cxx.hw and private/log4cxx_private.hw over to log4cxx.h and private/log4cxx_private.h.

configure-aprutil.bat uses "sed" to modify apu.hw and apr_ldap.hw to disable APR-Iconv and LDAP which are not necessary for log4cxx and problematic to build. If "sed" is not available, the modifications would be trivial to do in any text editor.

Use the Win32 source zips for APR and APR-Util to preserve the required line endings for the project files. Directories need to be renamed to "apr" and "apr-util" respectively.

Building log4cxx.dll

Open projects/log4cxx.dsw with Microsoft Visual Studio 6 or later at which time you may be prompted to upgrade the projects to the format used by your version of Microsoft Visual Studio.

Select log4cxx as active project and build.

Running unit tests

To pass the unit tests, gzip, zip and sed must be on the path. Also three environment variables need to be defined: TOTO=wonderful, key1=value1 and key2=value2. These must be done outside of Microsoft Visual Studio, either in the Control Panel or in a Command Prompt uses to launch Microsoft Visual Studio.

Open projects/testsuite.dsw or projects/testsuite-standalone.dsw (test suite and implementation in one project) in Microsoft Visual Studio, select active project and build.

On the Debug Tab of the Project/Settings dialog, set the Working Directory to "../src/test/resources". Individual tests can be specified in Program Arguments and "-v" can be specified to output verbose test results.

Known Issues

  • APR 1.2.12 has a known issue that will prevent compilation with Visual Studio 6 unless a later Platf orm SDK is installed. See APR bug 44327. APR 1.2.11 and the corresponding APR-Util 1.2.10 will compile with Visual Studio 6.
  • APR-Util requires later LDAP headers than provided with Visual Studio 6 and will fail to compile. log4cxx does not use LDAP, it can be disabled in apr_ldap.hw.
  • APR-Iconv is problematic and not used by log4cxx, it can be disabled in apu.hw.
+
+
+
+
+
+ + + Propchange: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/vstudio.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/xcode.html ============================================================================== --- websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/xcode.html (added) +++ websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/xcode.html Wed Jun 20 09:25:02 2012 @@ -0,0 +1,172 @@ + + + + + + + Building Apache log4cxx with Apple Xcode + + + + + + + + +
+ +
+
+
+

Building Apache log4cxx with Apple Xcode

Building log4cxx.dylib

Run configure to generate log4cxx.h and log4cxx_private.h then launch Xcode.

cd apache-log4cxx-0.10.0
+./configure
+open projects/log4cxx.xcodeproj

Running unit tests

Run configure then open projects/testsuite.xcodeproj or projects/testsuite-standalone.xcodeproj (test suite and implementation in one project) in Xcode.

The unit tests require the working directory and several environment variables to be set. To set these, elect the executable in Groups & Files and press Info and:

  • In the General pane, set Working Directory to Custom with path "../src/test/resources".
  • In the Arguments pane, add following key value pairs to "Variables to be set in the environment": TOTO=wonderful, key1=value1 and key2=value2.
  • In the Arguments pane, add "-v" for verbose output, or individual test names in "Arguments to be passed on launch".

Issues

The project file generation does does not properly create an entry in the "Link Binary with Libraries" build phase for projects (such as the examples and unit tests) that depend on log4cxx. To work around the problem, open the project in Xcode and in the Groups & Files pane, drag log4cxx.dylib and drop on the "Link Binary with Libraries" folder under Targets.

See issue LOGCXX-245 for further information.

The projects provided in the release target Mac OS/X 10.5 which provides preinstalled APR and APR-Util libraries. To generate XCode projects to target Mac OS/X 10.4, set up the ant build and then "ant build-projects-xcode -Dfind=false".

+
+
+
+
+
+ + + Propchange: websites/production/loggingtest/content/log4cxx/log4cxx-0.11.0-SNAPSHOT/building/xcode.html ------------------------------------------------------------------------------ svn:eol-style = native