{"id":16696692,"url":"https://github.com/atry/scala-junction","last_synced_at":"2025-07-23T16:34:27.510Z","repository":{"id":57718871,"uuid":"3184724","full_name":"Atry/scala-junction","owner":"Atry","description":"Create NTFS junction point from Scala or Java.","archived":false,"fork":false,"pushed_at":"2014-07-08T01:40:06.000Z","size":564,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-14T03:11:42.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Atry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-15T17:21:48.000Z","updated_at":"2014-10-17T04:57:57.000Z","dependencies_parsed_at":"2022-09-26T21:40:32.956Z","dependency_job_id":null,"html_url":"https://github.com/Atry/scala-junction","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Atry/scala-junction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atry%2Fscala-junction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atry%2Fscala-junction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atry%2Fscala-junction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atry%2Fscala-junction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atry","download_url":"https://codeload.github.com/Atry/scala-junction/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atry%2Fscala-junction/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266714360,"owners_count":23973109,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-12T17:44:35.361Z","updated_at":"2025-07-23T16:34:27.481Z","avatar_url":"https://github.com/Atry.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"`scala-junction` is an utility that creates [NTFS junction points](https://en.wikipedia.org/wiki/NTFS_junction_point) on Windows for Scala or Java.\n# How to use it?\nIf you use sbt, add following lines to you `build.sbt`:\n\n\tlibraryDependencies += \"com.dongxiguo\" %% \"scala-junction\" % \"0.1.0\"\n\nThe [API](http://atry.github.com/scala-junction/api/index.html) of `scala-junction` is quite simple. There are only three public static functions:\n\n\tcom.dongxiguo.junction.Junction.createJunction(new java.io.File(\"my-link\"), new java.io.File(\"D:\\\\target\"));\n\t\n\t// Or if you are using Java 7:\n\tcom.dongxiguo.junction.java7.Junction.createJunction(java.nio.file.Paths.get(\"my-link\"), java.nio.file.Paths.get(\"D:\\\\target\"));\n\t\n\t// Create junction only if failed to create a symblic link:\n\tcom.dongxiguo.junction.java7.Junction.createSymbolicLinkOrJunction(java.nio.file.Paths.get(\"my-link\"), java.nio.file.Paths.get(\"D:\\\\target\"));\n\n# What's the difference between symblic links and junctions?\nJava 7 supports symblic links, but symblic links can only be created on POSIX, or by elevated user on Windows Vista/7/2008. On the other hand, `scala-junction` is tested working on Windows XP and Windows 7 (for both elevated user and non-elevated user). I guess `scala-junction` works on any version of Windows NT.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatry%2Fscala-junction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatry%2Fscala-junction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatry%2Fscala-junction/lists"}