Kamal ,
make sure your runtime working directory is the .woa directory.
Add your application's JAR file to the runtime classpath.
Pierre.
-----Original Message-----
From: Kamal Shah [mailto:kama..ffigent.com]
Sent: Tuesday, July 29, 2003 2:47 PM
To: woproject-de..bjectstyle.org
Subject: WOLips: App can't find resources
I have a resource "foo.properties" in my application. I modified the build.xml to include .properties in the Resources. When I compile, I can see that the file has been copieed to the Resources folder in the woa. But, when I call a method (in a framework which has the following code) in the application's constructor:
InputStream is = resourceManager().inputStreamForResourceNamed("foo.properties",null,null);
I get 'is' as null.
I tried giving the framework name in the inputStreamForResourceNamed call to "app" but to no avail. What do
I need to do in order to get this to work?
Thanks.
Kamal
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (Pierre.Bernar..cl.lu)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
This archive was generated by hypermail 2.0.0 : Tue Jul 29 2003 - 08:48:27 EDT