Re: [OpenMap Users] problem setting up the shape files even with openmap.jar file added to libraries in build parh

From: Steve Frierdich <sfrierdich_at_custom-mfg-eng.com>
Date: Tue, 30 Nov 2004 10:34:34 -0500

I have tried that also at run time and still the relative paths in the
properties file are not reconized.
Steve

Don Dietrick wrote:

> I think the java build path is different than the run path in Eclipse
> (but I may be wrong, this is just how I got it to work). I found that
> if you select the 'Run...' option from the Run icon, you get a window
> that lets you set parameters for the application runtime, classpath
> being one of them. If you add the openmap shared directory there, it
> should find the data.
>
> - Don
>
>
>
> On Nov 30, 2004, at 8:12 AM, Steve Frierdich wrote:
>
>> Bart;
>> Thanks for you response. I have already done what you suggested, if
>> I understood the email you sent me. In the Java Build Path the
>> openmap.jar file has been already added in the libraries tab. There
>> is no selection in the libraries tab to include directories like to
>> look in for files like there is in Visual Studio. I am guessing that
>> since the openmap.jar has been included in the Java Build Path that
>> the project automatically knows where to look for files.
>>
>> Steve
>>
>> Bart Jourquin wrote:
>> You need to add the directory which contains the shapes files into
>> the Java Build Path (Right click on the project in the navigator,
>> open the project's properties, choose Java Build Path and add the
>> relevant dir in the Librairies tab....
>>
>>
>> Bart
>>
>> Le lundi 29 novembre 2004 à 18:33 -0500, Steve Frierdich a écrit :
>>
>> I am using the Eclipse Java Environment for creating and run Java
>> projects. I created a Crew project in same directory where the crew
>> example in open map is located
>> (src\openmap\com\bbn\openmap\examples\crew),. Next I imported the
>> java files(Crew and RouteLayer) in that directory into the project
>> and used main in the Crew.java file was used as entry point. When I
>> ran the program the shape there was an error that stated there was a
>> problem setting up the shape files.
>>
>>
>>
>> ShapeLayer SpatialIndex: problem setting up the shape files:
>>
>> shape file: data/shape/dcwpo-browse.shp
>>
>> spatial index file: data/shape/dcwpo-browse.ssx
>>
>>
>>
>> I went into the crew.properties file and harded the to files to a
>> full path and that still did not work.
>>
>> Can someone tell me how to solves this problem and why this error is
>> occurring?
>>
>> Thanks
>>
>> Steve
>>
>>
>>
>>
>> ----
>> Prof Dr Bart Jourquin
>> F.U.Ca.M. - G.T.M.
>> Chaussée de Binche, 151a, B7000 Mons (Belgium)
>> Tel. : +32 65 323293, Fax. : +32 65 315691
>> http://www.fucam.ac.be/jourquin
>>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 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"]
>
>
--
[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 Tue Nov 30 2004 - 10:38:55 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT