Antoine, Thank you for your help. I had done this by using the <exec/> task
to 
run a JScript file using Scripting Host. The JScript file creates the DSN
using
odbcconf.exe.

/Suresh 

-----Original Message-----
From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 10:38 PM
To: Ant Users List
Subject: Re: DSN creation


I am not aware of such a task. DSN creation under Windows is very Windows
specific.
Have a look at this link :
http://forum.java.sun.com/thread.jsp?forum=48&thread=138608
You can maybe use the <exec/> task to run odbcconf.exe, or otherwise you
have to develop your own ant task calling the Windows API across JNI.
Antoine
----- Original Message -----
From: "Suresh Babu Koya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 5:37 PM
Subject: DSN creation


> Hi group,
>
>    What is the ant task to create a DSN for a Database in Windows? Any
help
> is great.
>
> /Suresh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to