{"id":21829981,"url":"https://github.com/devinrsmith/ij-manifest-issue","last_synced_at":"2026-05-18T08:02:20.973Z","repository":{"id":78596046,"uuid":"256020889","full_name":"devinrsmith/ij-manifest-issue","owner":"devinrsmith","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-15T20:28:34.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T09:12:03.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devinrsmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-15T19:48:37.000Z","updated_at":"2020-04-15T20:28:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"629374c8-d735-4970-a06e-b91dc3d26d08","html_url":"https://github.com/devinrsmith/ij-manifest-issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinrsmith%2Fij-manifest-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinrsmith%2Fij-manifest-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinrsmith%2Fij-manifest-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinrsmith%2Fij-manifest-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinrsmith","download_url":"https://codeload.github.com/devinrsmith/ij-manifest-issue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244801212,"owners_count":20512619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T18:33:32.833Z","updated_at":"2026-05-18T08:02:15.931Z","avatar_url":"https://github.com/devinrsmith.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Gradle direct\nThe following shows the correct output of the program:\n\n```sh\n$ ./gradlew -q run\nclass com.devinrsmith.IJManifestIssueMain\nclass com.devinrsmith.IJManifestIssueMain$Inner\nclass org.joor.CompileOptions\n```\n\n### No shortening\n\nIt correctly runs with no shortening applied as an IJ configuration:\n\n![no shortening](no-shortening.png)\n\n### Jar shortening\n\nIt fails to run with jar shortening applied as an IJ configuration:\n\n![jar shortening](jar-shortening.png)\n\nwith the output\n\n```\nException in thread \"main\" org.joor.ReflectException: Compilation error: /ShowMainImpl.java:5: error: package com.devinrsmith does not exist\n        System.out.println(com.devinrsmith.IJManifestIssueMain.class);\n                                          ^\n/ShowMainImpl.java:6: error: package com.devinrsmith.IJManifestIssueMain does not exist\n        System.out.println(com.devinrsmith.IJManifestIssueMain.Inner.class);\n                                                              ^\n/ShowMainImpl.java:7: error: package org.joor does not exist\n        System.out.println(org.joor.CompileOptions.class);\n                                   ^\n3 errors\n\n\tat org.joor.Compile.compile(Compile.java:100)\n\tat org.joor.Reflect.compile(Reflect.java:102)\n\tat com.devinrsmith.IJManifestIssueMain.main(IJManifestIssueMain.java:27)\n```\n\n### Issue?\n\nIt appears that IJ is creating an improper manifest file with `file:` prefixes on the classpath\nparts. These `file:` prefixes seem to work \"ok\" in `java`, but fail in `javac`. Once these prefixes\nare removed, the shortened command line program works. See [BAD.MF](BAD.MF) for an example of the\nbad manifest.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinrsmith%2Fij-manifest-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinrsmith%2Fij-manifest-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinrsmith%2Fij-manifest-issue/lists"}