Hey Jeff,

You can create a .project file at the root of your project directory and
put this in it - replace project_name with your project name.

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
   <name>project_name</name>
   <comment></comment>
   <projects>
   </projects>
   <buildSpec>
       <buildCommand>
           <name>org.rubypeople.rdt.core.rubybuilder</name>
           <arguments>
           </arguments>
       </buildCommand>
   </buildSpec>
   <natures>
       <nature>org.rubypeople.rdt.core.rubynature</nature>
   </natures>
</projectDescription>


-Charley

On 6/13/07, Jason Darling <[EMAIL PROTECTED]> wrote:

 Hey Jeff,

Make sure when you create your project, that it's a Ruby Project.  You
check out it out from svn and then create your project/workspace as a Ruby
project.  There is a little "ruby" icon that shows up for .rb files if
this is done.  Are you seeing this?

Cheers,
Jason

-----Original Message-----
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] Behalf Of *Jeff Fry
*Sent:* Wednesday, June 13, 2007 8:19 PM
*To:* wtr-general@rubyforge.org
*Subject:* [Wtr-general] OT: ruby/eclipse question

Hey, I know a few of y'all use Eclipse so I figured its worth a shot to
ask this here.

The shop I'm working for has a bunch of (non-GUI) automation written in
Python, to which I'll be adding some GUI scripts written in Ruby/Watir.

There is an existing svn repository like 
https://OurSVNrepository.com/svn/mwtest/trunk/misc


I added a /mwtest/trunk/misc/watir folder to the project and tried to save
my .rb file there, but eclipse is complaining:
Save could not be completed.
Reason: The project trunk is supposed to have a ruby nature.

Googling: "The project trunk is supposed to have a" nature. gets me 0
results. Do I need to create a separate project for my ruby scripts? Can I
somehow give this project a 'dual nature'?

I should note that I have RDT 0.9.0 installed, and have a project for the
watir project here that works just fine (I can save to 
https://svn.openqa.org/svn/watir/trunk/watir
) so my eclipse setup in general shouldn't be the issue.

Thanks,
Jeff

--
http://testingjeff.wordpress.com


_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to