{"action":"created","issue":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/306","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/306/comments","events_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/306/events","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/306","id":96441289,"number":306,"title":"During clean build, test binary tasks incorrectly think they are UP-TO-DATE","user":{"login":"advayDev1","id":11729521,"avatar_url":"https://avatars.githubusercontent.com/u/11729521?v=3","gravatar_id":"","url":"https://api.github.com/users/advayDev1","html_url":"https://github.com/advayDev1","followers_url":"https://api.github.com/users/advayDev1/followers","following_url":"https://api.github.com/users/advayDev1/following{/other_user}","gists_url":"https://api.github.com/users/advayDev1/gists{/gist_id}","starred_url":"https://api.github.com/users/advayDev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advayDev1/subscriptions","organizations_url":"https://api.github.com/users/advayDev1/orgs","repos_url":"https://api.github.com/users/advayDev1/repos","events_url":"https://api.github.com/users/advayDev1/events{/privacy}","received_events_url":"https://api.github.com/users/advayDev1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/milestones/3","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/milestones/Beta%20Release","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/milestones/3/labels","id":1162580,"number":3,"title":"Beta Release","description":null,"creator":{"login":"advayDev1","id":11729521,"avatar_url":"https://avatars.githubusercontent.com/u/11729521?v=3","gravatar_id":"","url":"https://api.github.com/users/advayDev1","html_url":"https://github.com/advayDev1","followers_url":"https://api.github.com/users/advayDev1/followers","following_url":"https://api.github.com/users/advayDev1/following{/other_user}","gists_url":"https://api.github.com/users/advayDev1/gists{/gist_id}","starred_url":"https://api.github.com/users/advayDev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advayDev1/subscriptions","organizations_url":"https://api.github.com/users/advayDev1/orgs","repos_url":"https://api.github.com/users/advayDev1/repos","events_url":"https://api.github.com/users/advayDev1/events{/privacy}","received_events_url":"https://api.github.com/users/advayDev1/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":2,"state":"open","created_at":"2015-06-12T19:01:13Z","updated_at":"2015-07-21T23:52:58Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-07-21T23:47:54Z","updated_at":"2015-07-22T00:16:54Z","closed_at":null,"body":"the :debugTestJ2objcExecutable task does not recreate the binary after cleaning, if there are no tests.\r\n\r\ndo a ./gradlew clean build, you will see for example:\r\n```\r\nflatbuffers-java:compileDebugTestJ2objcExecutableTestJ2objcObjc UP-TO-DATE\r\n:flatbuffers-java:compileX86_64DebugFlatbuffers-java-j2objcStaticLibraryFlatbuffers-java-j2objcObjc\r\n:flatbuffers-java:createX86_64DebugFlatbuffers-java-j2objcStaticLibrary\r\n:flatbuffers-java:x86_64DebugFlatbuffers-java-j2objcStaticLibrary\r\n:flatbuffers-java:linkDebugTestJ2objcExecutable UP-TO-DATE\r\n:flatbuffers-java:debugTestJ2objcExecutable UP-TO-DATE\r\n...\r\n:flatbuffers-java:j2objcTestDebug FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nA problem was found with the configuration of task ':flatbuffers-java:j2objcTestDebug'.\r\n> File '/Users/X/third_party/flatbuffers-java/build/binaries/testJ2objcExecutable/debug/testJ2objc' specified for property 'testBinaryFile' does not exist.\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/comments/123514692","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/306#issuecomment-123514692","issue_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/306","id":123514692,"user":{"login":"brunobowden","id":679339,"avatar_url":"https://avatars.githubusercontent.com/u/679339?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobowden","html_url":"https://github.com/brunobowden","followers_url":"https://api.github.com/users/brunobowden/followers","following_url":"https://api.github.com/users/brunobowden/following{/other_user}","gists_url":"https://api.github.com/users/brunobowden/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobowden/subscriptions","organizations_url":"https://api.github.com/users/brunobowden/orgs","repos_url":"https://api.github.com/users/brunobowden/repos","events_url":"https://api.github.com/users/brunobowden/events{/privacy}","received_events_url":"https://api.github.com/users/brunobowden/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T00:16:54Z","updated_at":"2015-07-22T00:16:54Z","body":"Yes. So that's why I don't see it. Doesn't the flatbuffers project have\ntests?\n\nOn Tue, Jul 21, 2015, 5:13 PM Advay Mengle <notifications@github.com> wrote:\n\n> do all of your j2objc projects have at least one *Test.ajva file?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/j2objc-contrib/j2objc-gradle/issues/306#issuecomment-123514140>\n> .\n>\n"}}