{"id":15046015,"url":"https://github.com/androidideofficial/nb-javac-android","last_synced_at":"2025-03-30T14:31:41.446Z","repository":{"id":38787217,"uuid":"483746267","full_name":"AndroidIDEOfficial/nb-javac-android","owner":"AndroidIDEOfficial","description":"A fork of nb-javac for Android.","archived":true,"fork":false,"pushed_at":"2023-02-25T11:49:56.000Z","size":4488,"stargazers_count":32,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T14:51:44.260Z","etag":null,"topics":["android","androidide","compiler","java","javac","jdk","jdk17"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndroidIDEOfficial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null}},"created_at":"2022-04-20T17:15:16.000Z","updated_at":"2025-03-08T06:17:13.000Z","dependencies_parsed_at":"2023-09-23T14:40:37.000Z","dependency_job_id":null,"html_url":"https://github.com/AndroidIDEOfficial/nb-javac-android","commit_stats":{"total_commits":56,"total_committers":2,"mean_commits":28.0,"dds":"0.017857142857142905","last_synced_commit":"94f20d453838279d91f827395a58000c58d32f62"},"previous_names":["itsaky/nb-javac-android"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidIDEOfficial%2Fnb-javac-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidIDEOfficial%2Fnb-javac-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidIDEOfficial%2Fnb-javac-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidIDEOfficial%2Fnb-javac-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndroidIDEOfficial","download_url":"https://codeload.github.com/AndroidIDEOfficial/nb-javac-android/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246332174,"owners_count":20760429,"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":["android","androidide","compiler","java","javac","jdk","jdk17"],"created_at":"2024-09-24T20:52:35.532Z","updated_at":"2025-03-30T14:31:36.435Z","avatar_url":"https://github.com/AndroidIDEOfficial.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## **Project archived**\n\n`nb-javac-android` has been merged with the [`AndroidIDE`](https://github.com/AndroidIDEOfficial/AndroidIDE) project.\n\n# nb-javac-android\n\n\u003ca href=\"https://github.com/itsaky/AndroidIDE\"\u003e\u003cimg src=\"https://androidide.com/github/img/androidide.php?part\u0026for-the-badge\"/\u003e\u003c/a\u003e\u003cbr\u003e\n\n[nb-javac](https://github.com/oracle/nb-javac) is a patched version of OpenJDK \"javac\", i.e., the Java compiler. This has long been part of NetBeans, providing a highly tuned Java compiler specifically for the Java editor i.e., parsing and lexing for features such as syntax coloring, code completion.\n\n`nb-javac-android` is a patched version of `nb-javac`. It allows developers to use `javac` i.e. the Java Compiler in android applications.\n\n**This version of `nb-javac` is meant to be used with [`AndroidIDE`](https://github.com/itsaky/AndroidIDE). If you want to use it in your project, you might need to do some modifications. See [`Issue #1`](https://github.com/itsaky/nb-javac-android/issues/1) for more information.**\n\n# Building nb-javac jar files\n\n## Prerequisite\n  - Git\n  - Ant 1.9.9 or above\n  - JDK 8 (to build nb-javac). Other versions are not recommended.\n  - Apache Maven\n\n## Build the project\n1. Obtain the code with the following command\n\n```\n$ git clone https://github.com/itsaky/nb-javac-android.git\n```\n\n2. To get a specific version use the following command\n\n```bash\n$ git checkout \u003crelease_tag_name\u003e \n```\n\n3. Run the below command to build nb-javac.\n\n```bash\n$ ant -f ./make/langtools/netbeans/nb-javac clean jar\n```\n\nA JAR named `nb-javac-\u003cver\u003e-android.jar` will be generatead at location `./make/langtools/netbeans/nb-javac/dist/`\n\n4. Run below command to zip the source code of nb-javac\n\n```bash\n$ ant -f ./make/langtools/netbeans/nb-javac zip-nb-javac-sources\n```\n\n# Publishing to maven central / OSSRH\n\n1. Aquire an account for OSSRH from sonatype and get access to the target groupId\n   See here: https://central.sonatype.org/pages/ossrh-guide.html\n\n2. Configure the maven installation so that the credentials are made available\n   for the server with the id oss.sonatype.org\n\n3. Run\n   ```\n   ant -f ./make/langtools/netbeans/nb-javac publish-to-ossrh-snapshots -Dmaven.groupId=your.grp.id\n   ```\n   to publish snapshot artifacts (https://oss.sonatype.org/content/repositories/snapshots/)\n\n4. Run\n   ```\n   ant -f ./make/langtools/netbeans/nb-javac publish-to-maven-central -Dmaven.groupId=your.grp.id\n   ```\n   to stage the release, which will get promoted to maven central, after it has\n   been manually released.\n\n# Documentation \n\n- https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac\n- https://cwiki.apache.org/confluence/display/NETBEANS/Release+Schedule\n- https://confluence.oraclecorp.com/confluence/display/NB/nb-javac+JDK14+uptake\n- https://wiki.se.oracle.com/display/JPG/Behavior+without+NB-Javac\n\n# nb-javac help\n- Subscribe or mail the users@netbeans.apache.org list - Ask questions, find answers, and also help other users.\n- Subscribe or mail the dev@netbeans.apache.org list - Join development discussions, propose new ideas and connect with contributors.\n\n# Contributing\nSee the  [Contributing Policy](./CONTRIBUTING.md)\n\n# Security\nSee the  [Security Policy](./SECURITY.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidideofficial%2Fnb-javac-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroidideofficial%2Fnb-javac-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidideofficial%2Fnb-javac-android/lists"}