﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7703	How to get resources from inside plugin?	kendzi	bastiK	"In plugin loading class I try to get resource file from my plugin jar (kendzi3d.jar) using call:

getClass().getResource(“/resources/pluginProperties.properties”);

but in response I get:

jar:file:/C:/Documents%20and%20Settings/kendzi/Dane%20aplikacji/JOSM/plugins/ImportImagePlugin.jar!/resources/pluginProperties.properties


So url is pointing to file inside different plugin! ImportImagePlugin plugin have file with same name.

call to getClass()
result:
class kendzi.josm.kendzi3d.Kendzi3DPlugin (inside kendzi3d.jar)

It seems that it is bug with plugin class loader.

Or there is any other way to get files from my plugin jar?"	defect	closed	critical		Core		fixed		
