Import nablarch-example project on github into Eclipse

TIS's internal framework Nablarch has been [open sourced](https://nablarch.github.io/docs/5u8/doc/about_nablarch/license .html), so Actually import the nablarch-example project from github into Eclipse

1.1. Prerequisites

--Eclipse is installed (Eclipse 4.6 Neon is used in this post) --In addition, the operating environment of example must be satisfied. -(Required version of java / Maven is installed)

1.2. Preparation

-Prepare according to Application framework manual procedure. --Set http://central.maven.org/maven2/ for all URLs of Project Local Repository

2.1. Execution of import

This time, we will use nablarch-example-web.

2.2. Get the project repository

--Launch Eclipse and open Git staging view --Click "Duplicate Git repository and add to this view" --Duplicate URI → Enter https://github.com/nablarch/nablarch-example-web for URI --If you specify git for the connection, the rest is completed with the default --At this point, the acquisition of the project repository is complete.

3. Build the application

--Since it is troublesome on the command line and you can not get the log, move to the import destination of git and put the bat file --Double-click to run to build and output log --Success if there are two BUILD SUCCESS in the log

const.bat


call mvn -P gsp generate-resources > result.txt
call mvn clean compile >> result.txt

--Open the project from the file system → Specify the import destination of git as the import destination → Complete as it is --Since the project is expanded, you can waitt :: run, unit test, and edit the project.

4. Summary

--Nablarch is open sourced so you can deploy and try examples anywhere ――By using various convenient tools, you can develop the project with less effort.

Recommended Posts

Import nablarch-example project on github into Eclipse
[Eclipse / github] Let's share the project created with eclipse on github For beginners
Deploy a Tomcat-based Eclipse project on Heroku
Install Eclipse on Mac and translate it into Japanese
How to run Java EE Tutial on github on Eclipse
Eclipse ~ Java project creation ~
Try actions on GitHub [actions]
Programmatically import a Maven project from your own Eclipse plugin