From ddlutils-user-return-697-apmail-db-ddlutils-user-archive=db.apache.org@db.apache.org Tue Sep 18 04:07:58 2007 Return-Path: Delivered-To: apmail-db-ddlutils-user-archive@www.apache.org Received: (qmail 527 invoked from network); 18 Sep 2007 04:07:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2007 04:07:58 -0000 Received: (qmail 34640 invoked by uid 500); 18 Sep 2007 04:07:50 -0000 Delivered-To: apmail-db-ddlutils-user-archive@db.apache.org Received: (qmail 34617 invoked by uid 500); 18 Sep 2007 04:07:50 -0000 Mailing-List: contact ddlutils-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-user@db.apache.org Delivered-To: mailing list ddlutils-user@db.apache.org Received: (qmail 34606 invoked by uid 99); 18 Sep 2007 04:07:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 21:07:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tomdzk@gmail.com designates 64.233.162.234 as permitted sender) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 04:09:42 +0000 Received: by nz-out-0506.google.com with SMTP id m7so911854nzf for ; Mon, 17 Sep 2007 21:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=KTrtPSut2LKk7UQ5EStO+LOdHEfPdoa+eOyFNKX3scM=; b=sItcSZiL++NtPXpGLTNgp/iZAMlsHorfLJMVhIDNM1Tjw78HBmwKqnU/mLSmV0bs/87fFXSaeQVMaR5/xuzDIoH7SDoMh4Bvsj8DVKOt5DjJKfBfVdwvo5O0wEfBjN5rdO5c9MwilwFfh2Vb47/sVBeIokeUWEG/YerYGOKQx4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sYPeF20SpLh08OUW9uHHSSBTLuZiSnvZJf7H9351V2C5fLP3PS5hp60rHzgOExbL2QMAfqbvzEYDgeqncB/fESKi2Qwn8Fx5vrr7AWfuAyena6lp2lwtbOgcI4ogw3ZCruztqhgE9DPEz5aUbJYU3HS3ZiF2UzwGyGIRN8WqeTk= Received: by 10.65.95.12 with SMTP id x12mr12052631qbl.1190088447518; Mon, 17 Sep 2007 21:07:27 -0700 (PDT) Received: by 10.65.163.14 with HTTP; Mon, 17 Sep 2007 21:07:27 -0700 (PDT) Message-ID: <224f32340709172107w290e2808q6c8fe3283da064d6@mail.gmail.com> Date: Mon, 17 Sep 2007 21:07:27 -0700 From: "Thomas Dudziak" To: ddlutils-user@db.apache.org Subject: Re: Java macro-objectsequivalent to Ant tasks ? In-Reply-To: <908791.7147.qm@web34415.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <908791.7147.qm@web34415.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org On 9/17/07, Laurent ROCHE wrote: > I was wondering if anyone has written using the Java API some macro-objects (or whatever you want to call them) equivalent to the Ant tasks but then I realised I could simply use the code ran by the Ant Tasks. > > Is there anything more (than written in the API doc) I should know about using the WriteDataToFileCommand class ? The Ant tasks are pretty much wrappers around API classes, in the case of the WriteDataToFileCommand around the DatabaseDataIO class. Their usage should be straightforward and the Ant task code should be a good starting pint. Tom