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
3
votes
1 answer

How to resolve unknown class and can not resolve symbol in Android Studio java library module

Using Android Studio and creating a java library module as part of a sub project I get an error on the following java statement: javaFile.writeTo(System.out); and it complains of can not resolve symbol 'writeTo' and unknown class…
Peter Birdsall
  • 3,159
  • 5
  • 31
  • 48
3
votes
2 answers

Compiling and linking subproject library with CMake

I have 2 projects (prj1 and prj2). One (prj2) depends on the other (prj1) that is a static library. I arrive to compile them separately with CMake. But I needed to integrate one (prj1) to the other one (prj2). So I would like CMake to compile the…
user3818296
3
votes
1 answer

Play 2.2 - Subprojects with multiple databases

I have a play 2.2.1 application that has a subproject nested inside a /modules/ directory. I want to define models in the subproject and use a separate database for those models. My application.conf file is defined like…
3
votes
2 answers

How do I instruct XCODE to find headers in a DERIVED_FILES_DIR of a subproject

I have a static library project that builds .h and .m files and places them into ${DERIVED_FILES_DIR}. This works fine. However, I can't figure out how to reference them when the library project is added as a sub-project. When I add this project…
Glenn
  • 1,996
  • 2
  • 24
  • 32
3
votes
1 answer

Playframework 2.0 with maven and sub-project

I have a project "core" that is mavenized. I have also a play project that uses "core". The play project is also mavenized. So there is a maven parent project that manage both sub-modules. It works fine with maven (mvn install, mvn compile...) But…
creponutella
  • 173
  • 3
  • 6
2
votes
1 answer

Why does git say a sub project is dirty if I do not have any sub-modules in my repository?

Its a new git repository and all I've done is added a whole lot of code to it. However, it tells me: +Subproject commit 62402f4a7e3aa34a5f22532c8c699836b7ae4967-dirty Based on this question, this seems to imply that this has something to do with…
Carl
  • 43,122
  • 10
  • 80
  • 104
2
votes
1 answer

Eclipse CDT, cmake, overlapping subproject

I have a CMakeLists.txt that I use to generate Eclipse CDT project files for my project. Now I added a dependencie to my project that has its own CMakeLists.txt. In my own list file I added add_subdirectory("/myDep" EXCLUDE_FROM_ALL) and…
blubberbernd
  • 3,641
  • 8
  • 35
  • 46
2
votes
1 answer

Gradle Multi Module Project: Apply module dependency to all subprojects except for itself

My application is a Gradle Multi Module Project, consisting of multiple services with one service-common module. I´ve pulled all dependencies that all modules have in common out into the root build.gradle, and I also want to include the…
Marian Klühspies
  • 15,824
  • 16
  • 93
  • 136
2
votes
1 answer

Modifying gradle task in a subproject

So, let's say I have this kind of project structure: Root projA projA1-api projA2-core projA3-main projB projB1-api projB2-core projB3-main projC projC1-api projC2-core …
2
votes
3 answers

Using git for plugin development

Similar questions to this have already been asked, although they're not exactly what I'm trying to do. At first I thought I needed a git submodule, then to set up a superproject and then a sub tree merge but I'm not sure if any of these really…
Greg K
  • 10,770
  • 10
  • 45
  • 62
2
votes
1 answer

How to create a git project and allow to use as subprojects

I have created a PHP framework, and I want to reuse some framework components in other projects as Laravel does, using composer. For example, my framework skeleton has a folder called HTTP, this component has HttpRequest, HttpResponse, etc.. and I…
2
votes
1 answer

What are best practices for representing a git project's dependency on a local package with its own git repo?

I have a a local package dependency with its own git repository and I have a project that depends on that directory. What's the best way of synchronizing the project repository and its local package repository in sync? One option is to merge the…
daj
  • 6,962
  • 9
  • 45
  • 79
2
votes
1 answer

legacy project structure: intellij recognizes gradle subproject as module but doesn't recognize its source code

Sorry for the long title. I'm trying to isolate our functional test code from our integration test code, and have gotten it to work using gradle tasks. It's 95% working in intellij, too, except that every time I do a "gradle idea", i have to add…
2
votes
1 answer

EDE subproject confusion

I've been trying to get subprojects in EDE to work, but I don't understand much and I can't find any good documentation. What would the project configurations have to look like for the following…
2
votes
2 answers

Play Framework 2.3.4 routes redirection to subproject

quite new with Play framework, but I tried to setup subproject for my main project but when I tried to redirect the route from the main project to subproject, it couldnt recognise the subproject variable. I have followed based on the documentation…
1 2
3
10 11