castor

Ant task for DDL generator

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1 M2
  • Fix Version/s: 1.1.1
  • Component/s: JDO DDL generator
  • Labels:
    None
  • Number of attachments :
    5

Description

Similar to what we offer for the XML code generator .....

  1. patch.c1787.20070218.txt
    18/Feb/07 7:08 AM
    9 kB
    Werner Guttmann
  2. patch.c1787.20070218-002.txt
    18/Feb/07 7:16 AM
    9 kB
    Werner Guttmann
  3. patch.c1787.20070218-003.txt
    18/Feb/07 8:06 AM
    10 kB
    Werner Guttmann
  4. patch.c1787.20070218-004.txt
    18/Feb/07 8:28 AM
    14 kB
    Werner Guttmann
  5. patch-C1787-20070218-005.txt
    18/Feb/07 8:59 AM
    17 kB
    Ralf Joachim

Activity

Hide
Werner Guttmann added a comment -

Initial patch for review .... there's still a few things I would like to change, but let's first talk. Anybody volunteering for testing .... ?

Show
Werner Guttmann added a comment - Initial patch for review .... there's still a few things I would like to change, but let's first talk. Anybody volunteering for testing .... ?
Hide
Werner Guttmann added a comment -

Improved patch, with some logic moved around.

Show
Werner Guttmann added a comment - Improved patch, with some logic moved around.
Hide
Werner Guttmann added a comment -

With the following Ant build file fragment, this should work ....

<taskdef name="castor-ddlgen" classname="org.castor.anttask.CastorDDLGenTask"
classpathref="build.classpath"/>
<castor-srcgen file="mapping.xml"
databaseEngine="mysql"
ddlFileName="output.sql" />

Show
Werner Guttmann added a comment - With the following Ant build file fragment, this should work .... <taskdef name="castor-ddlgen" classname="org.castor.anttask.CastorDDLGenTask" classpathref="build.classpath"/> <castor-srcgen file="mapping.xml" databaseEngine="mysql" ddlFileName="output.sql" />
Hide
Werner Guttmann added a comment -

Final patch for initial review.

Show
Werner Guttmann added a comment - Final patch for initial review.
Hide
Werner Guttmann added a comment -

Added HTML docs for new Ant task and linked it into the menu.

Show
Werner Guttmann added a comment - Added HTML docs for new Ant task and linked it into the menu.
Hide
Ralf Joachim added a comment -

Updated patch with soem modifications to CastoDDLGenTask and modifications to build scripts. At build scripts I needed to modify compile sequence and classpath. In addition i added ddlgen target to test ddl generation through CastorDDLGenTask. Having said that this patch does not include docs from 004 patch.

Show
Ralf Joachim added a comment - Updated patch with soem modifications to CastoDDLGenTask and modifications to build scripts. At build scripts I needed to modify compile sequence and classpath. In addition i added ddlgen target to test ddl generation through CastorDDLGenTask. Having said that this patch does not include docs from 004 patch.
Hide
Ralf Joachim added a comment -

Comparing code and doc of CastorDDLGenTask I recognized that ddlfilename is a required parameter. This need to be changed in docs or we need to modify CastorDDLGenTask a bit.

Show
Ralf Joachim added a comment - Comparing code and doc of CastorDDLGenTask I recognized that ddlfilename is a required parameter. This need to be changed in docs or we need to modify CastorDDLGenTask a bit.
Hide
Werner Guttmann added a comment -

Ralf, I just decided to commit HTML code separately, and leave the rest to yourself (rather than fiddling around with multiple patches).

Show
Werner Guttmann added a comment - Ralf, I just decided to commit HTML code separately, and leave the rest to yourself (rather than fiddling around with multiple patches).
Hide
Werner Guttmann added a comment -

Ralf, just committed the changes to the HTML docs, and a small patch that changes the name of the JAR that holds the Ant task definitions to castor<<release>-anttasks.jar. In other words, it's all yours ....

Show
Werner Guttmann added a comment - Ralf, just committed the changes to the HTML docs, and a small patch that changes the name of the JAR that holds the Ant task definitions to castor<<release>-anttasks.jar. In other words, it's all yours ....

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
1h
Original Estimate - 1 hour
Remaining:
1h
Remaining Estimate - 1 hour
Logged:
Not Specified
Time Spent - Not Specified