Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-55188

Example create.sh Usage message does not work for any plugin types

    Details

      Description

      In the Plugins SDK there is a "create" tool that when run with no arguments outputs:

      [jhf@James-Falkners-MacBook-Pro-Update-2]  ~/lr/62ga4/sdk/portlets  $ sh create.sh
      
      Usage: ./create.sh hello-world "Hello World"
      

      If you then try to run that example it fails:

      [jhf@James-Falkners-MacBook-Pro-Update-2]  ~/lr/62ga4/sdk/portlets  $ sh ./create.sh hello-world "Hello World"
      Parallel execution with configuration on demand is an incubating feature.
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Task 'World"' not found in root project 'sdk'.
      
      * Try:
      Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 2.896 secs
      

      Not a good first impression....

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              james.falkner James Falkner
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 39 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 M5