java - How to share one single config.properties file by an application and by a connected library -


i have written little tool package contains logging, mailing etc. package has it´s own config.properties file, opened that:

input = appproperties.class.getclassloader().getresourceasstream("config.properties"); 

now plan import package external jar other applications. there way have both, application , imported jar, share jar´s config.properties file, , if so, how can done?


Comments

Popular posts from this blog

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -