roboguy
08-16-2007, 09:22 PM
Hi all,
I've just managed to get Spring.NET-1.1-RC1 to build on mono 1.2.5 (preview 3) with only a few very minor changes. As I have no way of automatically generating a patch I'll just list the changes here.
In the Spring.Core project in Expressions/OpLike.cs
Line 23 => #if NET_2_0 && !MONO
Line 63 => #if NET_2_0 && !MONO
(Obviously this requires adding MONO to the list of #Define symbols in the project properties).
In the Spring.Web project in Context/Support/WebApplicationContext.cs
Line 136 => #if NET_2_0 && !MONO
(The way that section has been implemented is totally MS .NET specific and will never run on any other runtime!)
In the Spring.Web project in Web/UI/Controls/DataBindingPanel.cs
Line 197 => else if ((Control)dataBound != this.NamingContainer)
In the Spring.Data.NHibernate.Tests project fixed casing of reference path for nunit.framework (linux being case sensitive on paths/filenames)
<Reference Include="nunit.framework, Version=2.4.1.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
<HintPath>..\..\..\lib\Net\2.0\nunit.framework.dll</HintPath>
In the Spring.Web.Extensions project fixed casing of reference path for Common.Logging (linux being case sensitive on paths/filenames)
<Reference Include="Common.Logging, Version=1.1.0.0, Culture=neutral, PublicKeyToken=af08829b84f0328e">
<HintPath>..\..\..\lib\Net\2.0\Common.Logging.dll</HintPath>
Hopefully you can make use of those. If you need more information or proper diff files let me know.
Also, I've found a bug in Mono which I am trying to get fixed that will currently stop Spring from correctly creating a web context. Hopefully it will get into 1.2.5 if not I'll post a patch here.
Cheers,
James Fitzsimons
I've just managed to get Spring.NET-1.1-RC1 to build on mono 1.2.5 (preview 3) with only a few very minor changes. As I have no way of automatically generating a patch I'll just list the changes here.
In the Spring.Core project in Expressions/OpLike.cs
Line 23 => #if NET_2_0 && !MONO
Line 63 => #if NET_2_0 && !MONO
(Obviously this requires adding MONO to the list of #Define symbols in the project properties).
In the Spring.Web project in Context/Support/WebApplicationContext.cs
Line 136 => #if NET_2_0 && !MONO
(The way that section has been implemented is totally MS .NET specific and will never run on any other runtime!)
In the Spring.Web project in Web/UI/Controls/DataBindingPanel.cs
Line 197 => else if ((Control)dataBound != this.NamingContainer)
In the Spring.Data.NHibernate.Tests project fixed casing of reference path for nunit.framework (linux being case sensitive on paths/filenames)
<Reference Include="nunit.framework, Version=2.4.1.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
<HintPath>..\..\..\lib\Net\2.0\nunit.framework.dll</HintPath>
In the Spring.Web.Extensions project fixed casing of reference path for Common.Logging (linux being case sensitive on paths/filenames)
<Reference Include="Common.Logging, Version=1.1.0.0, Culture=neutral, PublicKeyToken=af08829b84f0328e">
<HintPath>..\..\..\lib\Net\2.0\Common.Logging.dll</HintPath>
Hopefully you can make use of those. If you need more information or proper diff files let me know.
Also, I've found a bug in Mono which I am trying to get fixed that will currently stop Spring from correctly creating a web context. Hopefully it will get into 1.2.5 if not I'll post a patch here.
Cheers,
James Fitzsimons