Skip to content

Commit

Permalink
Add lang directory to manifest of ZAP JAR
Browse files Browse the repository at this point in the history
Change build.xml file to include the "lang" directory in the manifest of
ZAP jar, so that it's automatically included in the class path. The
"lang" directory contains the resource messages required to run ZAP.
In newer Java 9 (EA) versions the application class loader is no longer
an instance of URLClassLoader ("JEP 261: Module System") making ZAP to
fail (skip) to dynamically add the "lang" directory to the class path.

Related to zaproxy#2602 - Java 9 (9-ea)
  • Loading branch information
thc202 authored and Martin Kalina committed Feb 9, 2017
1 parent 9556c57 commit e34409f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
<fileset dir="${dist}/lib">
<include name="**/*.jar" />
</fileset>
<!--path location="lang"/-->
<path location="${dist}/lang/" />
</classpath>
</manifestclasspath>

Expand Down

0 comments on commit e34409f

Please sign in to comment.