我尝试用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'
看起来他解释了Windows的反斜杠。
获取信息: maven-erlang-plugin - > 2.3.0(我尝试了其他版本 - >相同的问题) maven - > 2.2.1
有什么想法吗?
谢谢大家。