Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 34160 invoked from network); 14 Jun 2007 06:26:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 06:26:36 -0000 Received: (qmail 82128 invoked by uid 500); 14 Jun 2007 06:26:34 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 82089 invoked by uid 500); 14 Jun 2007 06:26:34 -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 82078 invoked by uid 99); 14 Jun 2007 06:26:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 23:26:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.77.165.40] (HELO smtphq01.interwoven.com) (208.77.165.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 23:26:30 -0700 Received: from smtphq01.interwoven.com (localhost.localdomain [127.0.0.1]) by localhost.interwoven.com (Postfix) with ESMTP id AFBD63B6627 for ; Wed, 13 Jun 2007 23:26:09 -0700 (PDT) Received: from exbehq01.Interwoven.com (exbehq01.interwoven.com [10.192.4.80]) by smtphq01.interwoven.com (Postfix) with ESMTP id A448A3B65A3 for ; Wed, 13 Jun 2007 23:26:09 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: using '/' as the separator for the elements Date: Wed, 13 Jun 2007 23:26:07 -0700 Message-ID: <56A8F47A92B81F4C91648D4E38286A480123AE30@exbehq01.Interwoven.com> In-Reply-To: <11114377.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: using '/' as the separator for the elements Thread-Index: AceuSVz2PHpXH+W9SHCgFV1RkqkbEwAAFF/Q From: "Pritesh Saharey" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org Hi All, We had our product, whose one of command line tool is "mkranch", now if I use this command "mkbranch" it will create a branch for me on our server, its usage is like this Usage: mkbranch [flags] parent brname comment rooted [ownerid [groupid]] for example if I want to create a branch "foo/boo/goo3.1/goo3.1_SP1" and server name is "killme" than the usage will look like this mkbranch killme foo/boo/goo3.1/goo3.1_SP1 "Test branch" lilly=20 but when I try to run this command it gives me error called "Bad name". Now the problem is that if I want to create branch "foo/boo/goo3.1/goo3.1_SP1" than I need to give each element separately like this: mkbranch killme foo "Test branch" lilly mkbranch killme/foo boo "Test branch" lilly mkbranch killme/foo/boo goo3.1 "Test branch" lilly mkbranch killme/foo/boo/goo3.1 goo3.1_SP1 "Test branch" lilly These will create the desired branch for me. So would like to know how can I do it using ANT, so that using '/' as separator and in loop I can create branch in one shot, instead writing 4 or 5 time the same command. Thanks in advance. Wishes, Pritesh=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org