Hello Ansh,
                   For this you would have to use another <fail>element
for "n"
  As...
         <fail message="Component creation canceled by the user.">
            <condition>
                <equals arg1="${confirm-component-creation}" arg2="n"/>
            </condition>
          </fail>


On Mon, Mar 9, 2009 at 6:42 PM, ansh jain <[email protected]> wrote:

> Hello All,
>
> I m facing an problem after running Ant target that is ant
> create-component.
>
> I followed following steps *:*
>
> create-component:
>    [input] Component name:
> Pactice
>    [input] Component resource name:
> Practice
>    [input] Webapp name:
> Practice
>    [input] Base permission:
>
>     [echo] The following hot-deploy component will be created:
>     [echo]               Name: Pactice
>     [echo]               Resource Name: Practice
>     [echo]               Webapp Name: Practice
>     [echo]               Base permission:
>     [echo]               Folder:
> /home/common/ofbiz_dev/ofbiz/hot-deploy/Pactice
>     [echo]
>    [input] Confirm:  (Y, [N], y, n)
>
> After selecting option:   *n
> *still it will create the Component which it should not create.
> Because after selecting N it will not create *
>  *
>

Reply via email to