Jump to content

SOS - Help with correct SDN package structure


Recommended Posts

Posted

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 :D 

Posted

Okay so for sdn it has to look something like this:

dDq22Q1.png

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

w5IFJpZ.png

And then perfectsmither has src inside

Posted

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.

  • Heart 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...