2

我尝试用 maven 编译一些 erlang。我使用 maven-erlang-plugin 来完成这项任务。

它在 linux 上运行良好,但是当我尝试在 windows 上编译时,会发生此错误:

    [erlang:validate]

    [erlang:initialize]

    [erlang:extract-dependencies]

    [erlang:reload-dependencies]

    [erlang:generate-resources]

    [erlang:compile]

    C O M P I L E R

    No MIBs to compile.
    Errors:

    c:UsersDelkaspoDocumentsNetBeansProjectsirtualbrownpaperMiddleWare rcmainrlang oto.erl:none
 I/O error
 ------------------------------------------------------------------------
 BUILD FAILURE
 ------------------------------------------------------------------------
 Total time: 2.438s Finished at: Tue Jun 05 11:52:46 CEST 2012 Final Memory: 11M/108M
 ------------------------------------------------------------------------
 Failed to execute goal eu.lindenbaum:maven-erlang-plugin:2.2.0:compile (default-compile) on project middleware: Failed to >compile [C:UsersDelkaspoDocumentsNetBeansProjectsirtualbrownpaperMiddleWare rcmainrlang oto.erl]. -> [Help 1]
    To see the full stack trace of the errors, re-run Maven with the -e switch.
    Re-run Maven using the -X switch to enable full debug logging.

    For more information about the errors and possible solutions, please read the following articles:
    [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    Successfully shut down 'middleware-maven-erlang-plugin-backend@ipadrress'

看起来他解释了窗口的反斜杠。

有关信息:maven-erlang-plugin -> 2.3.0(我尝试了其他版本 -> 相同的问题)maven -> 2.2.1

有任何想法吗 ?

谢谢大家。

4

0 回答 0