I am very new to the ant scripting, I want to create ant script that will execute and grab data from php script and insert data into database.
I have going through previous two question Running PHP script in background using Ant and build PHP with ant scripts but it is not working for me.
i have tried below code:
<project name="fetch_record_test" basedir="." default="*install">
<target name="*install" depends="test-src">
<exec executable="${php}" failonerror="true" dir="${source}">
<arg line="${projectdir}/Connectors/record_mapping.php"/>
<arg line="-output" />
</exec>
</target>
</project>
can any one show me ant script to do so.
Thanks