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

As a tools developer, I would like for portal tools that have main() methods like ServiceBuilder to optionally through exceptions instead of simply printing to console

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0 M5
    • Component/s: Dev Tools
    • Labels:

      Description

      As a tools developer, I would like for portal tools that have main() methods like ServiceBuilder to optionally through exceptions instead of simply printing to console.

      In IDE we are directly invoking some liferay-maven-plugin goals (mojos) so there is no external console for the developer to see errors that may happen in Liferay tools builders like service builder. It would be good if when errors occur in ServiceBuilder that the exceptions could bubble up to the liferay-maven-plugin mojo execute().

      As per conversation with Shuyang, he recommended that all "tools" that have main methods and read arguments could share a piece of code that looks for a particular parameter that tells the tool to throw the caught exception instead of just printing to console.

        Attachments

          Activity

            People

            • Assignee:
              lawrence.lee Lawrence Lee
              Reporter:
              gregory.amerson Gregory Amerson
              Recent user:
              Shalaka Tendulkar
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.0.0 M5