Model driven framework / Code generator Code
Status: Beta
Brought to you by:
hiulius
File | Date | Author | Commit |
---|---|---|---|
configfiles | 2012-03-18 | hiulius | [r19] Updating commit |
inputfiles | 2012-03-18 | hiulius | [r19] Updating commit |
outputfiles | 2012-03-18 | hiulius | [r19] Updating commit |
xalan | 2012-03-18 | hiulius | [r5] Updating commit |
README.txt | 2012-03-26 | hiulius | [r20] Updating README.txt |
entity.xsd | 2012-03-18 | hiulius | [r18] Updating commit |
runbuild.bat | 2012-03-18 | hiulius | [r16] Updating commit |
table.xsd | 2012-03-18 | hiulius | [r18] Updating commit |
Quick usage information: in the inputfiles folder you will have to define your entities: - bussines entities go in the folder inputfiles\entities Sample entity: <entity > <id>flag</id> <!-- datatype is a database column datatype --> <datatype>char</datatype> <size>16</size> <precision>0</precision> <name>Card</name> </entity> - table structure goes in the tables folder - inputfiles\tables The files are xmls, I stripped the extension to make the runbuild.bat simple. Download xalan and place it in the xalan folder. The following jars are required to run a test build: xalan/xalan.jar xalan/serializer.jar xalan/xml-apis.jar xalan/xercesImpl.jar The code is generated by the for loops in the runbuild.bat file, this process may be replaced by a java class.