[antlr-interest] C# Build Error

Mike Bresnahan mbresnah at visi.com
Fri Mar 5 17:07:29 PST 2004


I am brand new to ANTLR.  I downloaded antlr-2.7.2.tar.gz from the website,
untarred it, ran nant in lib/csharp and recieved the following:

--- BEGIN DIAGNOSTICS ---
C:\cygwin\home\administrator\antlr-2.7.2\lib\csharp\antlr.runtime.build(23,4
):
Script exception.
 Could not find file
"C:\cygwin\home\administrator\antlr-2.7.2\lib\csharp\AssemblyInfo.cs".
--- END DIAGNOSTICS ---

So I applied the following patch to antlr.runtime.build.

--- BEGIN PATCH ---
--- antlr.runtime.build.original        2003-01-19 18:37:28.000000000 -0600
+++ antlr.runtime.build 2004-03-05 18:53:20.046686400 -0600
@@ -23,7 +23,7 @@
                <script language="C#">
                        <code><![CDATA[
                                public static void ScriptMain(Project
project) {
-                                       string assemblyInfoFileName =
Path.Combine(project.BaseDirectory, "AssemblyInfo.cs");
+                                       string assemblyInfoFileName =
Path.Combine(project.BaseDirectory, "src/AssemblyInfo.cs");
                                        StreamReader reader =
File.OpenText(assemblyInfoFileName);

                                        try {
--- END PATCH ---




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list