lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Contrib tests fail if core jar is not up to date
Date Fri, 19 Mar 2010 07:27:19 GMT
Hi Shai,

 

Good morning!

 

(1)    if you add the dependency to jar-core to the task, the jar is rebuild (everytime, as
ANT has no idea if something changed, no need to delete). Jar-core depends also on compile-core,
so the core compilation is always updates.

(2)    In this case we simply need compile-core instead of jar-core as dependency. 

 

I will take care and will check all variants of calling when fixing the problem.

 

Can you open an issue, I’ll attach a patch there?

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: uwe@thetaphi.de

 

From: Shai Erera [mailto:serera@gmail.com] 
Sent: Friday, March 19, 2010 5:25 AM
To: java-dev@lucene.apache.org
Subject: Re: Contrib tests fail if core jar is not up to date

 

Uwe,

(1) the problem is not the missing dependency, but rather the use of lucene.jar.present. So
you'll need to remove it as well.
(2) Adding build/classes/java is not enough - you'll need to add a target dependency on compile-core
or something.

I guess you already know that. Just pointing it out :).

Thanks for taking care of this,

Shai

On Thu, Mar 18, 2010 at 11:51 PM, Robert Muir <rcmuir@gmail.com> wrote:

On Thu, Mar 18, 2010 at 5:50 PM, Chris Hostetter
<hossman_lucene@fucit.org> wrote:

>
> It's a hack, but it's a useful hack for getting nightly builds that can
> report on the tests for all contribs, even if the first one fails (it's
> less useful when one contrib depends on another, but that's a more complex
> issue)
>
> -Hoss
>

Hoss, thanks, that makes sense.




--
Robert Muir
rcmuir@gmail.com

---------------------------------------------------------------------

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

 


Mime
View raw message