ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pandian.Anbunat...@in.efunds.com
Subject Re: URGENT!!!! RE: <Unzip>
Date Fri, 20 Jul 2001 11:25:35 GMT

S Boss. already my dlxport.zip file is in d:\temp\new only.
When I tried with

<target name="unzip" depends="preparedirs" description="unzip">
          <unzip src="${basedir}/dlxport.zip" dest="${basedir}/unzip"/>
</target>

this is giving error like.....

unzip:

BUILD FAILED

E:\working.xml:43: Could not create task of type: unzip. Common solutions
are to use taskdef to declare your task, or, if this is an optional task,
to put the optional.jar in the lib directory of your ant installation
(ANT_HOME).

Total time: 0 seconds
(Embedded image moved to file: pic00041.gif)


                                                                                         
 
                    Stefan                                                               
 
                    Bodewig              To:     ant-user@jakarta.apache.org             
 
                    <bodewig@apac        cc:                                          
    
                    he.org>              Subject:     Re: URGENT!!!! RE: <Unzip>
          
                                                                                         
 
                    07/20/01                                                             
 
                    04:38 PM                                                             
 
                    Please                                                               
 
                    respond to                                                           
 
                    ant-user                                                             
 
                                                                                         
 
                                                                                         
 




On Fri, 20 Jul 2001, Pandian Anbunathan
<Pandian.Anbunathan@in.efunds.com> wrote:

> I hava a zip file in d:/temp/new/dlxport.zip.
> Now I want to unzip the file in d:/temp/new/unzip directory.
> How can I use the <unzip> here.

place this one in d:\temp\new

<project name="valinor" default="ainur" basedir=".">
  <target name="ainur">
    <unzip src="dlxport.zip" dest="unzip" />
  </target>
</project>

works.

Stefan


Mime
View raw message