- <attribute name="Application-Name" value="Jmol (bundled with JalviewLite)"/>
- <!-- <attribute name="Permissions" value="sandbox" /> -->
- <!--<attribute name="Trusted-Lib" value="true" /> -->
- <attribute name="Codebase" value="${applet.codebase}"/>
- <attribute name="Caller-Allowable-Codebase" value="${applet.caller-codebase}"/>
- </manifest>
- </jar>
+ <attribute name="Application-Name" value="JalviewLite"/>
+ <attribute name="Permissions" value="all-permissions"/>
+ <attribute name="Codebase" value="${applet.codebase}"/>
+ <attribute name="Caller-Allowable-Codebase" value="${applet.caller-codebase}"/>
+ <attribute name="Application-Library-Allowable-Codebase" value="${applet.codebase}"/>
+ <!--
+ <attribute name="Application-Library-Allowable-Codebase" value="${applet.codebase}"/>
+ -->
+<!-- <attribute name="Trusted-Only" value="true"/>
+-->
+<!-- <attribute name="Trusted-Library" value="true"/>
+-->
+ </manifest>
+ </jar>
+ </presetdef>
+ <presetdef name="applet_tl.jar">
+ <jar update="true" index="true" jarfile="@{jarfile}">
+ <manifest>
+ <attribute name="Application-Name" value="JalviewLite"/>
+ <attribute name="Permissions" value="all-permissions" />
+ <attribute name="Codebase" value="${applet.codebase}"/>
+ <attribute name="Trusted-Only" value="true"/>
+ <attribute name="Trusted-Library" value="true"/>
+ </manifest>
+ </jar>
+
+ </presetdef>
+ <copy file="${packageDir}/examples/${jalviewLiteJar}" tofile="${packageDir}/examples/tl_${jalviewLiteJar}"/>
+ <copy file="${packageDir}/examples/${jmolJar}" tofile="${packageDir}/examples/tl_${jmolJar}"/>
+ <applet.jar jarfile="${packageDir}/examples/${jalviewLiteJar}"/>
+ <applet_tl.jar jarfile="${packageDir}/examples/tl_${jalviewLiteJar}"/>
+ <applet.jar jarfile="${packageDir}/examples/${jmolJar}"/>
+ <applet_tl.jar jarfile="${packageDir}/examples/tl_${jmolJar}"/>