[TxMt] Build Target Command in Ant bundle

Rob Cope rwcope2 at gmail.com
Mon Jul 15 14:26:19 UTC 2013


Hello,

In TM 2, the Build Target... command in the Ant bundle is failing with the following error message:

tm_dialog: [NOTE: this exception originated in the server.]
-[__NSCFDictionary length]: unrecognized selector sent to instance 0x7f86bff03020
/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)
	from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:198:in `menu'
	from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:193:in `popen'
	from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:193:in `menu'
	from Build Target…:63

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:

res = TextMate::UI.menu(ant_targets)

Lines 193-198 in ui.rb are:

193 res = ::IO.popen("#{TM_DIALOG} -u", "r+") do |io|
194  Thread.new do
195    plist = { 'menuItems' => options }.to_plist
196    io.write plist; io.close_write
197  end
198  OSX::PropertyList::load(io)

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.

Thanks,  
Rob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20130715/a8f56d30/attachment.html>


More information about the textmate mailing list