The following works okay for me.

              <exec dir="." executable="wsadmin.bat" logError="true"
failonerror="true" output="wsconfig.out">
                <arg line="-lang jython -f ../../createQFactory.py"/>
              </exec>

Fail on error doesnt work if the file was not found. I am not sure if it
works with wsadmin at all.
Also wsadmin is in my PATH env already.

Regards,
-- Shaaf

On Wed, Dec 10, 2008 at 4:24 PM, Francis Galiegue <[EMAIL PROTECTED]> wrote:

> Le mercredi 10 décembre 2008, Beela Avinash a écrit :
> [...]
> >
> >
> >
> >                        <exec executable="${path}\wsadmin.bat" />
> >
> >                        <arg value="/c -lang jython -f installear.py"/>
> >
>
> It should be ONE argument per <arg>. Ie:
>
> <exec executable="thecommand">
>        <arg value="arg1"/>
>        <arg value="arg2"/>
> </exec>
>
> With this, what you pass as one single argument is "/c -lang jython [etc]"
> which is probably not what you want.
>
> --
> Francis Galiegue
> ONE2TEAM
> Ingénieur système
> Mob : +33 (0) 6 83 87 78 75
> Tel : +33 (0) 1 78 94 55 52
> [EMAIL PROTECTED]
> 40 avenue Raymond Poincaré
> 75116 Paris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to