无法从Makefile编译Play项目

时间:2013-08-10 17:00:05

标签: playframework makefile

我正在尝试使用GNU Make(3.81)编译我的Play Framework项目。

这是我简单的Makefile:

all:
        play compile

运行“make”后,我收到以下错误:

[error] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create new native thread
[error] Use 'last' for the full log.
make: *** [all] Error 1

详细错误消息:

$ play last:

[info] Loading project definition from /home/sergey/wrk/my/site/project
[info] Set current project to site (in build     file:/home/sergey/wrk/my/site/)
[info] Loading project definition from /home/sergey/wrk/my/site/project
[debug] Running task... Cancelable: false, check cycles: false
[debug] 
[debug] Initial source changes: 
[debug]     removed:Set()
[debug]     added: Set()
[debug]     modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug] 
[debug] Sources indirectly invalidated by:
[debug]     product: Set()
[debug]     binary dep: Set()
[debug]     external source: Set()
[debug] Initially invalidated: Set()
[debug] Copy resource mappings: 
[debug]     
[info] Set current project to site (in build file:/home/sergey/wrk/my/site/)

但是当我从shell做同样的事情时:

$ play compile

......一切正常。

我试图通过“-Xmx 1024m”来玩 - 没有帮助。

系统信息:

  • 安装了所有更新的Ubuntu 12.04 LTS
  • Oracle JDK 1.6.0_45

为什么我的Makefile没有按预期工作?

0 个答案:

没有答案