This tutorial expects Android and Eclipse to be installed on the system.
So if your interested comon' and follow me. I'll Show Ya!
1. Set up a project.
- Go Here and make a new project. *Choose the version control as Mercurial* <-very important
2. Create a new Android App Project in Eclipse
3.Install the Mercurial Eclipse Plug-in
PS: Write any suggestion in my comments or contact me on twitter: @tytdfn
3.Install the Mercurial Eclipse Plug-in
- Copy this URL: http://cbes.javaforge.com/update
- Put it in the ADD field (1)
- Check Mercurial Eclipse (2)
- Next(3)
- Accept and Click next
4.Make a local Repository
- Right Click on the new Android App Project (1)
- Team (2)
- Share Project (3)
- Click On Mercurial
- Next
- Click on Next until you can click on Finish
5. Synchronize with the Goggle Project you set up in the first step.
- Go to the homepage of the Project. Click on Source
- Keep this page open. Your gonna need to use the info here shortly.
- Open up Eclipse
- Right Click on the Android Project you made
- Team
- Synchronize with
- Next (1)
- Now the URL is the one shown on the Checkout Tab of your Project Host (after hg clone) (2)
- The username is your Gmail (3)
- The Password is shown when you click on the google.com password link (4 & 5)
- Next until Finish
6. First Commit! (Almost There!)
- Right click your project (1)
- Team (2)
- Commit (3)
- Check Select All (1)
- Put in "Project Start" for the Commit Message
- Ok
7. PUUUUUUUUUUUSH! *Grunts* wait its not that hard!
- Right Click on Project (1)
- Team (2)
- Push (3)
- Finish (4)
8. TA DA!
- Go to your Project Homepage
- Click on source
- Now you can either Browse through you project files or
- See your Changes
10. Wait a minute!
You probably want to know how to have your work show up in other computer that you wanna work on (Which already have Android ,Eclipse ,and the Mercurial Eclipse Plug-in installed already) Easy!
(Try this on another computer if you want can to see some magic happen)
- Go to Eclipse
- File (1)
- Import (2)
- Clone Existing Mercurial Repository (Under the Mercurial Tab)
- Next
- Now just put in all the info that you put in when you Synchronized the Local Repository to the Google Project website.
Now you can keep your project synced between colleagues, or just between your different workstations. When you wanna save some work just Team -> Commit and when you wanna sync it with the Project Hosting just Team -> Push
No comments:
Post a Comment
Hey There! Please leave a comment, suggestion, or the occasional flame (but only if its informational!)