Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 84061 invoked from network); 8 Jan 2007 17:46:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2007 17:46:06 -0000 Received: (qmail 32199 invoked by uid 500); 8 Jan 2007 17:46:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 32048 invoked by uid 500); 8 Jan 2007 17:46:08 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 32037 invoked by uid 99); 8 Jan 2007 17:46:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 09:46:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of peter.kitt.reilly@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 09:45:59 -0800 Received: by ug-out-1314.google.com with SMTP id m3so6039029ugc for ; Mon, 08 Jan 2007 09:45:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HrRCMvIINe3/f2ZyxdIbh8z/JeWVIAOa8PE/qvaW7eZ/ZP2eeqT7Lf+dDJ/zwtOw80OiY0GTShRse0PTwaa2EViqk19gihaWuIMHpMq9Gd0fYdAl77LYbtLyniwi+OUY9kDIX8rBUMstkLMoQTODIHI9LR6gPjUQCkxtbxus4a4= Received: by 10.82.138.6 with SMTP id l6mr2674467bud.1168278337804; Mon, 08 Jan 2007 09:45:37 -0800 (PST) Received: by 10.82.152.1 with HTTP; Mon, 8 Jan 2007 09:45:37 -0800 (PST) Message-ID: Date: Mon, 8 Jan 2007 17:45:37 +0000 From: "Peter Reilly" To: "Ant Users List" , floess@mindspring.com Subject: Re: Trouble executing a beanshell script In-Reply-To: <45A28138.9070402@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45A28138.9070402@mindspring.com> X-Virus-Checked: Checked by ClamAV on apache.org On 1/8/07, Scot P. Floess wrote: > All: > > I was trying to execute a simple beanshell script from within my ant > script (I tried using an example found in the documentation): >From the manual: """NB: This classpath cannot (currently) be used to specify the location of the BSF jar file. """ This has been fixed in SVN, and will be in ant 1.7.1. You can use the nightly build at http://people.apache.org/builds/ant/nightly/ Peter > > > > If I run Ant with "-lib > /home/sfloess/development/jplate/environment/lib" command line option, I > see the System.out.println() executed as I would expect. > > However, if I do not use the -lib option, I get: > "java.lang.NoClassDefFoundError: org/apache/bsf/BSFException" error. I > assumed the classpath element would take care of this...but to no avail. > > My lib dir contains bsf.jar and bsh-2.0b4.jar > > Again, if I use the -lib command line param everything works fine. > > Thanks ahead of time... > > Scot > > -- > Scot P. Floess > 27 Lake Royale > Louisburg, NC 27549 > > 252-478-8087 (Home) > 919-754-4592 (Work) > > Chief Architect JPlate http://sourceforge.net/projects/jplate > Chief Architect JavaPIM http://sourceforge.net/projects/javapim > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org