From user-return-63730-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Feb 05 00:35:12 2008 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 10140 invoked from network); 5 Feb 2008 00:35:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 00:35:12 -0000 Received: (qmail 97518 invoked by uid 500); 5 Feb 2008 00:35:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 97486 invoked by uid 500); 5 Feb 2008 00:35:01 -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 1160 invoked by uid 99); 4 Feb 2008 21:24:44 -0000 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 m.ficker@googlemail.com designates 72.14.220.155 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=8LFAnmeMa0ashw6rBqqGlHZXUgNBxBJ405rmEF2KuDI=; b=cH4vEWVoIw6w6vVWIXRJO9SgGHkPj+iVZt++4nJklyNcPtzzLg2jfyA4C5K0uY0aELyIY2kGuPkz0i01lHiY9CanOi/NIoa6AjVGARrnFn8LIuy818747E5ngmy67nWyL1JRAARaDYvceRlfFftNGC7ugRTVn901+HmWoMpHWUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=BoPiyJJz9MvhzkxkEgp71Cc3ssBx7oGqdQEyFpHZwxLX0U2FgZyhrl5u7jsuSNq98HnWraYmNzum5y40mTab11tUrxU3yoYNQSHJN35yfjevNugDfpjlExCbtm8vY/d0bWiTyrLX94ZrDFtf+EeNsUWhqVYdsQ2wGXsx44T7VVQ= Message-ID: <47A7834F.5030209@googlemail.com> Date: Mon, 04 Feb 2008 22:27:43 +0100 User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Ant Users List Subject: Re: Generating a CSV file References: <15270139.post@talk.nabble.com> In-Reply-To: <15270139.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Martin Ficker X-Virus-Checked: Checked by ClamAV on apache.org Hello Sam, have you thought of using the sql task(http://ant.apache.org/manual/CoreTasks/sql.html) to write to the database directly? That would avoid generating the csv. Best regards, Martin Sam Hamilton schrieb: > Hi All, > > I would like to generate a CSV file from my Ant script which will then be > entered into a database to I can keep tabs on when the script was run and > who it was run by. I have read the manuals and I can see that you can create > a properties file in Ant but what I am looking for is a file which contains > data similar to this: > > User,Date,SVNVersion > > Is this possible to do in Ant? Would the best way to do this be to write > these details out to a log file? > > Many Thanks, > > Sam > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org