{"action":"created","issue":{"url":"https://api.github.com/repos/phingofficial/phing-issues-test/issues/62","repository_url":"https://api.github.com/repos/phingofficial/phing-issues-test","labels_url":"https://api.github.com/repos/phingofficial/phing-issues-test/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/phingofficial/phing-issues-test/issues/62/comments","events_url":"https://api.github.com/repos/phingofficial/phing-issues-test/issues/62/events","html_url":"https://github.com/phingofficial/phing-issues-test/issues/62","id":181673934,"number":62,"title":"ExecTask not packing generated js.min files (Trac #1201)","user":{"login":"mrook","id":477719,"avatar_url":"https://avatars.githubusercontent.com/u/477719?v=3","gravatar_id":"","url":"https://api.github.com/users/mrook","html_url":"https://github.com/mrook","followers_url":"https://api.github.com/users/mrook/followers","following_url":"https://api.github.com/users/mrook/following{/other_user}","gists_url":"https://api.github.com/users/mrook/gists{/gist_id}","starred_url":"https://api.github.com/users/mrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrook/subscriptions","organizations_url":"https://api.github.com/users/mrook/orgs","repos_url":"https://api.github.com/users/mrook/repos","events_url":"https://api.github.com/users/mrook/events{/privacy}","received_events_url":"https://api.github.com/users/mrook/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phingofficial/phing-issues-test/labels/defect","name":"defect","color":"FFFFFF"},{"url":"https://api.github.com/repos/phingofficial/phing-issues-test/labels/Migrated%20from%20Trac","name":"Migrated from Trac","color":"FFFFFF"},{"url":"https://api.github.com/repos/phingofficial/phing-issues-test/labels/phing-core","name":"phing-core","color":"FFFFFF"}],"state":"open","locked":false,"assignee":{"login":"mrook","id":477719,"avatar_url":"https://avatars.githubusercontent.com/u/477719?v=3","gravatar_id":"","url":"https://api.github.com/users/mrook","html_url":"https://github.com/mrook","followers_url":"https://api.github.com/users/mrook/followers","following_url":"https://api.github.com/users/mrook/following{/other_user}","gists_url":"https://api.github.com/users/mrook/gists{/gist_id}","starred_url":"https://api.github.com/users/mrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrook/subscriptions","organizations_url":"https://api.github.com/users/mrook/orgs","repos_url":"https://api.github.com/users/mrook/repos","events_url":"https://api.github.com/users/mrook/events{/privacy}","received_events_url":"https://api.github.com/users/mrook/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrook","id":477719,"avatar_url":"https://avatars.githubusercontent.com/u/477719?v=3","gravatar_id":"","url":"https://api.github.com/users/mrook","html_url":"https://github.com/mrook","followers_url":"https://api.github.com/users/mrook/followers","following_url":"https://api.github.com/users/mrook/following{/other_user}","gists_url":"https://api.github.com/users/mrook/gists{/gist_id}","starred_url":"https://api.github.com/users/mrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrook/subscriptions","organizations_url":"https://api.github.com/users/mrook/orgs","repos_url":"https://api.github.com/users/mrook/repos","events_url":"https://api.github.com/users/mrook/events{/privacy}","received_events_url":"https://api.github.com/users/mrook/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/phingofficial/phing-issues-test/milestones/3","html_url":"https://github.com/phingofficial/phing-issues-test/milestones/Backlog","labels_url":"https://api.github.com/repos/phingofficial/phing-issues-test/milestones/3/labels","id":2054882,"number":3,"title":"Backlog","description":null,"creator":{"login":"mrook","id":477719,"avatar_url":"https://avatars.githubusercontent.com/u/477719?v=3","gravatar_id":"","url":"https://api.github.com/users/mrook","html_url":"https://github.com/mrook","followers_url":"https://api.github.com/users/mrook/followers","following_url":"https://api.github.com/users/mrook/following{/other_user}","gists_url":"https://api.github.com/users/mrook/gists{/gist_id}","starred_url":"https://api.github.com/users/mrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrook/subscriptions","organizations_url":"https://api.github.com/users/mrook/orgs","repos_url":"https://api.github.com/users/mrook/repos","events_url":"https://api.github.com/users/mrook/events{/privacy}","received_events_url":"https://api.github.com/users/mrook/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":0,"state":"open","created_at":"2016-10-07T13:47:34Z","updated_at":"2016-10-07T13:51:55Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-10-07T13:50:53Z","updated_at":"2016-10-07T14:07:28Z","closed_at":null,"body":"I just found Phing and were playing around, when i experienced a strange problem...\n\nI'm trying to jsmin some files (using uglify-js) and add them to a tar archive. But for some reason, the TarTask won't pack the js.min files.\n\nFirst i thought, the TarTask is being executed earlier/faster than my ExecTask, but that doesn't seem to be the case. For debugging purposes, i've created another ExecTask that calls PHP's sleep function. While the process was sleeping, i verified, that the js.min file is within the directory, that i am going to compress. But again, the TarTask ignored the js.min file:\n\n\n\n```text\n<exec command=\"uglifyjs ${jsFile}.js -nc -o ${jsFile}.min.js \" dir=\"${jsDir}\" checkreturn=\"true\" logoutput=\"true\" escape=\"true\" />\n```\n\n...\n\n\n\n```text\n<tar destfile=\"${project.tempdir}/${dirname}.tar\">\n    <fileset dir=\"${dirname}\">\n\t<patternset refid=\"excludedDirs\" />\n    </fileset>\n</tar>\n```\n\nThen, i just tried the JsMinTask and ran into the same problem. However, if i generate the js.min file by myself and add it to the directory that is being compressed, it works. So there's just a problem, when generating it on the fly using Phing.\n\nMigrated from http://localhost:3530/trac/ticket/1201\n```json\n{\n    \"status\": \"new\", \n    \"changetime\": \"2015-07-30T21:57:00\", \n    \"description\": \"I just found Phing and were playing around, when i experienced a strange problem...\\n\\nI'm trying to jsmin some files (using uglify-js) and add them to a tar archive. But for some reason, the TarTask won't pack the js.min files.\\n\\nFirst i thought, the TarTask is being executed earlier/faster than my ExecTask, but that doesn't seem to be the case. For debugging purposes, i've created another ExecTask that calls PHP's sleep function. While the process was sleeping, i verified, that the js.min file is within the directory, that i am going to compress. But again, the TarTask ignored the js.min file:\\n\\n\\n{{{\\n<exec command=\\\"uglifyjs ${jsFile}.js -nc -o ${jsFile}.min.js \\\" dir=\\\"${jsDir}\\\" checkreturn=\\\"true\\\" logoutput=\\\"true\\\" escape=\\\"true\\\" />\\n}}}\\n\\n...\\n\\n\\n{{{\\n<tar destfile=\\\"${project.tempdir}/${dirname}.tar\\\">\\n    <fileset dir=\\\"${dirname}\\\">\\n\\t<patternset refid=\\\"excludedDirs\\\" />\\n    </fileset>\\n</tar>\\n}}}\\n\\nThen, i just tried the JsMinTask and ran into the same problem. However, if i generate the js.min file by myself and add it to the directory that is being compressed, it works. So there's just a problem, when generating it on the fly using Phing.\", \n    \"reporter\": \"sascha@softcreatr.de\", \n    \"cc\": \"\", \n    \"resolution\": \"\", \n    \"_ts\": \"1438293420244865\", \n    \"component\": \"phing-core\", \n    \"summary\": \"ExecTask not packing generated js.min files\", \n    \"priority\": \"tbd\", \n    \"keywords\": \"\", \n    \"version\": \"2.11.0\", \n    \"time\": \"2015-07-30T11:18:36\", \n    \"milestone\": \"Backlog\", \n    \"owner\": \"mrook\", \n    \"type\": \"defect\"\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/phingofficial/phing-issues-test/issues/comments/252261667","html_url":"https://github.com/phingofficial/phing-issues-test/issues/62#issuecomment-252261667","issue_url":"https://api.github.com/repos/phingofficial/phing-issues-test/issues/62","id":252261667,"user":{"login":"mrook","id":477719,"avatar_url":"https://avatars.githubusercontent.com/u/477719?v=3","gravatar_id":"","url":"https://api.github.com/users/mrook","html_url":"https://github.com/mrook","followers_url":"https://api.github.com/users/mrook/followers","following_url":"https://api.github.com/users/mrook/following{/other_user}","gists_url":"https://api.github.com/users/mrook/gists{/gist_id}","starred_url":"https://api.github.com/users/mrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrook/subscriptions","organizations_url":"https://api.github.com/users/mrook/orgs","repos_url":"https://api.github.com/users/mrook/repos","events_url":"https://api.github.com/users/mrook/events{/privacy}","received_events_url":"https://api.github.com/users/mrook/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T14:07:28Z","updated_at":"2016-10-07T14:07:28Z","body":"Trac update at 20150730T11:20:06: \n* sascha@softcreatr.de changed attachment from \"\" to \"build.xml\"\n* sascha@softcreatr.de commented:\n\n> Phing Build File\n\n"}}
{"actor":{"display_login":"mrook"}}