Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » API to return <workspace>/.metadata/.plugins/<plugin_version> dir
API to return <workspace>/.metadata/.plugins/<plugin_version> dir [message #303437] Mon, 15 May 2006 14:23 Go to next message
Eclipse UserFriend
Hi,
Is there an API that returns the location of the
..metadata/.plugins/<myplugin_ver> directory?

Is this the correct location for log files generated by my plugin?

If no, where should logs be generated (by a well behaved plugin)?

Thanks
Michael Giroux
Re: API to return <workspace>/.metadata/.plugins/<plugin_version> dir [message #303438 is a reply to message #303437] Mon, 15 May 2006 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Michael Giroux wrote:
> Hi,
> Is there an API that returns the location of the
> .metadata/.plugins/<myplugin_ver> directory?
>
> Is this the correct location for log files generated by my plugin?
>
> If no, where should logs be generated (by a well behaved plugin)?

AFAIK, any logs generated through the eclipse logger will go to
<workspace>/.metadata/.log

The location you are talking about is returned from
Plugin#getStateLocation(), I think.

Later,
PW
Re: API to return <workspace>/.metadata/.plugins/<plugin_version> dir [message #303439 is a reply to message #303438] Mon, 15 May 2006 14:40 Go to previous message
Eclipse UserFriend
Paul,
Thanks for the getStateLocation() pointer.

Michael
Previous Topic:Build path cycle inconsistency
Next Topic:Problems with TableViewer.refresh()
Goto Forum:
  


Current Time: Sat Jul 19 03:02:05 EDT 2025

Powered by FUDForum. Page generated in 0.03355 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top