[GRADLE-511] trunk fails to build with 'Could not select the default project for this build' unless buildfille specified Created: 30/May/09 Updated: 04/Jan/13 Resolved: 24/Nov/10
|Reporter:||Daniel Mueller||Assignee:||Adam Murdoch|
I don't know if this is expected behaviour, but if it is, please change the instructions at http://www.gradle.org/build.html, it's confusing if you're trying it the first time. And just as a note, it might be my environment, but I'd like to know what creates the behaviour ('./gradlew -d clean dists' attached).
|Comment by Adam Murdoch [ 02/Jun/09 ]|
This is not exepected behaviour. Can you run with the -i and -s command-line options? Also, what OS/Jvm are you using? Which filesystem are you using?
|Comment by Daniel Mueller [ 02/Jun/09 ]|
I can run with the flags you specify, but I was assuming that -d gives you pretty much everything (already attached). Including OS (MacOSX 10.5.7), JVM (Apple/Sun 1.6.0_07 Server Hotspot). Don't know about the FS in there, but that would be HFS+ (Mac OS Extended (Journaled) => case insensitive).
Could not select the default project for this build. No projects in this build have project directory '/Users/dan/source/External/svn/gradle-trunk'.
Total time: 5.535 secs
Personal opinion: You find a file with its path, but when you compare paths as strings (map lookup?), then they are not the same.
|Comment by Peter Voss [ 20/Nov/09 ]|
Is there any workaround for this? I have the exact same problem on my machine. I just can't build my project anymore and I am really stuck. Could this be a problem with the cache? I think I have deleted ~/.gradle after a harddisk upgrade. This build still works on a different machine, but I am stuck on my machine.