-
Notifications
You must be signed in to change notification settings - Fork 12
Feel free to share your questions which came up using las2peer and help others with your solution.
- Why does Ant get-deps not download the required dependencies?
- Eclipse says that some classes are missing, but I fetched dependencies.
- Ivy fetches old versions of dependencies
- Data is lost after node restart
- Common mistakes
First of all check if you have the latest buildscript. Maybe the bundle argument is missing.
<target name="get_deps" depends="install-ivy" description="--> resolve dependencies">
<ivy:retrieve type="jar, bundle"/>
</target>
That's an Eclipse bug. Simply run ant clean
/ ant clean_deps
, refresh your project in Eclipse (F5), run ant get_deps
and refresh again.
You need to clear your ivy cache. On Linux, run rm -r ~/.ivy2/cache
.
Make sure that you start the node setting the --node-id-seed
parameter.
las2peer is only compatible with Java 8. To check your Java version, run
java -version
and make sure that the version number 1.8
appears somewhere in the output.
Perhaps you did a git push --force
. This is never a good idea since it messes up the git tree. The neccessarity of using this command means that you altered (and not extended) the git tree, resulting in lost commits and/or unmergeable branches.