Hi, i'm trying to build my first indicator for bookmap.
I've downloaded the simple-demo project from github and exported it with eclipse.
When I try to add the jar file to bookmap it shows the error "No entry points found in jar. Entry point is a class marked with velox.api.layer1.annotations.Layer1Attachable annotation.
Where is the problem?
Entry point error
-
- Posts: 548
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 85 times
Re: Entry point error
Hi DGDario,
take a look at this example (at annotations entry points should be marked with):
Place these annotations right above your class declaration (it is LastTradeDemoIconsNoHistory in this example).
take a look at this example (at annotations entry points should be marked with):
Code: Select all
@Layer1SimpleAttachable
@Layer1StrategyName("Last trade + icons: live")//insert your strategy name
@Layer1ApiVersion(Layer1ApiVersionValue.VERSION2)
public class LastTradeDemoIconsNoHistory extends LastTradeDemoNoHistory
{
Re: Entry point error
Hi, I have the same problem!
I modified "BarDemoWithHistoryData.java" in the simplified/demo folder (only the color of the indicator!);
build successfully with "gradle jar";
when loading the file in bookmap I receive that message!
All annotations are present, in all files;
Loading api modules works only with the original "bm-strategies.jar"
What can I do?! thank you
I modified "BarDemoWithHistoryData.java" in the simplified/demo folder (only the color of the indicator!);
build successfully with "gradle jar";
when loading the file in bookmap I receive that message!
All annotations are present, in all files;
Loading api modules works only with the original "bm-strategies.jar"
What can I do?! thank you
-
- Posts: 548
- Joined: Mon Jul 09, 2018 11:18 am
- Has thanked: 25 times
- Been thanked: 85 times
Re: Entry point error
Hi!
Try to do it again. Please make a full-sized screenshot of the message you're getting and send me (in a private message or as an attachment to your post) together with your log file (for Windows it is in C:\Bookmap\Logs).
Try to do it again. Please make a full-sized screenshot of the message you're getting and send me (in a private message or as an attachment to your post) together with your log file (for Windows it is in C:\Bookmap\Logs).