Corona SDK Samples on SubVersion (SVN)

I wanted to share how I am using Eclipse to run my Corona Projects.  SVN is a big part of that implementation for me.  I use SVN and I like the source control solution.  Not sure I will use Git, but will probably try it out soon.  If I do, I will show how I use it from within Eclipse also.

Google Code: http://code.google.com/p/corona-sdk-samples/

If you use SVN within Eclipse and you want to take a look at the Corona SDK samples quickly, this post should help you get started very quickly.
Note: I am a windows user, but this should work for anyone using the Eclipse IDE.  Yes, even you fanboys with your fruit on your laptops. 

 

1. Open up a blank workspace for Eclipse.
Open a Blank Workspace
Open a Blank Workspace
2. Create your SVN repository location in the svn repository explorer in Eclipse.
http://corona-sdk-samples.googlecode.com/svn/trunk/
3. Checkout the Samples into your workspace as a project.
Checkout Samples into workspace
Change your selection to use the Samples project.
Selection
It will take a little while to get all the files into your workspace.
Wait for downloading
Note: You could also check out each separate section of the Samples repository (ie GettingStarted) as a separate project if you wanted.  I have seperated them as their own projects also.
4. Go back and take a look at your Project Explorer view and you will see a project with all the sample applications inside.
Project Explorer should show all your checked out files.

Summary

I showed you how to access the public samples repository and check out the samples into the Eclipse IDE as a lua project.
You will want to make sure you are using LuaEclipse, because the code is a LuaEclipse project.
If you have not already set it up, you can read my last post here to see how I installed LuaEclipse.
In my next post, I will show how to spawn the Corona Simulator from within your Eclipse IDE to make development faster.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>