i am creating a user by using ant target as below
<target name="create_user">
<exec executable="sqlplus" dir="${basedir}/dbsetup">
<arg value="system/oracle@orcl"/>
<arg value="@create_user.sql"/>
</exec>
</target>
and the sql files is as follows........
create user test identified by password;
grant resource, connect to test ;
grant create view to test ;
grant create materialized view to test ;
grant create sequence to test ;
grant create procedure to test ;
grant create any directory to test ;
grant create database link to test ;
alter user test quota unlimited on users;
quit;
At present the user name is hard coded in create_user.sql
Now i want to prompt for user name and password from ant and pass to sql file.
Please advice how can i achieve this or some other way by which i can achieve