Hi Sunny,
openmap.include finds it's file by checking if it's a file path or
URL (if the paths are specified), and then checking the classpath (if
the path is not specified).
If your current directory isn't in the classpath, the openmap.include
version will probably find the one in the jar.
- Don
On Dec 15, 2006, at 1:08 PM, Lin, Sunny (Shih-Hung) wrote:
> Hi, Group,
>
>
>
> I am currently porting an OpenMap application from Unix to CygWin
> and run into a wield issue. The app uses a properties file which
> contains the following lines.
>
>
>
> ….
>
> openmap.include=include1
>
> include1.URL=openmap.properties
>
> ….
>
>
>
> where
>
> “openmap.properties” is a modified version of properties file,
> which came with OpenMap distribution, in the same directory. I
> noticed the app launches and uses the specified properties file.
> Somehow, the file doesn’t include “openmap.properties” in the same
> directory but a different copy instead. I have no idea where this
> included properties file is. Please anyone tell me how
> “openmap.include” finds its file.
>
>
>
> Thanks
>
>
>
> -Sunny Lin
>
>
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Dec 18 2006 - 17:20:01 EST