Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75544 invoked from network); 6 Jun 2009 10:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jun 2009 10:10:00 -0000 Received: (qmail 78295 invoked by uid 500); 6 Jun 2009 10:10:11 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 78219 invoked by uid 500); 6 Jun 2009 10:10:11 -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 78209 invoked by uid 99); 6 Jun 2009 10:10:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2009 10:10:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gscokart@gmail.com designates 209.85.220.207 as permitted sender) Received: from [209.85.220.207] (HELO mail-fx0-f207.google.com) (209.85.220.207) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2009 10:10:01 +0000 Received: by fxm3 with SMTP id 3so2145542fxm.28 for ; Sat, 06 Jun 2009 03:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=g1/wsTv4EobUDZqgYOeXqU/bPy7l1gt6+QIjOe3/O78=; b=C2bDwRo2U+9Nx9bFQKHsucBuNcY0PgOgANBPqDK1AiorUPcYtu9oMK7+aKyFiEfrsX 2zrAis/7w+X3HYeMMgef/K+edoAKSwVob05HPWExvsqA2GCqpTc9ac+p84iobXumxsIt f0pgJFjm6OZ/9qWfrCLdXBehUWJdag0QDq5wk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vaxnhyRyZ9RHelTNmpLFVs0M/DA+unrYn/yO4mY1BUft4UBq2uDAM/yYmGkM1sLEKf 1XiiGBRwq8tdXIFSs4jCJ7FaywCfxs1msBOmaLDUIrLS8GUgJgngCg1qFGm4otIPK4cZ pAZE+w/XP2R4EF2xyZGhTy/bIMJ3J5mnee7Sc= MIME-Version: 1.0 Received: by 10.223.114.208 with SMTP id f16mr2503653faq.91.1244282980811; Sat, 06 Jun 2009 03:09:40 -0700 (PDT) In-Reply-To: <23845591.post@talk.nabble.com> References: <23845591.post@talk.nabble.com> Date: Sat, 6 Jun 2009 12:09:40 +0200 Message-ID: Subject: Re: How to reference Shared Libraries in Ant From: Gilles Scokart To: Ant Users List Content-Type: multipart/alternative; boundary=001636c5b1fa12481b046bab35cf X-Virus-Checked: Checked by ClamAV on apache.org --001636c5b1fa12481b046bab35cf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Did you tried providing a manifest file in your war that contains the classpath you need? Gilles Scokart 2009/6/3 Sarva > > The User Library in WTP allows external JARs to be loaded in the project at > runtime, this allows reducing the overall WAR files, and reuse the common > libraries from many Web Applications, but somehow I cannot get the WAR to > reference the Shared Library location here is my ANT file, what do I need > to > do, so that it will make the WAR load libraries from other than > WEB-INF/lib, > for example from D:/eclipse/workspace/lib folder so many Web Services can > use it > > > > > > > > > > ../${lib.dir} > Cleaning the ${build.dir} > > > > Creating the build directory > > > > > > > > > Compile the source files > > > > > > > > > > > > > > > > > Building the war file > webxml="${build.dir}/WEB-INF/web.xml"> > > > > > > > Thanks a Million > > Sarva > -- > View this message in context: > http://www.nabble.com/How-to-reference-Shared-Libraries-in-Ant-tp23845591p23845591.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --001636c5b1fa12481b046bab35cf--