jhipster / generator-jhipster-micronaut

Micronaut blueprint for JHipster
Apache License 2.0
99 stars 29 forks source link

Exported JDL cannot be imported #161

Open JasonTypesCodes opened 4 years ago

JasonTypesCodes commented 4 years ago
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
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

JasonTypesCodes commented 4 years ago

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

atomfrede commented 4 years ago

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

atomfrede commented 4 years ago

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