Child pages
  • Migration20

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After Instaling 2.0 , the user should execute the following refactorings:

-----------------------------------

  • to make virtual packages (folders) visible again:
    Tools -> Scripts -> By Language -> jetbrains.mps.lang.core -> Restore Virtual Packages

-----------------------------------

  • convert attributes to the new format (usually in generators, quotations and patterns):
  1. Tools -> Scripts -> By Language -> jetbrains.mps.lang.core -> Convert Attributes
  2. Re-generate languages, then solutions
  3. If you have your own attribute descriptions (AnnotationLinkDeclaration instances) it will require manual migration for each attribute:
    1. Ensure attribute concept described in AnnotationLinkDeclaration (target) is subconcept of one of NodeAttribute, LinkAttribute or PropertyAttribute depending on the attribute stereotype
    2. Define role concept property in attribute concept as attribute role in AnnotationLinkDeclaration
    3. If sourceCardinality was * define multiple concept property in attribute concept
    4. Define attributed concept link from source in AnnotationLinkDeclaration
    5. Perform actions from steps 1 and 2 for migrated attributes
    6. For simple attributes (when they are direct subconcepts of BaseConcept) migration script is available

-----------------------------------

then:

add missing imports everywhere

-----------------------------------

scripts->plugin language->split tabbed editors

regenerate plugins

-----------------------------------

To migrate to the new trace information generation:

Scripts->By Language->jetbrains.mps.lang.plugin->Upgrade Trace Info Generation

-----------------------------------

...

regenerate all generators using quotations and node/xxx/ operation
regenerate all modules

-----------------------------------