Using the WP_PLUGIN_* constants is the most elegant solution by far. I was able to set up a WP 2.9 install to point to the same plugin directory as a trunk install. Makes testing a lot easier. -- http://scribu.net