Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 60272 invoked from network); 30 Oct 2000 22:26:27 -0000 Received: from mta01.mail.au.uu.net (HELO mta01.mail.mel.aone.net.au) (203.2.192.81) by locus.apache.org with SMTP; 30 Oct 2000 22:26:27 -0000 Received: from cognetnt ([63.12.1.58]) by mta01.mail.mel.aone.net.au with SMTP id <20001030222624.RNOV20223.mta01.mail.mel.aone.net.au@cognetnt>; Tue, 31 Oct 2000 09:26:24 +1100 From: "Conor MacNeill" To: , "Holger Rauch" Subject: RE: Building optional.jar from Latest Ant Sources Date: Tue, 31 Oct 2000 09:24:47 +1100 Message-ID: <005601c042c0$364e7780$80dc1fcb@cognet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Holger, You will find that many of the tasks in the optional tree are actually included in the binary download. These are tasks which do not have a direct dependency on outside thrid party classes. EJBJar, for example, will be there because it invokes the EJB deployment tools through a Java task. Alternatively some optional tasks just require a 1.2 or later VM. If you downloaded the source version, then building it will be sufficient to include the optional tasks, which can be built (according to the contents of your classpath), in your ant. jar. However, I think we should change the current build so that ant builds two jars: ant.jar and optional.jar. I guess we haven't done this to date because we are expecting to change the whole way that tasks are packaged anyway. Conor > -----Original Message----- > From: hrauch@miami.datech2.er.heitec.net > [mailto:hrauch@miami.datech2.er.heitec.net]On Behalf Of Holger Rauch > Sent: Tuesday, 31 October 2000 6:53 > To: ant-user@jakarta.apache.org > Subject: Building optional.jar from Latest Ant Sources > > > Hi! > > I've downloaded the latest version of ant (nightly build > 10-30-2000), and > I'm wondering how I can compile the tasks below > taskdefs/optional in a way > that I get an "optional.jar" file that I can place in ant's > "lib" directory in order to make these tasks available to > ant. I know that > an "optional.jar" file is shipped with the other ant distros too, so > there probably is a way of creating one. > > Thanks for any hints! > > Greetings, > > Holger >