Page 1 of 1
running bookmap from ide
Posted: Wed Apr 17, 2019 8:56 am
by mdtrader
I try to run bookmap direct from the ide described here:
Code: Select all
https://github.com/BookmapAPI/Layer0ApiDemo/blob/master/doc/Layer0APIGettingstarted.pdf
'Run from IDE' at page 3 but If I start debug it seems to start bookmap but I got an error "Source not found" (edit source lookup path), but I don't know what to chance. I tried the file system path to the project or adding the jar file but nothing works.
I'm wondering because in the debug configuration below "Source" the project is added
I also tried to add the class in C:\Program Files\BookMap\lib\UserModules\L0\external-live-modules.txt
It seems that something is wrong in my debug configuration
Re: running bookmap from ide
Posted: Wed Apr 17, 2019 1:24 pm
by Andry API support
Hi mdtrader,
I need your version/build number and your full log file.
Can you get the Bookmap running (aside from your modules)?
If not:
Please open your Debug configuration in Eclipse and make a screenshot for every tabs listed:
- Main
- Classpath with UserEntries expanded (stretch the Debug configuration window up/down if entries do not fit the window)
- Source with anything-you-find-there expanded
If you can:
I need your full class code.
Re: running bookmap from ide
Posted: Wed Apr 17, 2019 5:24 pm
by mdtrader
I rechecked my settings and saw that I added the wrong project to the configuration
, I changed this and now Bookmap is starting and I can debug
Sorry for this stupid mistake... so maybe we can delete the whole post
Re: running bookmap from ide
Posted: Fri May 31, 2019 9:46 am
by US7
Hi,
I've another problem on the page 3 at the documentation
I'm missing the velox.ib.Main
Has anyone an idea of what I did wrong?
Re: running bookmap from ide
Posted: Fri May 31, 2019 12:27 pm
by Andry API support
Hi US7,
If you're using Eclipse, open Run or Debug configuration, Main tab, and put velox.ib.Main into 'Main class:' field.
Or let me know what IDE you're using.
Re: running bookmap from ide
Posted: Sat Jun 01, 2019 10:57 am
by US7
Hi AndreyR,
Thank you for your reply. It does work now.
My mistake was that I searched the velox.ib.Main with the search button instead of putting into the field for the Main class.
Re: running bookmap from ide
Posted: Sat Jun 08, 2019 9:59 am
by US7
Hello,
now another question
I've download the Layer0ApiDemo from github. In this demo is the
DemoAdvancedReplayProvider - class. in
velox.api.layer0.replay.advanced - package.
In this class is in Line 47 written:
// You can download sample file at https://bookmap.com/shared/feeds/Bookma ... 181002.zip
// Extract before loading.
I've done it so.
Then I edited the file external-reader-modules.txt in C:\Program Files\Bookmap\lib\UserModules\L0
The line that I inserted is:
velox.api.layer0.replay.advanced.DemoAdvancedReplayProvider C:\Users\<myWindowsUser>\git\Layer0ApiDemo_001\bin
I run velox.ib.Main but I cannot see that the data file is loaded, that I download before.
Now, how can I run the class DemoAdvancedReplayProvider ?
What have I done wrong?
https://www.dropbox.com/s/sixb8veaejmz7 ... o.JPG?dl=0
https://www.dropbox.com/s/tcxphapvr1osr ... 1.JPG?dl=0
Re: running bookmap from ide
Posted: Sat Jun 08, 2019 5:45 pm
by Andry API support
Hi US7,
https://github.com/BookmapAPI/Layer0Api ... tarted.pdf
Page 2, last paragraph (Using Modules -> Replay), there you'll find info to get your file loaded.
But unzip that sample file first so it has *.txt extension..
Re: running bookmap from ide
Posted: Sat Jun 08, 2019 7:45 pm
by US7
Hi AndreyR,
with "*" I could see the the file with *.txt extension
but after open I've the following error in the console and alert window:
Console:
ERROR: Failed to open a file
java.lang.RuntimeException: Unknown format. If you think this is a valid file - please contact Bookmap developers.
Alert Window:
https://www.dropbox.com/s/16g8kxgvvd3ce ... 2.JPG?dl=0
Re: running bookmap from ide
Posted: Sun Jun 09, 2019 8:20 am
by Andry API support
Hi US7,
could you do it once again and send me your log file.
It should be at C:\Bookmap\Logs and has 'common' in its name.