You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Paul Gifford <pg...@gmail.com> on 2008/03/12 22:49:35 UTC

signjar with mapper

Hi,

  I'm trying to use a mapper with the signjar task and getting an error:

"signjar doesn't support the nested "mapper" element"

I'm doing this:

<signjar destDir="signed"
    alias="testonly" keystore="testkeystore"
    storepass="apacheant"
    preservelastmodified="true">
  <path>
    <fileset dir="dist" includes="**/*.jar" />
  </path>
  <mapper type="glob" from="*" to="s_*" />
</signjar>

I see "mapper" here as a nested element:
http://ant.apache.org/manual/CoreTasks/signjar.html

What I'd like to do is have the jar renamed after it's signed.  Clearly I'm
doing it wrong.  Could someone please point out my error?

Thank you,

Paul