Re: [Mono-list] Nunit hangs when testing a class using the GTK

2008-12-23 Thread Wolfgang Schulze-Zachau

Thanks for the pointer, got me going in the right direction, much
appreciated.
However, the actual code that does the trick is this:

[TestFixtureSetUp()]
public void SetUp() {
string[] args = {};
Gtk.Init.Check(ref args);
}

(just in case anybody else is looking for this)
cheers
Wolfgang


knocte-2 wrote:
> 
> 
> Call GType.Init () in a [TestFixtureSetup] method.
> 
> 


-- 
View this message in context: 
http://www.nabble.com/Nunit-hangs-when-testing-a-class-using-the-GTK-tp21151720p21153943.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [Mono-osx] Announcing Mono 2.2 RC1...

2008-12-23 Thread Sandy Armstrong
On 12/22/2008 02:47 PM, Thomas Wiest wrote:
>  Please report any bugs that you may find using our Bugs page, AND
>  reply to this thread with the bug numbers so we can track them:
>  http://www.mono-project.com/Bugs

https://bugzilla.novell.com/show_bug.cgi?id=439545

This is a regression from around 1.9, and was caused by the fix to bug 
#431811.

Thanks,
Sandy


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Nunit hangs when testing a class using the GTK

2008-12-23 Thread Andrés G. Aragoneses

Call GType.Init () in a [TestFixtureSetup] method.

Regards,

Andrés

Wolfgang Schulze-Zachau wrote:
> I might be a bit ignorant here, so please bear with me.
> I am running MonoDevelop 2 Alpha 2 on Fedora 9. In my project I use NUnit to
> do all sorts of testing. Today I added a test for a class that is supposed
> to create a popup menu on demand, which can then be displayed in a TreeView.
> Here is the class code so far:
> 
> 
> using System;
> using Gtk;
> 
> namespace Amino.ProCos
> {
>   
>   
>   public class RootProjectTreeNode
>   {
>   
>   public RootProjectTreeNode()
>   {
>   }
> 
>   public string DisplayName {
>   get { return "All Groups"; }
>   }
> 
>   public Menu getMenu() {
>   Menu menu = new Menu();
>   MenuItem expand, collapse, addgroup;
>   expand = new MenuItem("Expand");
>   collapse = new MenuItem("Collapse");
>   addgroup = new MenuItem("Add Project Group");
>   menu.Add(expand);
>   menu.Add(collapse);
>   menu.Add(addgroup);
>   return menu;
>   }
>   }
> }
> 
> And here is the relevant unit test code:
> 
> using System;
> using Gtk;
> using NUnit.Framework;
> using Amino.ProCos;
> 
> namespace Amino.testProCos
> {
>   
>   
>   [TestFixture()]
>   public class TestRootProjectNode
>   {
>   RootProjectTreeNode root;
>   
>   [Test()]
>   public void Instantiation()
>   {
>   root = new RootProjectTreeNode();
>   Assert.AreEqual("All Groups", root.DisplayName, 
> "Instantiation of a the
> root project tree node failed");
>   }
> 
>   [Test()]
>   public void BasicMenu() {
>   root = new RootProjectTreeNode();
>   Menu menu = root.getMenu();
>   Assert.IsTrue(true, "No idea");
>   MenuItem[] items = (MenuItem[])menu.Children;
>   Assert.AreEqual(3, items.Length, "menu should contain 3 
> elements");
>   Assert.AreEqual("Expand", items[0].Name, "First popup 
> menu item is not
> 'Expand'");
>   Assert.AreEqual("Collapse", items[1].Name, "Second 
> popup menu item is not
> 'Collapse'");
>   Assert.AreEqual("Add Project Group", items[3].Name, 
> "Third popup menu
> item is not 'Add Project Group'");
>   }
>   }
> }
> 
> The whole thing compiles without problem. When I run the tests, NUnit hangs.
> The only way out is to open a console and kill the NUnit process. The
> console window from which monodevelop is started, shows error messages such
> as this:
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
> to this function
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-CRITICAL **:
> g_once_init_leave: assertion `initialization_value != 0' failed
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
> to this function
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
> to this function
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
> to this function
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE
> (instance_type)' failed
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
> to this function
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE
> (instance_type)' failed
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
> to this function
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
> to this function
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE
> (instance_type)' failed
> 
> (/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
> gtype.c:2248: initialization

[Mono-list] Nunit hangs when testing a class using the GTK

2008-12-23 Thread Wolfgang Schulze-Zachau

I might be a bit ignorant here, so please bear with me.
I am running MonoDevelop 2 Alpha 2 on Fedora 9. In my project I use NUnit to
do all sorts of testing. Today I added a test for a class that is supposed
to create a popup menu on demand, which can then be displayed in a TreeView.
Here is the class code so far:


using System;
using Gtk;

namespace Amino.ProCos
{


public class RootProjectTreeNode
{

public RootProjectTreeNode()
{
}

public string DisplayName {
get { return "All Groups"; }
}

public Menu getMenu() {
Menu menu = new Menu();
MenuItem expand, collapse, addgroup;
expand = new MenuItem("Expand");
collapse = new MenuItem("Collapse");
addgroup = new MenuItem("Add Project Group");
menu.Add(expand);
menu.Add(collapse);
menu.Add(addgroup);
return menu;
}
}
}

And here is the relevant unit test code:

using System;
using Gtk;
using NUnit.Framework;
using Amino.ProCos;

namespace Amino.testProCos
{


[TestFixture()]
public class TestRootProjectNode
{
RootProjectTreeNode root;

[Test()]
public void Instantiation()
{
root = new RootProjectTreeNode();
Assert.AreEqual("All Groups", root.DisplayName, 
"Instantiation of a the
root project tree node failed");
}

[Test()]
public void BasicMenu() {
root = new RootProjectTreeNode();
Menu menu = root.getMenu();
Assert.IsTrue(true, "No idea");
MenuItem[] items = (MenuItem[])menu.Children;
Assert.AreEqual(3, items.Length, "menu should contain 3 
elements");
Assert.AreEqual("Expand", items[0].Name, "First popup 
menu item is not
'Expand'");
Assert.AreEqual("Collapse", items[1].Name, "Second 
popup menu item is not
'Collapse'");
Assert.AreEqual("Add Project Group", items[3].Name, 
"Third popup menu
item is not 'Add Project Group'");
}
}
}

The whole thing compiles without problem. When I run the tests, NUnit hangs.
The only way out is to open a console and kill the NUnit process. The
console window from which monodevelop is started, shows error messages such
as this:

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
to this function

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-CRITICAL **:
g_once_init_leave: assertion `initialization_value != 0' failed

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
to this function

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
to this function

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
to this function

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
to this function

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
to this function

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
to this function

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior
to this function

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-CRITICAL **:
g_once_init_leave: assertion `initialization_value != 0' failed

(/usr/local/lib/monodevelop/bin/mdhost.exe:15951): GLib-GObject-CRITICAL **:
gtype.c

Re: [Mono-list] How to debug SOAP webservice

2008-12-23 Thread Gonzalo Paniagua Javier
On Tue, 2008-12-23 at 23:10 +0200, Andrus wrote:
> I created SOAP webservice with works OK from VS IDE.
> 
> When this web service is hosted in mod_mono/Apache, calling it returns 
> error:
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>soap:ServerException
>  
> has been thrown by the target of an 
> invocation.
> 
> I want to find stack trace or line number causing exception.

Keep the debug="true" in web.config and go to
http://yourserver/yourservice.asmx then find the page that allows you to
invoke the web service using HTTP and run it. You should get the actual
stack trace in your browser.

-Gonzalo


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Speed up make in cygwin

2008-12-23 Thread Andy Hume

For the 2.0 version of a particular assembly do e.g.

pushd ../mcs/class/Managed.Windows.Forms
make install
popd

or similar e.g. (cd .. ; make install)

A significant speed up! :-)

(BTW for FX1.1 "make PROFILE=net_1_1 ..." )

Andy



Andrus Moor-2 wrote:
> 
> I'm testing mono and msc from SVN using cygwin in Vista.
> 
> After making minor change to one .c or .cs file,
> 
> make;make install
> 
> takes huge huge amout of time. 
> It seems that most of time goes to traversing in directory tree.
> 
> I do'nt want 1.1, doc, man stuff.
> 
> How to speed up make ?
> 
> 
-- 
View this message in context: 
http://www.nabble.com/Speed-up-make-in-cygwin-tp21150220p21151512.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Speed up make in cygwin

2008-12-23 Thread Chris Howie
On Tue, Dec 23, 2008 at 3:49 PM, Andrus  wrote:
>> If it was me I'd just try editing all of the doc/man stuff out of the
>> generated makefiles.  (I'm not sure you can remove the 1.1 stuff
>> without also disabling the building of mcs and friends.)
>
> Looking at build output man stuff seems to make unnoticeable amout of time.

I missed what you said first about changing one file causing this.
Yes, this is a symptom of using such an ugly system as recursive make.
 There's not really anything you can do to speed it up.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] How to debug SOAP webservice

2008-12-23 Thread Andrus
I created SOAP webservice with works OK from VS IDE.

When this web service is hosted in mod_mono/Apache, calling it returns 
error:

http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>soap:ServerException
 
has been thrown by the target of an 
invocation.

I want to find stack trace or line number causing exception.

I tried the following:

1. Invoked  mod-mono-server  in console window using

c:\mono/bin/mod-mono-server.bat --address 127.0.0.1 --port 
2000 --applications /:./ --nonstop --root 
I:/raamat/MyAppWeb/SilverlightApplication4_Web --master --verbose

Console window shows some output from web service but does not show any 
information
about exception nor exception text.

2. In web.config file setting debug to true:




output text nor console output are not changed.

How to determine which line of code causes exception or find stack trace ?

Andrus. 

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Speed up make in cygwin

2008-12-23 Thread Andrus
> If it was me I'd just try editing all of the doc/man stuff out of the
> generated makefiles.  (I'm not sure you can remove the 1.1 stuff
> without also disabling the building of mcs and friends.)

Looking at build output man stuff seems to make unnoticeable amout of time.

Andrus.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Speed up make in cygwin

2008-12-23 Thread Chris Howie
On Tue, Dec 23, 2008 at 2:36 PM, Andrus  wrote:
> I'm testing mono and msc from SVN using cygwin in Vista.
>
> After making minor change to one .c or .cs file,
>
> make;make install
>
> takes huge huge amout of time.
> It seems that most of time goes to traversing in directory tree.
>
> I do'nt want 1.1, doc, man stuff.
>
> How to speed up make ?

This is one of the reasons why recursive make is such an abomination.

If it was me I'd just try editing all of the doc/man stuff out of the
generated makefiles.  (I'm not sure you can remove the 1.1 stuff
without also disabling the building of mcs and friends.)

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Speed up make in cygwin

2008-12-23 Thread Andrus
I'm testing mono and msc from SVN using cygwin in Vista.

After making minor change to one .c or .cs file,

make;make install

takes huge huge amout of time. 
It seems that most of time goes to traversing in directory tree.

I do'nt want 1.1, doc, man stuff.

How to speed up make ?

Andrus.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mono-core at OBS service

2008-12-23 Thread Petit Eric
Hi
I linked one of my OBS project, to the mono-core one, my problem is
for mandriva 2008/2009, mono version are too old, but, for MDV
2008/2009
The building of mono-core fail for very simple reason :

can you, please,  remove the commented  #%define at line 107 and 108
(perhap's there is other) of the spec file for OBS mono-core :
https://build.opensuse.org/package/edit_file?file=mono-core.spec&package=mono-core&project=Mono

For MDV 2008 , i think yu just need to add the cmd line who make
(mkdir) the output path.
I use something like that for my pkg :

#if [ -x %buildroot ]; then
#echo %buildroot already exist
#else
#mkdir %buildroot
#fi

make DESTDIR=%buildroot install

mkdir -p %{buildroot}%{_datadir}/icons
mv  %{buildroot}/%_prefix/lib/monoosc/MonoOSCico.png
%{buildroot}%{_datadir}/icons/MonoOSCico.png


Thank's


-- 

Cordially.

Small Eric Quotations of the days:
---
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---

Few people are done for independence, it is the privilege of the powerful ones.
---

No key was wounded during the drafting of this message.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono does not handle NumberService.asmx file

2008-12-23 Thread Robert Jordan
Hi Andrus,

Andrus wrote:
> Robert,
> 
>>   SetHandler mono
> 
> Thank you very much. I changed mod_mono.conf to
> 

Remove these lines:

> SetHandler mono
> AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx

...

> 
> SetHandler mono

Remove AddHandler:

> AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
> ServerName localhost
> DocumentRoot "I:\raamat\MyAppWeb\SilverlightApplication4_Web"
> MonoDocumentRootDir "I:/raamat/MyAppWeb/SilverlightApplication4_Web"
> MonoApplications "/:./"
> MonoDebug true
> 

Robert

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono does not handle NumberService.asmx file

2008-12-23 Thread Andrus
Robert,

>   SetHandler mono

Thank you very much. I changed mod_mono.conf to


LoadModule mono_module modules/mod_mono.so
AddType application/x-silverlight-app .xap
AddType application/x-asp-net .aspx
AddType application/x-asp-net .asmx
AddType application/x-asp-net .ashx
AddType application/x-asp-net .asax
AddType application/x-asp-net .ascx
AddType application/x-asp-net .soap
AddType application/x-asp-net .rem
AddType application/x-asp-net .axd
AddType application/x-asp-net .cs
AddType application/x-asp-net .vb
AddType application/x-asp-net .master
AddType application/x-asp-net .sitemap
AddType application/x-asp-net .resources
AddType application/x-asp-net .skin
AddType application/x-asp-net .browser
AddType application/x-asp-net .webinfo
AddType application/x-asp-net .resx
AddType application/x-asp-net .licx
AddType application/x-asp-net .csproj
AddType application/x-asp-net .vbproj
AddType application/x-asp-net .config
AddType application/x-asp-net .Config
AddType application/x-asp-net .dll
DirectoryIndex index.aspx
DirectoryIndex Default.aspx
DirectoryIndex default.aspx


SetHandler mono
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx


 DirectoryIndex index.aspx default.aspx



SetHandler mono
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
ServerName localhost
DocumentRoot "I:\raamat\MyAppWeb\SilverlightApplication4_Web"
MonoDocumentRootDir "I:/raamat/MyAppWeb/SilverlightApplication4_Web"
MonoApplications "/:./"
MonoDebug true



  SetHandler mono-ctrl
  Order deny,allow
  Deny from all
  Allow from 127.0.0.1


I killed mono process,  re-started apache, cleared browser cache.

mono still does not handle requests like http://localhost/Default.aspx or
http://localhost/Hetkesei.asmx

For failed request log contains:

[Tue Dec 23 20:12:38 2008] [debug] mod_mono.c(1735): running
'c:\\mono/bin/mod-mono-server.bat --address 127.0.0.1 --port
2000 --nonstop --master (null) (null) (null) (null) (null) (null)'

Sometimes mono handles requests. In this case log contains:

[Tue Dec 23 20:16:06 2008] [debug] mod_mono.c(1735): running
'c:\\mono/bin/mod-mono-server.bat --address 127.0.0.1 --port
2000 --applications /:./ --nonstop --root
I:/raamat/MyAppWeb/SilverlightApplication4_Web --master (null) (null)'

How to force mono to handle requests always?

Andrus.


error.log for failed request:

[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
actions_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module alias_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module asis_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
auth_basic_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authn_default_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authn_file_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_default_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_groupfile_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_host_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
authz_user_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
autoindex_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module cgi_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module dir_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module env_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
include_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module isapi_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
log_config_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module mime_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
negotiation_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module
setenvif_module
[Tue Dec 23 20:12:37 2008] [debug] mod_so.c(246): loaded module mono_module
[Tue Dec 23 20:12:37 2008] [warn] creating mono server config
[Tue Dec 23 20:12:37 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard mutex =
C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1.lock
[Tue Dec 23 20:12:37 2008] [warn] Requested locking mechanism name: (null)
[Tue Dec 23 20:12:37 2008] [warn] removing dashboard file
'C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1'
[Tue Dec 23 20:12:37 2008] [warn] creating dashboard
'C:\\Windows\\TEMP/mod_mono_dashboard_XXGLOBAL_1'
[Tue Dec 23 20:12:37 2008] [warn] creating dir config for (null)
[Tue Dec 23 20:12:37 2008] [warn] creating dir config for (null)
[Tue Dec 23 20:12:37 2008] [warn] creating mono server config
[Tue Dec 23 20:12:37 2008] [warn] Registry key found. SdkInstallRoot:
'c:\\mono'
[Tue Dec 23 20:12:37 2008] [warn] creating dashbo

Re: [Mono-list] What is required for deploying Mono applications?

2008-12-23 Thread Chris Howie
On Tue, Dec 23, 2008 at 1:38 AM, Tan Silliksaar  wrote:
> Would I really be able to create a universal project while sitting in front
> of my Windows machine, so that it would also run on Linux and Mac?

Short answer: yes.

Long answer: 
http://www.mono-project.com/Guide:Writing_Cross_Platform_applications

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Run C# app on the server

2008-12-23 Thread Abe Gillespie
Just FYI, Mono also supports the system service model as built into .Net.

On Tue, Dec 23, 2008 at 8:52 AM, kuse  wrote:
>
>
> Sure, I don't see any problems why it should not be possible.
>
> #crontab
> * * 12 * * /usr/bin/mono MyConsoleApp.exe > /dev/null
>
>
>
>
> M C wrote:
>>
>> Quick question: is it possible to run a C# console application on a
>> Linux/Mono server as a scheduled task?
>>
>> TIA,
>> Michael
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Run-C--app-on-the-server-tp21135423p21144878.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Run C# app on the server

2008-12-23 Thread kuse


Sure, I don't see any problems why it should not be possible.

#crontab
* * 12 * * /usr/bin/mono MyConsoleApp.exe > /dev/null
 



M C wrote:
> 
> Quick question: is it possible to run a C# console application on a
> Linux/Mono server as a scheduled task?
> 
> TIA,
> Michael
> 

-- 
View this message in context: 
http://www.nabble.com/Run-C--app-on-the-server-tp21135423p21144878.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Announcing Mono 2.2 RC1...

2008-12-23 Thread Ivan N. Zlatev
On Tue, Dec 23, 2008 at 12:47 AM, Thomas Wiest  wrote:
> Hey Everyone,
>
> We've just released Mono 2.2 RC1 today!
>
> Please help us out by giving it a try with your applications.
>
> As always, you can get the preview/RC releases here:
> http://mono.ximian.com/monobuild/preview/download-preview/
>
> Please report any bugs that you may find using our Bugs page, AND reply
> to this thread with the bug numbers so we can track them:
> http://www.mono-project.com/Bugs
>
> You can see the bugs we're tracking for Mono 2.2 here:
> https://bugzilla.novell.com/buglist.cgi?query_format=advanced&classification=Mono&target_milestone=2.2.x&order=bugs.bug_status
>
> The earlier you file the bugs and reply to this message, the more likely
> your bugs will get fixed.
>
> Special attention is given to regressions, so if you can tell us a
> version of Mono where the bug worked and you tag the summary of the bug
> with [Regression], then it is much more likely your bug will get fixed.
>
> Please help the Mono team to make 2.2 the best ever.
>

Hi Thomas,

Can you please add the fixed and backported bug
https://bugzilla.novell.com/show_bug.cgi?id=381435 (Castle Project) to
your tracking. Thanks.

-- 
Kind Regards,
Ivan N. Zlatev
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list