Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 82114 invoked from network); 9 Jul 2006 09:00:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jul 2006 09:00:24 -0000 Received: (qmail 14281 invoked by uid 500); 9 Jul 2006 09:00:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14242 invoked by uid 500); 9 Jul 2006 09:00:19 -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 14231 invoked by uid 99); 9 Jul 2006 09:00:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jul 2006 02:00:19 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ralf.sigmund@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jul 2006 02:00:07 -0700 Received: by py-out-1112.google.com with SMTP id 39so2678375pyu for ; Sun, 09 Jul 2006 01:59:40 -0700 (PDT) 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:references; b=GUJa9eSb2ikd6mZ5TlANYQKuAW7ur7kQMORmrhyo03aclG6lUSYzKXh28sPFTVNBNKxfBcQ0+SEUYwut20i6Q68MLcsPpsjaQan0BtEXG5iDloXeMXz4LpOEEW762HO89y8LkvGkqiZAWGDNzDB2STE+T4VCWaVrCZCTJvHmXow= Received: by 10.35.135.12 with SMTP id m12mr3965815pyn; Sun, 09 Jul 2006 01:59:40 -0700 (PDT) Received: by 10.35.105.20 with HTTP; Sun, 9 Jul 2006 01:59:40 -0700 (PDT) Message-ID: Date: Sun, 9 Jul 2006 10:59:40 +0200 From: "Ralf Sigmund" To: "Ant Users List" , Jan.Materne@rzf.fin-nrw.de Subject: Re: Setting classpath when executing jar file In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30626_29362779.1152435580390" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_30626_29362779.1152435580390 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline This works perfect for the and the tasks. however i still could not find out how I should do the same for the excution of an custom ant task. everything is perfect for the but when I want to actually exceute my own task the classpath defined in the is not used. ralf On 7/7/06, Jan.Materne@rzf.fin-nrw.de wrote: > > >It seems like i'm not getting the classpath setting correctly > >hence there is an error in executing my jar file.. > > > > > > > > > > > > > > > > > > >classpathref="libraries"> > > > > > > > > > >When trying to execute the jar file, the classes in other jars > >is not found. > >How to correctly set the classpathref? > > > http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html#ext-libs > > > Jan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- Ralf Sigmund Hospitalstr. 85 22767 Hamburg ------=_Part_30626_29362779.1152435580390--