jhipster / generator-jhipster-micronaut

Micronaut blueprint for JHipster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exported JDL cannot be imported

JasonTypesCodes opened this issue · comments

Overview of the issue

When you export the JDL from a generated project and then try to import it in a new folder, it fails

Reproduce the error
  • Generate a new project
  • mhipster export-jdl test.jdl
  • cd ../other-project
  • cp ../first-project/test.jdl ./
  • mhipster import-jdl test.jdl
error: Syntax error message:
        MismatchedTokenException: Expecting --> ']' <-- but found --> '[' <--
        at line: 26, column: 19
Suggest a Fix

Removing otherModules [[object Object]] from the exported JDL seems to fix it

Browsers and Operating System

Fedora Linux 31

  • Checking this box is mandatory (this is just to show you read everything)

This seems to be a bigger issue than just us. Generating a a project with another blueprint:
jhispter --blueprints vuejs
Yields the same results

Looks a main generator thing. Will try to have a look during the week.

The export function comes from jhipster core, need to check what we can do about it.