fineract-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Geiss <markus.ge...@kuelap.io>
Subject Re: Question on building Mifos I/O
Date Sun, 20 Aug 2017 20:51:45 GMT
you only run

gradlew build

that's all ... make sure that all other repos were pulled and build
correctly ...

gradlew is an executable wrapper that already contains gradle ...

after that follow the instrucions to start the demo-server by running the
java call mentioned in the wiki

On Sun, Aug 20, 2017, 22:33 Aswin kumar <programo.sapien@gmail.com> wrote:

> On Wed, Aug 16, 2017 at 9:48 AM, Awasum Yannick <yannickawasum@gmail.com>
> wrote:
> > Hello Ramesh,
> >
> > Looking at the script, there are three other sub folders which hold
> > microservices: core, tools, integration-tests.
> > The rest of the services are on the root folder of your script.
> >
> > So your demo-server is found in the 'integration-tests' directory. There
> you
> > can find the Jar file which you need to run.
>
>
> In the demo-server directory I tried to run the below command and the
> build failed,Can anybody help me resolving this?
>
> gradle gradlew --stacktrace publishToMavenLocal
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Build file '/home/aswin/mifosio/integration-tests/demo-server/build.gradle'
> line: 4
>
> * What went wrong:
> A problem occurred evaluating root project 'demo-server'.
> > Could not find method jcenter() for arguments [] on repository container.
>
> * Try:
> Run with --info or --debug option to get more log output.
>
> * Exception is:
> org.gradle.api.GradleScriptException: A problem occurred evaluating
> root project 'demo-server'.
>     at
> org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
>     at
> org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:116)
>     at
> org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
>     at
> org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43)
>     at
> org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:466)
>     at
> org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:77)
>     at
> org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
>     at
> org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
>     at
> org.gradle.api.internal.Actions$CompositeAction.execute(Actions.java:78)
>     at
> org.gradle.api.internal.Actions$TransformingActionAdapter.execute(Actions.java:130)
>     at
> org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:442)
>     at
> org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:437)
>     at
> org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:40)
>     at
> org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142)
>     at
> org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
>     at
> org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
>     at
> org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:38)
>     at
> org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:39)
>     at
> org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:25)
>     at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
>     at
> org.gradle.api.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
>     at
> org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
>     at
> org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
>     at
> org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
>     at
> org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
>     at
> org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
>     at
> org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
>     at org.gradle.launcher.Main.doAction(Main.java:48)
>     at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
>     at org.gradle.launcher.Main.main(Main.java:39)
>     at
> org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
>     at
> org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
>     at org.gradle.launcher.GradleMain.main(GradleMain.java:26)
> Caused by: org.gradle.api.internal.MissingMethodException: Could not
> find method jcenter() for arguments [] on repository container.
>     at
> org.gradle.api.internal.AbstractDynamicObject.methodMissingException(AbstractDynamicObject.java:68)
>     at
> org.gradle.api.internal.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:56)
>     at
> org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:172)
>     at
> org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler_Decorated.invokeMethod(Unknown
> Source)
>     at
> build_2oqsn89fj0eb2f74hnnfc9j7um$_run_closure1_closure2.doCall(/home/aswin/mifosio/integration-tests/demo-server/build.gradle:4)
>     at
> org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:58)
>     at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:133)
>     at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:113)
>     at
> org.gradle.api.internal.artifacts.DefaultArtifactRepositoryContainer.configure(DefaultArtifactRepositoryContainer.java:76)
>     at
> org.gradle.api.internal.artifacts.DefaultArtifactRepositoryContainer.configure(DefaultArtifactRepositoryContainer.java:44)
>     at
> org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:50)
>     at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:133)
>     at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:94)
>     at
> org.gradle.api.internal.initialization.AbstractScriptHandler.repositories(AbstractScriptHandler.java:66)
>     at
> build_2oqsn89fj0eb2f74hnnfc9j7um$_run_closure1.doCall(/home/aswin/mifosio/integration-tests/demo-server/build.gradle:3)
>     at
> org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:58)
>     at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:133)
>     at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:94)
>     at
> org.gradle.api.internal.project.AbstractProject.buildscript(AbstractProject.java:901)
>     at org.gradle.api.Project$buildscript.call(Unknown Source)
>     at
> org.gradle.api.internal.project.ProjectScript.buildscript(ProjectScript.groovy:42)
>     at org.gradle.api.Script$buildscript.callCurrent(Unknown Source)
>     at
> build_2oqsn89fj0eb2f74hnnfc9j7um.run(/home/aswin/mifosio/integration-tests/demo-server/build.gradle:1)
>     at
> org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
>     ... 32 more
>
>
> BUILD FAILED
>
> Total time: 4.722 secs
>

Mime
View raw message