[antlr-interest] nant build error

dotnet fr dotnetfr at gmail.com
Mon Jun 12 08:13:28 PDT 2006


Hi everyone,

I want to generate c# source file. I use a tutorial here
(http://www.antlr.org/doc/csharp-runtime.html)

In the "antlr-2.7.5/lib/csharp" directory, I execute "nant build"
command line to generate the missing files :
-JavaLexer.cs
-JavaRecognizer.cs
-JavaTokenTypes.cs
-JavaTreeParser.cs
-JavaTreeParserTokenTypes.cs.

But the build failed, I copy past the message under.

Is anyone have a solution ?

Cheers

dotnet

-------------------------------
NAnt 0.85 (Build 0.85.2337.0; nightly; 26/05/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/work/Antlr/antlr-2.7.5/lib/csharp/antlr.runtime.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build


init:

   [tstamp] lundi 12 juin 2006 17:00:12.
   [script] Scanning assembly "dkeotbif" for extensions.
     [echo] ------------------- antlr.runtime 2.7.5 [2005] ----------------

build:

     [echo] Building antlr.runtime-2.7.5 (debug)

init:

   [tstamp] lundi 12 juin 2006 17:00:13.
   [script] Scanning assembly "a_vuafwx" for extensions.
     [echo] ------------------- antlr.runtime 2.7.5 [2005] ----------------

compile:

D:\work\Antlr\antlr-2.7.5\lib\csharp\antlr.runtime.build(118,6):
Element <includes... /> for <assemblyfileset... /> is deprecated. Use
<include> element instead.

BUILD FAILED - 0 non-fatal error(s), 1 warning(s)

D:\work\Antlr\antlr-2.7.5\lib\csharp\antlr.runtime.build(119,15):
Unexpected attribute "match" on element <includes>.

Total time: 0.6 seconds.


More information about the antlr-interest mailing list