Uploaded image for project: 'PUBLIC - Liferay BLADE'
  1. PUBLIC - Liferay BLADE
  2. BLADE-435

blade create gradle freemarker error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: master
    • Component/s: blade-cli
    • Labels:
      None

      Description

      blade version:3.7.0.SNAPSHOT201905170431

      blade create -t freemarker-portlet projectName -v version

      create failed(7.0,7.1,7.2 all failed)

      error message:
      error: org.apache.maven.archetype.exception.ArchetypeGenerationFailure :: org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: Encountered "#end\n" at line 48, column 1 of archetype-resources/build.gradle
      Was expecting one of:
      <EOF>
      "(" ...
      <RPAREN> ...
      <ESCAPE_DIRECTIVE> ...
      <SET_DIRECTIVE> ...
      "##" ...
      "\\\\" ...
      "
      " ...
      <TEXT> ...
      "*#" ...
      "*#" ...
      <STRING_LITERAL> ...
      <IF_DIRECTIVE> ...
      <STOP_DIRECTIVE> ...
      <INTEGER_LITERAL> ...
      <FLOATING_POINT_LITERAL> ...
      <WORD> ...
      <BRACKETED_WORD> ...
      <IDENTIFIER> ...
      <DOT> ...
      "

      {" ... "}

      " ...

      at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.generateArchetype(DefaultFilesetArchetypeGenerator.java:233)

      For more information run `blade create --trace

        Attachments

        1. freemarker70.png
          freemarker70.png
          30 kB
        2. freemarker71.png
          freemarker71.png
          29 kB
        3. freemarker72.png
          freemarker72.png
          30 kB

          Activity

            People

            Assignee:
            lawrence.lee Lawrence Lee
            Reporter:
            lily.li Lily Li
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                master