July 16, 20223 yr Hey guys, I need help I have an open script application for the SDN but I got some feedback that I am stuck on trying to resolve. Anyone familiar with the SDN, can you please review this screenshot of the feedback I got on the script. I am having a hard time understanding what I am supposed to do. If I remove 'dependencies' from the import paths like suggested, intellij shows a "Cannot resolve symbol 'util'" error. The script compiles perfectly locally as it is. My project structure can be seen on the SDN here. CPBloodAltar has a /src folder which contains the java file shown in the fist screen shot linked above ^. Any suggestions would be extremely helpful thank you
July 16, 20223 yr Okay so for sdn it has to look something like this: Though it seems to be identical to yours, what about the dependencies folder? You shouldn't be importing dependencies.X.Y.Z but instead it's treated as part of your src folder, so And then perfectsmither has src inside
July 17, 20223 yr Author @Czar Yea our structures seem almost the same with some minor differences but I am not seeing how I should change mine. Here is a screenshot from my IDE to help better show my script and package structure. If you can, please let me know if you spot anything wrong or not.
July 17, 20223 yr Okay so I don't use IntelliJ but I can see that dependencies are still not set up correctly. For example this import: dependencies.util.PoH.PoH; Should be util.PoH.PoH; So "dependencies" can't be a package, it needs to be part of the src folder. If there is a way in IntelliJ to convert the dependencies into its own "project" or module w/e then definitely give it a try. Maybe ask @ProjectPact for an invite to the scripter chat or join the osbot discord? Most scripters use intellij because of the APA guide but imo it's overkill.
July 17, 20223 yr 3 minutes ago, Czar said: Most scripters use intellij because of the APA guide but imo it's overkill. Explv* Apa's guide uses Eclipse. Also the official guide Token released for setting up scripting environment also using Intellij
July 19, 20223 yr Author @CzarIt took me some time and trial and error but I finally figured out how to achieve what you said! Java is not my native language so the concept of src folder and packages was where my ignorance had me stuck. Thanks for the responses it really helped. Now I should be good to release my script
Create an account or sign in to comment