multi-project

loading the right dependencies for sbt console in multi project setup causing derby security exception

眉间皱痕 提交于 2019-12-21 23:21:58
问题 I have a SBT multi project setup outlined https://github.com/geoHeil/sf-sbt-multiproject-dependency-problem and want to be able to execute sbt console in the root project. When executing: import org.apache.spark.sql.SparkSession val spark = SparkSession.builder().master("local[*]").enableHiveSupport.getOrCreate spark.sql("CREATE database foo") in the root console the error is: java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.EmbeddedDriver Strangely, it works

SBT: How to define dependencies of subprojects in subprojects' build.sbt files?

陌路散爱 提交于 2019-12-21 20:58:40
问题 The following build.sbt file works, but it defines the dependencies of all subprojects: name := "myproject" version := "1.0" scalaVersion := "2.11.8" libraryDependencies ++= Seq( "org.scalafx" %% "scalafx" % "8.0.60-R9" ) lazy val aLib = (project in file("lib/a")) lazy val bLib = (project in file("lib/b")) .dependsOn(aLib) .dependsOn(cLib) lazy val cLib = (project in file("lib/c")) .dependsOn(aLib) lazy val myApp = (project in file("myapp")) .dependsOn(aLib) .dependsOn(bLib) .dependsOn(cLib)

resolvers not shared to dependent sbt projects?

ⅰ亾dé卋堺 提交于 2019-12-21 20:53:09
问题 In this weird case that seems to involve xsbt-web-plugin, I get the error unresolved dependency: play#play-json_2.10;2.2-SNAPSHOT: not found when loading the server subproject. The dependency and the correct resolver are specified in the library subproject, which server depends on. It doesn't blow up if I don't include webSettings in server, but I am trying to build a .war there. [root]/project/Build.scala import sbt._ import Keys._ object MyBuild extends Build { lazy val root = Project("root

How to assemble a multi-project ant build system

流过昼夜 提交于 2019-12-20 21:04:12
问题 At my new gig, they use Ant and cannot be persuaded to move to Maven. I've looked everywhere for a decent example of how a multi-project ant build system should be assembled. The apache site falls short. I'm looking specifically for best practices to: Automatically build local projects that are dependencies of a project Share artifacts from project to their dependents Export a project's dependencies and generated artifacts (jars) to be inherited by dependent projects Share third-party

Multi-project test dependencies with gradle

眉间皱痕 提交于 2019-12-17 01:39:49
问题 I have a multi-project configuration and I want to use gradle. My projects are like this: Project A -> src/main/java -> src/test/java Project B -> src/main/java (depends on src/main/java on Project A ) -> src/test/java (depends on src/test/java on Project A ) My Project B build.gradle file is like this: apply plugin: 'java' dependencies { compile project(':ProjectA') } The task compileJava work great but the compileTestJava does not compile the test file from Project A . 回答1: Deprecated In

Overriding an Ivy dependencies' revision

Deadly 提交于 2019-12-13 17:08:18
问题 I use Apache Ivy for handling library dependency. In my company we have a "core" project which is released/versioned periodically. We then have many "customer" projects which are for a particular client. Each customer project uses a particular version of the core project which we maintain in the ivy.xml of the customer project. All fine. Sometimes someone will want to change core locally and test the change with a specific project. In that instance they will build the core and publish it to a

Requestfactory Validation on Multi-Project Setup

核能气质少年 提交于 2019-12-11 18:17:27
问题 I tried changing to the release version of gwt2.4 and run into a problem. I use multiple projects in my setup. I have a project with serverside code, one project with shared code, that can be used in different gwt projects and a gwt project binding everything together. I build everything with maven. i followed the instructions for annotationprocessing found here: http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation when I compile my shared project, where the

Play 2.3.7 sbt multiproject compiler issue

社会主义新天地 提交于 2019-12-11 07:17:36
问题 we're using Play framework 2.3.7 and have set up a multiproject with sbt (sbt version 0.13.5), which is consisting of four modules. In the build.sbt file of the project root we define the modules: lazy val common = (project in file("modules/common")).enablePlugins(PlayJava, SbtWeb) lazy val store = (project in file("modules/store")).enablePlugins(PlayJava, SbtWeb).dependsOn(common) lazy val catalog = (project in file("modules/catalog")).enablePlugins(PlayJava, SbtWeb).dependsOn(common) lazy

xdebug across projects in netbeans

十年热恋 提交于 2019-12-11 04:28:27
问题 Here is the situation.. I have some classes that are in one project... My main code is in another project... and i split this up because i am using GIT as my SCM... So when i debug my main code... i would like to step into the classes and debug them, but xdebug won't let me step into them... and i assume its because the classes are in another project... any ideas? Thanks in advance... 回答1: I've run into this as well. I am going to assume that the way your projects look when they are deployed

Nested projects in multiproject visual studio templates

我与影子孤独终老i 提交于 2019-12-11 03:47:41
问题 I need to create a vsTemplate with the following structure. ECart - Ecart.csproject - Modules - Folder - MVC.csproject How can we add a project within another project? In this case ECart is a web project and MVC is another project within the Modules folder of the same project. Here is what I am trying in my template - <ProjectTemplateLink ProjectName="ECart"> ECart.vstemplate </ProjectTemplateLink> <ProjectTemplateLink ProjectName="Mvc"> Modules\Mvc\Mvc.vstemplate </ProjectTemplateLink> 回答1: