{"action":"created","issue":{"url":"https://api.github.com/repos/jakejustus/pct/issues/111","labels_url":"https://api.github.com/repos/jakejustus/pct/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/jakejustus/pct/issues/111/comments","events_url":"https://api.github.com/repos/jakejustus/pct/issues/111/events","html_url":"https://github.com/jakejustus/pct/issues/111","id":103378266,"number":111,"title":"pct:compile: leaves debug listing in root when aborted, causing subsequent compile to fail once","user":{"login":"stefandrissen","id":5297464,"avatar_url":"https://avatars.githubusercontent.com/u/5297464?v=3","gravatar_id":"","url":"https://api.github.com/users/stefandrissen","html_url":"https://github.com/stefandrissen","followers_url":"https://api.github.com/users/stefandrissen/followers","following_url":"https://api.github.com/users/stefandrissen/following{/other_user}","gists_url":"https://api.github.com/users/stefandrissen/gists{/gist_id}","starred_url":"https://api.github.com/users/stefandrissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefandrissen/subscriptions","organizations_url":"https://api.github.com/users/stefandrissen/orgs","repos_url":"https://api.github.com/users/stefandrissen/repos","events_url":"https://api.github.com/users/stefandrissen/events{/privacy}","received_events_url":"https://api.github.com/users/stefandrissen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-26T22:18:10Z","updated_at":"2015-09-11T23:54:13Z","closed_at":"2015-09-11T23:54:13Z","body":"pct v194\r\nopenedge 11.4 / 11.5\r\njenkins multijob project\r\n\r\nWhen a compile run is aborted (in our case due to one of the parallel jobs failing for whatever reason), the parallel siblings are aborted. When a compile task is aborted, a debug file is left behind which trips up a subsequent build which thinks there is a .p to compile.\r\n\r\n    ...\r\n    [pct:compile] File [C:\\Program Files (x86)\\Jenkins\\jobs\\7.12\\jobs\\done\\jobs\\build_bl-11.4-oracle\\workspace\\bl]/[project_ifallgen_gprmes.p] not found\r\n    ...\r\n    [pct:compile] 1023 file(s) compiled\r\n    [pct:compile] Failed to compile  1  file(s)\r\n    [pct:compile] Return value : 10\r\n\r\nRestarting the compile run again is then successful, since the orphan debug file was deleted by the successful compile of the file itself. When there are n parallel builds, the compile needs to be restarted n-1 times to flush out each project's orphan debug listing.\r\n\r\n\t\t<pct:compile destDir=\"${build}/${ant.project.name}/progress\" verbose=\"true\" stackSize=\"512\" inputChars=\"32000\" relativePaths=\"false\" debugListing=\"true\" listing=\"true\" keepXref=\"true\" xmlXref=\"true\">\r\n\t\t\t<pct:db_connection dbName=\"exactcs\" dbDir=\"${build}/db/progress\" singleUser=\"true\">\r\n\t\t\t\t<alias name=\"exactcssh\" />\r\n\t\t\t</pct:db_connection>\r\n\t\t\t<fileset dir=\"${src}\" includes=\"**/*.p\" />\r\n\t\t\t<propath>\r\n\t\t\t\t<pathelement location=\"${src}/../i\" />\r\n\t\t\t\t<pathelement location=\"${src}\" />\r\n\t\t\t\t<pathelement location=\"/bl,\" />\r\n\t\t\t</propath>\r\n\t\t</pct:compile>\r\n\r\nWork-arounds: \r\n\r\n1. set debugListing to false - not tested, but also not desirable\r\n2. before starting the compile delete files matching *_*.p"},"comment":{"url":"https://api.github.com/repos/jakejustus/pct/issues/comments/139689486","html_url":"https://github.com/jakejustus/pct/issues/111#issuecomment-139689486","issue_url":"https://api.github.com/repos/jakejustus/pct/issues/111","id":139689486,"user":{"login":"stefandrissen","id":5297464,"avatar_url":"https://avatars.githubusercontent.com/u/5297464?v=3","gravatar_id":"","url":"https://api.github.com/users/stefandrissen","html_url":"https://github.com/stefandrissen","followers_url":"https://api.github.com/users/stefandrissen/followers","following_url":"https://api.github.com/users/stefandrissen/following{/other_user}","gists_url":"https://api.github.com/users/stefandrissen/gists{/gist_id}","starred_url":"https://api.github.com/users/stefandrissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefandrissen/subscriptions","organizations_url":"https://api.github.com/users/stefandrissen/orgs","repos_url":"https://api.github.com/users/stefandrissen/repos","events_url":"https://api.github.com/users/stefandrissen/events{/privacy}","received_events_url":"https://api.github.com/users/stefandrissen/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T23:54:13Z","updated_at":"2015-09-11T23:54:13Z","body":"Code changes look like they will do the trick. Thanks!"}}