331 questions
0
votes
0
answers
30
views
Visual Studio Templates - Multi Projects - Files not loading
I am trying to create a template for projects. I have followed the Microsoft Tutorial on how to create project templates with multi projects: Link below:
https://learn.microsoft.com/en-us/visualstudio/...
2
votes
0
answers
44
views
Automatically switch VSC venv/interpreter depending on selected folder
My query is while switching projects how we change python interpreter to that specific project .venv shown in bottom right & the (.venv) in terminal?
Situation
I have project1 with .env1 as venv
I ...
1
vote
0
answers
58
views
Gradle multi-project build configuration with Grails and Spring Boot Devtools
We run our projects with Java 17, Grails 6.2 and spring-boot-devtools configured to restart the application every time we save a file.
The project structure uses the Gradle buildSrc feature to ...
1
vote
1
answer
50
views
SBT test classpath ordering with submodules
I have two modules in sbt: top and common. top depends on common, and common has some configs in src/main/resources/application.conf, that are getting overridden in src/test/resources/application.conf....
0
votes
1
answer
144
views
Gitlab CICD rule gets disregarded when passing a variable from the upstream to the downstream pipeline
I have a multi pipeline project setup, where the e2e project is defined as a trigger job in the client/server projects.
My goal is to not run the e2e stage on scheduled pipelines.
In my gitlab-ci.yml ...
-2
votes
1
answer
165
views
Not able to run gradle multi-project
I am trying to build a basic multi-project with gradle as suggested at Structuring Projects with Gradle
Project structure is as follows:
Main.java in test subproject is as follows:
package org....
0
votes
1
answer
171
views
Issue with Dependency Injection in Spring Boot Application
I am facing an issue with dependency injection in my Spring Boot Application. While testing Project C, I am encountering a bean not found error for com.project.ProjectA.repository. I have included ...
0
votes
0
answers
298
views
Create multi-project dotnet templates with shared projects outside template folder
I'm trying to create some dotnet templates for dotnet cli using template.json. This template would contain multiple projects and some of them would be shared with other templates. So those shared ...
1
vote
1
answer
1k
views
Build executable jar of spring boot application from a gradle multi-project
I'm trying to build an executable jar to run my Spring application.
I uploaded an MWE here: https://github.com/qnguba/testGradle1 (note that the MWE contains only the subproject 'main' within the '...
0
votes
1
answer
396
views
angular 17, add proxy in angular multiproject?
I tried to add the proxy and Rewrite the URL path according to the angular documentation guidelines, but without success, the docs I have followed here: https://angular.io/guide/build#rewrite-the-url-...
0
votes
1
answer
188
views
GitLab triggers between 2 projects
I have a very specific way I need my project to work. I have .bat files being committed to project A with a collection of arguments that need to be actioned by a Python script on project B.
I need ...
1
vote
2
answers
491
views
How do I add a conditional attribute in my project file to detect if the code is being built locally versus built in Azure DevOps?
We have decided that even though our data layer is in a separate Azure project, we want to include the .csproj file in our solution so that we are able to debug through API and Datalayers. We do not ...
0
votes
1
answer
159
views
IntelliJ Gradle HotSwap building unrelated modules
I am having trouble getting Gradle HotSwap to work reasonably with IntelliJ IDEA.
We have a Java setup which consists of some basic modules, then some country variants that use these basic modules and ...
0
votes
1
answer
304
views
How to organize gradle subprojects?
I'm trying to organize my subprojects to specify common dependencies at build.gradle.kts(it is kotlin-based) in the root project. Let's say I have 5 subprojects, A, B, C, D, E, without root project. ...
16
votes
0
answers
7k
views
Unrecognised dependency notation
I have a multi-project Kotlin project in IntelliJ IDEA. It compiles and runs fine, both from the IDE and from the console. However, there's a problem with my gradle files: the IDEA complains about &...
0
votes
1
answer
574
views
Excluding plugin apply for certain subprojects in gradle multi-project build
How can I exclude certain subprojects in my multi-project gradle build.
I want to exclude a apply plugin call by querying a property of the subproject.
The build.gradle of my parent project looks like ...
0
votes
0
answers
119
views
Using a macro to set a using statement in Visual Studio
I am building a template in Visual Studio. The template is made of 3 C# projects. The names of the projects are as follows: name of the solution I create from my template followed by .Project1/....
2
votes
0
answers
1k
views
Migrate lib from old Nx workspace (without project.json) to new Nx workspace
I have a lib created in a Nx workspace that I started with very old version (can't remember which one). The lib has the following file and folder structure:
Now, in a new Nx workspace for new lib I ...
2
votes
1
answer
243
views
.\gradlew run -t -> all subprojects, watch all changes and rebuild does not work
currently I'm working on a java project which is built by gradle. The project consists of an web-api micronaut subproject and some library subprojects. See output
.\gradlew -q projects
Root project '...
0
votes
2
answers
2k
views
Azure DevOps build Dockerfile while projects have their own repository in Azure DevOps
I'm currently dealing with a problem within my Azure DevOps pipeline where I'm trying to run and build a pipeline for repo 'RepoX', whereafter the Dockerfile tries to use the '.csproj' of repo 'RepoY'....
1
vote
0
answers
468
views
How to fix linker error (LNK2019) in different projects inside one solution
I have one solution, and two projects inside the solution (Project1 & Project2). They both are console programs. Inside Project1 we have functions.h with function "foo()" and functions....
1
vote
2
answers
1k
views
How to share code between Python internals projects?
Let's say I am building an event-driven architecture, with Python microservices. I have a stream package handling all interactions with the streaming platform. It is supposed to be used internally ...
1
vote
0
answers
525
views
Eclipse group multi project gradle as one project
So I imported a gradle project using File->Import->Gradle->Existing gradle project. But that project is a multi project gradle. So it automatically created a lot of eclipse projects and now ...
3
votes
0
answers
106
views
Gitlab multiproject pipeline points to the old commit when rerunning it
We've got a multi-project pipeline:
Project A:
...
stages:
- build
- test
build:
stage: build
some long building job setup
release testing:
stage: test
allow_failure: false
only:
- /^\...
0
votes
1
answer
505
views
How to create multi project fat jar as bundle of some libraries with buildSrc
First of all, sorry for my poor english.
Goal
I want create multi project containing some custom libraries as subproject with gradle.
For centralized dependency version control, using buildSrc and ...
0
votes
1
answer
433
views
how to add log4j2 file multi maven project
I am working on Multi Maven Project which has structure like below -
TestRepo (Maine Project)
-APITests
-Shared libraries
-FrontendTests
Now Shared Libraries is common to both API Tests ...
1
vote
0
answers
507
views
Gradle add library depencecy in a project without break the build.gradle multi-project definition on the root path
I am new with gradle and I don't know how to resolve this issue. I have two gradle projects structured as follow:
./api
/build.gradle.kts
/settings.gradle.kts
./util
/build.gradle.kts
/...
-1
votes
1
answer
782
views
maven dependencies copied from dependent project after zip assemby [closed]
If this already has an answer, I haven't managed to find it. I have spent many hours getting this far, before throwing in the towel and asking here! When it comes to Maven, I would describe myself as ...
4
votes
1
answer
2k
views
How can Gradle plugin access information about included builds?
I know you can access different modules (included using include) in a project via org.gradle.api.Project#getSubprojects(), and I know you can get the name and directories of separate builds that have ...
1
vote
1
answer
3k
views
Use a library in an imported angular application into multi-project structure
I've an angular application a-app in 10.0.6, but I need to include it into an angular multi-project structure. In this multi-project structure, I have a b-app application.
Angular multi-project ...
0
votes
1
answer
683
views
How can I get in a multi-project gradle springoboot application a library jar in my classpath?
I’m working on a multi-project gradle springboot application using IntelliJ. I’m using Gradle for the dependencies and jars includes.
The main module (springboot) includes the other two, of which one ...
5
votes
0
answers
1k
views
Create gradle sub project without sub sub project "lib" or "app"
Since some Gradle version, it doesn't create "flat projects" any more. Instead you always get an empty "wrapper" project with the actual project name ("myproject") which ...
1
vote
0
answers
452
views
BuildPack Unable to resolve artifact for gradle multiproject java springboot code
I created a settings file which has
a rootProject.name followed by include statements for each microservice.
But during build with the buildpack I get
! failed with status code: 145
[builder] unable ...
0
votes
1
answer
536
views
Angular library project build fails in multi-project workspace - cannot find namespace
I have the following Angular multi-project file structure:
-AngularMultiProject
-projects
-mobile-app
-shared-lib
-web-app
-ViewModels
-Common
-myviewmodel1.d.ts
...
0
votes
1
answer
126
views
Publish individual project from maven multi-project setup
I have a maven multi-project setup, where one of the projects represents the "client API". Other applications/projects interacting with the service shall include the client API as ...
1
vote
0
answers
2k
views
Passing variable in multi project git pipeline
YML of my trigger project:
trigger:
variables:
CODE_SHA: ${SHA}
stage: test
trigger:
project: dummy
branch: dump
strategy: depend
YML of my triggered project:
build:docker3.7:
...
0
votes
1
answer
873
views
How to add a dependency from the main project to the subprojects in gradle/groovy?
Given the following project structure:
.
├── src
│ └── proto
│ └── ....
├── build/generated/..
│ ...
├── proj1
│ ├── src
│ │ └──...
│ └── build.gradle
├── proj2
│ └── person-...
0
votes
1
answer
1k
views
Asp.net MVC multiple web projects in solution
I have a solution having two MVC Web Projects.
In main project, AdminController is works as expected(When I hit Admin/Action it looks for view in main project and work accordingly).
In second project ...
0
votes
1
answer
320
views
Is it possible to have multiple git projects in one solution? [closed]
I have a relatively comprehensive solution that contains about 20 projects. One of the projects is "Utils", which I would like to have shared for other solutions. Unfortunately, if I added ...
1
vote
1
answer
1k
views
Gradle Multi-Project Builds vs Composing builds
I am a bit confused about the differences of these two strategy.
Which is the guideline if I would like to share a java library among different java Apps ?
Regards,
S.
0
votes
1
answer
278
views
Multi-project pipelines that can launch each other
On Gitlab-CI, I have two projects that work together. Sometime only project A is updated, sometime only B and sometime A+B (when the releases are linked). I would like to create a pipeline on each ...
0
votes
1
answer
1k
views
Gradle sub-sub-project build configuration
I'm trying to write a gradle build with 3 modules (A,B,C). A depends on B and B depends on C (A->B->C). All modules lie in the same parent directory.
All off the modules can either be present in ...
0
votes
1
answer
1k
views
Gradle can't find local dependency project
I have this Gradle project:
G:\!Modding\jtta-primitive-lite
And it should have this dependency (also a Gradle project):
G:\!Modding\jtta-core
jtta-primitive-lite should depend on jtta-core project (...
0
votes
1
answer
437
views
How do I add classes produced by a subproject to WEB-INF/classes directory of WAR file in Gradle
I have a multi-project Gradle script.
It should put compiled class files produced by sub-projects into WEB-INF/classes folder.
UPDATE:
I tried this code for the war task:
war {
subprojects....
1
vote
1
answer
600
views
Gradle multi project recursive task for dependencies
Configuration: I have multi project stricture like this:
project1:
implementation(1st_lvl_module1)
implementation(1st_lvl_module2)
project2:
implementation(1st_lvl_module1)
implementation(...
1
vote
1
answer
384
views
gradle custom task class makes itself uncompilable
I'm trying to write a custom Gradle task class and use it in another subproject. I'm having problems tying the build together.
In this example, I have named the subprojects "a" (for ...
0
votes
0
answers
625
views
Unable to locate task :shadowJar for a subproject despite of configuring it in a root project
I have a project structured like
NetworkASCtoSocket
./client
./server
./shared
What i want is being able to compile a fat jars consisting of client+shared+dependencies of both and respective for ...
0
votes
1
answer
203
views
Configure Babel to include sibling modules referenced by alias into compilation
I have the following file structure:
application1
|pacakge.json
|src
||file1.ts
widget-lib
|package.json
|src
||file2.ts
||index.ts
.\widget-lib\src\index.ts bundles and reexports everything in ...
3
votes
2
answers
4k
views
Gradle task don't run in all subprojects
I have the following multi-module project structure.
Root project 'reports-be'
+--- Project ':auth'
+--- Project ':builder'
| +--- Project ':builder:base'
| \--- Project ':builder:reporting'
\--...
0
votes
1
answer
298
views
Gradle rmp build from java multiproject
I am trying to build an RPM Centos 7 package from java source via Gradle.
I have a java multi project environment with a shared library and a Java application.
Here is the filesystem:
|-- automation
...