Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 63086 invoked from network); 13 Jul 2005 13:53:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2005 13:53:24 -0000 Received: (qmail 54353 invoked by uid 500); 13 Jul 2005 13:53:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 54269 invoked by uid 500); 13 Jul 2005 13:53:14 -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 54254 invoked by uid 99); 13 Jul 2005 13:53:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 06:53:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [128.33.0.62] (HELO aragorn.bbn.com) (128.33.0.62) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 06:53:10 -0700 Received: from [127.0.0.1] (ros-dhcp233-050-190.bbn.com [192.233.50.190]) by aragorn.bbn.com (8.12.7/8.12.7) with ESMTP id j6DDr92o006228 for ; Wed, 13 Jul 2005 09:53:10 -0400 (EDT) Message-ID: <42D51CC0.3070102@bbn.com> Date: Wed, 13 Jul 2005 09:53:04 -0400 From: Andrew Perez-Lopez User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: ejbjar, jar, and manifests with JBoss References: <42D44F83.5040909@bbn.com> <42D486E4.3000102@apache.org> In-Reply-To: <42D486E4.3000102@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on 128.33.1.41 X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Conor, Thanks very much for your help. I'm half-way there now... I got the manifest attribute to work, but not completely. It seems to ignore my Class-Path attribute. When I use the jar task with the same manifest attribute, it creates a jar with the proper attributes, but the ejbjar task seems to ignore Class-Path (though it catches other ones). Here's the ant I'm using for the ejbjar: Here's the manifest file (the quotes are to help capture white-space, they're not actually in the file) 'Manifest-Version: 1.0 Created-By: Me Class-Path: heyya.jar' And here's what is in the jar's when ejb-jar's done: 'Manifest-Version: 1.0 Created-By: Me ' Any ideas on how to get the classpath to show up there? Also, you mentioned per-bean manifests. As that's not documented either, do you have any hints for how that works, or any references to give? Thanks very much, -Andrew Conor MacNeill wrote: >Andrew Perez-Lopez wrote: > > >>Hey all, >> >>I'm working with EJBs using JBoss 4.x and Ant 1.6.5. I'm trying to set >>the Class-Path of the manifests of a big bunch of EJBs to a set of >>libraries that I've included in my EAR file. I can get ejbjar to >>generate all my jars, which is very nice, but since the ejbjar task >>doesn't allow for specification of a manifest file, >> >> > >The ejbjar task does allow for the specification of a manifest file. Use >the manifest attribute. It's not documented :-) It is also possible for > to pick up a per-bean manifest file > >Conor > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > -- Andrew Perez-Lopez Developer BBN Technologies --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org