Note that there are some explanatory texts on larger screens.

plurals
  1. POMultiple Applets in One Jar File - Permissions
    primarykey
    data
    text
    <p>I'm having some problems with multiple applets contained in one jar, and the manifest file of the jar. Basically, I'm adding some manifest attributes to the jars manifest using ant:</p> <pre><code>&lt;target name="-pre-init"&gt; &lt;echo message="Updating Manifest"/&gt; &lt;manifest file="MANIFEST.MF" mode="update"&gt; &lt;attribute name="Permissions" value="all-permissions" /&gt; &lt;attribute name="Codebase" value="*" /&gt; &lt;attribute name="Application-Name" value="APP_NAME"/&gt; &lt;/manifest&gt; &lt;/target&gt; </code></pre> <p>After doing this, I do some obfuscation, and sign the jar. The manifest file inside this completed jar contains the following:</p> <pre><code>Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.2 Application-Name: APP_NAME Class-Path: lib/plugin.jar Permissions: all-permissions Created-By: 1.7.0_45-b18 (Oracle Corporation) Main-Class: Codebase: * </code></pre> <p>However, when I use the applets contained in the JAR on a web page, I get the following in the console:</p> <pre><code>Missing Application-Name: manifest attribute for: http://some_url/APP_NAME.jar Missing Application-Name: manifest attribute for: http://some_url/APP_NAME.jar Missing Application-Name: manifest attribute for: http://some_url/APP_NAME.jar Missing Application-Name: manifest attribute for: http://some_url/APP_NAME.jar Missing Application-Name: manifest attribute for: http://some_url/APP_NAME.jar Missing Application-Name: manifest attribute for: http://some_url/APP_NAME.jar </code></pre> <p>Now, I'm not sure where to look, as I clearly see the Application-Name attribute in the manifest. The browser also complains about a missing permissions attribute, but again, I clearly see this attribute in the manifest file. Anyone have any insight as to what the problem may be?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload