girlBot62 0 Share Posted December 18, 2023 Hello, i'm about to upload my first script to the SDN, and i have a questions regarding the setup of the repo. Can i use maven for deployment also, or is that only for the local development? Any resources that could help me in regards to deploying with maven? Unless if its just to set it up the same way i did locally, would this still link to the same place? <dreambot.path>${user.home}/DreamBot/</dreambot.path> Or am i supposed to just upload a folder named same as my script, with a sub src folder with my script inside, and ignore all the API dependency errors? I have lots of experience with git and development, but not very familiar with deployment in the Java ecosystem, and what happens to my script after i push im abit confused about. Is it alright if i just have a repo in the SDN, that uses maven to build one JAR file containing all my current and future scripts? Appreciate all help! Kind regards, GirlBot62 Link to comment Share on other sites More sharing options...
Pandemic 2714 Share Posted December 18, 2023 Here's a quick guide if you haven't seen it yet: https://dreambot.org/guides/scripter-guide/script-dev/uploading-scripts-to-sdn/ Link to comment Share on other sites More sharing options...
girlBot62 0 Author Share Posted December 19, 2023 (edited) 23 hours ago, Pandemic said: Here's a quick guide if you haven't seen it yet: https://dreambot.org/guides/scripter-guide/script-dev/uploading-scripts-to-sdn/ Thanks for responding, i have followed the guide, and it just specifies to copy the src folder, and i'm not sure if that means it goes without saying to also set up the dreambot JDK, (which locally i did with maven in my main project), or if im actually just supposed to upload the java files /only/ and the server deals with the building etc itself. I think the ladder makes more sense since i probably wouldn't want to push the JDK either way? Edited December 19, 2023 by girlBot62 Link to comment Share on other sites More sharing options...
Pandemic 2714 Share Posted December 19, 2023 Yeah we don't need your JDK or any special setup like that, we'll take your java files in that src folder and compile/obfuscate it for SDN to distribute. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now