Hi,
can you post your buildscript?. running your build with -i gives you logging output about why a task is executed.
regards,
René

Am 26.09.11 20:06, schrieb blackwolf:
Hi,

I have a simple Java project (depends only on a few external artifacts), and
for some reason if I run 'gradle build' twice (no changes in between), the
project is rebuilt both times (the compileJava, classes, testClasses, etc.
tasks are not up to date). I ran 'gradle build --debug' and i see lines like
this:

11:00:05.258 [DEBUG] [org.gradle.api.internal.project.ant.AntLoggingAdapter]
[ant:javac]<JavaClass.java>  added as<JavaClass.class>  doesn't exist.

However, those classes _are_ present is buildDir/classes/{main,test}, so my
guess is that gradle is not looking for them in the right directory. How can
I instruct gradle to look in the right directory for those classes?

I tried removing the .gradle directories in my project dir and in my home
dir, but that didn't help (this usually helps with cache corruptions, so i
thought it might help in this case too).

Thanks!

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Having-trouble-with-the-incremental-build-tp4842302p4842302.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

     http://xircles.codehaus.org/manage_email




--
-----------------------
regards,
René

rene groeschke
http://www.breskeby.com
@breskeby


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to