I had a very easy time importing my svn directory into an IntelliJ (Community Edition 2020.2.2) project on MacOS Big Sur with several different JDKs, but it needed some tweaks to work properly, currently around the Run/Debug configurations.
The last threads on "How do you have your IDE set up?" are 4 years old, and I know that there are a wide variety of tool use experiences, but IJ seems like a pretty easy one for someone to start with.
I'm hoping someone else has more experience with IJ and ANT/SVN based projects and can comment on the following questions. It also seems like a good topic for the Wiki, once I have a good understanding.
My method was pretty simple: I used File>New Project>From Existing Sources, but you can also use File>New Project>From Source Control. It recognized build.xml and the source tree. I didn't have to do any config to get it to work. Obviously if I do a Wiki writeup of this, I'll want to try it fresh to make sure I'm not missing anything.
1: I have my working directory set (on my Mac) to /Users/mcroft/Library/Application Support/KoLMafia, which is working. I could create another working directory if I wanted one, but I don't see a need. I had to set it in the build config.
2: I have a pretty broad ant-style log pattern for session and debug logs. It works, but I have to keep my log dirs tidy or it will open up a 5 year history of sessions.
3: are there configs for testing, coverage, debug, release, etc. that I should consider? Are there ant commands that you make into run/debug configs?
4: Any gotchas?
I'm not just looking to get it working, but I'd like it to work well and help others...
The last threads on "How do you have your IDE set up?" are 4 years old, and I know that there are a wide variety of tool use experiences, but IJ seems like a pretty easy one for someone to start with.
I'm hoping someone else has more experience with IJ and ANT/SVN based projects and can comment on the following questions. It also seems like a good topic for the Wiki, once I have a good understanding.
My method was pretty simple: I used File>New Project>From Existing Sources, but you can also use File>New Project>From Source Control. It recognized build.xml and the source tree. I didn't have to do any config to get it to work. Obviously if I do a Wiki writeup of this, I'll want to try it fresh to make sure I'm not missing anything.
1: I have my working directory set (on my Mac) to /Users/mcroft/Library/Application Support/KoLMafia, which is working. I could create another working directory if I wanted one, but I don't see a need. I had to set it in the build config.
2: I have a pretty broad ant-style log pattern for session and debug logs. It works, but I have to keep my log dirs tidy or it will open up a 5 year history of sessions.
3: are there configs for testing, coverage, debug, release, etc. that I should consider? Are there ant commands that you make into run/debug configs?
4: Any gotchas?
I'm not just looking to get it working, but I'd like it to work well and help others...