From: <sea...@mi...> - 2007-09-14 22:59:14
|
Update of /cvsroot/jaffa/JaffaBuild/build In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv28612 Modified Files: code-generator.xml Log Message: - Added new targets to generate targeted CRUDs. Index: code-generator.xml =================================================================== RCS file: /cvsroot/jaffa/JaffaBuild/build/code-generator.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** code-generator.xml 21 Sep 2006 22:40:33 -0000 1.4 --- code-generator.xml 14 Sep 2007 22:59:08 -0000 1.5 *************** *** 34,37 **** --- 34,45 ---- formatXml-maintenance - Format maintenance pattern XML formatXml-skeleton - Format skeleton pattern XML + + Available Targeted Code Generators: + -Dapp.target=[DomainObjectName] generate-targeted-CRUD - Generate all CRUD code for a targeted Domain Object + -Dapp.target=[DomainObjectName] generate-targeted-finder - Generate finder CRUD code for a targeted Domain Object + -Dapp.target=[DomainObjectName] generate-targeted-viewer - Generate viewer CRUD code for a targeted Domain Object + -Dapp.target=[DomainObjectName] generate-targeted-lookup - Generate lookup CRUD code for a targeted Domain Object + -Dapp.target=[DomainObjectName] generate-targeted-maintenance - Generate maintenance CRUD code for a targeted Domain Object + </echo> </target> *************** *** 124,127 **** --- 132,137 ---- <target name="generate-all" depends="generate-domain,generate-finders,generate-viewers,generate-maintenance,generate-lookups"/> + <target name="generate-targeted-CRUD" depends="generate-targeted-finder,generate-targeted-viewer,generate-targeted-maintenance,generate-targeted-lookup"/> + <!-- ====================================================================================================== --> *************** *** 155,158 **** --- 165,174 ---- </target> + <target name="generate-targeted-finder" depends="generator-init"> + <patterngenerator> + <fileset dir="${project.build}/patterns/object_finder_2_1" includes="${app.target}Finder.xml"/> + </patterngenerator> + </target> + <!-- ====================================================================================================== --> *************** *** 164,167 **** --- 180,189 ---- </patterngenerator> </target> + + <target name="generate-targeted-viewer" depends="generator-init"> + <patterngenerator> + <fileset dir="${project.build}/patterns/object_viewer_2_1" includes="${app.target}Viewer.xml"/> + </patterngenerator> + </target> *************** *** 175,178 **** --- 197,206 ---- </target> + <target name="generate-targeted-maintenance" depends="generator-init"> + <patterngenerator> + <fileset dir="${project.build}/patterns/object_maintenance_2_1" includes="${app.target}Maintenance.xml"/> + </patterngenerator> + </target> + <!-- ====================================================================================================== --> *************** *** 185,188 **** --- 213,222 ---- </target> + <target name="generate-targeted-lookup" depends="generator-init"> + <patterngenerator> + <fileset dir="${project.build}/patterns/object_lookup_2_1" includes="${app.target}Lookup.xml"/> + </patterngenerator> + </target> + <!-- ====================================================================================================== --> |