Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Local Development Setup

Explv edited this page Jan 23, 2019 · 5 revisions

Local Development Setup

The recommended IDE for development is Intellij IDEA: https://www.jetbrains.com/idea/

  1. Fork the GitHub repo: https://github.com/Explv/Explvs-AIO/fork
  2. Open up Intellij IDEA and navigate to File -> New -> Project From Version Control -> GitHub
  3. Login to your GitHub account
  4. Select your cloned repository's URL
  5. Click Clone, and create your IDEA project
  6. Right click on the "Explvs-AIO" module, and select "Open module settings" (or just press F4)
  7. Navigate to "Project" on the left side of the project settings window
  8. Select your Project SDK
  9. Set the language level to Java 8
  10. Set the project compiler output to the "Explvs-AIO" directory in your IdeaProjects folder
  11. Navigate to "Libraries" on the left side of the project settings window
  12. Add the OSBot .jar file as a new Java project library
  13. Navigate to "Artifacts" on the left side of the project settings window
  14. Create a new JAR -> Empty
  15. Set the name of the artifact to explvs_aio_VERSION.jar, replacing VERSION with the current version of the script
  16. Set the output directory to your OSBot Scripts directory: C:\Users\YourUsername\OSBot\Scripts
  17. Double click "Explv's-AIO compile output" under available elements so that it is moved into the artifact
  18. Create a new directory inside the artifact, name it "resources"
  19. Right click on the resources directory, and select "Add copy of" -> "Directory Content"
  20. In the file selector, navigate to the resources directory inside your Explvs-AIO project, and select it.
  21. Setup should now be complete, you can build the artifact by navigating to Build -> Build Artifacts.. in the top toolbar.
Clone this wiki locally