2008-09-07から1日間の記事一覧
関係者の方、参加された方、おつかれさまでした。当日の資料は以下のサイトでダウンロードできます。デモが中心だったためページ数は少ないですが、ぜひご覧ください。 http://event.seasarfoundation.org/sc2008autumn/Session#a1会場で受けた質問やブログ…
テンプレートを格納したディレクトリをtemplatefileprimarydir属性に指定します。 テンプレートファイルの名前はxxxtemplatefilename属性に指定します。(xxxのところはタスクで異なります)たとえば、gen-entityの場合こんな感じです。 <gen-entity rootpackagename="example" templatefileprimarydir="mydir" entitytemplatefilename="my-entity.ftl" classpathref="classpath" /> テンプレートファイ</gen-entity>…
下のエントリに関連するのでついでに。 <gen-entity rootpackagename="example" templatefileprimarydir="mydir" classpathref="classpath" /> temptemplatefileprimarydirを指定して、そのディレクトリにcopyright.ftlという名前でコピーライトの記述をしておくとファイルの生成時に含まれるようになります。</gen-entity>