re-sign many files using a fileset

This is how you would use a fileset in Ant to unsign and then re-sign many JARs:
<for param="file">
    <path>
        <fileset dir="lib" includes="**/*.jar"/>
    </path>
    <sequential>
        <antcall target="unsignjar">
            <param name="jar" value="@{file}"/>
        </antcall>
        <signjar
            jar="@{file}"
            alias="myalias"
            storepass="mypass"
            keystore="keystore"/>
    </sequential>
</for>

Reply

Optional. The content of this field is kept private and will not be shown publicly.
Optional. If you want your name to link to your homepage.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
More information about formatting options