Right. I've added the full distribution to be uploaded as part of the
'uploadArchives' task. Here is how you can set up your gradle environment
to retrieve it.

Add the apache snapshot repo to your repositories:

repositories {
  maven {
    url 'https://repository.apache.org/content/repositories/snapshots'
  }
}


Define the dependency:

dependencies {
  compile 'org.apache.geode:apache-geode:1.3.0-SNAPSHOT'
}


Then you can reference the actual file, from the gradle cache, with this
snippet:

def geodeDistZip = configurations.compile.find {
  it.path.contains('org.apache.geode/apache-geode')
}

Currently there is only a 1.3.0-SNAPSHOT build available.

--Jens


On Mon, Sep 11, 2017 at 4:25 PM, Jason Huynh <jasonhu...@apache.org> wrote:

> I was speaking with Jens and he is working on getting the full product
> install up to the apache maven repo.  We could then use this instead of
> downloading the zip files manually.  This would allow gradle to cache the
> full product install in the local repo (similar to the other jars that are
> being pulled down)
>
> I think this is referring to the download of the full product install for
> the Session State tests and not the Lucene tests?  I don't believe any of
> the session state tests are being run as part of the build and it is the
> download that is potentially taking a long time (which gets cleaned and
> downloaded after every clean build)
>
> The test themselves are marked as DistributedTest, however I don't think
> our gradle test task can use these annotations to fire off specific gradle
> tasks.  So it is currently lumped in with compiling geode-old-versions.
>
> Just for reference, my build is taking 8 minutes but the downloading of the
> product install is taking 30 seconds on my machine.  I don't think this
> will solve the entire 10 minute build...
>
>
>
>
>
>
> On Mon, Sep 11, 2017 at 11:23 AM Jacob Barrett <jbarr...@pivotal.io>
> wrote:
>
> > Agreed, integration tests should not be part of the build process. This
> is
> > clearly an integration test.
> >
> > > On Sep 11, 2017, at 11:00 AM, Udo Kohlmeyer <u...@apache.org> wrote:
> > >
> > > Hi there,
> > >
> > > With a recent addition to the build scripts, to test lucene backwards
> > compatibility, a step was added to download a previous version of GEODE.
> > >
> > > This is causing longer build times now, which is a real distraction. In
> > cases where one would like to work on a branch, rebase that on develop
> and
> > merge that, this step becomes a real time hog.
> > >
> > > I request that we remove this default behavior from a clean build until
> > we have a better solution to this issue.
> > >
> > > I also believe that if anyone wants to add behavior like this into the
> > default build, that it at least is discussed on the dev list before
> > implementing this.
> > >
> > > --Udo
> > >
> >
>

Reply via email to