Hi,

Make GeneralResources a Maven dependency to WicketApplication, i.e.
general-resources.jar should be in wicket-application.war#WEB-INF/lib/
folder.
Then you can
use org.apache.wicket.core.util.resource.ClassPathResourceFinder to load
the resources


On Thu, Feb 21, 2013 at 3:57 PM, oliver.stef <[email protected]> wrote:

> Hi,
>
> How can I load external properties file from other project? (I have
> WicketApplication Project and another project named GeneralResources. I
> want
> to load properties file that from GeneralResources project into my Wicket
> project).
>
> <
> http://apache-wicket.1842946.n4.nabble.com/file/n4656648/GeneralResources1.png
> >
> tried to do:
> IResourceSettings resourceSettings = getResourceSettings();
>
>
> resourceSettings.addResourceFolder("C:\MyApplication\GeneralResources\Resurces\);
>
> but no success.
>
> Any ideas?
>
> Thanks
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/load-resource-from-other-project-tp4656648.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]
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to