You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Suresh Babu Koya <sk...@quark.co.in> on 2003/03/18 17:37:39 UTC

DSN creation

Hi group, 

   What is the ant task to create a DSN for a Database in Windows? Any help
is great.

/Suresh

Re: DSN creation

Posted by Antoine Levy-Lambert <le...@tiscali-dsl.de>.
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" <sk...@quark.co.in>
To: <us...@ant.apache.org>
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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>