Created
September 17, 2017 07:48
-
-
Save AndrienkoAleksandr/7c74225f76ffcf2f20718d0d694f2213 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title" : "Spring MVC", | |
"fragments" : [ | |
{ | |
"title" : "Creation new Spring MVC sample", | |
"text" : "To create simple Spring MVC project inside Eclipse CHE you can click \"Workspace\" -> \"Create Project...\" . When IDE open \"Create new Project\" wizard, select, please, \"web-java-spring\" from the list of the \"Samples\", type project name and click \"Ok\" button. IDE will create new Spring project for you and you will see it in the \"Project Explorer\" widget." | |
}, | |
{ | |
"title" : "Run Spring Application with help tomcat", | |
"text" : "To run Spring application you need build it. Eclipse CHE Spring project template based on maven build tool. IDE provides with project template list of commands <bold>to build<bold> and run this application. This command you can see in the bottom \"Comman widget\". So simple select little triangle under the run command button, and select from commands list \"$your_project_name: Build and run\". In the process panel you will see command output and preview URL \"preview\". Click on the preview url and IDE will open for launched on the tomcat Spring web application. ", | |
"actionLink" : { | |
"label" : "Open some file", | |
"actionId" : "openFile", | |
"parameters": { | |
"file" : "/${current.project.path}/pom.xml", | |
"line" : 100 | |
} | |
} | |
}, | |
{ | |
"text" : "You can navigate in the source code with help Project Explorer. It located in the left Panel with label \"Projects\"", | |
"actionLink" : { | |
"label" : "Reveal tree to the node src/main/java", | |
"actionId" : "scrollFromSource", | |
"parameters": { | |
"path" : "${current.project.path}/src/main/webapp/index.jsp" | |
} | |
} | |
}, | |
{ | |
"title" : "Run command", | |
"text" : "Run command inside Eclipse CHE", | |
"actionLink" : { | |
"label" : "Build Spring", | |
"actionId" : "runCommand", | |
"parameters": { | |
"name" : "Spring: build and run" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment