{"action":"created","issue":{"url":"https://api.github.com/repos/cbeust/kobalt/issues/103","labels_url":"https://api.github.com/repos/cbeust/kobalt/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/cbeust/kobalt/issues/103/comments","events_url":"https://api.github.com/repos/cbeust/kobalt/issues/103/events","html_url":"https://github.com/cbeust/kobalt/issues/103","id":126615256,"number":103,"title":"if depended-on project fails, dependent project should not build or assemble","user":{"login":"pabl0rg","id":10501896,"avatar_url":"https://avatars.githubusercontent.com/u/10501896?v=3","gravatar_id":"","url":"https://api.github.com/users/pabl0rg","html_url":"https://github.com/pabl0rg","followers_url":"https://api.github.com/users/pabl0rg/followers","following_url":"https://api.github.com/users/pabl0rg/following{/other_user}","gists_url":"https://api.github.com/users/pabl0rg/gists{/gist_id}","starred_url":"https://api.github.com/users/pabl0rg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabl0rg/subscriptions","organizations_url":"https://api.github.com/users/pabl0rg/orgs","repos_url":"https://api.github.com/users/pabl0rg/repos","events_url":"https://api.github.com/users/pabl0rg/events{/privacy}","received_events_url":"https://api.github.com/users/pabl0rg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T09:40:02Z","updated_at":"2016-01-14T22:14:19Z","closed_at":null,"body":"Even though a depended-on project did not build, its dependent is being built and assembled.  Then when I fix the depended-on project (dependee?), the jar file is not updated.\r\n\r\n```\r\n              __ __           __              __   __\r\n             / //_/  ____    / /_   ____ _   / /  / /_\r\n            / ,<    / __ \\  / __ \\ / __ `/  / /  / __/\r\n           / /| |  / /_/ / / /_/ // /_/ /  / /  / /_\r\n          /_/ |_|  \\____/ /_.___/ \\__,_/  /_/   \\__/  0.397\r\n\r\ninfo: PERF: INIT: Compiler initialized in 866 ms\r\ninfo: PERF: ANALYZE: 1 files (3 lines) in 1006 ms\r\ninfo: PERF: GENERATE: 1 files (3 lines) in 178 ms\r\n          ╔═════════════════════════════╗\r\n          ║ Building mixed-example-java ║\r\n          ╚═════════════════════════════╝\r\n───── mixed-example-java:compile\r\nCompilation errors, command:\r\njavac -d ./javaBuild/classes -classpath /Users/jp/Documents/st/code/mixed-example/./javaBuild/test-classes:/Users/jp/Documents/st/code/mixed-example/./javaBuild/classes ./src/main/java/com/guatec/Example.java ./src/main/java/com/guatec/ExampleCompileError.java./src/main/java/com/guatec/ExampleCompileError.java:6: error: class ExampleCompileErrorrrr is public, should be declared in a file named ExampleCompileErrorrrr.java\r\npublic class ExampleCompileErrorrrr {\r\n       ^\r\n          ╔════════════════════════╗\r\n          ║ Building mixed-example ║\r\n          ╚════════════════════════╝\r\n───── mixed-example:compile\r\ninfo: PERF: INIT: Compiler initialized in 782 ms\r\ninfo: PERF: ANALYZE: 1 files (9 lines) in 956 ms\r\ninfo: PERF: GENERATE: 1 files (9 lines) in 138 ms\r\n───── mixed-example:assemble\r\n  Created ./kobaltBuild/libs/mixed-example-null.jar\r\nBUILD FAILED: 1\r\n```\r\nthen i fix the error in the java file\r\n```\r\nsed -i '' 's/rrrr/r/' ./src/main/java/com/guatec/ExampleCompileError.java\r\n```\r\nthen i try to assemble again and a new jar is NOT created.\r\n```\r\nkbw assemble\r\n            _  __          _               _   _\r\n           | |/ /   ___   | |__     __ _  | | | |_\r\n           | ' /   / _ \\  | '_ \\   / _` | | | | __|\r\n           | . \\  | (_) | | |_) | | (_| | | | | |_\r\n           |_|\\_\\  \\___/  |_.__/   \\__,_| |_|  \\__|  0.397\r\n\r\n          ╔═════════════════════════════╗\r\n          ║ Building mixed-example-java ║\r\n          ╚═════════════════════════════╝\r\n───── mixed-example-java:compile\r\n───── mixed-example-java:assemble\r\n          ╔════════════════════════╗\r\n          ║ Building mixed-example ║\r\n          ╚════════════════════════╝\r\n───── mixed-example:compile\r\n───── mixed-example:assemble\r\nBUILD SUCCESSFUL (0 seconds)\r\n```\r\nI added ExampleCompileError.java to the project on github:\r\nhttps://github.com/pabl0rg/kobalt-mixed-example.git"},"comment":{"url":"https://api.github.com/repos/cbeust/kobalt/issues/comments/171798622","html_url":"https://github.com/cbeust/kobalt/issues/103#issuecomment-171798622","issue_url":"https://api.github.com/repos/cbeust/kobalt/issues/103","id":171798622,"user":{"login":"cbeust","id":92322,"avatar_url":"https://avatars.githubusercontent.com/u/92322?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeust","html_url":"https://github.com/cbeust","followers_url":"https://api.github.com/users/cbeust/followers","following_url":"https://api.github.com/users/cbeust/following{/other_user}","gists_url":"https://api.github.com/users/cbeust/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeust/subscriptions","organizations_url":"https://api.github.com/users/cbeust/orgs","repos_url":"https://api.github.com/users/cbeust/repos","events_url":"https://api.github.com/users/cbeust/events{/privacy}","received_events_url":"https://api.github.com/users/cbeust/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T22:14:19Z","updated_at":"2016-01-14T22:14:19Z","body":"Fixed. Kobalt will now skip projects if dependent projects failed to build:\r\n\r\n```\r\n          ╔═════════════════╗\r\n          ║ Building kobalt ║\r\n          ╚═════════════════╝\r\n*****\r\n***** ERROR Not building project kobalt since it depends on failed project kobalt-wrapper\r\n*****\r\n```\r\n"}}