-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear how to compile the code #7
Comments
Thanks for pointing this out. The evaluation engine relies on the snapshot version of the java api connector (see pom.xml). Eclipse usually resolves this automatically when both projects are in the workspace. I added this to the readme. |
What is still unclear:
The most workable solution seems to be to roll your own jar file for the apiconnector using the latest code from GitHub, and then putting that jar on your classpath. That seems to be a fragile solution, though? |
Thanks for diving into this. It seems that it is not entirely clear how to set up for development on the evaluation engine. While personally I didn't experience all these problems, would you maybe willing to record all troubles that you ran into and contribute this to a FAQ? That would probably be very helpful for future contributors, including the programmer.
git clone https://github.com/openml/openml-java -> it's in the apiconnector folder
This is not dependent on an IDE. While Eclipse offers a way of resolving this, there is also a native cli way (see documentation) and I doubt that any other IDE can not deal with this. Furthermore, snapshot means latest version that is currently not yet released, so working with master seems fine to me.
Do you still get this error?
This is laborious and definitely not the solution that is advocated by maven. |
Using Java 1.8 and the latest apiconnector from Maven, I get several compilation errors. For instance:
The method getNominalValues() is undefined for the type DataFeature.Feature
The constructor DataFeature(Integer, int, DataFeature.Feature[], String) is undefined
Unhandled exception type JSONException
Probably a version mismatch but it is not clear what to do exactly.
The text was updated successfully, but these errors were encountered: