<!-- Key Password -->
<property name="jalview.key.pass" value="alignmentisfun" />
+
+
<!-- Don't change anything below here unless you know what you are doing! -->
<!-- Url path for WebStart in JNLP file -->
<property name="WebStartLocation" value="http://www.jalview.org/webstart" />
<property name="WebStartImage" value="JalviewLogo_big.png"/>
<!-- J2SE version needed for webstart launch -->
<property name="j2sev" value="1.6+"/>
+
+ <!-- Permissions for running Java applets and applications. Defaults are those suitable for deploying jalview webstart/jalviewLite at www.jalview.org -->
+ <property name="application.codebase" value="*.jalview.org"/>
+ <property name="applet.codebase" value="*.jalview.org"/>
+ <property name="applet.caller-codebase" value="${applet.codebase}"/>
+
<!-- build directory configuration -->
<property name="libDir" value="lib" />
<property name="resourceDir" value="resources" />
<attribute name="Permissions" value="all-permissions" />
<!--<attribute name="Trusted-Lib" value="true" /> -->
<attribute name="Application-Name" value="Jalview Desktop"/>
- <attribute name="Codebase" value="*"/>
+ <attribute name="Codebase" value="${application.codebase}"/>
</manifest>
<fileset dir="${outputDir}/">
<exclude name="cache*/**" />
<attribute name="Application-Name" value="JalviewLite Applet"/>
<!-- <attribute name="Permissions" value="sandbox" /> -->
<!--<attribute name="Trusted-Lib" value="true" /> -->
- <attribute name="Codebase" value="*.jalview.org *"/>
- <attribute name="Caller-Allowable-Codebase" value="*.jalview.org *"/>
+ <attribute name="Codebase" value="${applet.codebase}"/>
+ <attribute name="Caller-Allowable-Codebase" value="${applet.caller-codebase}"/>
</manifest>
<fileset dir="${outputDir}">
<include name="com/**" />
</fileset>
</copy>
<jar update="true" index="true" jarfile="${packageDir}/examples/${jalviewLiteJar}"/>
- <jar update="true" index="true" jarfile="${packageDir}/examples/$(jmolJar}"/>
+ <jar update="true" index="true" jarfile="${packageDir}/examples/${jmolJar}">
+ <manifest>
+ <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>
<signjar storepass="${jalview.keystore.pass}" keypass="${jalview.key.pass}" keystore="${jalview.keystore}" alias="${jalview.key}" lazy="false" verbose="false">
<fileset dir="${packageDir}/examples">