2009/3/26 Russel Winder <[email protected]> > On Thu, 2009-03-26 at 08:22 -0700, Luk Morbee wrote: > > You are right. > > OK. > > > The only other way I can think of is that you write a bat-file around the > > gradle.bat that adds your personal jars to the classpath. > > I don't use Windows so I don't have to suffer the bat file ;-) But yes > Gradle should do something similar to Groovy in checking a location for > jars to load at boot time. > > It seems that the gradle Posix script is a small variation on > startGroovy. After control is passed to Java code, Groovy then loads > various jars using a configuration file, before finalizing the > classLoader used to run the Groovy code. This stage is clearly not > happening with Gradle as there is no conf file anywhere. So there is no > configurable set of directories searched for jars. > > This is I think a weakness and I think there needs to be a proposal to > fix it. > > I guess a JIRA is required.
I think this is a good idea, logging a JIRA for this also, so we don't forget about this. > > > -- > Russel. > ============================================================ > Dr Russel Winder Partner > > Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 > 41 Buckmaster Road, f: +44 8700 516 084 voip: > sip:[email protected] <sip%[email protected]> > London SW11 1EN, UK. m: +44 7770 465 077 xmpp: [email protected] >
