Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1045

Call generator from a child directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CODEGEN-2.9.1
    • Component/s: Nuxeo CLI
    • Upgrade notes:
      Hide

      Generator is able to find recursively the root file by looking at the .yo-rc file

      Show
      Generator is able to find recursively the root file by looking at the .yo-rc file

      Description

      When trying to generate something in a child module (for instance, if you'd like to create an `operation` in a `web` module).
      Yeoman found a ".yo-rc.json" file in parent folder and change the "project root" folder that creates on the "core" submodule instead of the selected one.

        Attachments

          Activity

            People

            • Assignee:
              akervern Arnaud Kervern
              Reporter:
              akervern Arnaud Kervern
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: