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: u...@thetaphi.de

 

From: Shai Erera [mailto:ser...@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 <rcm...@gmail.com> wrote:

On Thu, Mar 18, 2010 at 5:50 PM, Chris Hostetter
<hossman_luc...@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
rcm...@gmail.com

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

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