ifdef TARGET_JVM
authorAndrew Skiba <andrews@mono-cvs.ximian.com>
Thu, 7 Sep 2006 12:43:18 +0000 (12:43 -0000)
committerAndrew Skiba <andrews@mono-cvs.ximian.com>
Thu, 7 Sep 2006 12:43:18 +0000 (12:43 -0000)
svn path=/trunk/mcs/; revision=65052

mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HttpApplicationFactory.cs

index f5b0ca5a337e70d96cb56ff99ec45a4610d061c7..84b8a832dcbcf2407b26480bfe399866ccdd71b3 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-07 Andrew Skiba <andrews@mainsoft.com>
+
+       * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
+       pass compilation.
+
 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
index 52d4e3243f5a840a64e1a38ff1ac1b3271a157f6..ae45df1c4626e0beae7454e8bda817cd52c76544 100644 (file)
@@ -395,6 +395,7 @@ namespace System.Web {
                                        app_state = new HttpApplicationState ();
                                }
 
+#if !TARGET_JVM
                                FileSystemEventHandler fseh = new FileSystemEventHandler (OnAppFileChanged);
                                RenamedEventHandler reh = new RenamedEventHandler (OnAppFileRenamed);
                                app_file_watcher = CreateWatcher (app_file, fseh, reh);
@@ -404,6 +405,7 @@ namespace System.Web {
                                        config_file = Path.Combine (physical_app_path, "web.config");
 
                                config_watcher = CreateWatcher (config_file, fseh, reh);
+#endif
                                needs_init = false;
 
                                //