|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipulatio... Wim Bervoets (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Wim Bervoets (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Renato Atilio (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Heiko Wiesner (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Tony Chemit (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Peter Butkovic (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Peter Butkovic (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Heiko Wiesner (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Heiko Wiesner (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Wim Bervoets (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... Pablo Pina (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... deckrider (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... James Olsen (JIRA)
- [mojo-dev] [jira] (MWEBSTART-213) Enable Manipu... deckrider (JIRA)

We all wait now over 4 months for this patch.
The Plugin is unusable for all Applications since this long time.
I found a solution to be deployable again with ant.
I publish it here for all other users, that wait so urgent as i did it.
Here the ant build file signhelper.xml which worked for me
<project default="unsign" xmlns:antcontrib="antlib:net.sf.antcontrib">
{java.io.tmpdir}<macrodef name="unsignjar">
<attribute name="jar" />
<sequential>
<!-- Remove any existing signatures from a JAR file. -->
<tempfile prefix="usignjar-" destdir="$
"
{jar}" />property="temp.file" />
<echo message="Removing signatures from JAR: @
<mkdir dir="${temp.file}" />
<unjar src="" dest="$ {temp.file}">
<patternset>
<include name="**" />
<exclude name="META-INF/*.SF" />
<exclude name="META-INF/*.DSA" />
<exclude name="META-INF/*.RSA" />
</patternset>
</unjar>
<delete file="@{jar}" failonerror="true" />
<!-- Touch it in case the file didn't have a manifest. Otherwise the JAR
task below will fail if the manifest file doesn't exist. -->
<mkdir dir="${temp.file}
/META-INF" />
{temp.file}/META-INF/MANIFEST.MF" /><touch file="$
<manifest file="${temp.file}
/META-INF/MANIFEST.MF">
{codebase}<attribute name="Trusted-Library" value="true" />
<attribute name="Permissions" value="all-permissions" />
<attribute name="CodeBase" value="$
" />
{jar}" basedir="${temp.file}" includes="**"</manifest>
<jar destfile="@
manifest="${temp.file}/META-INF/MANIFEST.MF" />
<delete dir="${temp.file}" failonerror="true" />
</sequential>
</macrodef>
<!--unsign single jar -->
<!-- unsignjar jar="${jar}
" /-->
{jar}" /><target name="unsign" description="unsign the jar">
<unsignjar jar="$
</target>
<target name="signjar">
<echo message="signing ${jar}
" />
{jar}<signjar jar="$
" alias="myalias" storepass="storepass"
keystore="mykeystore" verbose="true"/>
</target>
</project>
the script to unsign:
:~/$ find ./target/jnlp/lib0045000030/ -name "*.jar" -exec ant -Djar={} -Dcodebase="mycodebase" -buildfile ./signhelper.xml \;
the script to sign:
:~/$ find ./target/jnlp/lib0045000030/ -name "*.jar" -exec ant -Djar={} -Dcodebase="mycodebase" -buildfile ./signhelper.xml signjar \;