Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 18395 invoked from network); 28 Apr 2002 12:46:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Apr 2002 12:46:30 -0000 Received: (qmail 7839 invoked by uid 97); 28 Apr 2002 12:46:28 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 7814 invoked by uid 97); 28 Apr 2002 12:46:28 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 7795 invoked from network); 28 Apr 2002 12:46:27 -0000 X-Sent: 28 Apr 2002 12:46:26 GMT From: "Bob Hays, Computer Geek" To: "Ant Developers List" Subject: RE: Integration with Rational Clearcase Date: Sun, 28 Apr 2002 07:49:06 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_002B_01C1EE89.2C9AFE90" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <731422FC2FCAD211B91C0008C75D890A02043284@NPRI54EXC20.NPT.NUWC.NAVY.MIL> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_002B_01C1EE89.2C9AFE90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I've used the Ant ClearCase integration; it provides checkin/checkout capabilities. For the rest, you'd have to write tasks to run the desired cleartool command. BTW, the ClearCase task is structured such that the individual tasks build cleartool "commands" that are executed in one abstracted layer, so adding such capabilities is SMOP (Simple Matter Of Programming). I've considered doing it because we want to create candidate branches via Ant, and that means building a branch on the fly given inputs from the CM running the Ant "build" - currently we use , but I've cobbled the ClearCase task to provide a debug property to turn off execution of the cleartool commands (useful if you plan to take the build script home and don't happen to have ClearCase installed on your home computer). I hope to get free time soon to post that change back to the group, along with at least one other one. Also, you might want to post questions like this to the users email list instead of the dev list - you might get more/better answers that way actually. Have fun! - Bob -- Bob Hays "Discipline is never an end in 135 S. LaSalle itself, only a means to an end." MS 3010 -- King Crimson Chicago, IL 60602 "Whoever flees history will be (312) 904-4668 (V) pursued by history." (312) 904-0322 (F) -- Janusz Korczak electricbob@telocity.com "Faster! Faster! Until the thrill http://alephnaught.net of speed overcomes the fear of death." "Nothing great was ever achieved -- Hunter S. Thompson without enthusiasm." "Security is very frequently the -- Ralph Waldo Emerson commencement of calamity." "A common mistake that people -- Paterculus make when trying to design "Problems cannot be solved at the something foolproof is to same level of awareness that underestimate the ingenuity created them." of complete fools." -- Albert Einstein -- Douglas Adams "People will work for money, but they'll give a piece of their lives for meaning." -- Schwab's Dawn Lapore "Creativity is allowing oneself to make mistakes. Art is knowing which ones to keep." -- Scott Adams "The surest way to corrupt a youth is to instruct him to hold in higher regard those who think alike than those who think differently." -- Nietzche -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d+(-)@ s+:+ a C++(+++)$ U$ P+$ L@ E+++$ W+++$ N++ !o-- K--? w$ !O M$ V@ PS+ PE !Y+ PGP t !5-- !X !R tv+ b++() DI+ !D- G-- e++ h--- r+++ y+++** ------END GEEK CODE BLOCK------ > -----Original Message----- > From: Burkley Frederick G NPRI [mailto:BurkleyFG@Npt.NUWC.Navy.Mil] > Sent: Thursday, April 25, 2002 10:04 AM > To: 'ant-dev@jakarta.apache.org' > Subject: Integration with Rational Clearcase > > > Hello, > > Im looking at using Ant as my build tool for a large project. We > are traditionally a C, C++ house so use Clearcase as our PVC tool > with make files for UNIX and omake files for Windows. One nice > feature Clearcase gives is the ability to interrogate a > configuration record (catcr) and see the versions of all objects > that make up an executable. Of course, this is useful when > looking at an executable "in the field" and seeing how it was built. > > I would like to use Ant as it is the defacto build tool for Java. > > My question is: Does Ant or some Ant task have the ability to > query a class file and tell what version it is? > > > Thanks in advance, > Fred Burkley > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > ------=_NextPart_000_002B_01C1EE89.2C9AFE90 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: ------=_NextPart_000_002B_01C1EE89.2C9AFE90--