Trusted-Library / Permissions not included in manifest file.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Trusted-Library / Permissions not included in manifest file.

Andreas Lundblad
I'm using webstart-1.0-beta-4.pom to generate jars and jnlp-file for my project.

I've added

<updatedManifestEntries>
    <Trusted-Library>true</Trusted-Library>
    <Permissions>all-permissions</Permissions>
    <Codebase>*</Codebase>
</updatedManifestEntries>

to

<build> ... <plugins> ... <plugin> ... <configuration>

but the resulting MANIFEST.MF still doesn't have these attributes. (I've tried to manually add a META-INF/MANIFEST.MF to my project, but it gets overwritten by maven.) Any idea how to solve this?

best regards,
Andreas Lundblad
Reply | Threaded
Open this post in threaded view
|

Re: Trusted-Library / Permissions not included in manifest file.

Andreas Lundblad
Never mind. Had a typo, <updatedManifestEntries> in the pom.xml. (Copy paste error from here: http://jira.codehaus.org/browse/MWEBSTART-213)

-- Andreas Lundblad


On Fri, Dec 6, 2013 at 4:13 PM, Andreas Lundblad <[hidden email]> wrote:
I'm using webstart-1.0-beta-4.pom to generate jars and jnlp-file for my project.

I've added

<updatedManifestEntries>
    <Trusted-Library>true</Trusted-Library>
    <Permissions>all-permissions</Permissions>
    <Codebase>*</Codebase>
</updatedManifestEntries>

to

<build> ... <plugins> ... <plugin> ... <configuration>

but the resulting MANIFEST.MF still doesn't have these attributes. (I've tried to manually add a META-INF/MANIFEST.MF to my project, but it gets overwritten by maven.) Any idea how to solve this?

best regards,
Andreas Lundblad