ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: URGENT!!!! RE: <Unzip>
Date Fri, 20 Jul 2001 10:13:35 GMT

Hi Stefan,

Now I explain my situation

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

when I use like
<unzip src="${basedir}/" dest="${basedir}/unzip"/>
where {basedir} is d:/temp/new, it is giving error like

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

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

                    Bodewig              To:             
                    <bodewig@apac        cc:                                          
          >              Subject:     Re: URGENT!!!! RE: <Unzip>
                    03:21 PM                                                             
                    respond to                                                           

On Tue, 20 Jul 1999, Pandian Anbunathan
<> wrote:

> where can i found file in ant project.

nowhere - the task is implemented by the class

> when i try to build unzip, it is giving error like

Why do you want to build it - and why do you use taskdef to define it?
It is a built-in task and is defined by default, no special magic is
required to use it.


View raw message