ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Qian" <daqiqi...@aol.com>
Subject Re: [ABATOR] Source Target?
Date Tue, 04 Apr 2006 16:33:49 GMT


Christopher Lamey wrote on 4/4/2006, 12:24 PM:

 > On Tue, 2006-04-04 at 09:13 -0700, Bruyn Bill wrote:
 >
 > > BTW, what exactly is that targetProject attribute suppsed to do?  Don't
 > > see any reference to that in the doc...
 >
 > targetProject is the target directory/folder for each element.  I have
 > my abator.xml setup so my models go in one dir, the sqlmaps in another,
 > and the daos in yet another.
 >
 > Cheers,
 > Chris
 >

something like:

  <javaModelGenerator targetPackage="com.aol.easysaver.lib.data"
         targetProject="/home/AbatorOutput/src">
       <property name="enableSubPackages" value="false" />
       <property name="trimStrings" value="true" />
     </javaModelGenerator>

     <sqlMapGenerator targetPackage="com.aol.easysaver.lib.xml"
         targetProject="/home/AbatorOutput/src">
       <property name="enableSubPackages" value="false" />
     </sqlMapGenerator>

     <daoGenerator type="IBATIS" 
targetPackage="com.aol.easysaver.lib.dao"
         targetProject="/home/AbatorOutput/src">
       <property name="enableSubPackages" value="false" />
     </daoGenerator>

hope it helps.

Tony


Mime
View raw message