Hi,

I'm trying to use the genkey task to create a keystore, but I'm getting a
deprecation error and I'm unsure why.

The task is set up as follows:
        <target name="createkeystore" depends="init">
                <genkey alias="${name}" storepass="${password}"
keystore="${keystore.name}" >
                        <dname>
                                <param name="CN"        value="First Last"
/>
                                <param name="OU"        value="SCM"  />
                                <param name="O"         value="Organization"
/>
                                <param name="C"         value="City"  />
                        </dname>
                </genkey> 
        </target>

And the error I get is:
createkeystore:
   [genkey] Generating Key for ...
     [exec] The command attribute is deprecated. Please use the executable
attribute and nested arg
elements.


Does anyone know specifically what is deprecated?  I got the syntax from the
on-line manual.

Thanks,
Beth

Reply via email to