ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Butler <jeffgbut...@gmail.com>
Subject Re: Ibtor not preserving custom methods
Date Mon, 25 May 2009 18:23:02 GMT
Sorry - make that two *ant* tasks - not two eclipse tasks.

Jeff Butler

On Mon, May 25, 2009 at 2:19 PM, Jeff Butler <jeffgbutler@gmail.com> wrote:

> There are two eclipse tasks - one in the base ibator.jar, another in the
> eclipse plugin.  You need to use the one in the eclipse plugin.  You are not
> using the Ant task in eclipse.
>
> Look in the ecflipse help for Ibator - there is a page on running Ant in
> eclipse.  Here's the SVN link too:
>
>
> http://svn.apache.org/repos/asf/ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/usingAnt.html
>
> Jeff Butler
>
>
>
>
>
> On Mon, May 25, 2009 at 2:10 PM, NathanM <nathan.mellor@infdig.com> wrote:
>
>>
>>
>>
>> Jeff Butler-2 wrote:
>> >
>> > If you use the eclipse integrated ant task in eclipse you can solve both
>> > problems - you can control the classpath through the Ant launch
>> > configuration, anf the integrated ant task supports Java merging.
>> >
>> > Jeff Butler
>> >
>> >
>> >
>>
>> I thought I *was* using the integrated ant task and it is overwriting
>> everything. Do you see anything wrong with my ant target snippet below?
>>
>> It works but it does not automerge the java files.
>>
>> Nathan
>>
>>
>>    <target name="genfiles" description="Generate the files">
>>      <taskdef name="ibator"
>>               classname="org.apache.ibatis.ibator.ant.IbatorAntTask"
>>               classpath="lib\ibator.jar;bin" />
>>      <ibator overwrite="false" configfile="ibatorConfig.xml"
>> verbose="false" >
>>        <propertyset>
>>          <propertyref name="generated.source.dir"/>
>>        </propertyset>
>>      </ibator>
>>    </target>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Ibtor-not-preserving-custom-methods-tp23679529p23710953.html
>> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>>
>>
>

Mime
View raw message