> OK, looks like we're good to move forward on this if the ambiguity about > CPE applying to all sources can be addressed. Over to you! > > https://issues.apache.org/jira/browse/LEGAL-563 >
Congratulations Neil! The path to avoid downloading of `nb-javac` after each start with an empty user directory is now open! How do we check all files of `nb-javac` are covered by CPE? Matthias prepared the nb-javac source code for [upload of bits to Maven central](https:// github.com/oracle/nb-javac/pull/2) - as part of that a JAR file with sources is being generated. It can be used to build the whole `nb-javac`. I've just: ``` $ wget https://repo1.maven.org/maven2/com/dukescript/nbjavac/nb-javac/ 15.0.0.2/nb-javac-15.0.0.2-sources.jar $ unzip nb-javac-15.0.0.2-sources.jar $ JAVA_HOME=/jdk-8/ ant -f ./make/langtools/netbeans/nb-javac/build.xml ``` and got the two `nb-javac*.jar` files as expected. Now, if I instead of building the sources scan them for CPE and look for 'particular file .* subject to the "Classpath" exception' as the `LICENSE.md` suggests I get: ``` $ wget https://repo1.maven.org/maven2/com/dukescript/nbjavac/nb-javac/ 15.0.0.2/nb-javac-15.0.0.2-sources.jar $ unzip nb-javac-15.0.0.2-sources.jar $ rm nb-javac-15.0.0.2-sources.jar $ find . -type f | while read X; do grep -r 'particular file as subject to the "Classpath" exception as provided' $X >/dev/null || echo No CPE in $X; done No CPE in ./SECURITY.md No CPE in ./LICENSE.txt No CPE in ./CONTRIBUTING.md No CPE in ./make/langtools/netbeans/nb-javac/nbproject/project.properties No CPE in ./make/langtools/netbeans/nb-javac/nbproject/genfiles.properties No CPE in ./make/langtools/netbeans/nb-javac/nbproject/build-impl.xml No CPE in ./make/langtools/netbeans/nb-javac/nbproject/project.xml No CPE in ./make/langtools/netbeans/nb-javac/pom-nb-javac.xml No CPE in ./make/langtools/netbeans/nb-javac/manifest.mf No CPE in ./make/langtools/netbeans/nb-javac/test/com/sun/tools/javac/jvm/ Test1.class No CPE in ./make/langtools/netbeans/nb-javac/test/com/sun/tools/javac/jvm/ V48gen.class No CPE in ./make/langtools/netbeans/nb-javac/test/com/sun/tools/javac/jvm/ Test2.class No CPE in ./make/langtools/netbeans/nb-javac/test/com/sun/tools/javac/parser/ DocCommentParserTest.java No CPE in ./make/langtools/netbeans/nb-javac/build.xml No CPE in ./README.md ``` Looking at the list of files missing the required sentence, I see none that becomes part of one of the `nb-javac*.jar` files and could hold such license text. I conclude that nb-javac-15.0.0.2 as published on Maven central by Toni is fully covered by Classpath "exception". -jt PS: Maybe the license of ./make/langtools/netbeans/nb-javac/pom-nb-javac.xml could be fixed for next release, right Matthias? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists