{"action":"created","issue":{"url":"https://api.github.com/repos/wala/WALA/issues/343","repository_url":"https://api.github.com/repos/wala/WALA","labels_url":"https://api.github.com/repos/wala/WALA/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/wala/WALA/issues/343/comments","events_url":"https://api.github.com/repos/wala/WALA/issues/343/events","html_url":"https://github.com/wala/WALA/issues/343","id":350240682,"node_id":"MDU6SXNzdWUzNTAyNDA2ODI=","number":343,"title":"Build fails, due to error in ``./com.ibm.wala.dalvik.test/build.xml``: Copy precondition not evaluated","user":{"login":"jgsuess","id":782737,"node_id":"MDQ6VXNlcjc4MjczNw==","avatar_url":"https://avatars3.githubusercontent.com/u/782737?v=4","gravatar_id":"","url":"https://api.github.com/users/jgsuess","html_url":"https://github.com/jgsuess","followers_url":"https://api.github.com/users/jgsuess/followers","following_url":"https://api.github.com/users/jgsuess/following{/other_user}","gists_url":"https://api.github.com/users/jgsuess/gists{/gist_id}","starred_url":"https://api.github.com/users/jgsuess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgsuess/subscriptions","organizations_url":"https://api.github.com/users/jgsuess/orgs","repos_url":"https://api.github.com/users/jgsuess/repos","events_url":"https://api.github.com/users/jgsuess/events{/privacy}","received_events_url":"https://api.github.com/users/jgsuess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-14T00:34:10Z","updated_at":"2018-08-14T00:43:28Z","closed_at":null,"author_association":"NONE","body":"in ``./com.ibm.wala.dalvik.test/build.xml:40`` the property ``androiddir`` is set\r\n```\r\n\t<condition property=\"androiddir\" value=\"${env.ANDROID_HOME}\"> \r\n          <isset property=\"env.ANDROID_HOME\" /> \r\n\t</condition> \r\n```\r\nhowever, even if unset (i.e. no ``ANDROID_HOME``), it is still referenced in l.68 ``fetchDxJar`` and called via dependency from ``getJars``\r\n\r\n```\r\n\t<target name=\"fetchDxJar\">\r\n\t\t<mkdir dir=\"${basedir}/lib/\"/>\r\n\t\t<copy\r\n\t\t    file=\"${androiddir}/build-tools/26.0.2/lib/dx.jar\"\r\n\t\t    tofile=\"${basedir}/lib/dx.jar\" force=\"true\"/>\r\n\t</target>\r\n```\r\n\r\nleading to build failure:\r\n\r\n```\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project com.ibm.wala.dalvik.test: An Ant BuildException has occured: The following error occurred while executing this line:\r\n[ERROR] (dir)/WALA/com.ibm.wala.dalvik.test/build.xml:72: Warning: Could not find file (dir)//WALA/com.ibm.wala.dalvik.test/${androiddir}/build-tools/26.0.2/lib/dx.jar to copy.\r\n[ERROR] around Ant part ...<ant antfile=\"(dir)/WALA/com.ibm.wala.dalvik.test/build.xml\" target=\"getJars\"/>... @ 5:94 in (dir)/WALA/com.ibm.wala.dalvik.test/target/antrun/build-main.xml\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/wala/WALA/issues/comments/412714369","html_url":"https://github.com/wala/WALA/issues/343#issuecomment-412714369","issue_url":"https://api.github.com/repos/wala/WALA/issues/343","id":412714369,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjcxNDM2OQ==","user":{"login":"jgsuess","id":782737,"node_id":"MDQ6VXNlcjc4MjczNw==","avatar_url":"https://avatars3.githubusercontent.com/u/782737?v=4","gravatar_id":"","url":"https://api.github.com/users/jgsuess","html_url":"https://github.com/jgsuess","followers_url":"https://api.github.com/users/jgsuess/followers","following_url":"https://api.github.com/users/jgsuess/following{/other_user}","gists_url":"https://api.github.com/users/jgsuess/gists{/gist_id}","starred_url":"https://api.github.com/users/jgsuess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgsuess/subscriptions","organizations_url":"https://api.github.com/users/jgsuess/orgs","repos_url":"https://api.github.com/users/jgsuess/repos","events_url":"https://api.github.com/users/jgsuess/events{/privacy}","received_events_url":"https://api.github.com/users/jgsuess/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T00:43:28Z","updated_at":"2018-08-14T00:43:28Z","author_association":"NONE","body":"All of this seems to lead to ``dx.jar`` from the Android SDK. Is the SDK a prerequisite for the build? Which version?"}}
{"actor":{"display_login":"jgsuess"}}