Page 1 of 1

DemoTextDataReplayProvider

Posted: Wed Aug 28, 2019 4:27 pm
by trader
Does anyone have some sample data files that can be run in the DemoTextDataReplayProvider program?

Re: DemoTextDataReplayProvider

Posted: Thu Aug 29, 2019 8:58 am
by Andry API support
Hi trader,
a zipped file attached

Re: DemoTextDataReplayProvider

Posted: Thu Aug 29, 2019 12:46 pm
by trader
Thanks. When I try to open that data file, I get the message "Failed to open file. Reason: Unknown format. If you think this is a valid file - please contact Bookmap developers. I am not sure if I have loaded DemoTextDataReplayProvider correctly. I get the above message when I try "loading from a jar file" as described here:
https://github.com/BookmapAPI/Layer0Api ... tarted.pdf
When trying the configuration files method, I get a critical error when Bookmap opens: illegalArgumentException and ClassNotFoundException (I will send error report). I am new to Java so I assume I am doing something incorrect as far as pointing to the right files

Re: DemoTextDataReplayProvider

Posted: Thu Aug 29, 2019 1:21 pm
by Andry API support
oh OK,
There's the 'Environment setup' section in that pdf.
Have you read it and have you managed to import the project into your IDE?
If yes, export that DemoTextDataReplayProvider as a jar (in Eclipse that is right click on DemoTextDataReplayProvider -> Export -> ... ).
Then place that *.jar file into the C:\Bookmap\API\Layer0ApiModules (my Bookmap is at my C: drive). It should work.
Let me know if you've performed all these steps.

Re: DemoTextDataReplayProvider

Posted: Thu Aug 29, 2019 2:31 pm
by trader
Ok, I tried exporting as jar and putting in Layer0ApiModules folder, but not exactly sure what to expect from there. If I open bookmap in replay mode and try to open the sample text file, I will get the "failed to open file" error I mentioned above. 

Re: DemoTextDataReplayProvider

Posted: Thu Aug 29, 2019 3:10 pm
by Andry API support
Would you send me your latest log file?