Hi,

    I just tried this again today and it worked. So now I'm successfully parsing JRuby code in RDT. The error positioning is a bit off, but from what I've read it's not RDT's fault.

    Still, each project file must be manually edited to make this work in a mixed project (ruby+java code).
    It would be great if a "Add Ruby Nature" or "Add JRuby Nature" menu option could be added to RDT.

thanks,
Ricardo


Ricardo Trindade wrote:
Hi,

    I'm now using RDT nightly builds, but it still won't parse the code.

thanks,
Ricardo


Ricardo Trindade wrote:
Hi,

    Here it goes. It's similar to your's. If you can't spot anything wrong, I'll install a nightly build.

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


cheers,
Ricardo


Werner Schuster (murphee) wrote:
Ricardo Trindade wrote:
  
   -We can't seem to create mixed projects, with ruby and java code.
Even manually adding in the .project file the ruby nature and ruby
build command, ruby source files never get parsed, and syntax errors
are not detected.
    

Could you send your .project file along? I just tried this and it seemed
to work (I'm running the HEAD version, though).

I tried:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
    <name>RubyClassBrowser</name>
    <comment></comment>
    <projects>
    </projects>
    <buildSpec>
    <buildCommand>
            <name>org.rubypeople.rdt.core.rubybuilder</name>
            <arguments>
            </arguments>
    </buildCommand>  
    <buildCommand>
            <name>org.eclipse.jdt.core.javabuilder</name>
            <arguments>
            </arguments>
    </buildCommand>
    </buildSpec>
    <natures>
         <nature>org.rubypeople.rdt.core.rubynature</nature>
 <nature>org.eclipse.jdt.core.javanature</nature>       
    </natures>
</projectDescription>


murphee

  

------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________ Rubyeclipse-development mailing list Rubyeclipse-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development
--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development

Reply via email to