Questions tagged [multi-project]
319 questions
1
vote
1 answer
Why is Gradle trying to find a resource bundle for my project?
I'm trying to track down an issue with a multi-project build. I've reduced my issue to a pretty straightforward setup.
Gradle Info
------------------------------------------------------------
Gradle…

Vishal Kotcherlakota
- 1,134
- 4
- 13
- 36
1
vote
0 answers
Running SBT from a sub-project directory
I have a cd alias for project so it's possible to start sbt then cd into a sub-project and do whatever. Is it possible to complement this somehow so that if sbt is started from some foo sub-project directory then it's as if I ran cd ..; sbt…

Eli Barzilay
- 29,301
- 3
- 67
- 110
1
vote
1 answer
Reference to undefined setting in plugin of multi-project sbt
I have the following project definition (simplified):
object B extends Build {
lazy val root = (project in file("."))
.aggregate(commons, processor)
lazy val commons = (project in file("commons"))
lazy val processor = (project in…

Justin Kaeser
- 5,868
- 27
- 46
1
vote
2 answers
C# solution referencing a pre-built .exe
I have a project which is the core of our application. We build several DLLs and an EXE.
We then have custom projects which use pre-built core DLLs and EXE and add customisations/extra bits as required. These customisations are always DLLs, the…

Mike Q
- 22,839
- 20
- 87
- 129
1
vote
1 answer
Eclipse (java) Run multi client and one server same time
Can I use Eclipse to run multiple java application ( one Server class and two client classes) which mean I may need three Console View.
I know I can "copy and paste" the Eclipse folder three times to solve this problem but it will SO…

user3121731
- 11
- 1
1
vote
0 answers
Setting up a customized gradle project with subprojects
I am new to gradle. I want to setup a multi-module project environment with the following properties:
The main project is called 'webapp' which has two subprojects 'webapp-client' and 'webapp-server' where client is javascript-based project and…

rabolfazl
- 435
- 1
- 8
- 24
1
vote
1 answer
Collect build artifacts from subprojects into RPM with Gradle
I have the following project structure:
Root
+---Sub1
|
+---Sub2
Sub1 project produces JAR, Sub2 creates WAR.
Root project goal is to produce RPM that contains both the Sub1 and Sub2 output.
I'm trying to use ospackage Gradle plugin to build RPM.…

Aliaxander
- 2,547
- 4
- 20
- 45
1
vote
1 answer
Gradle all in one build
I would like to use Gradle to build a java project and I would like to structure it as follows.
Core Library
Web App (war plugin)
Server (application plugin)
Client
Client War (war plugin)
The Web App, Server, and Client all depend on core. The…

Zixradoom
- 917
- 1
- 10
- 24
1
vote
1 answer
When Gradle Native Binaries Plugin create tasks
I'm working on a multi-project gradle configuration.
In the root project, there is a Plugin that scans all sub-projects to looking for "NativeComponents", then creates a generic task with dependencies for all native component's build-tasks…

Secort
- 43
- 5
1
vote
1 answer
In a multi-project gradle build how do I pack the content of the subproject-A.war into the subproject-B.jar
The problem: Given the following multi-project gradle build
superproject
subproject-A -> war
subproject-B -> jar
I am looking for a way to configure subproject-B to unpack the content of the war generated by subproject-A and have the…

Oleg Sklyar
- 9,834
- 6
- 39
- 62
1
vote
1 answer
Jetty resource base in a sibling project
I need to configure my Jetty server so that it can serve static HTML files from one project and REST responses from a second project however I can only seem to get the REST side to work...
I have a project structure similar to:
+-project-core
| …

Eduardo
- 6,900
- 17
- 77
- 121
1
vote
1 answer
using |DataDirectory| in connectionstring of multiproject solution
I have 2 projects in the solution - one class library with entities for database (using EF), one for Winforms.
Connection string is in app.config of the Winforms application, and it works correctly:

jspirit
- 11
- 3
1
vote
2 answers
Gradle: how to include an existing, complete project as a subproject?
I git clone a complete gradle project "CompleteGradleProjA" from github and include it into my local project as a submodule. By "complete gradle project" I mean that I can go into directory "CompleteGradleProjA" and issue command
cd…

user3839198
- 115
- 1
- 10
1
vote
2 answers
How to implement a global resource folder for a mutli-project gradle project?
I have the following project:
-> root
->->common
->->server
->->client
I want the server and client projects to both access files from the same resource folder.
My root's build.gradle looks like the following:
apply plugin: 'java'
allprojects {
…

user1923462
- 57
- 4
1
vote
1 answer
gradle: migrate spring app to a multiproject build
I followed this tutorial. This runs fine.
I would like to create a multiproject build with one project that contains this spring application. So I added this project to a subfolder called web of this multiproject build, added a settings.gradle…

jvermeulen
- 505
- 1
- 6
- 14