I agree that would totally makes sense if that is what happens. What actually occurs though is the jars are not added to the classpath in Eclipse, the project dependencies are good enough for Eclipse. The only reason I can think of is there is something about the Eclipse WTP support that is causing the jars to be assembled. The only reason I am guessing this is because when a web project is run out Eclipse that is what Eclipse does is create the jars and stuffs them into the WEB-INF/lib target folder. However that isn't required to create classpaths for Eclipse even when it is a Web project setup. Also Eclipse does the work of the jar creation and deployment not Gradle when the app is run out of Eclipse so it still doesn't make sense why Gradle would take the time to assemble the jars even for the WTP support.
Thanks for the shot in the dark I am glad to at least see I am asking the same kinds of questions. Jas On Fri, Aug 27, 2010 at 8:04 AM, Robert Fischer < [email protected]> wrote: > I don't know anything about the Eclipse plugin, but here's a shot in the > dark. > > If you have projects with dependencies on other projects, it's the > jars resulting from those other projects that are added to the > classpath. So that will cause the jar to be generated, even if the > task at hand doesn't explicitly state it is necessary. > > ~~ Robert. > > On 27 August 2010 09:01, Jason Hatton <[email protected]> wrote: > > I was hoping to get a reply on this and haven't yet. I was wondering if > > maybe I haven't described the problem well enough. Anybody out there? > :) > > Thanks, > > Jas > > > > On Mon, Aug 23, 2010 at 1:09 PM, Jason Hatton <[email protected]> > wrote: > >> > >> I was wondering if there was it is safe to turn off the jar or assemble > >> task requirement when generating the Eclipse files? Is this even a > >> requirement of the plugin, have I accidentally made this be a > requirement? > >> It doesn't seem reasonable for just generating Eclipse project files > that > >> the assemble task is needed. Our project is running 0.8 and is a > >> multi-project Eclipse WTP setup. > >> > >> Thanks, > >> Jas > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
