[EMAIL PROTECTED]: Project logging-log4cxx-ant (in module logging-log4cxx) failed

2006-04-26 Thread Gump Integration Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project logging-log4cxx-ant has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- logging-log4cxx-ant :  Apache log4cxx


Full details are available at:

http://vmgump.apache.org/gump/public/logging-log4cxx/logging-log4cxx-ant/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/logging-log4cxx/logging-log4cxx-ant/gump_work/build_logging-log4cxx_logging-log4cxx-ant.html
Work Name: build_logging-log4cxx_logging-log4cxx-ant (Type: Build)
Work ended in a state of : Failed
Elapsed: 5 mins 26 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dapriconv.dir=/usr/local/gump/public/workspace/apr-iconv/dest-26042006 
-Daprutil.dir=/usr/local/gump/public/workspace/apr-util/dest-26042006 
-Dapr.dir=/usr/local/gump/public/workspace/apr/dest-26042006 
-Dcppunit.dir=/usr/local/gump/public/workspace/cppunit/dest-26042006 gump 
[Working Directory: /usr/local/gump/public/workspace/logging-log4cxx]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/cpptasks/build/lib/cpptasks.jar:/usr/local/gump/public/workspace/ant-contrib/build/lib/ant-contrib-26042006.jar
-
make-header-check:

make-header-check:

make-header-check:

make-header-check:
   [cc] 170 total files to be compiled.
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/build/header-check/log4cxx/stream.h:36:
 warning: base class 'struct std::basic_ios 
>' has a non-virtual destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/provisionnode.h:30: 
warning: base class 'class 
std::vector >' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging

[EMAIL PROTECTED]: Project logging-log4cxx-ant-static (in module logging-log4cxx) failed

2006-04-26 Thread Gump Integration Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project logging-log4cxx-ant-static has an issue affecting its community 
integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- logging-log4cxx-ant-static :  Apache log4cxx


Full details are available at:

http://vmgump.apache.org/gump/public/logging-log4cxx/logging-log4cxx-ant-static/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/logging-log4cxx/logging-log4cxx-ant-static/gump_work/build_logging-log4cxx_logging-log4cxx-ant-static.html
Work Name: build_logging-log4cxx_logging-log4cxx-ant-static (Type: Build)
Work ended in a state of : Failed
Elapsed: 5 mins 52 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dapriconv.dir=/usr/local/gump/public/workspace/apr-iconv/dest-26042006 
-Daprutil.dir=/usr/local/gump/public/workspace/apr-util/dest-26042006 
-Dapr.dir=/usr/local/gump/public/workspace/apr/dest-26042006 -Dlib.type=static 
-Dcppunit.dir=/usr/local/gump/public/workspace/cppunit/dest-26042006 gump 
[Working Directory: /usr/local/gump/public/workspace/logging-log4cxx]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/cpptasks/build/lib/cpptasks.jar:/usr/local/gump/public/workspace/ant-contrib/build/lib/ant-contrib-26042006.jar
-
make-header-check:

make-header-check:

make-header-check:

make-header-check:
   [cc] 170 total files to be compiled.
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/build/header-check/log4cxx/stream.h:36:
 warning: base class 'struct std::basic_ios 
>' has a non-virtual destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/provisionnode.h:30: 
warning: base class 'class 
std::vector >' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtu

[EMAIL PROTECTED]: Project logging-log4cxx-ant-no_wchar_t (in module logging-log4cxx) failed

2006-04-26 Thread Gump Integration Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project logging-log4cxx-ant-no_wchar_t has an issue affecting its community 
integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- logging-log4cxx-ant-no_wchar_t :  Apache log4cxx


Full details are available at:

http://vmgump.apache.org/gump/public/logging-log4cxx/logging-log4cxx-ant-no_wchar_t/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/logging-log4cxx/logging-log4cxx-ant-no_wchar_t/gump_work/build_logging-log4cxx_logging-log4cxx-ant-no_wchar_t.html
Work Name: build_logging-log4cxx_logging-log4cxx-ant-no_wchar_t (Type: Build)
Work ended in a state of : Failed
Elapsed: 5 mins 20 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dhas.wchar_t=0 
-Dapriconv.dir=/usr/local/gump/public/workspace/apr-iconv/dest-26042006 
-Daprutil.dir=/usr/local/gump/public/workspace/apr-util/dest-26042006 
-Dapr.dir=/usr/local/gump/public/workspace/apr/dest-26042006 
-Dcppunit.dir=/usr/local/gump/public/workspace/cppunit/dest-26042006 gump 
[Working Directory: /usr/local/gump/public/workspace/logging-log4cxx]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/cpptasks/build/lib/cpptasks.jar:/usr/local/gump/public/workspace/ant-contrib/build/lib/ant-contrib-26042006.jar
-
make-header-check:

make-header-check:

make-header-check:

make-header-check:
   [cc] 170 total files to be compiled.
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/build/header-check/log4cxx/stream.h:36:
 warning: base class 'struct std::basic_ios >' has 
a non-virtual destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/provisionnode.h:30: 
warning: base class 'class 
std::vector >' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::LocationInfo' has a non-virtual 
destructor
   [cc] 
/x1/gump/public/workspace/logging-log4cxx/include/log4cxx/spi/location/locationinfo.h:112:
 warning: base class 'class log4cxx::spi::Locatio

Use std::string with logstream

2006-04-26 Thread Steck, David
Currently, one cannot directly output a std::string through a logstream.  
Rainer Schuetze and I both came up with the suggestion of calling .c_str() in 
an operator<< function, but neither of us felt satisfied with this answer.
http://marc.theaimsgroup.com/?l=log4cxx-user&m=112229621903500&w=2
http://marc.theaimsgroup.com/?l=log4cxx-user&m=113380074400398&w=2

When I looked more closely at the operator<< functions for char, though, I 
discovered the same pattern can be used for std::string.  So, I added those 
functions and am attaching the patch (diff'd against revision 397231 of SVN).

(I believe that the compiler complaint when trying to output std::string 
directly is because logstream is based off logchar, instead of char or wchar.  
The DECODE and ENCODE macros/functions do this conversion, I think.)

I've created an issue for this:
http://issues.apache.org/jira/browse/LOGCXX-135

I've not submitted a patch before.  So, please let me know if I need to do 
something differently.

I'd also like to vote for renaming stream.h to logstream.h.


On another topic, http://issues.apache.org/jira/browse/LOGCXX-82 looks like 
maybe it should be closed?

-David



fixLogstream.diff
Description: fixLogstream.diff


svn commit: r397276 - /logging/log4cxx/trunk/include/log4cxx/helpers/bytearrayinputstream.h

2006-04-26 Thread carnold
Author: carnold
Date: Wed Apr 26 12:18:49 2006
New Revision: 397276

URL: http://svn.apache.org/viewcvs?rev=397276&view=rev
Log:
Bug LOGCXX-125: Broken multiple inclusion guard, header check workaround

Modified:
logging/log4cxx/trunk/include/log4cxx/helpers/bytearrayinputstream.h

Modified: logging/log4cxx/trunk/include/log4cxx/helpers/bytearrayinputstream.h
URL: 
http://svn.apache.org/viewcvs/logging/log4cxx/trunk/include/log4cxx/helpers/bytearrayinputstream.h?rev=397276&r1=397275&r2=397276&view=diff
==
--- logging/log4cxx/trunk/include/log4cxx/helpers/bytearrayinputstream.h 
(original)
+++ logging/log4cxx/trunk/include/log4cxx/helpers/bytearrayinputstream.h Wed 
Apr 26 12:18:49 2006
@@ -15,7 +15,7 @@
  */
 
 #ifndef _LOG4CXX_HELPERS_BYTEARRAYINPUTSTREAM_H
-#define _LOG4CXX_HELPERS_BYTEARRAYNPUTSTREAM_H
+#define _LOG4CXX_HELPERS_BYTEARRAYINPUTSTREAM_H
 
 #include 
 #include 
@@ -33,9 +33,8 @@
   class LOG4CXX_EXPORT ByteArrayInputStream : public InputStream
   {
   private:
-  typedef std::vector ByteArray;
-  ByteArray buf;
-  ByteArray::size_type pos;
+  std::vector buf;
+  size_t pos;
 
   public:
   DECLARE_ABSTRACT_LOG4CXX_OBJECT(ByteArrayInputStream)




Re: Use std::string with logstream

2006-04-26 Thread Andreas Fester
Steck, David wrote:
[...]
> On another topic, http://issues.apache.org/jira/browse/LOGCXX-82 looks like
> maybe it should be closed?

I fixed this some time ago, but AFAIR we left it open
because of some additional issues with the logstream class.
Since the issue which was reported with LOGCXX-82 is indeed
fixed, I would agree to simply close it (and probably open
a new issue for the other problems).

Regards,

Andreas