I am not seeing any errors from running the
ant script. It completes successfully. But it does not add the user to the realm.
When I try add-user.bat -a username password from the command line it works as expected. If I try the following, it works fine.
<target name="help">
<exec executable="cmd">
<arg value="/c"/>
<arg value="ant.bat"/>
<arg value="-p"/>
</exec>
</target>