Hi Dominik

Yes I know. I contacted Stefan (I think - October aor November) when I finished port. He asked me to put it on the mailing list, so we could discuss it.

I don't know Your decision and roadmap or even if this is interesting for You. I could split it, port it to be ready for iOS and Android and then raise pull request. As far as I can remember Stefan said that I used some obsolete constructor for AndroidAppender. Stuff like this - it would be the best if You guys coudl check and correct.

I could prepare Xamarin.Component I have submitted it - had some problems during runs in Xamarin Component team, although it passed their Test Cloud Tests without any problems. So my idea was before further steps to contact You and do the changes if YOu agree.

thanks

regards

mel

On 2014.02.04 11:58, Dominik Psenner wrote:
Stefan posted the outline of this idea already a few months past:

http://mail-archives.apache.org/mod_mbox/logging-log4net-dev/201310.mbox/%3C
87hac6nee2....@v35516.1blu.de%3E

-----Ursprüngliche Nachricht-----
Von: Miljenko Cvjetko [mailto:mcvje...@holisticware.net]
Gesendet: Montag, 3. Februar 2014 15:46
An: log4net-dev@logging.apache.org
Betreff: Thoughts on 1.3

Hi

I have tried to post this one through the nabble on Nov 25th and 26th.
My post are still there as "not accepted". Then I got dragged away with
projects, then holidays and again projects. Now I have a bit easier, so
I'd like to add few thoughts.

My name is Miljenko Cvjetko and I'm the one that forked log4net on
GitHub, did some structural changes on the solution/project in order to
"port" it to Xamarin Mobile profiles (Xamarin.iOS and Xamarin.Android)
and contacted Stefan for a permission to submit log4net Xamarin
Component to Xamarin Componet Store.

Stefan asked me whether I can put some thoughts and more light on the
subject in this thread about the Version 1.3.

There were several questions both on mailing-lists and forums about
availability of the log4net for Mono Mobile profiles (Xamarin Mobile)
and I was personally faced with that issue when our team worked on
Application that uses mobile port of SharpSNMP, which uses log4net. The
quick and dirty workaround was to exclude the dependency (and comment it
out).

The era of mobile enterprise apps is about to begin and a lot of code
will be ported from desktop and server side (ASP.net) to mobile in order
to reuse code. Almost all utilities/libraries/tools for .net have
disadvantage/handicap that they are written for desktop and/or ASP.net,
thus using APIs and/or concepts that are not acceptable or possible on
mobile devices. To name some: System.Web assembly (used by log4net) and
Configuration utilities which need Xml support.

What I actually did is simply split log4net into 2 assemblies, the one
with client profile called log4net.client and the other with only
ASP.net specific stuff with old name log4net. The code was
source-linked, so log4net was for external usage the same as it used to be.

All unit tests passed w/o problems.

So I would suggest You to do as Stefan suggested:

1. "to split log4net-13.dll so that the main assembly can be used for
the client profile and a separate assembly contains the stuff that
requires System.Web - this way we no longer need the -cp builds."

2. add separate assemblies for async/await (netfx 4.5, mono 3.x), so
people are not forced into 4.5.

I have worked with log4net on Xamarin's alpha channel for last 2 months
and experienced no problems only stuff I would suggest to add async
wrappers (suggestion 2.).

Also Stefan asked me to merge code into 1.2.x (1.2.13) branch, so I'll
do that in next few days and issue pull request as soon as I'm done. I
will try to be least intrusive, so will probably end up with:

1. src folder with ASP.net project (dependencies), so it is the same for
regression and backward compatibility
2. src-client (or whatever) with client profile - this might be even PCL
- I have to see.
3. src-mobile for iOS and Android assemblies.

Xamarin Component stuff will be added later on.

I hope I did not bother You too much and thank You

best regards

Mel

--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvje...@holisticware.net
w: http://holisticware.net



--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect  
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvje...@holisticware.net
w: http://holisticware.net

Reply via email to