Help with compiling Forge snapshots for myself.
Hello, since both the snapshot locations have not updated in a while I decided to take a crack at compiling my own using the Forge:How to Get Started Developing Forge and after about three hours I've realized I might need some help.
FYI I've had zero experience with SVN, Eclipse or Maven before. There is a TL:DR if you don't want to read about my adventures.
This is what I've managed so far:
1. Install and test Java, Check
2. Install and test Subversion. Check. But here was the first snag, the .zip after the link is only the source, took me a while to figure out(
) and then I had to test 3 of the windows versions before I found SlikSVN that passed the command line test (Do you have to install them in program files or something?)
3. Install and test Maven. No. Seems I don't need this if I only want to compile something for myself, wierd that it seems so important later.. (Nitpick: here it tells me to skip ahead to the m2e plugin if I'm not planning on being part of the development process, but you still have to install Eclipse..)
4. Install Eclipse. Check. I might have gone wrong here, the instructions are for 3.7 but I installed 4.5 the latest stable release, seemed sensible and the guide recommended it, this might explain some of the strange things ahead.
5. Installing Subclipse. Check. There is something wierd here, if I install version 1.6 I two steps below have to search for a m2e-subclipse svn connector, this is not in the list anymore? So I had to go back and install version 1.8 (1.7? confusing..)
6. Install m2e. Check. The guide asks for m2e - Maven Integration for Eclipse but I only found m2e - Maven Integration for Eclipse (Includes Incubating components), sometimes such things matters but this was the closest alternative so I choose this.
7. Install m2e Plugin Connectors. Check. (Comments on step 5)
8. Checkout the SVN Repository. Check. This is where I had alot of trouble, had to go back and change stuff on the earlier steps to get past this.
8.5 First time checkout. Hmm, I got no errors? I think.. (Still did the Maven Update step.)
9. Building and Exporting the Project. This is where I'm stuck right now, I think that this is where some of the changes between Eclipse 3.7 and 4.5 shows up. See picture below for my problem, I can't get the Run as -> Java Application choice
I also tried the IntelliJ program but the instructions to download something from SVN seems to be missing, I ended up using the folder and pom.xml file that Eclipse managed to download but after step 3 in the wiki guide I had to resort to guesswork since it seems to be outdated
So anyway, does anyone have any tips for how I should proceed? Is there an easier way or am I missing something obvious? (It's really late where I'm from haha.)
Bottom line is that I would really like to be able to compile this on my own and not rely on others bandwidth and free time.
TL:DR
The WIKI guide seems to be a bit outdated, does anyone have some simpler instructions?
FYI I've had zero experience with SVN, Eclipse or Maven before. There is a TL:DR if you don't want to read about my adventures.
This is what I've managed so far:
1. Install and test Java, Check
2. Install and test Subversion. Check. But here was the first snag, the .zip after the link is only the source, took me a while to figure out(
3. Install and test Maven. No. Seems I don't need this if I only want to compile something for myself, wierd that it seems so important later.. (Nitpick: here it tells me to skip ahead to the m2e plugin if I'm not planning on being part of the development process, but you still have to install Eclipse..)
4. Install Eclipse. Check. I might have gone wrong here, the instructions are for 3.7 but I installed 4.5 the latest stable release, seemed sensible and the guide recommended it, this might explain some of the strange things ahead.
5. Installing Subclipse. Check. There is something wierd here, if I install version 1.6 I two steps below have to search for a m2e-subclipse svn connector, this is not in the list anymore? So I had to go back and install version 1.8 (1.7? confusing..)
6. Install m2e. Check. The guide asks for m2e - Maven Integration for Eclipse but I only found m2e - Maven Integration for Eclipse (Includes Incubating components), sometimes such things matters but this was the closest alternative so I choose this.
7. Install m2e Plugin Connectors. Check. (Comments on step 5)
8. Checkout the SVN Repository. Check. This is where I had alot of trouble, had to go back and change stuff on the earlier steps to get past this.
8.5 First time checkout. Hmm, I got no errors? I think.. (Still did the Maven Update step.)
9. Building and Exporting the Project. This is where I'm stuck right now, I think that this is where some of the changes between Eclipse 3.7 and 4.5 shows up. See picture below for my problem, I can't get the Run as -> Java Application choice
I also tried the IntelliJ program but the instructions to download something from SVN seems to be missing, I ended up using the folder and pom.xml file that Eclipse managed to download but after step 3 in the wiki guide I had to resort to guesswork since it seems to be outdated
So anyway, does anyone have any tips for how I should proceed? Is there an easier way or am I missing something obvious? (It's really late where I'm from haha.)
Bottom line is that I would really like to be able to compile this on my own and not rely on others bandwidth and free time.
TL:DR
The WIKI guide seems to be a bit outdated, does anyone have some simpler instructions?