-
Notifications
You must be signed in to change notification settings - Fork 0
Preparing for the contest
So you've just signed up on the ten.java site as a participant, and we've created a repository for you. What now? This guide hopes to consolidate a couple of things you should probably try to do before the contest starts.
Once you've signed up, you should be presented with a "thanks" page. This page should link you to a selection page where we'll give you the opportunity to choose a time in which you will participate. If you signed up before time selection was ready, visit this page.
Once you've chosen a time we will queue up your repository creation. Typically, this queue job will be complete in less than 5 minutes so you should be able to see your repository over at the tenjava GitHub user page. We'll add a time suffix to your repository's name automatically based on the time(s) you've selected.
At this stage, it's important to note that you will not have push access to your repository. Push access will be granted on the day by a script to try and ensure that:
- We are able to push out the Maven template without issues
- People don't (inadvertently or otherwise) start work before the contest begins
- People don't create fancy README files or other content and then get it overwritten when we push out the Maven template
If your repositories or repository has been created then you're all set for the contest. If at any point you need to change the time you selected or you find that you'll be unable to participate in the contest, contact an organizer by sending us an email at [email protected].
If you don't already have Git installed, you'll want to follow one of the guides so you can start using it:
Once you have Git installed, you'll want to get a basic understanding of how things work. You can go through an interactive, command-line based tutorial or look into using a graphical program to help you use Git. Some IDEs have Git support integrated (IntelliJ IDEA, NetBeans, Eclipse, etc.), and you can also install one of the tools below:
Linux users may be interested in this AskUbuntu answer.
For some participants, using something like Maven will be unfamiliar. I personally used the export functionality built into Eclipse for quite some time before I looked into Maven. For the contest, we've already set everything up, and by the time July 12 comes around, you'll have a skeleton in your repository which includes everything you need to build a simple plugin using Maven.
To take advantage of Maven, you'll need to install it. We have a few guides set up already:
Some IDEs ship with Maven integration, but it's very easy to get started. To compile your project, simply run the mvn
command in the root directory of your repository. If everything went right, you'll see some downloading and a 'BUILD SUCCESSFUL' message. This will make you a JAR in a new folder called target
, which you can then copy to your CraftBukkit directory for testing. After changing code, simply run the command again to get a new JAR file.
Most users will probably have a favorite IDE they wish to use. For those who don't or who wish to consider alternatives, popular choices include:
Visit the site at tenjava.com
If you have any questions (about the contest, git, Maven etc), please don't hesitate to send us a tweet @tenjava or ask in our IRC channel.