Skip to content
Thomas Cujé edited this page Dec 11, 2017 · 12 revisions

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?

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>

Eclipse says that some classes are missing, but I fetched dependencies.

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.

Ivy fetches old versions of dependencies

You need to clear your ivy cache. On Linux, run rm -r ~/.ivy2/cache.

Data is lost after node restart

Make sure that you start the node setting the --node-id-seed parameter.

Common mistakes

Java 8

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.

Git

Why does everyone hate me?

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.

Clone this wiki locally