ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bin Zhou" <>
Subject Re: Tar base directory question
Date Sat, 09 Mar 2002 12:43:40 GMT
An easy way is to duplicate the dist if there is no problem. You can have 
dist/dist/jdom ... and build from the first dist.


>Reply-To: "Ant Users List" <>
>Subject: Tar base directory question
>Date: Fri, 8 Mar 2002 12:25:54 -0500
>I'm trying to create a tar ball with a specific base directory
>included in the tar file.  For example, I have a "dist" directory
>that I want to tar for distribution.  However, when I set
>the base directory as "dist", I get the files in the dist
>directory, but tar does include "dist" as part of the
>file path.  So when users extract the tar, all the files
>end up in the directory where it was extracted.  What I
>want is to have "dist" as the base directory inside the
>tar.  For Example:
>instead of:
>No matter what I set base dir or tarfileset to, I can't get the
>tar task to include the base directory.  Any suggestions on
>how to fix this problem?  I've searched the web, the archives,
>and news groups without any luck.  Thanks.
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

MSN Photos is the easiest way to share and print your photos:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message