{"action":"created","issue":{"url":"https://api.github.com/repos/michaelhashimoto/liferay-portal/issues/461","labels_url":"https://api.github.com/repos/michaelhashimoto/liferay-portal/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/michaelhashimoto/liferay-portal/issues/461/comments","events_url":"https://api.github.com/repos/michaelhashimoto/liferay-portal/issues/461/events","html_url":"https://github.com/michaelhashimoto/liferay-portal/pull/461","id":62779949,"number":461,"title":"master-qa-14029","user":{"login":"alee8888","id":871744,"avatar_url":"https://avatars.githubusercontent.com/u/871744?v=3","gravatar_id":"","url":"https://api.github.com/users/alee8888","html_url":"https://github.com/alee8888","followers_url":"https://api.github.com/users/alee8888/followers","following_url":"https://api.github.com/users/alee8888/following{/other_user}","gists_url":"https://api.github.com/users/alee8888/gists{/gist_id}","starred_url":"https://api.github.com/users/alee8888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alee8888/subscriptions","organizations_url":"https://api.github.com/users/alee8888/orgs","repos_url":"https://api.github.com/users/alee8888/repos","events_url":"https://api.github.com/users/alee8888/events{/privacy}","received_events_url":"https://api.github.com/users/alee8888/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T19:35:24Z","updated_at":"2015-03-18T19:46:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/michaelhashimoto/liferay-portal/pulls/461","html_url":"https://github.com/michaelhashimoto/liferay-portal/pull/461","diff_url":"https://github.com/michaelhashimoto/liferay-portal/pull/461.diff","patch_url":"https://github.com/michaelhashimoto/liferay-portal/pull/461.patch"},"body":"https://issues.liferay.com/browse/LRQA-14029"},"comment":{"url":"https://api.github.com/repos/michaelhashimoto/liferay-portal/issues/comments/83138467","html_url":"https://github.com/michaelhashimoto/liferay-portal/pull/461#issuecomment-83138467","issue_url":"https://api.github.com/repos/michaelhashimoto/liferay-portal/issues/461","id":83138467,"user":{"login":"alee8888","id":871744,"avatar_url":"https://avatars.githubusercontent.com/u/871744?v=3","gravatar_id":"","url":"https://api.github.com/users/alee8888","html_url":"https://github.com/alee8888","followers_url":"https://api.github.com/users/alee8888/followers","following_url":"https://api.github.com/users/alee8888/following{/other_user}","gists_url":"https://api.github.com/users/alee8888/gists{/gist_id}","starred_url":"https://api.github.com/users/alee8888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alee8888/subscriptions","organizations_url":"https://api.github.com/users/alee8888/orgs","repos_url":"https://api.github.com/users/alee8888/repos","events_url":"https://api.github.com/users/alee8888/events{/privacy}","received_events_url":"https://api.github.com/users/alee8888/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T19:46:06Z","updated_at":"2015-03-18T19:46:06Z","body":"The clean-up-logs target is called whenever a bundle needs to be shutdown (stop-app-server). However, the directory to those logs are the same every time the clean-up-logs is called:\r\n\r\nproject.directory/logs \r\nportal-web/test-ant-scripts/logs\r\n\r\nAfter deleting those logs, the Ant record task will start to record a shutdown log from the bundle. I noticed that subsequent calls to record the shutdown log will only work for the original bundle.\r\n\r\nI believe when evaluateLog tries to create a new unsyncBufferedReader object, the passed in logwill be null because it has been cleared out when stop-app-server-cmd was called again for the second bundle.\r\n\r\nI just added a conditional which will call clean-up-logs only for the original bundle."}}