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

Reply via email to