Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 28924 invoked from network); 23 May 2002 10:40:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 May 2002 10:40:21 -0000 Received: (qmail 8362 invoked by uid 97); 23 May 2002 10:40:13 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 8352 invoked by uid 97); 23 May 2002 10:40:13 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 14550 invoked by uid 98); 23 May 2002 08:10:27 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <3CECA3ED.5050103@ifi.uib.no> Date: Thu, 23 May 2002 10:10:21 +0200 From: Kjersti =?ISO-8859-1?Q?Bj=F8rnestad?= Berg Organization: Institutt for Informasjonsvitenskap User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Ant Users List Subject: Re: javacc task and the package name References: <20020522192805.98250.qmail@web9505.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Guanling Chen wrote: > Greetings, > > I am using netbeans for Java development and using > javacc task for my compiler. I'd like the output Java > files of javacc has a package name, but I couldn't > figure out how to do it. However, I see jjtree task > has an attribute named "nodepackage" that does what I > want. The JJTree documentation says that by default, the node classes will be put in the same package as the parser classes. You define the parser package by inserting a package statement in your grammar file. Ex: PARSER_BEGIN(eg1) package myPackage; //Add this line. class eg1 { } PARSER_END(eg1) > > Any ideas? > > Thanks! > Guanling > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: