Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 61259

Summary: Used a workspace temporary directory in Eclipse in the StaticParserWrapper.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: HyadesAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 61256    

Description Paul Slauenwhite CLA 2004-05-06 13:10:04 EDT
Used a workspace temporary directory in Eclipse in the StaticParserWrapper.

When importing a log file within Eclipse (local scenario), use a workspace 
temporary directory (e.g. plugin's workspace directory) to save the temporary 
adapter file so any errors/warnings/information from importing the of file will 
display in the Eclipse Problems view.

Getting  workspace location
	ResourcesPlugin.getWorkspace().getRoot().getLocation().toOSString()

Getting workspace resources
	ResourcesPlugin.getWorkspace()

From an IConfigurationElement (when you going thru extension points)
	IConfigurationElement .getDeclaringExtension
().getDeclaringPluginDescriptor().getInstallURL()

From an Plugin
	Platform.getPlugin(PLUGIN_ID).getDescriptor().getInstallURL();
Comment 1 Paul Slauenwhite CLA 2004-05-06 15:00:22 EDT
Platform.getPluginStateLocation(<plugin class instance>).toOSString()
Comment 2 Paul Slauenwhite CLA 2004-05-06 15:19:38 EDT
The temporary file for the new adapter configuration is now in the plugin's 
workspace directory (e.g. 
<workspace>/.metadata/plugins/org.eclipse.hyades.logging.adapter.config).

Code checked-in to HEAD on May 6, 2004.
Comment 3 Paul Slauenwhite CLA 2004-07-13 14:07:38 EDT
Verified in Toronto's 20040713_1106 build.
Comment 4 Paul Slauenwhite CLA 2004-07-13 14:07:45 EDT
Closing.
Comment 5 Harm Sluiman CLA 2004-11-03 11:09:44 EST
house keeping