----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 14:38
Subject: genkey deprecation error
> 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.
you are doing nothing wrong; the error message is telling you that whoever
wrote the code is using a deprecated mechanism for handing stuff off to the
exec task. Ignore it or fix the code and send the patch. Actually, start
with filing a bugrep on bugzilla.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>