<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>In TM 2, the Build Target... command in the Ant bundle is failing with the following error message:</div><div><br></div><div><div>tm_dialog: [NOTE: this exception originated in the server.]</div><div>-[__NSCFDictionary length]: unrecognized selector sent to instance 0x7f86bff03020</div><div>/Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:198:in `load': Cannot parse a NULL or zero-length data (OSX::PropertyListError)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:198:in `menu'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:193:in `popen'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:193:in `menu'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from Build Target…:63</div></div><div><br></div><div>Looking at the Bundles section of Preferences, it appears that I have the latest updates of both the Ant and the Bundle Support bundles. I'm not a Ruby guy, so I'm not entirely sure what's up with this. Line 63 in the bundle command is:</div><div><br></div><div>res = TextMate::UI.menu(ant_targets)</div><div><br></div><div>Lines 193-198 in ui.rb are:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">193 res <span style="color: #0000ff"><b>=</b></span> ::<span style="color: #808ce4"><b>IO</b></span>.popen(<span style="color: #007d05">"#{</span><span style="color: #4096a6">TM_DIALOG</span><span style="color: #007d05">} -u"</span>, <span style="color: #007d05">"r+"</span>) <span style="color: #0000ff"><b>do </b></span>|<span style="color: #4096a6">io</span>|<br>
194 <span style="color: #808ce4"><b>Thread</b></span>.<span style="color: #0000ff"><b>new</b></span> <span style="color: #0000ff"><b>do<br>
</b></span>195 plist <span style="color: #0000ff"><b>=</b></span> { <span style="color: #007d05">'menuItems'</span> => options }.to_plist<br>
196 io.write plist; io.close_write<br>
197 <span style="color: #0000ff"><b>end</b></span><br>
198 <span style="color: #808ce4"><b>OSX</b></span>::<span style="color: #808ce4"><b>PropertyList</b></span>::load(io)<br></div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Any ideas how how to solve that problem? I actually hasn't worked since TM 2 came out, but I'm just now getting around to trying to figure it out.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Thanks, </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Rob</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br></div></div></body></html>