diff --git a/lib/specflow/IKVM.OpenJDK.Core.dll b/lib/specflow/IKVM.OpenJDK.Core.dll new file mode 100644 index 000000000..d9e93b161 Binary files /dev/null and b/lib/specflow/IKVM.OpenJDK.Core.dll differ diff --git a/lib/specflow/IKVM.OpenJDK.Security.dll b/lib/specflow/IKVM.OpenJDK.Security.dll new file mode 100644 index 000000000..1d5e71705 Binary files /dev/null and b/lib/specflow/IKVM.OpenJDK.Security.dll differ diff --git a/lib/specflow/IKVM.OpenJDK.Text.dll b/lib/specflow/IKVM.OpenJDK.Text.dll new file mode 100644 index 000000000..04bb2853d Binary files /dev/null and b/lib/specflow/IKVM.OpenJDK.Text.dll differ diff --git a/lib/specflow/IKVM.OpenJDK.Util.dll b/lib/specflow/IKVM.OpenJDK.Util.dll new file mode 100644 index 000000000..a04d10c84 Binary files /dev/null and b/lib/specflow/IKVM.OpenJDK.Util.dll differ diff --git a/lib/specflow/IKVM.Runtime.dll b/lib/specflow/IKVM.Runtime.dll new file mode 100644 index 000000000..1c00e075a Binary files /dev/null and b/lib/specflow/IKVM.Runtime.dll differ diff --git a/src/Orchard.Specs/Hosting/WebHost.cs b/src/Orchard.Specs/Hosting/WebHost.cs index 2156dff30..d974d87bd 100644 --- a/src/Orchard.Specs/Hosting/WebHost.cs +++ b/src/Orchard.Specs/Hosting/WebHost.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Configuration; using System.Diagnostics; using System.IO; using System.Linq; @@ -36,7 +37,13 @@ namespace Orchard.Specs.Hosting { catch { } // Trying the two known relative paths to the Orchard.Web directory. // The second one is for the target "spec" in orchard.proj. - _orchardWebPath = baseDir.Up(3).Combine("Orchard.Web"); + if (ConfigurationManager.AppSettings["orchardHosting"] != null) { + _orchardWebPath = baseDir.Combine(ConfigurationManager.AppSettings["orchardHosting"]).Combine("Orchard.Web"); + } + else { + _orchardWebPath = baseDir.Up(3).Combine("Orchard.Web"); + } + if (!_orchardWebPath.Exists) { _orchardWebPath = baseDir.Parent.Combine("stage"); }