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

blade create failure does not return exit code > 0

    Details

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

      Description

      [email protected]:/workspace# blade create -t mvc-portlet foo
      Invalid syntax for version: 7.3.10XX
      java.lang.IllegalArgumentException: Invalid syntax for version: 7.3.10XX
      	at aQute.bnd.version.Version.<init>(Version.java:52)
      	at aQute.bnd.version.Version.parseVersion(Version.java:171)
      	at com.liferay.blade.cli.gradle.GradleWorkspaceProvider.getLiferayVersion(GradleWorkspaceProvider.java:119)
      	at com.liferay.blade.cli.command.CreateCommand._getLiferayVersion(CreateCommand.java:534)
      	at com.liferay.blade.cli.command.CreateCommand.getProjectTemplateArgs(CreateCommand.java:338)
      	at com.liferay.blade.cli.command.CreateCommand.execute(CreateCommand.java:168)
      	at com.liferay.blade.cli.BladeCLI._runCommand(BladeCLI.java:1313)
      	at com.liferay.blade.cli.BladeCLI.runCommand(BladeCLI.java:662)
      	at com.liferay.blade.cli.BladeCLI.run(BladeCLI.java:502)
      	at com.liferay.blade.cli.BladeCLI.main(BladeCLI.java:133)
      Cannot determine Liferay Version. Please enter a valid value for Liferay Version.
      java.io.IOException: Cannot determine Liferay Version. Please enter a valid value for Liferay Version.
      	at com.liferay.blade.cli.command.CreateCommand.getProjectTemplateArgs(CreateCommand.java:341)
      	at com.liferay.blade.cli.command.CreateCommand.execute(CreateCommand.java:168)
      	at com.liferay.blade.cli.BladeCLI._runCommand(BladeCLI.java:1313)
      	at com.liferay.blade.cli.BladeCLI.runCommand(BladeCLI.java:662)
      	at com.liferay.blade.cli.BladeCLI.run(BladeCLI.java:502)
      	at com.liferay.blade.cli.BladeCLI.main(BladeCLI.java:133)
      [email protected]:/workspace# echo $?
      0
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ethan.sun Ethan Sun (Inactive)
              Reporter:
              gregory.amerson Gregory Amerson
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  master