Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 85216 invoked from network); 19 Sep 2002 15:32:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Sep 2002 15:32:12 -0000 Received: (qmail 6206 invoked by uid 97); 19 Sep 2002 15:32:42 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 6173 invoked by uid 97); 19 Sep 2002 15:32:42 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 6158 invoked by uid 98); 19 Sep 2002 15:32:41 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3D89EEDC.70207@cortexebusiness.com.au> Date: Fri, 20 Sep 2002 01:35:56 +1000 From: Conor MacNeill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 X-Accept-Language: en-us, en-au MIME-Version: 1.0 To: Ant Users List Subject: Re: Jar task, manifest files and CRLF References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jay Yarbrough wrote: > > It would appear that ANT is opening the file, adding the "Created-By" line and closing the file in the current OS (Win32), and in the process assumes I want the ^M's put back in the file. > The manifest code uses CRLF as an end of line marker. This does not depend on the platform in use. It means that jars generated by Ant are consistent across platforms. This combination is allowed by the specification. > > Manifest-Version: 1.0^M > Created-By: Apache Ant 1.5.1beta1^M > Class-Path: servercore.jar quantapi.jar^M > Class-Path: olympuscore.jar^M > > Is there a way to keep Ant from doing this, so I can create a jar with the appropriate manifest? > What is inappropriate about a manifest with ^M characters? Conor -- To unsubscribe, e-mail: For additional commands, e-mail: