How to use bboss in combination with ecipse gradle buildship plugin

This article introduces how to use bboss in combination with the ecipse gradle buildship plugin, but it is recommended to use the gradle sts plugin to build and develop projects using the bboss framework in eclipse: click to browse
gradle buildship and Gradle IDE Pack (bboss official recommendation, I personally feel that Gradle IDE Pack is The task panel is more in line with the public's operating habits. Based on this, we recommend Gradle IDE Pack), which are two of the more popular eclipse gradle plug-ins.
Environment preparation:
execute the following instructions on the command line (install the git tool first and configure the environment variables) to


download bboss bestpractice The source code
assumes that the source code is stored in the directory d:/workspace/

cd d:/workspace
git clone -b master --depth 1 https://github.com/bbossgroups/bestpractice.git

1. Install the gradle buildship plugin in eclipse (gradle official recommendation, bboss is not recommended) and import the bestpractice project
1.1 Install the gradle buildship plugin


1.2 Import the bestpractice project into eclipse through gradle bs











1.3 Run the bestpractice/mvc gradle task: deploy and start the mvc web application




2.4 Debug the web application through gradle sts combined with the gretty plugin

Open the gradle tasks panel






Select the project to be debugged and start the debug port:




Set the port of the application to be debugged:









This will start the debug application, and you can access the application in the browser and start debugging. This debugging method is more troublesome. Run the jetty container master A fast and lightweight way to programmatically start and debug applications :

How to quickly and efficiently develop and debug gradle-managed web applications

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326802603&siteId=291194637