Thanks Charles for the clue.
Ant <exec> task, solved my problem.

Following is the build.xml contents, I used to solve this problem.

<!-- Note : createPlbs.bat contains the code to use WRAP utility which
converts SQL to PLBs    -->
<project name = "testkmf" default = "createPLBs" basedir = "./">

        <property name = "scriptBase" value = "./"/>

        <target name = "createPLBs">
                <exec dir = "${scriptBase}" executable = "cmd">
                        <arg value = "/c createPlbs.bat"/>
                </exec>
        </target>
</project>

  
Thanks 

Ganesh Yadav

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 3:54 PM
To: [email protected]
Subject: RE: How to execute Dos Command (Wrap...) using Ant

Investigate the ANT <exec> task.
--
Charles Knell
[EMAIL PROTECTED] - email



-----Original Message-----
From:     Yadav Ganesh-C01503 <[EMAIL PROTECTED]>
Sent:     Wed, 31 Jan 2007 16:32:35 -0500
To:       "Ant Users List" <[email protected]>
Subject:  How to execute Dos Command (Wrap...) using Ant

Hello there,
I am trying to figure out how to execute Oracle provided WRAP utility
using Ant build script.
 
wrap iname=file.sql oname=file.plb
 
 
Wrap is a DOS based command provided by Oracle which encrypts sql file
and creates .PLB file.
 
I can use this command in a batch file as shown above. And I am trying
to figure out, how can I execute this command using ant putting it in a
build script?
 
Your early help is highly appreciated in this regards 
 
Thanks
Ganesh Yadav 

---------------------------------------------------------------------
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