Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 4476 invoked from network); 26 Sep 2008 05:42:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2008 05:42:02 -0000 Received: (qmail 18704 invoked by uid 500); 26 Sep 2008 05:41:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 18674 invoked by uid 500); 26 Sep 2008 05:41:54 -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 18663 invoked by uid 99); 26 Sep 2008 05:41:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2008 22:41:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jaikumar.sharma@barco.com designates 32.58.34.227 as permitted sender) Received: from [32.58.34.227] (HELO kndmail.barco.com) (32.58.34.227) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 Sep 2008 05:40:52 +0000 Received: From KNDFEX01.barco.com ([150.158.234.30]) by kndmail.barco.com (WebShield SMTP v4.5 MR3) id 1222407663726; Fri, 26 Sep 2008 07:41:03 +0200 Received: from NOIMEX01.barco.com ([150.158.72.10]) by KNDFEX01.barco.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 26 Sep 2008 07:41:03 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Importance: normal Priority: normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Subject: RE: How to check whether database exists and then proceed ? Date: Fri, 26 Sep 2008 11:10:59 +0530 Message-ID: In-Reply-To: <4916D8D7E909DA45B034BB266733E28F026969@mail-p2s.Baroda.Inteq.Smartweb.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to check whether database exists and then proceed ? Thread-Index: AckflQT035J8It6EQFmxTEfUo9svjAAAE4ogAAA6JUAAAOIfgA== From: "Sharma, Jaikumar" To: "Ant Users List" X-OriginalArrivalTime: 26 Sep 2008 05:41:03.0517 (UTC) FILETIME=[76CA64D0:01C91F9A] X-Virus-Checked: Checked by ClamAV on apache.org My way doing it would be : - To check if an executable (under MSSQL scope) supports to check for a particular database, and return the value which can help further, since ant Support running external programs (EXE) from within Ant.. - probably any third party ant task which could do the job. - ....... An exploration of such things would help you... -----Original Message----- From: Kothari, Shivani [mailto:skothari@inteqnet.com]=20 Sent: Friday, September 26, 2008 10:43 AM To: Ant Users List Subject: RE: How to check whether database exists and then proceed ? Hi, Thanks for pointing it out. I want to check using ant that whether a particular database exits on MSSQL server? And if it exists I want to proceed further in the deployment script. Thanks -----Original Message----- From: Sharma, Jaikumar [mailto:jaikumar.sharma@barco.com] Sent: Friday, September 26, 2008 10:39 AM To: Ant Users List Subject: RE: How to check whether database exists and then proceed ? I think this information is not complete in itself to answer your query, if you become more explicit in framing your question, somebody definitely could help you. - Like which database (MS SQL, Postgres, MySQL, MS Access,... Long list...) database ? - What you want to achieve ? So other can understand, what could be probable solution to your question..etc.. -----Original Message----- From: Kothari, Shivani [mailto:skothari@inteqnet.com] Sent: Friday, September 26, 2008 10:33 AM To: user@ant.apache.org Subject: How to check whether database exists and then proceed ? Hi, How to check whether database exists using ANT and then proceed ? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org DISCLAIMER: Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org DISCLAIMER: Unless indicated otherwise, the information contained in this message is = privileged and confidential, and is intended only for the use of the = addressee(s) named above and others who have been specifically = authorized to receive it. If you are not the intended recipient, you are = hereby notified that any dissemination, distribution or copying of this = message and/or attachments is strictly prohibited. The company accepts = no liability for any damage caused by any virus transmitted by this = email. Furthermore, the company does not warrant a proper and complete = transmission of this information, nor does it accept liability for any = delays. If you have received this message in error, please contact the = sender and delete the message. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org