Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 97406 invoked by uid 500); 5 Aug 2003 16:23:00 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 97380 invoked from network); 5 Aug 2003 16:22:59 -0000 Received: from ns.suz.com (HELO ASMCMAIL.suz.com) (208.139.169.228) by daedalus.apache.org with SMTP; 5 Aug 2003 16:22:59 -0000 Received: by ns.suz.com with Internet Mail Service (5.5.2653.19) id ; Tue, 5 Aug 2003 09:22:33 -0700 Message-ID: <8765557836794E4EADF7F31290F4C39F02896737@ns.suz.com> From: Vikas Phonsa To: 'Ant Users List' Subject: ant-contrib Date: Tue, 5 Aug 2003 09:22:29 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Can I select classes for one particular task from ant-contrib jar and add those to ant.jar to be able to use that particular task. Aim is not having to add an additional jar to the IDE classpath.I need to just use the try/catch task from ant-contrib. This might be a silly idea. But any thoughts abt it?? Vikas -----Original Message----- From: Tim Davidson [mailto:tim.davidson@greenhatconsulting.com] Sent: Tuesday, August 05, 2003 7:18 AM To: Ant Users List Subject: RE: Versioning / Manifest yeah, thanks, I got this working: -----Original Message----- From: Claudio Corsi [mailto:ccorsi@progress.com] Sent: Tuesday, August 05, 2003 3:17 PM To: Ant Users List Subject: Re: Versioning / Manifest Tim Davidson wrote: > I have a related question. > Its it possible to create the manifest for a jar on the fly somehow? > The reason is to add a timestamp inside the JAR for versioning? > something like: > basedir="bar"> > > Use the manifest task to create your manifest on the fly. You will need to create an attribute that will contain the timstamp, for instance you can call this attribute "TimeStamp". To get this information from a running java application you would need to use the Manifest class returned from the JarFile class. This is all part of the java.util.jar package. > > -----Original Message----- > From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] > Sent: Tuesday, August 05, 2003 11:21 AM > To: ant_user (E-Mail) > Subject: Versioning / Manifest > > > > Hi, > > Scenario : > > A Client/Server Application is distributed as a bunch of Jar's. > Client and Server have an XML-File that contains the versioninfo for these Jar's. > The Jar's of a new release are transfered to the server, the xml-File is > manually created. > > Question 1 : How to automate the creation of that xml-File ? > > After starting the client, the client-xml is compared to the server-xml. > The new Jar's are then transfered to the client. > > Question 2 : Is there a chance to transfer only the altered/newer class-Files > instead of the whole Jar as bandwidth is limited ? > > I guess there's a way via the Manifest. If versioning is possible with the > Manifest itself maybe we don't need that xml-file anymore ? > > Best practices ? > > thx for any advice !! > > bye4now, > Gilbert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org