Questions tagged [multi-project]
319 questions
10
votes
1 answer
How to include 'Solution Items' files in multi-project solution template
I am trying to create a multi-project solution template for Visual Studio 2019. I can successfuly add multiple project in multiple folders.
As a next step, I would like to add local files to the root of the solution or even in folders such as…

Arnaud VdP
- 227
- 1
- 9
10
votes
3 answers
How to discover Jenkinsfile in subfolders
I have a project with two folders, that are independent, and needs separate builds in Jenkins (running v2.74)
My structure is
folder
├── project1
│ └── Jenkinsfile
└── project2
└── Jenkinsfile
When I click "scan organization" in Jenkins, it…

Jesper Rønn-Jensen
- 106,591
- 44
- 118
- 155
10
votes
2 answers
SBT build, run main class from subproject on Compile and run
I have a simple build tool Multi-Project problem...
I have the following directory structure represents my java sbt projects:
/project1
/project2
/project3
So all projects share a common direct parent folder.
Projects 2 and 3 are referenced in…

Misael Neto
- 163
- 2
- 8
9
votes
1 answer
Gradle: How to share common tasks in multiproject build?
In my root build.gradle file I apply common tasks for all components:
apply from: rootProject.file('common/component.gradle')
In subproject i define componentTitle:
ext {
componentTitle = 'application1'
}
component.gradle:
jar {
manifest…

isobretatel
- 3,812
- 7
- 34
- 49
9
votes
1 answer
Running test task on gradle root project does not run test task on subprojects
In my multiproject I am running test task on root project and expecting that it will run test task on subprojects and produce a single test report. What I observe is that it never runs test task on subprojects. Is my expectation incorrect" DO I need…

Farrukh Najmi
- 5,055
- 3
- 35
- 54
9
votes
3 answers
How to do a sbt-(local)multi-project without the same project-root?
I want to work on multiple sbt-projects at the same time in intellij. The projects are "one way dependent", meaning that one is the (reusable) core and the other is an actual application built upon that core. Both are currently in development.
I…
user4063815
9
votes
1 answer
Gradle: How can I copy folder from another project in multi-project script?
I have a multi-project script:
dependencies {
compile '...'
...
compile project(':component1')
runtime project(':component2')
}
I need to copy folder "bin" from component1 and component2 into folder "bin" of the current…

isobretatel
- 3,812
- 7
- 34
- 49
8
votes
4 answers
Architecture: Combine several JavaScript projects (modular)
I would like to create a clean archtecture for my JavaScript project. The project consists of one Node.js server and two separate Angular.js front-ends with different purposes. For building the front-ends I use a custom grunt build each. The build…

ssc-hrep3
- 15,024
- 7
- 48
- 87
8
votes
1 answer
WPF designer won't load when binding datasource from entity framework
EDIT: I have submitted a bug report and Microsoft have acknowledge that it is a bug. There is currently no ETA on when it will be fixed.
Bug Report: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=386982
Official…

Alex
- 34,776
- 10
- 53
- 68
8
votes
1 answer
Gradle subproject build dependency
I have a dependency problem and I do not know how to solve it.
I have a project A, B and C.
A needs B and C
B needs C
My directory structure looks like this:
A
|-settings.gradle
|-build.gradle
|-lib
|- B
|- C
settings.gradle content:
include…

Klaus
- 1,171
- 1
- 11
- 16
8
votes
3 answers
What are the benefits of a multi-project build in Android?
I'm reading the source code of Android : Clean Architecture, mostly to learn how to properly organize an application into layers, and for the MVP pattern, and also to match it with what I've been reading on MVP here.
However, as pretty as I find the…

EpicPandaForce
- 79,669
- 27
- 256
- 428
8
votes
1 answer
How to assemble a multi-project ant build system
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…

Alex Worden
- 3,374
- 6
- 34
- 34
7
votes
0 answers
Gradle: dependencies of sub-projects visible in eclipse classpath
I have recently added a Gradle nature to our existing web project. The project itself is a layered java project
Common - DataAccess - Business - Web
\- Batch
Before we have used, we manually managed the dependencies of…

Adrian
- 81
- 3
7
votes
1 answer
Feedback on gradle configuration for `test-support` code
I have been thinking about this a lot lately and wanted to get some feedback on the idea I had a couple of days ago.
Problem:
In a typical code base, every module has a main and a test source-set. This can work quite well for some time but sooner or…

Thomas Eizinger
- 1,404
- 14
- 25
7
votes
1 answer
How can I include a Sibling Project in my Gradle Project?
I have two Gradle projects with the following directory structure:
/baseDir
/first
/first/build.gradle
/second
/second/build.gradle
Both firstand secondare on the same hierarchy. From the Gradle User Guide I found only a way to include…

Michael
- 32,527
- 49
- 210
- 370