lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-7033) ant prepare-release-no-sign fails intermittently
Date Wed, 17 Feb 2016 15:42:18 GMT
Dawid Weiss created LUCENE-7033:
-----------------------------------

             Summary: ant prepare-release-no-sign fails intermittently
                 Key: LUCENE-7033
                 URL: https://issues.apache.org/jira/browse/LUCENE-7033
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Dawid Weiss
            Priority: Minor


Mike reported this on the mailing list. This is fully reproducible, you just need to run it
twice:
{code}
cd lucene
# succeeds
ant prepare-release-no-sign
# fails
ant prepare-release-no-sign
{code}

The problem is with this target that runs conditionally:
{code}
  <target name="-unpack-lucene-tgz" unless="lucene.tgz.unpack.dir.exists">
    <antcall target="-ensure-lucene-tgz-exists" inheritall="false">
      <propertyset refid="uptodate.and.compiled.properties"/>
    </antcall>
    <mkdir dir="${lucene.tgz.unpack.dir}"/>
    <untar compression="gzip" src="${lucene.tgz.file}" dest="${lucene.tgz.unpack.dir}">
      <patternset refid="patternset.lucene.solr.jars"/>
    </untar>
  </target>
{code}

I attach a diff from the two runs -- you can see the second one skipped this task and then
cleaned the output folder, which doesn't make sense.

I don't know how to fix, but I think it's this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message