Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-449 SwitchYard Eclipse Tooling
  3. SWITCHYARD-353

Look into adding fragment.xml file(s) to our jars to help Eclipse auto-load switchyard and sca schemas

    Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: configuration
    • Labels:
      None

      Description

      There's a way of contributing to the eclipse xsd catalog by adding a fragment.xml file to the root of a module. Not totally sure if Eclipse automatically picks these up, or if it needs to be dropped into a special folder in the editor.

      Worth having a look at. I'll attach an example of a fragment.xml file.

        Gliffy Diagrams

        1. fragment.xml
          34 kB
          Tom Fennelly

          Activity

          Hide
          tfennelly Tom Fennelly added a comment -

          OK... tried a few variations of this and only thing I could get working was a full blown eclipse plugin with XML catalog contributions for the schemas. So... chatted with Keith and he'd prefer to leave this and do it as part of the JBT/JBDS tooling for SwitchYard.

          I attached a version of the plugin I got working. Shows how to make the XML catalog contributions etc. Might be of use as a ref when doing tooling. Only includes the core schemas (none of the component schemas).

          Show
          tfennelly Tom Fennelly added a comment - OK... tried a few variations of this and only thing I could get working was a full blown eclipse plugin with XML catalog contributions for the schemas. So... chatted with Keith and he'd prefer to leave this and do it as part of the JBT/JBDS tooling for SwitchYard. I attached a version of the plugin I got working. Shows how to make the XML catalog contributions etc. Might be of use as a ref when doing tooling. Only includes the core schemas (none of the component schemas).
          Hide
          rcernich Rob Cernich added a comment -

          Created a plugin that contributes an xml catalog for resolving switchyard schema references to the built-in Eclipse catalog.

          Note, for best results, disable "Hounour all XML schema locations" in preferences, XML=>XML Files=>Validation.

          Show
          rcernich Rob Cernich added a comment - Created a plugin that contributes an xml catalog for resolving switchyard schema references to the built-in Eclipse catalog. Note, for best results, disable "Hounour all XML schema locations" in preferences, XML=>XML Files=>Validation.
          Hide
          rcernich Rob Cernich added a comment -

          change was pushed a while ago.

          Show
          rcernich Rob Cernich added a comment - change was pushed a while ago.

            People

            • Assignee:
              rcernich Rob Cernich
              Reporter:
              tfennelly Tom Fennelly
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development