Giter VIP home page Giter VIP logo

Comments (2)

gkossakowski avatar gkossakowski commented on August 23, 2024

I've tried to migrate to full config of community build but I ran into a few obstacles. In the full config we are using sbt 0.12.x to build some plugins. There's no comment explaining why this is needed so I decided to try to migrate to sbt 0.13. The first problem I hit is:

[sbt-idea] [error] Modules were resolved with conflicting cross-version suffixes in {file:/localhome/jenkinsdbuild3/workspace/Community-2.11.x-Java8/target-0.9.1/extraction/81c48ecab5ba355ba43291b0acde06b44769d250/projects/91a402a3bca84e76b437167bc17b1acd594a6909/project/}root-91a402a3bca84e76b437167bc17b1acd594a6909-build:
[sbt-idea] [error]    net.databinder:dispatch-core _2.9.1, _2.10
[sbt-idea] [error]    net.databinder:dispatch-http _2.9.1, _2.10
[sbt-idea] [error]    net.databinder:dispatch-futures _2.9.1, _2.10

turns out that sbt-pgp 0.8 has broken dependencies:

image

I've tried to upgrade to sbt-pgp 1.0.0 but I hit a bug in sbt itself:

java.lang.ClassCastException
    at java.lang.Class.cast(Class.java:3047)
    at sbt.ModuleUtilities$.getCheckedObject(ModuleUtilities.scala:20)
    at sbt.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(ModuleUtilities.scala:23)
    at sbt.ModuleUtilities$$anonfun$getCheckedObjects$1.apply(ModuleUtilities.scala:23)
    at scala.collection.immutable.Stream.map(Stream.scala:376)
    at sbt.ModuleUtilities$.getCheckedObjects(ModuleUtilities.scala:23)
    at sbt.PluginDiscovery$.loadModules(PluginDiscovery.scala:129)
    at sbt.PluginDiscovery$.binarySourceModules(PluginDiscovery.scala:123)
    at sbt.PluginDiscovery$.discover$1(PluginDiscovery.scala:28)
    at sbt.PluginDiscovery$.discoverAll(PluginDiscovery.scala:37)
    at sbt.Load$.loadPlugins(Load.scala:833)
    at sbt.Load$.loadPluginDefinition(Load.scala:790)
    at sbt.Load$.buildPlugins(Load.scala:785)
    at sbt.Load$.plugins(Load.scala:773)
    at sbt.Load$.loadUnit(Load.scala:431)
    at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)
    at sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)

That has blocked me for now.

from community-build.

SethTisue avatar SethTisue commented on August 23, 2024

closing, because the current iteration of this work is (rather arbitrarily) being tracked in another repo: scala/scala-jenkins-infra#112

the sbt plugin Greg mentions has gone away because we are no longer building sbt plugins from source as part of the community build; since they are Scala 2.10-based anyway, we just pull them as binary dependencies.

as for "Ideally, we should use exactly the same definition for both Java 6 and Java 8", that is not the current plan. the current plan is to more or less freeze the 2.11/JDK6 community build, and try to keep 2.11/JDK8 and 2.12/JDK8 more or less in sync, with fresher versions of everything.

from community-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.