[Monodevelop-patches-list] r1799 - in trunk/MonoDevelop/src/Tools/dbgen: . src
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Jun 21 16:19:05 EDT 2004
Author: lluis
Date: 2004-06-21 16:19:04 -0400 (Mon, 21 Jun 2004)
New Revision: 1799
Modified:
trunk/MonoDevelop/src/Tools/dbgen/Makefile.am
trunk/MonoDevelop/src/Tools/dbgen/src/dbgen.cs
Log:
* Makefile.am: Added reference to MonoDevelop.Core.dll.
* src/dbgen.cs: Register monodoc service, so documentation is properly
added to the cc database.
Modified: trunk/MonoDevelop/src/Tools/dbgen/Makefile.am
===================================================================
--- trunk/MonoDevelop/src/Tools/dbgen/Makefile.am 2004-06-21 20:12:46 UTC (rev 1798)
+++ trunk/MonoDevelop/src/Tools/dbgen/Makefile.am 2004-06-21 20:19:04 UTC (rev 1799)
@@ -9,7 +9,7 @@
all: $(ASSEMBLY)
-REFS = /r:../../../build/bin/MonoDevelop.Base.dll
+REFS = /r:../../../build/bin/MonoDevelop.Base.dll /r:../../../build/bin/MonoDevelop.Core.dll
$(ASSEMBLY): $(build_sources)
$(CSC) $(build_sources) $(REFS) /out:$(ASSEMBLY)
Modified: trunk/MonoDevelop/src/Tools/dbgen/src/dbgen.cs
===================================================================
--- trunk/MonoDevelop/src/Tools/dbgen/src/dbgen.cs 2004-06-21 20:12:46 UTC (rev 1798)
+++ trunk/MonoDevelop/src/Tools/dbgen/src/dbgen.cs 2004-06-21 20:19:04 UTC (rev 1799)
@@ -2,6 +2,7 @@
using System;
using System.Reflection;
using MonoDevelop.Services;
+using MonoDevelop.Core.Services;
public class CodeCompletionDatabaseGeneratorTool
{
@@ -12,6 +13,7 @@
Console.WriteLine ("Usage: dbgen <destDirectory> [<assemblyName> | <assemblyPath>]");
return 0;
}
+ ServiceManager.Services.AddService (new MonodocService());
DefaultParserService parserService = new DefaultParserService ();
parserService.GenerateAssemblyDatabase (args[0], args[1]);
return 0;
More information about the Monodevelop-patches-list
mailing list