Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1638

SDO command-line code generator behaves differently than standalone when invoked in Eclipse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SDO-1.0
    • Java-SDO-1.1
    • Java SDO Tools
    • None
    • OS is Windows XP Professional SP2, and the SDO command line tool is invoked in side an Eclipse 3.3 plugin.

    Description

      I am trying to invoke the SDO command-line code generator inside eclipse which is causing it to behave differently than standalone. The following fix is suggested by Frank in Tuscany:

      1) In class org.apache.tuscany.sdo.generate.adapter.SDOGenModelGeneratorAdapterFactory add another override method, createGenModelAdapter(), to return a new Tuscany subclass of GenModelGeneratorAdapter (e.g., SDOGenModelGeneratorAdapter).
      2) In the new subclass, override the ensureProjectExists() method to do nothing.
      3) Override anything else you need to ...

      Attachments

        1. test1638.zip
          8.33 MB
          David T. Adcox
        2. 1638.patch
          3 kB
          David T. Adcox

        Activity

          People

            Unassigned Unassigned
            zhousean Sean Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: