incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "唐装鼠" <654125...@qq.com>
Subject gradle error
Date Thu, 04 Jul 2013 07:33:16 GMT
Hi,today when I used the command : ./s4 s4r -a=hello.HelloApp -b='pwd'/build.gradle myApp,
error comes as below:


15:22:43.078 [main] ERROR org.apache.s4.tools.Package - Cannot deploy app
org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution
'http://services.gradle.org/distributions/gradle-1.4-bin.zip'.
        at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:55)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.async.DefaultAsyncConnection$2.run(DefaultAsyncConnection.java:71)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66)
~[gradle-base-services-1.4.jar:1.4]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
~[na:1.7.0_25]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
~[na:1.7.0_25]
        at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
Caused by: org.gradle.api.GradleException: Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at http://gradle.org/docs/1.4/userguide/gradle_daemon.html
Please read below process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


        at org.gradle.launcher.daemon.bootstrap.DaemonGreeter.parseDaemonOutput(DaemonGreeter.java:37)
~[na:na]
        at org.gradle.launcher.daemon.client.DefaultDaemonStarter.startProcess(DefaultDaemonStarter.java:109)
~[na:na]
        at org.gradle.launcher.daemon.client.DefaultDaemonStarter.startDaemon(DefaultDaemonStarter.java:90)
~[na:na]
        at org.gradle.launcher.daemon.client.DefaultDaemonConnector.createConnection(DefaultDaemonConnector.java:96)
~[na:na]
        at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connect(DefaultDaemonConnector.java:73)
~[na:na]
        at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:147) ~[na:na]
        at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:72) ~[na:na]
        at org.gradle.tooling.internal.provider.DaemonGradleLauncherActionExecuter.execute(DaemonGradleLauncherActionExecuter.java:43)
~[na:na]
        at org.gradle.tooling.internal.provider.DaemonGradleLauncherActionExecuter.execute(DaemonGradleLauncherActionExecuter.java:30)
~[na:na]
        at org.gradle.tooling.internal.provider.LoggingBridgingGradleLauncherActionExecuter.execute(LoggingBridgingGradleLauncherActionExecuter.java:53)
~[na:na]
        at org.gradle.tooling.internal.provider.LoggingBridgingGradleLauncherActionExecuter.execute(LoggingBridgingGradleLauncherActionExecuter.java:30)
~[na:na]
        at org.gradle.tooling.internal.provider.DefaultConnection.run(DefaultConnection.java:139)
~[na:na]
        at org.gradle.tooling.internal.provider.DefaultConnection.run(DefaultConnection.java:129)
~[na:na]
        at org.gradle.tooling.internal.provider.DefaultConnection.run(DefaultConnection.java:105)
~[na:na]
        at org.gradle.tooling.internal.consumer.connection.BuildActionRunnerBackedConsumerConnection.run(BuildActionRunnerBackedConsumerConnection.java:38)
~[gradle-tooling-api-
1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.ModelProvider.provide(ModelProvider.java:78)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.connection.LazyConnection$1.run(LazyConnection.java:98)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.connection.LazyConnection.withConnection(LazyConnection.java:106)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.connection.LazyConnection.run(LazyConnection.java:96)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConnection$1.run(ProgressLoggingConnection.java:57)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConnection.run(ProgressLoggingConnection.java:71)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConnection.run(ProgressLoggingConnection.java:55)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.connection.LoggingInitializerConnection.run(LoggingInitializerConnection.java:52)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.async.DefaultAsyncConnection$1.run(DefaultAsyncConnection.java:51)
~[gradle-tooling-api-1.4.jar:1.4]
        at org.gradle.tooling.internal.consumer.async.DefaultAsyncConnection$2.run(DefaultAsyncConnection.java:69)
~[gradle-tooling-api-1.4.jar:1.4]
        ... 4 common frames omitted





I don't know where I modified.Could you help me ?
Thanks!
Mime
View raw message