Skip to content
Browse files

BRANCH 4.0:

   added Permissions , Codebase, and Trusted-Library to the jar manifest
  • Loading branch information...
1 parent 95ba8d6 commit 3a8c5b949bb88a2634c2f6d4d8272e2274044314 @oboreo oboreo committed
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/applet/upload/build.xml
  2. BIN src/context/java/Upload-latest.jar
View
9 src/applet/upload/build.xml
@@ -44,7 +44,14 @@
<!-- Put everything in $(build) into the Upload-$(DSTAMP).jar fi
le -->
- <jar jarfile="${dist}/lib/Upload-${DSTAMP}.jar" basedir="${build}"/>
+ <jar jarfile="${dist}/lib/Upload-${DSTAMP}.jar" basedir="${build}">
+ <manifest>
+ <attribute name="Trusted-Library" value="true" />
+ <attribute name="Permissions" value="all-permissions" />
+ <attribute name="Codebase" value="*"/>
+ </manifest>
+ </jar>
+
<signjar jar="${dist}/lib/Upload-${DSTAMP}.jar" alias="sthpw" keystore="jarsign/sthpw.store" storepass="tactic"/>
<copy file="${dist}/lib/Upload-${DSTAMP}.jar" tofile="${dist}/lib/Upload-latest.jar"/>
<copy file="${dist}/lib/Upload-latest.jar" tofile="${release}/Upload-latest.jar"/>
View
BIN src/context/java/Upload-latest.jar
Binary file not shown.

0 comments on commit 3a8c5b9

Please sign in to comment.
Something went wrong with that request. Please try again.