Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 7686 invoked from network); 17 Aug 2000 20:44:32 -0000 Received: from ringo.kinzan.com (216.200.7.85) by locus.apache.org with SMTP; 17 Aug 2000 20:44:32 -0000 Received: by ringo.kinzan.com with Internet Mail Service (5.5.2650.21) id ; Thu, 17 Aug 2000 13:44:03 -0700 Message-ID: <89CEE7910009D411A05400D0B71C4DE7136120@ringo.kinzan.com> From: Eric VanLydegraf To: "'ant-dev@jakarta.apache.org'" Cc: jc.mann@paytec.com, jeff.gettle@paytec.com Subject: RE: Ant Task for StarTeam Checkouts Date: Thu, 17 Aug 2000 13:44:02 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Can't speak for Apache but I'm interested to have this task. Is this starteam 4.2 Java API's or using the command line tool ? -----Original Message----- From: Povirk, Chris [mailto:crisco@ratedg.com] Sent: Thursday, August 17, 2000 8:23 AM To: ant-dev@jakarta.apache.org Cc: jc.mann@paytec.com; jeff.gettle@paytec.com Subject: Ant Task for StarTeam Checkouts I have written a task for Ant to check out files from a StarTeam server and am interested in donating to Apache. Here is the Javadoc overview of the program: > Checks out files from a specific StarTeam server, project, view, and folder. > > This program logs in to a StarTeam server and opens up the specified project and view. Then, it searches through that view for the given folder (or, if you prefer, it uses the > root folder). Beginning with that folder and optionally continuing recursivesly, AntStarTeamCheckOut compares each file with your include and exclude filters and checks it > out only if appropriate. > > Checked out files go to a directory you specify under the subfolder named for the default StarTeam path to the view. That is, if you entered /home/cpovirk/work as the target > folder, your project was named "OurProject," the given view was named "TestView," and that view is stored by default at "C:\projects\Test," your files would be checked out > to /home/cpovirk/work/Test." I avoided using the project name in the path because you may want to keep several versions of the same project on your computer, and I didn't > want to use the view name, as there may be many "Test" or "Version 1.0" views, for example. This system's success, of course, depends on what you set the default path to > in StarTeam. > > You can set AntStarTeamCheckOut to verbose or quiet mode. Also, it has a safeguard against overwriting the files on your computer: If the target directory you specify > already exists, the program will throw a BuildException. To override the exception, set force to true. > -Chris Povirk