That worked, I appreciate your help. I could swear I tried that because it says plainly that srcDirNames is relative to srcRoot in the user guide, but I was trying all kinds of stuff without organizing any of it so I probably had another problem at the same time. At any rate, it's finding the files now, so thanks a lot!
hdockter wrote: > > > On Jun 3, 2008, at 6:11 PM, JerodLass wrote: > >> >> Got it working, thanks a lot! >> >> Now for a lower level question... >> >> I have built this project successfully with gradle's assumed directory >> structure (source in src/main/java), but eventually I want to move >> from that >> and have my source just in the source root (src) directory, and now >> is as >> good a time as any. I cannot change srcRoot as it is read-only, so >> I have >> changed the srcDirNames property to reflect this change: >> >> srcDirNames = ['src'] > > The approach is exactly the right one. But as srcDirNames are > appended to srcRoot, Gradle looks in src/src in the case of the > settings above. Therefore srcDirNames = [''] should do the job. > > - Hans > >> >> Unfortunately, it still isn't compiling anything. I apologize if >> this isn't >> a very interesting question, but I'm new to build systems in general. >> Luckily, I can now use gradle instead of drowning in xml... >> >> Again, any help would be greatly appreciated. >> >> -Jerod >> -- >> View this message in context: http://www.nabble.com/Re%3A--gradle- >> dev--dependency-resolving-tp17624806p17627351.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 >> >> > > -- > Hans Dockter > Gradle Project lead > http://www.gradle.org > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://www.nabble.com/Re%3A--gradle-dev--dependency-resolving-tp17624806p17628176.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
