title: Tic Tac Toe Google App Engine tutorial confusion?
body: <p>Operating System: Mavericks</p>
  
  <p>I'm running through an Google Appengine Endpoints <a href="https://developers.google.com/appengine/docs/java/endpoints/endpoints_tool#generating_a_discovery_doc" rel="nofollow">example</a> and from the command prompt I'm running: </p>
  
  <blockquote>
    <p>./endpoints.sh get-discovery-doc packagename.YourApiClass</p>
  </blockquote>
  
  <p>and getting an error:</p>
  
  <blockquote>
    <p>SEVERE: Received exception processing ./war/WEB-INF/appengine-web.xml
    com.google.apphosting.utils.config.AppEngineConfigException: Could not locate /Applications/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/appengine-java-sdk-1.8.8/bin/./war/WEB-INF/appengine-web.xml
        at com.google.apphosting.utils.config.AppEngineWebXmlReader.getInputStream(AppEngineWebXmlReader.java:140)
        at com.google.apphosting.utils.config.AppEngineWebXmlReader.readAppEngineWebXml(AppEngineWebXmlReader.java:75)
        at com.google.api.server.spi.tools.AppEngineUtil.getAppProperty(AppEngineUtil.java:82)
        at com.google.api.server.spi.tools.AppEngineUtil.getApplicationId(AppEngineUtil.java:41)
        at com.google.api.server.spi.tools.GenApiConfigAction.genApiConfig(GenApiConfigAction.java:86)
        at com.google.api.server.spi.tools.GetDiscoveryDocAction.getDiscoveryDoc(GetDiscoveryDocAction.java:85)
        at com.google.api.server.spi.tools.GetDiscoveryDocAction.execute(GetDiscoveryDocAction.java:66)
        at com.google.api.server.spi.tools.EndpointsTool.execute(EndpointsTool.java:68)
        at com.google.api.server.spi.tools.EndpointsTool.main(EndpointsTool.java:97)
    Caused by: java.io.FileNotFoundException: ./war/WEB-INF/appengine-web.xml (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.(FileInputStream.java:146)
        at java.io.FileInputStream.(FileInputStream.java:101)
        at com.google.apphosting.utils.config.AppEngineWebXmlReader.getInputStream(AppEngineWebXmlReader.java:137)
        ... 8 more</p>
    
    <p>Error: Could not locate /Applications/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.8/appengine-java-sdk-1.8.8/bin/./war/WEB-INF/appengine-web.xml</p>
  </blockquote>
  
  <p>how do I point the google app engine endpoints command line tool to the correct directory? Right now it seems that somewhere this directory ./war/WEB-INF/appengine-web.xml is set as the location of whatever file (appengine-web.xml maybe?) its looking for.</p>