Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 68327 invoked by uid 500); 10 Jul 2003 11:04:53 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 68299 invoked from network); 10 Jul 2003 11:04:53 -0000 Received: from bodewig.bost.de (62.96.16.111) by daedalus.apache.org with SMTP; 10 Jul 2003 11:04:53 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.11.6/8.11.6) id h6AB4q030202; Thu, 10 Jul 2003 13:04:52 +0200 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: dev@ant.apache.org Subject: Re: javacc task for 3.1 References: <20030710093228.GA18367@raq465.uk2net.com> From: Stefan Bodewig Date: 10 Jul 2003 13:04:52 +0200 In-Reply-To: <20030710093228.GA18367@raq465.uk2net.com> Message-ID: Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 10 Jul 2003, Paul Nasrat wrote: > Here is a small patch to add the javacc.jar to the search list for > the javacc task. This is by far not enough, you'd get a major version from getMajorVersionNumber of 4, which in turn would cause getMainClass to fail. > This makes the task work with sane layouts such as > /usr/share/java/javacc.jar or lib/javacc.jar (eg for JPackage). Taking /usr/share/java as an example, you'd have to set the task's javacchome attribute to "/usr/share/java/" with your patch, right? Line 339 in JavaCC.java will cause javacc to be invoked with -Dinstall.root=/usr/share/java - are you sure it will work properly with this? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org