Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 64797 invoked from network); 26 Nov 2009 06:14:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Nov 2009 06:14:50 -0000 Received: (qmail 12794 invoked by uid 500); 26 Nov 2009 06:14:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 12526 invoked by uid 500); 26 Nov 2009 06:14:47 -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 12516 invoked by uid 99); 26 Nov 2009 06:14:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 06:14:46 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 06:14:43 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id nAQ6ELMK003335 for ; Thu, 26 Nov 2009 07:14:21 +0100 Received: from z011101.bk.fin.local ([130.11.7.101]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Nov 2009 07:14:21 +0100 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011101.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Nov 2009 07:14:21 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Ant API Date: Thu, 26 Nov 2009 07:14:20 +0100 Message-ID: <9EE86F1965E19E499C80DE52AC807B55051714F4@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Ant API Thread-Index: AcpuRkmrCSk6l1h7SuGRIL07OEZmDgAGR2rw References: <26516343.post@talk.nabble.com> <7cbc132f0911251645t235813dfkc33e814fd7674833@mail.gmail.com> <26523798.post@talk.nabble.com> From: To: X-OriginalArrivalTime: 26 Nov 2009 06:14:21.0789 (UTC) FILETIME=[B1D400D0:01CA6E5F] Have a look at JavaFront http://svn.apache.org/repos/asf/ant/sandbox/javafront/ Maybe Leafcutter will help too https://leafcutter.dev.java.net/ When using Ant as library you should have a oata.Project instance given = to the tasks. Many problems occur because this is not present. Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: LukeS [mailto:luke.shannon@gmail.com]=20 >Gesendet: Donnerstag, 26. November 2009 04:12 >An: user@ant.apache.org >Betreff: Re: Ant API > > >Thank you. > >I will check out this API. On my list of things to support=20 >are: SVN, SCP, >CVS, Database connectivity, creating folders and zip and=20 >unzipping archives. >You are right, I could be doing this directly with Java,=20 >however it just >seems easier through Ant (I have a build file that does=20 >everything I want >right now, it would take a while to write java code to do the same).=20 > >I am fine with the CVS and SVN integration requiring the cvs binaries >installed in the system for now.=20 > >I did find this which pretty much explains what I was looking for: > >http://onjava.com/pub/a/onjava/2002/07/24/antauto.html?page=3D3 > > >Robert Anderson-6 wrote: >>=20 >> Actually the cvs ant task system.execs the cvs binary. You=20 >can probably >> find >> pure java cvs api to use. A quick search turned up this... >> http://www.jcvs.org/ >>=20 >> For the database, I'm not sure what you are doing but there are some >> really >> great persistance layers worth looking at, like hibernate and ibatis. >> Otherwise just use the built in java.sql stuff for running=20 >queries. Take a >> look at the source code for the Ant sql task, maybe it will=20 >be usefull to >> you. >>=20 >> -Rob Anderson >>=20 >> On Wed, Nov 25, 2009 at 8:58 AM, LukeS=20 > wrote: >>=20 >>> >>> I'm interested in embedding Ant into an application and=20 >would like to use >>> the >>> Ant api. >>> >>> I want to do this because there are a few tasks I want to=20 >perform (CVS >>> integration, connecting to DB) and it seems like it it=20 >would be easier to >>> call Ant to do this: >>> >>> http://api.dpml.net/ant/1.7.0/index.html?overview-summary.html >>> >>> I was wondering if anyone could refer me to some sort of=20 >documentation or >>> references with some examples of best practice for using this API. >>> >>> Thanks! >>> -- >>> View this message in context: >>> http://old.nabble.com/Ant-API-tp26516343p26516343.html >>> Sent from the Ant - Users mailing list archive at Nabble.com. >>> >>> >>>=20 >--------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>> For additional commands, e-mail: user-help@ant.apache.org >>> >>> >>=20 >>=20 > >--=20 >View this message in context:=20 >http://old.nabble.com/Ant-API-tp26516343p26523798.html >Sent from the Ant - Users mailing list archive at Nabble.com. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org