Skip to content

Latest commit

 

History

History
101 lines (66 loc) · 3.53 KB

Developer-Guide.md

File metadata and controls

101 lines (66 loc) · 3.53 KB

Scouter Developer Guide

English Korean

You can import scouter project as maven project.

  • build

    • server & agent : mvn clean package
    • client : mvn -f ./scouter.client.build/pom.xml clean package
  • import project to the IDE

    • Scouter project : import maven project using the parent pom. & install Scala IDE for Eclipse
    • Scouter client project (for Eclipse Neon+ & java8)
      • build server & agent first then it makes scouter.common.jar and register it for client project library.
      • use "import existing maven project"
        • select the directory, ./scouter.client.build/pom.xml (It's parent pom)
      • If your eclipse doesn't have ZEST plugin, you should install it.

contents below are deprecated.

Git Fork

make development environment

1. Install Eclipse
2. Open git perspective
3. copy scouter url
4. Click - Clone a Git repository
5. paste the url copied and click next
6. Choose branch and click next
7. Choose repository for clone

Check "Import all existing Eclipse project after clone finishes" for auto import.

8. Import Projects
9. Choose Import existing Eclipse projects
10. Click Finish
11. It can be shown in Java EE perspective
12. Change to Maven Project
  • change scouter.client.build project to Maven Project
13. add "TOOLS_JAR" Classpath Variable
  • Eclipse Preferences : Java -> Build Path -> Classpath Variables
  • Name : "TOOLS_JAR", choose $JAVA_HOME/lib/tools.jar for Path
14. plugin install : Zest for client build error
2. Client Build
  • mvn clean package on scouter.client.build/pom.xml

  • artifact location : target/products

Appendix

Install Scala IDE(for scouter.server)
  • Help - Eclipse Marketplace : search "scala ide"
  • Install Scala IDE 4.2.x