ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Babu Koya <sk...@quark.co.in>
Subject RE: DSN creation
Date Thu, 20 Mar 2003 06:30:25 GMT
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:levylambert@tiscali-dsl.de]
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" <skoya@quark.co.in>
To: <user@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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message