Questions tagged [subproject]

Use this tag for questions related to a subproject, i.e. a project within a larger project.

is used in questions related to the configuration of a subproject (i.e. a project within a larger project.) in Maven, Xcode, Gradle, etc. .

159 questions
5
votes
3 answers

Add third party framework to Xcode subproject or main project in iOS app

My Xcode project "MyMainApp" has a static library type Xcode subproject called "MyLib". Now I need to use some third party iOS frameworks in my iOS app. I want to add/link them against only MyLib and not against MyMainApp so I can make the MyLib…
indiantroy
  • 1,503
  • 1
  • 15
  • 25
5
votes
1 answer

SBT create sub-projects using a collection

I've been searching if this is possible for a while with little success. Using SBT, can you create a sub-project programmatically, without explicitly assigning each project to it's own val? My current project structure looks something like…
Snnappie
  • 178
  • 1
  • 7
5
votes
4 answers

Rewrite history git filter-branch create / split into submodules / subprojects

I am currently importing a cvs project into git. After importing, i want to rewrite the history to move an existing directory into a seperate submodule. Suppose i have a structure like this: file1 file2 file3 dir1 dir2 library Now i want to…
4
votes
1 answer

Including 3rd party protobuffer definition files

I have a project that need to create/read protobuf files generated by other projects. I want dlprimitives to be able to read files formatted as ONNX protobuf and Caffe protobuf What is the best way to include them into project: Copy the files from…
Artyom
  • 31,019
  • 21
  • 127
  • 215
4
votes
1 answer

Gradle - list tasks for a subproject

I know I can use gradle tasks to list the tasks for a root project. I inherited a massive project with dozens of subprojects 4-5 levels deep. Many of the tasks are created dynamically. How can I list tasks available for a particular subproject?
Aleks G
  • 56,435
  • 29
  • 168
  • 265
4
votes
1 answer

Creating .dll subproject in Visual Studio Code editor

I am going to create a .dll and an .exe using this .dll with C# and .NET. How to create a .dll subproject in Visual Studio Code editor? I develop on Debian Linux.
porton
  • 5,214
  • 11
  • 47
  • 95
4
votes
0 answers

Xcode: sharing source files between projects within a workspace

The case: There is a main project which uses CocoaPods. I have started a supplementary project which source code meant to be re-used in the main project. The supplementary project has been added as a git submolude to the repository of the main…
nalexn
  • 10,615
  • 6
  • 44
  • 48
4
votes
0 answers

Gradle C++ native build: how to override top level properties in multi-project build

I need to build a large source tree containing multiple C++ projects. I'd like to have a top level build file that defines build conventions such as common include directories and compiler / linker flags, and then be able to override or add to the…
gareth_bowles
  • 20,760
  • 5
  • 52
  • 82
4
votes
2 answers

Gradle custom task only applied to certain subprojects?

I have created a custom herpderp Gradle task: task herpderp(type: HerpDerpTask) class HerpDerpTask extends DefaultTask { @TaskAction def herpderp() { println "Herp derp!" } } With this, I can add this task to other Gradle…
smeeb
  • 27,777
  • 57
  • 250
  • 447
4
votes
2 answers

Gradle : Run subproject's tasks in parallel

My project structure is look like Root + subproj1 + subproj2 in each sub project defined his own task run(){}. What i'm trying to do is run :subproj1:run, :subproj2:run in parallel from Root project's run task. I tried in root project's…
moon
  • 156
  • 2
  • 9
4
votes
1 answer

Xcode subproject framework dependency build fail

I have one Xcode iOS project (I'll call it the super project) which contains another Xcode iOS project as a subproject. The subproject is an iOS static library. I have done everything described at…
3
votes
2 answers

ASP.NET MVC How-to use routes when application is published as SubProject of a domain?

i have a webapp which works perfectly when debugged and tested locally. However when I publish the site to a productionserver the routing is messed up. This is because it runs as a sub-project on the productionserver. Testing: …
Ropstah
  • 17,538
  • 24
  • 120
  • 194
3
votes
1 answer

Gradle - configure subprojects based on plugin presence

I am fighting with a fairly simple gradle problem but despite searching I cannot find a solution. Very simple, in a multi project build, I need configure some subproject based on the plugins they load. So If sub project has plugin 'war' or 'ear' do…
3
votes
1 answer

Git submodule in a parent folder

I have a project that has an non-modifiable folder structure that looks like this |_SDK layer 1 |_SDK layer 2 |_SDK layer 3 |_Application Projects Folder |_Application Project Source Files |_Application Project…
Reece Lamb
  • 31
  • 1
  • 3
3
votes
0 answers

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

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 =…
ideaboxer
  • 3,863
  • 8
  • 43
  • 62
1
2
3
10 11