Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 75731 invoked from network); 13 Oct 2008 16:51:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 16:51:22 -0000 Received: (qmail 19634 invoked by uid 500); 13 Oct 2008 16:51:21 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 19618 invoked by uid 500); 13 Oct 2008 16:51:21 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 19604 invoked by uid 99); 13 Oct 2008 16:51:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 09:51:20 -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 jeffgbutler@gmail.com designates 74.125.46.152 as permitted sender) Received: from [74.125.46.152] (HELO yw-out-1718.google.com) (74.125.46.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 16:50:15 +0000 Received: by yw-out-1718.google.com with SMTP id 5so489420ywr.6 for ; Mon, 13 Oct 2008 09:50:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=yOa9LBbvCcqTxxSJ1YpN6Q87+BZlgx4zNgJkD8NdXIY=; b=WGOiemks+R3NVXxuGZo4stsYv8f6RFZ7LJ0CncV7Ciu+UPUNdxFgYhX7AuXmaPQwGh SedDKhZTyueZGDMeWczccuqH8JQ/wtVsTN/1s2coluLG9eLDcVFvXE/CiV9wsG01G1UR EwEsrY6eJJvvsM+0IcHx6F5/bhQT09PjcYxk4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SDPUs03BIO/zTh1jn4ADLwxUM5duWIrNlhSrYnxl+2vDbg+eok1h6cVPy5wegpvc4q 7Ozf9U8dEBoIbuTX1/N6iiJ6Gmw/+D6wIutU6Q8gTBO1fFScbEQTlIw8NMtITbIMiR1v ZIhVBQ3P+BD0dFbpeWcChPJrcYK/cnxINm05U= Received: by 10.90.90.4 with SMTP id n4mr5684393agb.30.1223916642016; Mon, 13 Oct 2008 09:50:42 -0700 (PDT) Received: by 10.90.79.15 with HTTP; Mon, 13 Oct 2008 09:50:41 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 11:50:41 -0500 From: "Jeff Butler" To: user-java@ibatis.apache.org Subject: Re: Building an Ibator Plugin In-Reply-To: <35dbee350810130830s433fcbd2x65c1105fe2db744d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <35dbee350810130830s433fcbd2x65c1105fe2db744d@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Dan, I intended it to work as you've posted, but there's something wrong. I've been able to duplicate this error. I'll look into it. In the meantime, if you add plugin.jar to the ibator classpath on the it should work. Jeff Butler On Mon, Oct 13, 2008 at 10:30 AM, Dan Turkenkopf wrote: > I'm trying to build my first Ibator plugin against the Ibator SVN source, > but when I run Ibator from the ant task, it can't find the > IbatorPluginAdapter class. > > I've tried adding the ibator.jar as a classpath entry in the > ibatorConfiguration, but then I run into incompatible classes. > > I'm sure it's a pretty straightforward fix, but I'm not sure what I'm doing > wrong. > > Thanks for the help, > Dan Turkenkopf > > My build.xml looks like this: > > > > > > > classpath="ibator.jar"/> > > > > > > > > classname="org.apache.ibatis.ibator.ant.IbatorAntTask" > classpath="ibator.jar" /> > verbose="false" > > > > > > > > > And my ibator-config.xml looks like this: > > > PUBLIC "-//Apache Software Foundation//DTD Apache iBATIS ibator > Configuration 1.0//EN" > "http://ibatis.apache.org/dtd/ibator-config_1_0.dtd"> > > > > > > > > > connectionURL="jdbc:mysql://localhost/DBNAME" > userId="USER_NAME" > password="PASSWORD"> > > > > > > > > > > > > targetProject="src"> > > > > > > > >
> >
>
>