=?gb2312?q?=BB=D8=B8=B4=A3=BA=20RE:=20=C2=BB=C3=98=C2=B8=C2=B4=C2=A3=C2?= =?gb2312?q?=BA=20RE:=20[antlr-interest]=20question=20about=20csharp=5Fv1=20?= =?gb2312?q?example?=

=?gb2312?q?=CB=EF=BC=CD=B8=D5=20Jigang=20(Robert)=20Sun?= sunjigang1965 at yahoo.com.cn
Thu Jul 27 07:38:20 PDT 2006


Hi, 
I downloaded NAnt, but I got error--

D:\antlr-2.7.6\examples\csharp\csharp_v1>nant
NAnt 0.85 (Build 0.85.2344.0; rc4; 2006-6-2)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/antlr-2.7.6/examples/csharp/csharp_v1/csharp_v1.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: test

   [tstamp] 2006Äê7ÔÂ27ÈÕ 15:33:05.
     [echo] Building project: 'CSharp v1 Grammar Sample for ANTLR'

generate:

     [exec] java.lang.NoClassDefFoundError: antlr/Tool
     [exec] Exception in thread "main"

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

D:\antlr-2.7.6\examples\csharp\csharp_v1\csharp_v1.build(52,10):
External Program Failed: java.exe (return code was 1)

Total time: 1.5 seconds.


In csharp_v1.build, I also replaced "antlr.Tool" with "antlr.jar antlr.Tool ", it ends the same.

Jigang


--- Micheal J <open.zone at virgin.net>дµÀ:

> Robert,
> 
> > Jigang (Robert) Sun
> > Sent: 27 July 2006 13:05
> > To: antlr-interest at antlr.org
> > Subject: »Ø¸´£º RE: [antlr-interest] question about csharp_v1 example
> >
> > Anyone know how to run csharp_v1.build? It is in XML format. 
> 
> It's a Nant build file - http://nant.sourceforge.net/
> 
> Grab Nant 0.85 rc3 or rc4 (or even a nightly build if you are adventurous).
> 
> Once you've installed Nant, just type "nant" from the csharp_v1 directory.
> 
> Cheers!
> 
> Micheal
> 
> -----------------------
> The best way to contact me is via the list/forum. My time is very limited.
> 
> 



		
___________________________________________________________ 
ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡ 
http://cn.mail.yahoo.com


More information about the antlr-interest mailing list