BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Configuring OpenElis in IntelliJ For Development

  1.  Go inside /openelis folder and Right Click on /WebContent folder and select Make Module 'openelis'  option.
    Screen Shot 2015-05-20 at 12.00.12 PM.png
  2. You need Jetty Server for running OpenElis because it fast and small and very handy with IntelliJ Idea. For installing Jetty Server: Follow the given link and download https://eclipse.org/jetty/downloads.php OR You can use 'brew' to install it brew install jetty
  3. You need plugin to run Jetty Server. For that follow the given steps: -Go on IntelliJ IDEA preferences -Plugins from Left Side Bar -Search for Jetty plugin -Enable Jetty Integration and Apply it. Note: If Jetty will not show in plugins then click Browse repositories... and install plugin from web.
    Screen Shot 2015-05-20 at 11.46.28 AM.png
  4. Now Right click on /openelis folder and go inside 'Open Module Settings' and follow the given steps: On the left hand side: a) select Project-> You will see Project name: openelis b) select Modules      ->click on Add '+' button above the project name 'openelis' with folder icon is showed      ->add 'Web' from list of options to 'openelis'      ->click on 'Web' the following information you will see:            * In Deployment Descriptors section the path for 'web.xml' is like                       /Users/jaiprak/dock/OpenElis/openelis/WebContent/WEB-INF/web.xml            * In Web Resource Directories section the web resource directories path is like                      /Users/jaiprak/dock/OpenElis/openelis/WebContent                and Path Relative to deployment Root is '/' only.            * In Source Roots section at the end the checkbox will be enabled for given source like                      /Users/jaiprak/dock/OpenElis/openelis/src       ->Click openelis                Sources tab -> Under the 'Mark as' section it will show directory structure path of openelis of marked Sources|Tests|Resources etc. like                      /Users/jaiprak/dock/OpenElis/openelis                Paths tab -> 'Inherit project compile output path' should be enable so that                             Output path: /Users/jaiprak/dock/OpenElis/openelis/out/production/openelis                      Test output path: /Users/jaiprak/dock/OpenElis/openelis/out/test/openelis c) select Artifacts      ->click Add '+' button on the top      ->select Web Aplication: Exploded      ->select From Modules -> select openelis             After that the shown information is like that                Output directory: /Users/jaiprak/dock/OpenElis/openelis/out/artifacts/openelis_Web_exploded                                 Type: Web Aplication: Exploded d) select Libraries        -> click Add '+' button-> Java and give library path for test i.e.                 /Users/jaiprak/dock/OpenElis/openelis/test/lib        -> click Add '+' button-> Java and give library path for app i.e.                /Users/jaiprak/dock/OpenElis/openelis/WebContent/WEB-INF/lib        -> Give seperate name to them like 'lib' and 'lib2'.        -> We don't need Sources we need only Classes so remove Sources using '-' button at the bottom. e) select Facets -> Detection -> check Enable framework detection.
    Open Module Settings menu.pngScreen Shot 2015-05-20 at 12.03.14 PM.pngScreen Shot 2015-05-19 at 6.23.12 PM.pngScreen Shot 2015-05-20 at 12.09.04 PM.pngScreen Shot 2015-05-20 at 12.11.36 PM.png
  5. Go on Run menu -> Edit Configurations...    ->Select Jetty Server from the left and click Add '+' button on top ->Jetty Server -> Local    ->Give the Name : openelis and click Configure.. button in Server tab to configure Application Server as shown in the figure:   -> Set up the local url setting and in Jetty Server Settings section check the modules/jmx.mod
    Screen Shot 2015-05-20 at 12.22.02 PM.pngScreen Shot 2015-05-20 at 12.25.41 PM.png
  6. Now After doing all settings Rebuild the project and Run in.
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗