Grant does the cutover to hudson.zones still invoke the nightly.sh?  I
thought it did?  (But then looking at the console output from the
build, I can't "correlate" it..).

But... thinking more about it, because the nightly build also packages
up tgz-source and the maven snapshot, those steps may fail anyway, if
we fail to download the contrib/db/bdb JAR, since contrib/db/bdb's
artifacts weren't created.  And in fact if they don't fail, we're
creating incomplete nightly artifacts, which is dangerous.

I think I've changed my mind now... we want the build to be brittle to
any failure that would result in incomplete nightly artifacts?

But we should still try to eliminate our dependence on downloading
JARs from external servers.

I'll reopen LUCENE-1845.

Mike

On Tue, Aug 25, 2009 at 4:51 PM, Uwe Schindler<u...@thetaphi.de> wrote:
> Is the nightly target really run by Hudson? From the logs it looks that
> Hudson is calling the ant targets directly and not only nightly.
>
> I would do it the following way: reconfigure Hudson to pass a -Dnightly=true
> when calling ant.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
>> -----Original Message-----
>> From: mikemcc...@apache.org [mailto:mikemcc...@apache.org]
>> Sent: Tuesday, August 25, 2009 9:07 PM
>> To: java-comm...@lucene.apache.org
>> Subject: svn commit: r807763 - /lucene/java/trunk/build.xml
>>
>> Author: mikemccand
>> Date: Tue Aug 25 19:07:16 2009
>> New Revision: 807763
>>
>> URL: http://svn.apache.org/viewvc?rev=807763&view=rev
>> Log:
>> LUCENE-1845: set nightly property when nightly target is run
>>
>> Modified:
>>     lucene/java/trunk/build.xml
>>
>> Modified: lucene/java/trunk/build.xml
>> URL:
>> http://svn.apache.org/viewvc/lucene/java/trunk/build.xml?rev=807763&r1=807
>> 762&r2=807763&view=diff
>> ==========================================================================
>> ====
>> --- lucene/java/trunk/build.xml (original)
>> +++ lucene/java/trunk/build.xml Tue Aug 25 19:07:16 2009
>> @@ -384,9 +384,12 @@
>>          </filterset>
>>       </copy>
>>    </target>
>> -
>> -  <target name="nightly" depends="test, package-tgz, changes-to-html">
>> +
>> +  <target name="set-nightly-property">
>> +    <property name="nightly" value="true"/>
>>    </target>
>> +
>> +  <target name="nightly" depends="set-nightly-property, test, package-
>> tgz, changes-to-html"/>
>>
>>    <!-- ==================================================================
>> -->
>>    <!-- Packages the distribution with zip
>> -->
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-dev-h...@lucene.apache.org
>
>

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

Reply via email to