Ramesh Donnipadu wrote:
>Hi,
>I am a newbie to ant and I am having a trouble with installing Ant on a
>unix machine. I am doing the following steps.
>
>1. I have down loaded the latest release build - that is
>jakarta-ant-1_3-bin_tar.gz
>2. Used gunzip and tar -xvf on the gzipped file.
>3. The untaring ends with "tar: directory checksum error"
>4. The untarred directory has only bin and docs directories. lib is
>missing.
>5. After setting path to java, class path to Xerces' jar when I try
>torun 'ant -buildfile my.xml' the following error is encountered.
>
>Exception in thread "main" java.lang.NoClassDefFoundError:
>org/apache/tools/ant/
>Main
>
>I would appreciate any help.
>
>Thanks,
>Ramesh
>
>
>
>
sounds likeyou got a bad file. the file should end in .tar.gz
and you should be able to run the command:
tar xzvf <.tar.gz file>
The "z" option runs the file through a gunzip stream before
untarring it. saves a step. You can use this with any of the
tar modes I believe (definiation "c" and "t").
--
Matt Inger ([EMAIL PROTECTED])
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
as yet, is suspicious." -H.L. Mencken