You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Wojciech Dec (JIRA)" <ji...@apache.org> on 2012/05/11 14:57:50 UTC

[jira] [Created] (LOG4NET-338) Port of log4net for MonoDroid

Wojciech Dec created LOG4NET-338:
------------------------------------

             Summary: Port of log4net for MonoDroid
                 Key: LOG4NET-338
                 URL: https://issues.apache.org/jira/browse/LOG4NET-338
             Project: Log4net
          Issue Type: New Feature
          Components: Appenders, Builds
    Affects Versions: 1.2.11
         Environment: Mono for Android
            Reporter: Wojciech Dec
            Priority: Minor


Hi

I've made a port of log4net to MonoDroid (Mono for Android).

Summary of changes:
 * based on trunk rev 1337114
 * code altered by "#if MONODROID"
 * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
 * added AndroidLogAppender
 * ConfigureAndWatchHandler based on native FileObserver
 * minor ndoc changes

Build:
 * install Mono for Android
 * get log4net source (see code version above)
 * apply patch
 * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
 * build

Tests:
 * No automatic tests coded due to differences between NUnit and NUnitLite.  Any volunteer?
 * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
 * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.

I donate this patch to public.

Best regards
WD

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: (LOG4NET-338) Port of log4net for MonoDroid

Posted by Stefan Bodewig <bo...@apache.org>.
Hi,

[CCing you since I'm not sure you are subscribed to the list]

> I've made a port of log4net to MonoDroid (Mono for Android).

This really looks interesting.  Can you tell us a little bit about it -
I must admit I'm a total ignorant when it comes to MonoDroid.

Have you faced any major problems you had to work around?  I see you
made ndoc work, that's more than I manage ATM.

>  * open solution in Visual Studio (note: NAnt doesn't support Mono for
>  Android framework)

So we cannot build the distribution using the official build system.  Do
you (or anybody on the list, I look at you Ryan ;-) have any
suggestions?

> I donate this patch to public.

This is great.  If we want to include it in log4net we'll need a version
of your patch with the "grant license to ASF" checkbox set.

How can we avoid breaking MonoDroid compatibility with future changes?
These don't happen too frequently but they do.  Is it good enough to
compile using VS (which I can't, right now) and running the tests?
Would this pick up all problems that you found and fixed with the
original codebase?

Cheers

        Stefan

[jira] [Updated] (LOG4NET-338) Port of log4net for MonoDroid

Posted by "Wojciech Dec (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wojciech Dec updated LOG4NET-338:
---------------------------------

    Description: 
Hi

I've made a port of log4net to MonoDroid (Mono for Android).

Summary of changes:
 * based on trunk rev 1337114
 * code altered by "#if MONODROID"
 * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
 * added AndroidLogAppender
 * ConfigureAndWatchHandler based on native FileObserver
 * minor ndoc changes

Build:
 * install Mono for Android
 * get log4net source (see code version above)
 * apply patch
 * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
 * build

Tests:
 * Unit tests based on NUnitLite.  See tests\README.monodroid.txt file?
 * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
 * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.

I donate this patch to public.

Best regards
WD

  was:
Hi

I've made a port of log4net to MonoDroid (Mono for Android).

Summary of changes:
 * based on trunk rev 1337114
 * code altered by "#if MONODROID"
 * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
 * added AndroidLogAppender
 * ConfigureAndWatchHandler based on native FileObserver
 * minor ndoc changes

Build:
 * install Mono for Android
 * get log4net source (see code version above)
 * apply patch
 * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
 * build

Tests:
 * No automatic tests coded due to differences between NUnit and NUnitLite.  Any volunteer?
 * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
 * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.

I donate this patch to public.

Best regards
WD


Unit tests are now runnable if You follow instruction in tests\README.monodroid.txt.
                
> Port of log4net for MonoDroid
> -----------------------------
>
>                 Key: LOG4NET-338
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-338
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders, Builds
>    Affects Versions: 1.2.11
>         Environment: Mono for Android
>            Reporter: Wojciech Dec
>            Priority: Minor
>              Labels: monodroid
>         Attachments: monodroid-on1343667.patch.zip
>
>
> Hi
> I've made a port of log4net to MonoDroid (Mono for Android).
> Summary of changes:
>  * based on trunk rev 1337114
>  * code altered by "#if MONODROID"
>  * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
>  * added AndroidLogAppender
>  * ConfigureAndWatchHandler based on native FileObserver
>  * minor ndoc changes
> Build:
>  * install Mono for Android
>  * get log4net source (see code version above)
>  * apply patch
>  * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
>  * build
> Tests:
>  * Unit tests based on NUnitLite.  See tests\README.monodroid.txt file?
>  * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
>  * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.
> I donate this patch to public.
> Best regards
> WD

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (LOG4NET-338) Port of log4net for MonoDroid

Posted by "Wojciech Dec (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wojciech Dec updated LOG4NET-338:
---------------------------------

    Attachment:     (was: monodroid-on1337114.patch.zip)
    
> Port of log4net for MonoDroid
> -----------------------------
>
>                 Key: LOG4NET-338
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-338
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders, Builds
>    Affects Versions: 1.2.11
>         Environment: Mono for Android
>            Reporter: Wojciech Dec
>            Priority: Minor
>              Labels: monodroid
>         Attachments: monodroid-on1343667.patch.zip
>
>
> Hi
> I've made a port of log4net to MonoDroid (Mono for Android).
> Summary of changes:
>  * based on trunk rev 1337114
>  * code altered by "#if MONODROID"
>  * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
>  * added AndroidLogAppender
>  * ConfigureAndWatchHandler based on native FileObserver
>  * minor ndoc changes
> Build:
>  * install Mono for Android
>  * get log4net source (see code version above)
>  * apply patch
>  * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
>  * build
> Tests:
>  * No automatic tests coded due to differences between NUnit and NUnitLite.  Any volunteer?
>  * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
>  * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.
> I donate this patch to public.
> Best regards
> WD

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (LOG4NET-338) Port of log4net for MonoDroid

Posted by "Wojciech Dec (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wojciech Dec updated LOG4NET-338:
---------------------------------

    Description: 
Hi

I've made a port of log4net to MonoDroid (Mono for Android).

Summary of changes:
 * based on trunk rev 1343667
 * code altered by "#if MONODROID"
 * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
 * added AndroidLogAppender
 * ConfigureAndWatchHandler based on native FileObserver
 * minor ndoc changes

Build:
 * install Mono for Android
 * get log4net source (see code version above)
 * apply patch
 * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
 * build

Tests:
 * Unit tests based on NUnitLite.  See tests\README.monodroid.txt file?
 * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
 * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.

I donate this patch to public.

Best regards
WD

  was:
Hi

I've made a port of log4net to MonoDroid (Mono for Android).

Summary of changes:
 * based on trunk rev 1337114
 * code altered by "#if MONODROID"
 * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
 * added AndroidLogAppender
 * ConfigureAndWatchHandler based on native FileObserver
 * minor ndoc changes

Build:
 * install Mono for Android
 * get log4net source (see code version above)
 * apply patch
 * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
 * build

Tests:
 * Unit tests based on NUnitLite.  See tests\README.monodroid.txt file?
 * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
 * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.

I donate this patch to public.

Best regards
WD

    
> Port of log4net for MonoDroid
> -----------------------------
>
>                 Key: LOG4NET-338
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-338
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders, Builds
>    Affects Versions: 1.2.11
>         Environment: Mono for Android
>            Reporter: Wojciech Dec
>            Priority: Minor
>              Labels: monodroid
>         Attachments: monodroid-on1343667.patch.zip
>
>
> Hi
> I've made a port of log4net to MonoDroid (Mono for Android).
> Summary of changes:
>  * based on trunk rev 1343667
>  * code altered by "#if MONODROID"
>  * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
>  * added AndroidLogAppender
>  * ConfigureAndWatchHandler based on native FileObserver
>  * minor ndoc changes
> Build:
>  * install Mono for Android
>  * get log4net source (see code version above)
>  * apply patch
>  * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
>  * build
> Tests:
>  * Unit tests based on NUnitLite.  See tests\README.monodroid.txt file?
>  * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
>  * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.
> I donate this patch to public.
> Best regards
> WD

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (LOG4NET-338) Port of log4net for MonoDroid

Posted by "Wojciech Dec (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wojciech Dec updated LOG4NET-338:
---------------------------------

    Attachment: monodroid-on1343667.patch.zip

Port to Mono for Android patch for trunk rev 1343667.
                
> Port of log4net for MonoDroid
> -----------------------------
>
>                 Key: LOG4NET-338
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-338
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders, Builds
>    Affects Versions: 1.2.11
>         Environment: Mono for Android
>            Reporter: Wojciech Dec
>            Priority: Minor
>              Labels: monodroid
>         Attachments: monodroid-on1337114.patch.zip, monodroid-on1343667.patch.zip
>
>
> Hi
> I've made a port of log4net to MonoDroid (Mono for Android).
> Summary of changes:
>  * based on trunk rev 1337114
>  * code altered by "#if MONODROID"
>  * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
>  * added AndroidLogAppender
>  * ConfigureAndWatchHandler based on native FileObserver
>  * minor ndoc changes
> Build:
>  * install Mono for Android
>  * get log4net source (see code version above)
>  * apply patch
>  * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
>  * build
> Tests:
>  * No automatic tests coded due to differences between NUnit and NUnitLite.  Any volunteer?
>  * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
>  * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.
> I donate this patch to public.
> Best regards
> WD

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (LOG4NET-338) Port of log4net for MonoDroid

Posted by "Wojciech Dec (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wojciech Dec updated LOG4NET-338:
---------------------------------

    Attachment: monodroid-on1337114.patch.zip

Port to Mono for Android patch for trunk rev 1337114.
                
> Port of log4net for MonoDroid
> -----------------------------
>
>                 Key: LOG4NET-338
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-338
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders, Builds
>    Affects Versions: 1.2.11
>         Environment: Mono for Android
>            Reporter: Wojciech Dec
>            Priority: Minor
>              Labels: monodroid
>         Attachments: monodroid-on1337114.patch.zip
>
>
> Hi
> I've made a port of log4net to MonoDroid (Mono for Android).
> Summary of changes:
>  * based on trunk rev 1337114
>  * code altered by "#if MONODROID"
>  * added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
>  * added AndroidLogAppender
>  * ConfigureAndWatchHandler based on native FileObserver
>  * minor ndoc changes
> Build:
>  * install Mono for Android
>  * get log4net source (see code version above)
>  * apply patch
>  * open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
>  * build
> Tests:
>  * No automatic tests coded due to differences between NUnit and NUnitLite.  Any volunteer?
>  * Tested on emulator API 14 only with Win 7 and VS2010.  Works well in my application.
>  * I've made regression tests running net-4.0 tests with nant before and after patching.  Results are same.
> I donate this patch to public.
> Best regards
> WD

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira