Packaging open source Ruby on Rails app (Typo) as Netbeans project

For the past week I’ve started working with Sang Shin to convert some open source Ruby on Rails applications as Netbeans projects for download. So far the process has been fairly easy. My goal for this post is to show you how to pull down RoR project source code from source control (Subversion) and convert it to a Netbeans project.

Typo blogging engine

Project site: http://www.typosphere.org

Dev site: http://trac.typosphere.org

Checking out source code from Subversion

With Netbeans, working with Subversion can’t be any easier. First I fire up Netbeans 6.1, then on menu bar, choose ‘Versioning’ > ‘Subversion’ > ‘Check out’

Typo1

 

Netbeans will ask for repository URL and source revision number.

typo2.png

Next, enter the directory where you want the source files to go to. Note that I tick “Skip release_4_1_x and check out only its content”. This is because I do not want additional folder level. I want the source files to go directly to ‘Typo’ folder I’ve created earlier.

typo3.png

Lastly, Netbeans will ask if you want to create a new project for the source you just checked out.

typo4.png

Choose Ruby on Rails project with existing resource and navigate to the source folder.

typo5.png

The last step is to name your project and select version of ruby to run and web server.

typo6.png

And that’s all :) easy right? You can download Netbeans project for Typo HERE.

Teera on May 15th 2008 in Software Development, Ruby, Netbeans, Web Dev

Trackback URI | Comments RSS

Leave a Reply