Dialyzer not running

Help
2011-04-24
2013-04-26
  • Ciprian Ciubotariu

    First, thanks for an excellent maven plugin for erlang. Setting up a proper development environment in Erlang is quite a tedious and esoteric task, which your plugin manages with ease :)

    When trying to run the package goal, erlang:dialyzer stops with a missing ~/.dialyzer_plt file.

    Shouldn't the maven plugin properly handle the file by itself?

    How can I workaround this in the meantime?

     
  • Tobias Schlager

    Tobias Schlager - 2011-04-25

    Hi,

    nice to hear that find the plug-in useful :)

    Shouldn't the maven plugin properly handle the file by itself?

    That's a good question. The .plt file is something like a database file the dialyzer tool needs. The .plt file is usually created for a few standard erlang/OTP applications like kernel, stdlib, mnesia, … We could add a projects analysis to the plt file every time dialyzer succeeds to analyze a project. Unfortunately this wouldn't solve the problem you have right now.

    How can I workaround this in the meantime?

    You need to create a .plt file (at least) once you installed a new erlang/OTP version (and it takes quite a long time even if you just run it on the few recommended standard applications). Try to run dialyzer standalone on some erlang sources/beams and dialyzer will usually prompt the command line you need to create a minimal dialyzer.plt.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks