Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 68792 invoked from network); 22 Jun 2009 19:47:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jun 2009 19:47:57 -0000 Received: (qmail 17636 invoked by uid 500); 22 Jun 2009 19:48:05 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 17579 invoked by uid 500); 22 Jun 2009 19:48:05 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 17545 invoked by uid 99); 22 Jun 2009 19:48:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jun 2009 19:48:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ddevienne@gmail.com designates 209.85.221.185 as permitted sender) Received: from [209.85.221.185] (HELO mail-qy0-f185.google.com) (209.85.221.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jun 2009 19:47:56 +0000 Received: by qyk15 with SMTP id 15so4408305qyk.14 for ; Mon, 22 Jun 2009 12:47:35 -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 :content-transfer-encoding; bh=1cIaiueExSNBbpSTb4RnB0D1uxATx4VRfCtWaRlUcJQ=; b=AM3U+qredxbDZ4hEI+uYwB9HPIFeBEe2/cA6GEFdeU/3xVF0WiUhJg8AcPF+rx1Le4 lq4rkZNBUoHtGdRhbp0DY6Ja7HVWZ1WqAl37JtwZC/MwjiJmQUemca4bH+AEcMRij5GB kPlnmwZKIlx6ZIXrb3RmkcAZzy3NZK8frzaxM= 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:content-transfer-encoding; b=uXaf5aojrNerDLgGNJ90ks1btizv0uZkOeoJvb9n+SIT6Tqkrac3dW5uec1LqzqVY/ JzDkx4NEUxeQVrahzk7SoqrSoti0Z+CI4PvdnuS/5pkh+yORI03YRWXkCNKdkvl+jG5D qI9S2E+KI1M4SCvVCMnsJLFiBYyCJiShbF+us= MIME-Version: 1.0 Received: by 10.220.77.17 with SMTP id e17mr4482727vck.3.1245700055295; Mon, 22 Jun 2009 12:47:35 -0700 (PDT) In-Reply-To: <1fb30820906220958p446f18d2qfc7b88e5e4b16c61@mail.gmail.com> References: <1fb30820906212233o7df5d40ak73cf868da47bfc4@mail.gmail.com> <255d8d690906220710l18d9faecn50537553e741acde@mail.gmail.com> <1fb30820906220958p446f18d2qfc7b88e5e4b16c61@mail.gmail.com> Date: Mon, 22 Jun 2009 14:47:35 -0500 Message-ID: <255d8d690906221247w67244271lab198cdf11ef1e3f@mail.gmail.com> Subject: Re: Manifest Classpath ( programmatically generated but messedup). From: Dominique Devienne To: Ant Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jun 22, 2009 at 11:58 AM, Garima Bathla wr= ote: > That exactly is what =A0I am doing, using Ant's Manifest class. Problem > happens to be that my classpath is too big and Manifest file has limit of= 72 > characters per line, so even though it spits out my configured classpath = , > it ain't set correctly (as I have listed in the orginial thread). > > Any help is highly appreciated, it must not be this tricky to set long > classpaths programmatically? Manifest can break a CP longer than 72 char on several lines correctly, using the proper rules, and has been doing it correctly for years. Very few bugs reported against it turned out to be real bugs in fact. So I strongly suggest you take a second look, assuming it does the correct thing. Note though that line breaks is only the beginning. The Class-Path: attribute also needs to use the proper file and path separa= tors, be absolute or relative to the jar, and for this you should depend on ManifestClasspath, another Ant class that can take a Path and again format it correctly. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org