I have a dashboard library that we use at our company. It has an Initializer. The wicket.properties file is stored in the same package as the rest of the code, not in a META-INF folder. After upgrading to Wicket 7 I started noticing the following warning:
//wicket.properties location is deprecated. Please move the file to /META-INF/wicket/ folder and give it a name that matches your packages' name, e.g. com.example.myapp.properties/ So I thought, no problem, I'll just follow the instructions in the well written message and move the properties file and rename it. I renamed the file to com.redi.wicket.dashboard.properties and moved it to META-INF/wicket folder. Now I get the following warning: //META-INF/wicket/*.properties doesn't work in OSGi and single-jar environments and is not supported anymore! Please see https://issues.apache.org/jira/browse/WICKET-5997 for more details and report an issue for the library that still uses it./ I looked at WICKET-5997, WICKET-6030 AND WICKET-5713 and tried to piece together what I was supposed to do. I've noticed in the Application class there are deprecated methods regarding this and one, collectWicketProperties, that will be removed in 7.3.0. So I'd like to get this fixed while it is fresh on my mind and not have it bite me down the road when I upgrade. So where do I put my initializer properties file and what do I name it? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conflicting-warnings-about-location-of-wicket-properties-in-Wicket-7-tp4673269.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
