{"action":"closed","issue":{"url":"https://api.github.com/repos/enonic/xp/issues/3718","repository_url":"https://api.github.com/repos/enonic/xp","labels_url":"https://api.github.com/repos/enonic/xp/issues/3718/labels{/name}","comments_url":"https://api.github.com/repos/enonic/xp/issues/3718/comments","events_url":"https://api.github.com/repos/enonic/xp/issues/3718/events","html_url":"https://github.com/enonic/xp/issues/3718","id":177124036,"number":3718,"title":"Error on building the source.","user":{"login":"elfwine","id":8407334,"avatar_url":"https://avatars.githubusercontent.com/u/8407334?v=3","gravatar_id":"","url":"https://api.github.com/users/elfwine","html_url":"https://github.com/elfwine","followers_url":"https://api.github.com/users/elfwine/followers","following_url":"https://api.github.com/users/elfwine/following{/other_user}","gists_url":"https://api.github.com/users/elfwine/gists{/gist_id}","starred_url":"https://api.github.com/users/elfwine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfwine/subscriptions","organizations_url":"https://api.github.com/users/elfwine/orgs","repos_url":"https://api.github.com/users/elfwine/repos","events_url":"https://api.github.com/users/elfwine/events{/privacy}","received_events_url":"https://api.github.com/users/elfwine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-15T09:00:39Z","updated_at":"2016-12-23T11:40:19Z","closed_at":"2016-12-23T11:40:19Z","body":"OS: Windows 10 64-bit\nJDK: Java 8-102 64-bit\nTrying to test on windows, unfortunately I got this build error.\n\n```\nC:\\tools\\test\\xp-6.7.0-RC4>gradlew.bat deploy --stacktrace\n:buildSrc:compileJava UP-TO-DATE\n:buildSrc:compileGroovy UP-TO-DATE\n:buildSrc:processResources UP-TO-DATE\n:buildSrc:classes UP-TO-DATE\n:buildSrc:jar UP-TO-DATE\n:buildSrc:assemble UP-TO-DATE\n:buildSrc:compileTestJava UP-TO-DATE\n:buildSrc:compileTestGroovy UP-TO-DATE\n:buildSrc:processTestResources UP-TO-DATE\n:buildSrc:testClasses UP-TO-DATE\n:buildSrc:test UP-TO-DATE\n:buildSrc:check UP-TO-DATE\n:buildSrc:build UP-TO-DATE\n\nFAILURE: Build failed with an exception.\n\n* Where:\nBuild file 'C:\\tools\\test\\xp-6.7.0-RC4\\modules\\launcher\\launcher-api\\build.gradle' line: 8\n\n* What went wrong:\nA problem occurred evaluating project ':launcher:launcher-api'.\n> One of setGitDir or setWorkTree must be called.\n\n* Try:\nRun with --info or --debug option to get more log output.\n\n* Exception is:\norg.gradle.api.GradleScriptException: A problem occurred evaluating project ':launcher:launcher-api'.\n        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)\n        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:177)\n        at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)\n        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:182)\n        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)\n        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)\n        at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)\n        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)\n        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)\n        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)\n        at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)\n        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)\n        at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)\n        at org.gradle.internal.Factories$1.create(Factories.java:22)\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)\n        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)\n        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)\n        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)\n        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)\n        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\n        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)\n        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)\n        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)\n        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)\n        at org.gradle.util.Swapper.swap(Swapper.java:38)\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\n        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)\n        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)\n        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\n        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\nCaused by: java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called.\n        at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:586)\n        at org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:554)\n        at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:577)\n        at com.enonic.gradle.BuildInfoHelper.extract(BuildInfoHelper.java:27)\n        at com.enonic.gradle.BuildInfoHelper$extract.call(Unknown Source)\n        at build_6oub5n2j8y6poh721ryrgyc6n$_run_closure2.doCall(C:\\tools\\test\\xp-6.7.0-RC4\\modules\\launcher\\launcher-api\\build.gradle:8)\n        at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)\n        at org.gradle.api.internal.plugins.ExtensionsStorage$ExtensionHolder.configure(ExtensionsStorage.java:145)\n        at org.gradle.api.internal.plugins.ExtensionsStorage.configureExtension(ExtensionsStorage.java:69)\n        at org.gradle.api.internal.plugins.DefaultConvention$ExtensionsDynamicObject.invokeMethod(DefaultConvention.java:215)\n        at org.gradle.internal.metaobject.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:96)\n        at org.gradle.internal.metaobject.MixInClosurePropertiesAsMethodsDynamicObject.invokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:30)\n        at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)\n        at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)\n        at build_6oub5n2j8y6poh721ryrgyc6n.run(C:\\tools\\test\\xp-6.7.0-RC4\\modules\\launcher\\launcher-api\\build.gradle:7)\n        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)\n        ... 58 more\n\n\nBUILD FAILED\n\nTotal time: 7.842 secs\n\nC:\\tools\\test\\xp-6.7.0-RC4>\n```\n"}}
{"actor":{"display_login":"srs"}}