Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include, link and clarify the license in final JAR files #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# About nb-javac!
"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.

**nb-javac** is a patched version of [OpenJDK](http://openjdk.java.net/) *javac* and
available under the same [license](LICENSE.txt). All of the source files,
and the binaries produced from them, are covered by the "Classpath exception".
**nb-javac** has long been part of [NetBeans](http://netbeans.org),
providing a highly tuned Java compiler
specifically for the Java editor i.e., parsing and lexing for features such
as syntax coloring and code completion.

# Prerequisite
- Git
Expand Down
21 changes: 10 additions & 11 deletions make/langtools/netbeans/nb-javac/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,12 @@
<include name="javax/tools/*"/>
<include name="jdk/internal/PreviewFeature*"/>
<include name="javax/annotation/**/*"/>

</fileset>
<fileset dir="${nb.javac.dir}">
<include name="README.md"/>
<include name="LICENSE.tx"/>
<include name="SECURITY.md"/>
</fileset>
<fileset dir="${nb.javac.dir}">
<include name="README.md"/>
<include name="LICENSE.txt"/>
<include name="SECURITY.md"/>
</fileset>
</jar>
<jar destfile="${dist.dir}/nb-javac-${nb-javac-ver}-impl.jar">
<fileset dir="${build.classes.dir}">
Expand All @@ -112,11 +111,11 @@
<include name="jdk/internal/PreviewFeature*"/>
<include name="java/lang/**/*"/>
</fileset>
<fileset dir="${nb.javac.dir}">
<include name="README.md"/>
<include name="LICENSE.tx"/>
<include name="SECURITY.md"/>
</fileset>
<fileset dir="${nb.javac.dir}">
<include name="README.md"/>
<include name="LICENSE.txt"/>
<include name="SECURITY.md"/>
</fileset>
</jar>
<delete file="${dist.jar}"/>
</target>
Expand Down