<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.3//EN" "http://www.seasar.org/dtd/components23.dtd"> <components> <include path="j2ee.dicon"/> <include path="internal.dicon"/> <component name="path" class="org.seasar.codegen.ant.DirectoryList" > <!-- addメソッドã®ç¬¬2引数ã¯ç”Ÿæˆã—ãŸã‚½ãƒ¼ã‚¹ã®å‡ºåŠ›å…ˆã§ã™ --> <initMethod name="add"> <arg>"java"</arg> <arg>"target/gen/java"</arg> </initMethod> <initMethod name="add" > <arg>"resource"</arg> <arg>"target/gen/resources"</arg> </initMethod> <initMethod name="add" > <arg>"createtable"</arg> <arg>"target/gen/ddl"</arg> </initMethod> </component> <component class="org.seasar.codegen.impl.CodeGenConfigImpl" > <property name="headerTemplatePath">"test/header.txt"</property> <!-- <property name="versionNoPropertyName">"versionno"</property> <property name="timestampPropertyName">"timestamp"</property> --> <property name="outputAllDaoDicon">true</property> <property name="outputDDL">true</property> <!--入力ファイルåè¨å®š --> <property name="inputFile">"test/S2Dao-Example2.xls"</property> <!--パッケージååè¨å®š --> <property name="packageName">"org.seasar.codegen.sample.camel"</property> <property name="encoding">"UTF-8"</property> </component> <!--入力ファイルè¨å®š --> <component class="org.seasar.codegen.impl.ERWinCSVImportCodeData" > </component> <!-- <component class="org.seasar.codegen.impl.ExcelImportCodeDataSingleSheet"> </component> --> <!-- <component class="org.seasar.codegen.impl.ExcelImportCodeDataMultiSheet"> </component> --> <!-- <component class="org.seasar.codegen.impl.DatabaseImportCodeData"> <property name="schemaName">null</property> <initMethod name="addTable"> <arg>"EMP4"</arg> </initMethod> <initMethod name="addTable"> <arg>"DEPT4"</arg> </initMethod> </component> --> <!--DBタイプè¨å®š--> <!-- <component class="org.seasar.codegen.dbms.DB2" > </component> --> <!-- <component class="org.seasar.codegen.dbms.MySQL"> </component> --> <!-- <component class="org.seasar.codegen.dbms.MaxDB"> </component> --> <!-- <component class="org.seasar.codegen.dbms.Oracle"> </component> --> <!-- <component class="org.seasar.codegen.dbms.HSQL"> </component> --> <!-- <component class="org.seasar.codegen.dbms.PostgreSQL"> </component> --> <!-- <component class="org.seasar.codegen.dbms.Derby"> </component> --> <component class="org.seasar.codegen.dbms.H2"> </component> <!-- <component class="org.seasar.codegen.dbms.MSSQLServer"> </component> --> <component class="org.seasar.codegen.convert.impl.CamelConverterImpl"> </component> <component class="org.seasar.codegen.convert.impl.FKNameChildNameConverterImpl"> </component> </components>