Eclipse custom External Tools

Eclipse custom extension tool

  1. Run-->External Tools-->External Tools Configration
  2. New a Program

  3. Enter the name as mybatis-generator, select mvn.bat (maven's executable file) for location, set the work directory to the project path, and set the command to run in Arguments: mybatis-generator:generate

  4. Check the external tools option in the display in favorites menu in common (there will be a command with this name in the drop-down list of external tools in the future)

  5. Run the selected project

     

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326331446&siteId=291194637