On 5/30/07, <b class="gmail_sendername">Benjamin Jackson</b> <<a href="mailto:ben@incomumdesign.com">ben@incomumdesign.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey all,<br><br>I'm currently working on the beginnings of of RubyCocoa Bundle, and<br>trying to do something similar to the "Build and Run" script from the<br>XCode Bundle:<br><br>#!/bin/sh<br>echo "<html><body>"
<br>cd $TM_PROJECT_DIRECTORY && rake<br>MyApp.app/Contents/MacOS/MyApp<br>echo "</body></html>"<br><br>I've gotten to the point where I can run MyApp.app/Contents/MacOS/<br>MyApp and get the output, but only after the program has terminated.
<br>I know there's some way to get my traces to output while I'm running<br>the program, but not sure how. Any pointers? Thanks,</blockquote><div><br>are you trying to launch rubycocoa applications and display output or are you trying to run a rubycocoa application within the textmate process?
<br><br>if the former, does the xcode bundle not work? i thought it just used the xcodebuild tool which should works for rubycocoa applications as well.<br><br>if the latter, i think you'll need to initialize rubycocoa from within textmate and also load/run rubycocoa scripts inside textmate (otherwise you won't be able to interact with the window server). i wrote a plugin to do this (i wanted to write a bundle which could offer commands that made use of rubycocoa) but stalled at the point of creating a RubyCocoaMate or tweaked RubyMate to handle and present output.
<br><br>cheers,<br>jean-pierre<br><br></div></div>