Hi Anant,
the build assumes it can execute git to determine the current commit.
Your machine doesn’t have the command in the path, so you have two options:
1) install git and add it to the PATH
2) temporarily replace the command execution in the build file.
For option 2 check the project/Build.scala file and replace the line:
val currentGitSha = "git.sha1=%s\n".format("git rev-parse HEAD" !!)
with:
val currentGitSha = “git.sha1=000000\n”
That should allow you to build the web interface.
Do not forget to also run npm install and npm run watch in the javascript
folder.
cheers,
Kay
> On 09 Sep 2015, at 17:53, Anant Sawant <[email protected]> wrote:
>
> Hi,
>
> I am trying to compile graylog2-web-interface-1.1.6 on windows 7 using java 8
> and tysafe activator 1.3.5.
>
> After Typesafe is done with compilation when I hit "Run" from the menu
> Tyasafe gives the following.
>
> Setting up Play fork run ... (use Ctrl+D to cancel)
> Multiple resolvers having different access mechanism configured with same
> name 'typesafe-releases'. To avoid conflict, Remove duplicate project
> resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
> --- (Running the application, auto-reloading is enabled) ---
> play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
> (Server started, use Ctrl+D to stop and go back to the console...)
>
> And creates "http://localhost:9000" under "Run on build". When I hit
> "http://localhost:9000" I am getting the following error.
>
> Cannot run program "git": CreateProcess error=2, The system cannot find the
> file specified
> java.io.IOException: Cannot run program "git": CreateProcess error=2, The
> system cannot find the file specified.
>
> Please give an idea to overcome this issue.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Graylog Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/graylog2/08d5cf83-47c9-484e-8fd7-605258c2597a%40googlegroups.com
>
> <https://groups.google.com/d/msgid/graylog2/08d5cf83-47c9-484e-8fd7-605258c2597a%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/98CA4328-84AB-4E31-8177-30C4407BB2EE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.