{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/gis-tools-for-hadoop/issues/36","repository_url":"https://api.github.com/repos/Esri/gis-tools-for-hadoop","labels_url":"https://api.github.com/repos/Esri/gis-tools-for-hadoop/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/Esri/gis-tools-for-hadoop/issues/36/comments","events_url":"https://api.github.com/repos/Esri/gis-tools-for-hadoop/issues/36/events","html_url":"https://github.com/Esri/gis-tools-for-hadoop/issues/36","id":130533742,"number":36,"title":"trip-discovery build.xml fails to compile","user":{"login":"harshil1234","id":9329267,"avatar_url":"https://avatars.githubusercontent.com/u/9329267?v=3","gravatar_id":"","url":"https://api.github.com/users/harshil1234","html_url":"https://github.com/harshil1234","followers_url":"https://api.github.com/users/harshil1234/followers","following_url":"https://api.github.com/users/harshil1234/following{/other_user}","gists_url":"https://api.github.com/users/harshil1234/gists{/gist_id}","starred_url":"https://api.github.com/users/harshil1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshil1234/subscriptions","organizations_url":"https://api.github.com/users/harshil1234/orgs","repos_url":"https://api.github.com/users/harshil1234/repos","events_url":"https://api.github.com/users/harshil1234/events{/privacy}","received_events_url":"https://api.github.com/users/harshil1234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-02T00:54:12Z","updated_at":"2016-02-02T16:05:15Z","closed_at":null,"body":"I am seeing an error while trying to compile trip-discovery jar. So am I doing something wrong.\r\n\r\n```\r\n/usr/local/ant/bin/ant\r\nBuildfile: /Users/harshil/EDH/gis-tools-for-hadoop/samples/trip-discovery/build.xml\r\n\r\nBUILD FAILED\r\n/Users/harshil/EDH/gis-tools-for-hadoop/samples/trip-discovery/build.xml:5: Problem: failed to create task or type antlib:org.apache.maven.artifact.ant:dependencies\r\nCause: The name is undefined.\r\nAction: Check the spelling.\r\nAction: Check that any custom tasks/types have been declared.\r\nAction: Check that any <presetdef>/<macrodef> declarations have taken place.\r\nNo types or tasks have been defined in this namespace yet\r\n\r\nThis appears to be an antlib declaration.\r\nAction: Check that the implementing library exists in one of:\r\n        -/usr/local/ant/lib\r\n        -/Users/harshil/.ant/lib\r\n        -a directory added on the command line with the -lib argument\r\n\r\n\r\nTotal time: 0 seconds\r\n```\r\n\r\nAdding following lines in build.xml fixes it:\r\n```xml\r\n<path id=\"maven-ant-tasks.classpath\" path=\"../lib/maven-ant-tasks-2.1.3.jar\" />\r\n  <typedef resource=\"org/apache/maven/artifact/ant/antlib.xml\"\r\n          uri=\"antlib:org.apache.maven.artifact.ant\"\r\n          classpathref=\"maven-ant-tasks.classpath\" />\r\n```\r\n[edited 02/02 to display the output and XML correctly -- Randall]"},"comment":{"url":"https://api.github.com/repos/Esri/gis-tools-for-hadoop/issues/comments/178655529","html_url":"https://github.com/Esri/gis-tools-for-hadoop/issues/36#issuecomment-178655529","issue_url":"https://api.github.com/repos/Esri/gis-tools-for-hadoop/issues/36","id":178655529,"user":{"login":"harshil1234","id":9329267,"avatar_url":"https://avatars.githubusercontent.com/u/9329267?v=3","gravatar_id":"","url":"https://api.github.com/users/harshil1234","html_url":"https://github.com/harshil1234","followers_url":"https://api.github.com/users/harshil1234/followers","following_url":"https://api.github.com/users/harshil1234/following{/other_user}","gists_url":"https://api.github.com/users/harshil1234/gists{/gist_id}","starred_url":"https://api.github.com/users/harshil1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshil1234/subscriptions","organizations_url":"https://api.github.com/users/harshil1234/orgs","repos_url":"https://api.github.com/users/harshil1234/repos","events_url":"https://api.github.com/users/harshil1234/events{/privacy}","received_events_url":"https://api.github.com/users/harshil1234/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T16:05:15Z","updated_at":"2016-02-02T16:05:15Z","body":"Hi Randall,\r\n\r\nI am running on Mac OS X Yosemite 10.10.1. Is there something specific that you want me to check in my environment ?\r\n\r\nThanks,\r\nHarshil"}}