The ant build hasn't changed in this regard, but maybe ant has.
Here's the code:

    <target name="create-source-zip" depends="set-version">
      <zip destfile="apache-manifoldcf-${release-version}-src.zip"
update="false">
        <zipfileset dir="." prefix="apache-manifoldcf-${release-version}">
...
          <exclude name="/apache-manifoldcf-*"/>
        </zipfileset>
      </zip>
    </target>

This used to exclude the zip from itself.  What version of ant are you using?

Karl



On Tue, Oct 2, 2012 at 2:30 PM, Ahmet Arslan <[email protected]> wrote:
> Hi,
>
> 'ant all' command yields:
>
> BUILD FAILED
> /manifoldcf/tags/release-1.0-RC7/build.xml:2529: A zip file cannot include 
> itself
>
> Ahmet
>
>
> --- On Sun, 9/30/12, Karl Wright <[email protected]> wrote:
>
>> From: Karl Wright <[email protected]>
>> Subject: Re: [VOTE] Release Apache ManifoldCF 1.0, RC7
>> To: [email protected]
>> Date: Sunday, September 30, 2012, 9:40 PM
>> Ran all tests, just to be sure
>> nothing got messed up.  +1 from me.
>>
>> Karl
>>
>> On Sun, Sep 30, 2012 at 11:34 AM, Piergiorgio Lucidi
>> <[email protected]>
>> wrote:
>> > +1 from me:
>> >
>> > - checked signatures
>> > - crawling against a CMIS repository
>> > - tried to build using Maven and Ant
>> >
>> > Piergiorgio
>> >
>> > 2012/9/30 Karl Wright <[email protected]>
>> >
>> >> Please vote +1 to release ManifoldCF 1.0,
>> RC7.  The release artifact
>> >> can be found at:
>> >>
>> >> http://people.apache.org/~kwright/apache-manifoldcf-1.0
>> >>
>> >> There is also an SVN tag at:
>> >>
>> >> https://svn.apache.org/repos/asf/manifoldcf/tags/release-1.0-RC7
>> >>
>> >> Fixes since RC6:
>> >>
>> >> CONNECTORS-549
>> >>
>> >> Fixes since RC5:
>> >>
>> >> CONNECTORS-547
>> >> CONNECTORS-548 (documentation fix)
>> >>
>> >> Fixes since RC4:
>> >>
>> >> CONNECTORS-545
>> >>
>> >> Fixes since RC3:
>> >>
>> >> CONNECTORS-544
>> >>
>> >> --
>> >> Piergiorgio Lucidi
>> >> http://www.open4dev.com
>> >>
>> >>
>>

Reply via email to