Results 1 to 2 of 2

Thread: Cannot run program "git"

  1. #1
    Join Date
    Jul 2012
    Posts
    1

    Default Cannot run program "git"

    STS 3.0.0M3, Grails 2.0.4, Windows XP. Everytime I do a run-app I get this:

    | Loading Grails 2.0.4
    | Configuring classpath.
    | Environment set to development.....
    | Downloading: plugins-list.xml.....
    | Packaging Grails application
    java.io.IOException: Cannot run program "git": CreateProcess error=2, The system cannot find the file specified

    I can't find any reference to git in my project, tried installing git and adding it to the classpath, no luck there. Any idea why this is happening and how I stop it?
    Last edited by alvasakima; Aug 4th, 2012 at 11:11 AM. Reason: adding the OS

  2. #2
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    768

    Default

    I don't immediately know why executing grails is causing git to be invoked. Can you open your eclipse error log and look for relevant errors? Window -> Show view -> Other... -> Error log.

    Also, try running grails on the command line. Same behavior?

    Lastly, what kind of grails app is this? Is it a new app, or are you trying to run an existing one?
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •