Hi Hans,
The search finds nothing.
grep SNAPSHOT `find ./ -name build.gradle`
for 3rd party dependencies I'm using fixed revisions only, but there are
dependencies between the modules (it is a multi-project build), and I'm not
sure about them.
Actually, I tried testing now a single module which only depends on 3rdparty
libraries, and there are no any unnecessary lookups - the build time is the
same with and without that command line option.
But when I'm running a complete build without that option, I'm definitely
having the problem of long lookups.
This probably means that my internal dependencies between the modules are
configured incorrectly - they should only do local lookups, without checking
the online repositories.
The following is how I configure the dependencies - the first line is for
internal modules, and the second line is for 3rdparty modules.
compile project(':tms.proto'), project(':tms.engine:core')
compile 'commons-lang:commons-lang:2.4'
And the following is repositories configuration in the master/build.gradle
file:
repositories {
//flatDir( id: 'local-repo', name: 'Local Repo', dirs:
file('../repos'))
logger.info "Before configuring repositories"
// "checkmodified: false" did not work yet, unfortunately (or at
least it seems so)
mavenCentral( checkmodified: false )
mavenRepo( id: 'guice', name: 'Guice Repo', urls: ['
http://guice-maven.googlecode.com/svn/trunk'], checkmodified: false )
mavenRepo( id: 'codehaus-release', name: 'Codehaus Release Repo',
urls: ['http://repository.codehaus.org'], checkmodified: false )
mavenRepo( id: 'EclipseLink Repo', name: 'EclipseLink Repo', urls:
['
http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo'],
checkmodified: false )
logger.info "After configuring repositories"
}
May be what I should do is to somehow attach each artifact to its
repository?
That would save Ivy from searching in all repositories...
Regards,
Andrew
On Thu, Mar 25, 2010 at 9:38 AM, Geronimo M. H. <[email protected]>wrote:
> Am Thursday 25 March 2010 08:28:14 schrieb Hans Dockter:
> > On Thu, Mar 25, 2010 at 8:07 AM, Andrew Schetinin
> <[email protected]>wrote:
> > > Hi Hans,
> > >
> > > I'm not sure what the "dynamic revisions" are... could you provide a
> link
> > > with an explanation?
> > Stuff like:
> >
> > dependencies {
> > compile "junit:junit:4.+", "somegroup:someorg"1.0-SNAPSHOT"
> > }
>
> I use dynamic revisions for my own stuff and fixed revisions for external
> libraries, so the last timings was with dynamic revisions.
>
> kind regards
>
> Geronimo
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
--
--
Andrew Schetinin