ExclusiveLock on Mono/Linux

2011-09-15 Thread Stefan Bodewig
Hi,

I'm down to one failing test on my Ubuntu Linux box (Ubuntu 10.4 with
Mono 2.4, I'm conservative 8-):
RollingFileAppender.TestExclusiveLockLocks.

What happens on Linux is that an attempt to open a locked file throws an
exception (as expected by the test) but the file is truncated anyway.
After that when the next statement gets written the file is filled with
zero bytes up to the length it had before and then the new text is
appended.

This likely is a bug in the specific version of Mono but may be worth
highlighting in the docs - something like "ExclusiveLock is known to
have issues with some versions of Mono on Linux".

Stefan


Re: Does anybody have any idea on where to find the really old framework (and CF) SDKs?

2011-09-15 Thread Stefan Bodewig
On 2011-09-15, Roy Chastain wrote:

> I have successfully installed VS 2008 and even VS 2005 after installing
> VS 2010.

I was hoping to set up my build machine without installing anything
non-free 8-(

> Just in case, do not confuse the Compact Framework with the 3.5/4.0
> Client Framework or the Windows Phone 7 code.

Don't worry.

> You have to go back to VS.NET (circa 2000) for .NET 1.0.  I really hope
> no one is still using 1.0.

Maybe it is time to drop support for it with 1.2.11 already.

Stefan


RE: Does anybody have any idea on where to find the really old framework (and CF) SDKs?

2011-09-15 Thread Roy Chastain
I have successfully installed VS 2008 and even VS 2005 after installing
VS 2010.  As I recall, installing VS 2005 and including the either
"mobile" or "phone tools" installs the .NET Compact Framework.  Just in
case, do not confuse the Compact Framework with the 3.5/4.0 Client
Framework or the Windows Phone 7 code.

You have to go back to VS.NET (circa 2000) for .NET 1.0.  I really hope
no one is still using 1.0.

--
Roy Chastain




-Original Message-
From: Stefan Bodewig [mailto:bode...@apache.org] 
Sent: Thursday, September 15, 2011 10:33
To: log4net-dev@logging.apache.org
Subject: Does anybody have any idea on where to find the really old
framework (and CF) SDKs?

Hi all,

I now have an environment that builds .NET 1.1 up to 4.0 (including
client profile) and both Mono targets.

For .NET 1.0 and ECMA I can't find any traces, for SSCLI 1.0 I do find
hints at a source code only download for the 2.0 version but don't have
any idea whether this would work with NAnt (and needed to figure out how
to build it in the first place).  Any ideas?

For compact framework I have installed the 3.5 runtime but the thing
closest to a SDK I have found is the Windows Phone 6 SDK which requires
VS 2008 (the real one, not Express) and before I try my luck and try to
install it on a system with VS 2010 I thought I'd better ask whether I'm
overlooking something here as well.

Stefan


Does anybody have any idea on where to find the really old framework (and CF) SDKs?

2011-09-15 Thread Stefan Bodewig
Hi all,

I now have an environment that builds .NET 1.1 up to 4.0 (including
client profile) and both Mono targets.

For .NET 1.0 and ECMA I can't find any traces, for SSCLI 1.0 I do find
hints at a source code only download for the 2.0 version but don't have
any idea whether this would work with NAnt (and needed to figure out how
to build it in the first place).  Any ideas?

For compact framework I have installed the 3.5 runtime but the thing
closest to a SDK I have found is the Windows Phone 6 SDK which requires
VS 2008 (the real one, not Express) and before I try my luck and try to
install it on a system with VS 2010 I thought I'd better ask whether I'm
overlooking something here as well.

Stefan


Re: Internals question

2011-09-15 Thread Stefan Bodewig
On 2011-09-15, Roy Chastain wrote:

> Hopefully someone knows the answer so I do not have to search through
> the code.

I did a quick grepp through the code as I wasn't sure myself.

> If a configuration for an appender is activated, then changed and
> activated again, is there a new instance of the appender class or is the
> old instance reused?

AFAICT the only place new instances of appenders are ever created is in
XmlHierarchyConfigurator.ParseAppender which means unless you
reconfigure the Hierarchy the old instances are re-used.

Stefan


Internals question

2011-09-15 Thread Roy Chastain
Hopefully someone knows the answer so I do not have to search through
the code.

If a configuration for an appender is activated, then changed and
activated again, is there a new instance of the appender class or is the
old instance reused?

--
Roy Chastain