{"action":"created","issue":{"url":"https://api.github.com/repos/axmor/typecs/issues/20","labels_url":"https://api.github.com/repos/axmor/typecs/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/axmor/typecs/issues/20/comments","events_url":"https://api.github.com/repos/axmor/typecs/issues/20/events","html_url":"https://github.com/axmor/typecs/issues/20","id":56420588,"number":20,"title":"compiled file folder not detected based relative path from \"source directory\" to ts file","user":{"login":"kosz78","id":3992195,"avatar_url":"https://avatars.githubusercontent.com/u/3992195?v=3","gravatar_id":"","url":"https://api.github.com/users/kosz78","html_url":"https://github.com/kosz78","followers_url":"https://api.github.com/users/kosz78/followers","following_url":"https://api.github.com/users/kosz78/following{/other_user}","gists_url":"https://api.github.com/users/kosz78/gists{/gist_id}","starred_url":"https://api.github.com/users/kosz78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosz78/subscriptions","organizations_url":"https://api.github.com/users/kosz78/orgs","repos_url":"https://api.github.com/users/kosz78/repos","events_url":"https://api.github.com/users/kosz78/events{/privacy}","received_events_url":"https://api.github.com/users/kosz78/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/axmor/typecs/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/axmor/typecs/labels/resolved","name":"resolved","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-03T18:58:32Z","updated_at":"2015-02-03T18:58:38Z","closed_at":"2015-02-03T18:58:33Z","body":"Hello,\n\n**Problem:**\n\nsource file under subdirectory of \"source directory\" is compiled directly into \"target directory\", not to the subdirectory of target directory.\n\n**Expected:**\n\nCompiled file is in subdirectory of target directory.\n\n**To reproduce**\n\n1) Configure project properties for the plugin:\n\nSource directory or file: \"src/main/ts\"\n\nTarget directory or file: \"src/main/webapp\"\n\n2) create typescript file \n\nsrc/main/ts/js/dir1/file1.ts\n\nExpecting that after saving file is compiled to \n\nsrc/main/webapp/js/dir1/file1.js\n\nbut is actually compiled to\n\nsrc/main/webapp/file1.js\n\n**Additional info:**\n\n1) FYI, my gradle plugin is configured similarly and it outputs file in expected folder.\n\n2) I'm using latest plugin version available right now.\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/axmor/typecs/issue/20\n- Originally reported by: [atsu85](https://bitbucket.org/atsu85)\n- Originally created at: 2014-11-16T01:44:23.474\n"},"comment":{"url":"https://api.github.com/repos/axmor/typecs/issues/comments/72711613","html_url":"https://github.com/axmor/typecs/issues/20#issuecomment-72711613","issue_url":"https://api.github.com/repos/axmor/typecs/issues/20","id":72711613,"user":{"login":"kosz78","id":3992195,"avatar_url":"https://avatars.githubusercontent.com/u/3992195?v=3","gravatar_id":"","url":"https://api.github.com/users/kosz78","html_url":"https://github.com/kosz78","followers_url":"https://api.github.com/users/kosz78/followers","following_url":"https://api.github.com/users/kosz78/following{/other_user}","gists_url":"https://api.github.com/users/kosz78/gists{/gist_id}","starred_url":"https://api.github.com/users/kosz78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosz78/subscriptions","organizations_url":"https://api.github.com/users/kosz78/orgs","repos_url":"https://api.github.com/users/kosz78/repos","events_url":"https://api.github.com/users/kosz78/events{/privacy}","received_events_url":"https://api.github.com/users/kosz78/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T18:58:38Z","updated_at":"2015-02-03T18:58:38Z","body":"_From Konstantin Zaitcev on 2014-11-24 05:27:41+00:00_\n\nMerged in atsu85/typecs (pull request #10)\n\nFix #20 - added new project specific boolean option: \"Set relative path from target directory to output file based on relative path from source directory to input file\"  (default value is false so update would not change how project was previously built)\n\n→ <<cset af3d47f7006a>>"}}