[TxMt] Bundle dependencies

Allan Odgaard throw-away-1 at macromates.com
Sun Feb 11 17:20:35 UTC 2007


On 27. Jan 2007, at 00:35, Brett Terpstra wrote:

> If you're writing a bundle that needs its own nibs, but needs  
> another bundle's libraries, is there a way to determine if and  
> where those libraries are stored on the users system?  A series of  
> fallbacks, perhaps?
>
> I figured out how to do a fuzzy search using stemming, but had to  
> create a small bundle to pull it off.  It depends, however, on the  
> endpoint functions in the blogging bundle, so at this point I have  
> blogging bundle's lib directory copied into the Autotag bundle.  Is  
> this unacceptable?

Copying the lib is the best solution IMO.

The only place where bundles can read shared resources from, is the  
TM_SUPPORT_PATH, not really other bundles.




More information about the textmate mailing list